Amazon.EC2.AmazonEC2Client.DescribeSnapshotAttributeAsync C# (CSharp) Method

DescribeSnapshotAttributeAsync() public method

Initiates the asynchronous execution of the DescribeSnapshotAttribute operation.
public DescribeSnapshotAttributeAsync ( DescribeSnapshotAttributeRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeSnapshotAttributeRequest Container for the necessary parameters to execute the DescribeSnapshotAttribute operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DescribeSnapshotAttributeResponse> DescribeSnapshotAttributeAsync(DescribeSnapshotAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DescribeSnapshotAttributeRequestMarshaller();
            var unmarshaller = DescribeSnapshotAttributeResponseUnmarshaller.Instance;

            return InvokeAsync<DescribeSnapshotAttributeRequest,DescribeSnapshotAttributeResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client