Amazon.Shield.AmazonShieldClient.DescribeSubscriptionAsync C# (CSharp) Method

DescribeSubscriptionAsync() public method

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

            return InvokeAsync<DescribeSubscriptionRequest,DescribeSubscriptionResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }