Amazon.DirectoryService.AmazonDirectoryServiceClient.DescribeSnapshotsAsync C# (CSharp) Method

DescribeSnapshotsAsync() public method

Initiates the asynchronous execution of the DescribeSnapshots operation.
public DescribeSnapshotsAsync ( Amazon.DirectoryService.Model.DescribeSnapshotsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.DirectoryService.Model.DescribeSnapshotsRequest Container for the necessary parameters to execute the DescribeSnapshots operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DescribeSnapshotsResponse> DescribeSnapshotsAsync(DescribeSnapshotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DescribeSnapshotsRequestMarshaller();
            var unmarshaller = DescribeSnapshotsResponseUnmarshaller.Instance;

            return InvokeAsync<DescribeSnapshotsRequest,DescribeSnapshotsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonDirectoryServiceClient