Amazon.ConfigService.AmazonConfigServiceClient.DescribeComplianceByResourceAsync C# (CSharp) Method

DescribeComplianceByResourceAsync() public method

Initiates the asynchronous execution of the DescribeComplianceByResource operation.
public DescribeComplianceByResourceAsync ( DescribeComplianceByResourceRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.ConfigService.Model.DescribeComplianceByResourceRequest Container for the necessary parameters to execute the DescribeComplianceByResource operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DescribeComplianceByResourceResponse> DescribeComplianceByResourceAsync(DescribeComplianceByResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DescribeComplianceByResourceRequestMarshaller();
            var unmarshaller = DescribeComplianceByResourceResponseUnmarshaller.Instance;

            return InvokeAsync<DescribeComplianceByResourceRequest,DescribeComplianceByResourceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonConfigServiceClient