public GetDeploymentAsync ( Amazon.APIGateway.Model.GetDeploymentRequest request, System cancellationToken = default(CancellationToken) ) : Task |
||
request | Amazon.APIGateway.Model.GetDeploymentRequest | Container for the necessary parameters to execute the GetDeployment operation. |
cancellationToken | System | /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// |
return | Task |
public Task<GetDeploymentResponse> GetDeploymentAsync(GetDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var marshaller = new GetDeploymentRequestMarshaller();
var unmarshaller = GetDeploymentResponseUnmarshaller.Instance;
return InvokeAsync<GetDeploymentRequest,GetDeploymentResponse>(request, marshaller,
unmarshaller, cancellationToken);
}