AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Returns the evaluation results for the specified Config rule. The results indicate which Amazon Web Services resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetComplianceDetailsByConfigRuleAsync.

Namespace: Amazon.ConfigService
Assembly: AWSSDK.ConfigService.dll
Version: 3.x.y.z

Syntax

C#
public virtual GetComplianceDetailsByConfigRuleResponse GetComplianceDetailsByConfigRule(
         GetComplianceDetailsByConfigRuleRequest request
)

Parameters

request
Type: Amazon.ConfigService.Model.GetComplianceDetailsByConfigRuleRequest

Container for the necessary parameters to execute the GetComplianceDetailsByConfigRule service method.

Return Value


The response from the GetComplianceDetailsByConfigRule service method, as returned by ConfigService.

Exceptions

ExceptionCondition
InvalidNextTokenException The specified next token is not valid. Specify the nextToken string that was returned in the previous response to get the next page of results.
InvalidParameterValueException One or more of the specified parameters are not valid. Verify that your parameters are valid and try again.
NoSuchConfigRuleException The Config rule in the request is not valid. Verify that the rule is an Config Process Check rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also