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

DescribeComplianceByConfigRuleAsync() public method

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

            return InvokeAsync<DescribeComplianceByConfigRuleRequest,DescribeComplianceByConfigRuleResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonConfigServiceClient