Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementClient.GetInventoryAsync C# (CSharp) Method

GetInventoryAsync() public method

Initiates the asynchronous execution of the GetInventory operation.
public GetInventoryAsync ( GetInventoryRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.SimpleSystemsManagement.Model.GetInventoryRequest Container for the necessary parameters to execute the GetInventory operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetInventoryResponse> GetInventoryAsync(GetInventoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetInventoryRequestMarshaller();
            var unmarshaller = GetInventoryResponseUnmarshaller.Instance;

            return InvokeAsync<GetInventoryRequest,GetInventoryResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonSimpleSystemsManagementClient