internal virtual ListSharedEndpointsResponse ListSharedEndpoints(ListSharedEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSharedEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSharedEndpointsResponseUnmarshaller.Instance; return(Invoke <ListSharedEndpointsResponse>(request, options)); }
/// <summary> /// Lists all endpoints associated with an Outpost that has been shared by Amazon Web /// Services Resource Access Manager (RAM). /// /// /// <para> /// Related actions include: /// </para> /// <ul> <li> /// <para> /// <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html">CreateEndpoint</a> /// /// </para> /// </li> <li> /// <para> /// <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html">DeleteEndpoint</a> /// /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListSharedEndpoints service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListSharedEndpoints service method, as returned by S3Outposts.</returns> /// <exception cref="Amazon.S3Outposts.Model.AccessDeniedException"> /// Access was denied for this action. /// </exception> /// <exception cref="Amazon.S3Outposts.Model.InternalServerException"> /// There was an exception with the internal server. /// </exception> /// <exception cref="Amazon.S3Outposts.Model.ResourceNotFoundException"> /// The requested resource was not found. /// </exception> /// <exception cref="Amazon.S3Outposts.Model.ValidationException"> /// There was an exception validating this data. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListSharedEndpoints">REST API Reference for ListSharedEndpoints Operation</seealso> public virtual Task <ListSharedEndpointsResponse> ListSharedEndpointsAsync(ListSharedEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListSharedEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSharedEndpointsResponseUnmarshaller.Instance; return(InvokeAsync <ListSharedEndpointsResponse>(request, options, cancellationToken)); }
/// <summary> /// Initiates the asynchronous execution of the ListSharedEndpoints operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListSharedEndpoints operation on AmazonS3OutpostsClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSharedEndpoints /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListSharedEndpoints">REST API Reference for ListSharedEndpoints Operation</seealso> public virtual IAsyncResult BeginListSharedEndpoints(ListSharedEndpointsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSharedEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSharedEndpointsResponseUnmarshaller.Instance; return(BeginInvoke(request, options, callback, state)); }