Amazon.APIGateway.AmazonAPIGatewayClient.BeginGetRestApi C# (CSharp) Method

BeginGetRestApi() public method

Initiates the asynchronous execution of the GetRestApi operation.
public BeginGetRestApi ( Amazon.APIGateway.Model.GetRestApiRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.APIGateway.Model.GetRestApiRequest Container for the necessary parameters to execute the GetRestApi operation on AmazonAPIGatewayClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult
        public IAsyncResult BeginGetRestApi(GetRestApiRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new GetRestApiRequestMarshaller();
            var unmarshaller = GetRestApiResponseUnmarshaller.Instance;

            return BeginInvoke<GetRestApiRequest>(request, marshaller, unmarshaller,
                callback, state);
        }
AmazonAPIGatewayClient