Amazon.Redshift.AmazonRedshiftClient.DescribeSnapshotCopyGrantsAsync C# (CSharp) Метод

DescribeSnapshotCopyGrantsAsync() публичный Метод

Initiates the asynchronous execution of the DescribeSnapshotCopyGrants operation.
public DescribeSnapshotCopyGrantsAsync ( DescribeSnapshotCopyGrantsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeSnapshotCopyGrantsRequest Container for the necessary parameters to execute the DescribeSnapshotCopyGrants operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<DescribeSnapshotCopyGrantsResponse> DescribeSnapshotCopyGrantsAsync(DescribeSnapshotCopyGrantsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DescribeSnapshotCopyGrantsRequestMarshaller();
            var unmarshaller = DescribeSnapshotCopyGrantsResponseUnmarshaller.Instance;

            return InvokeAsync<DescribeSnapshotCopyGrantsRequest,DescribeSnapshotCopyGrantsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonRedshiftClient