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.
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
public virtual GetComplianceDetailsByConfigRuleResponse GetComplianceDetailsByConfigRule( GetComplianceDetailsByConfigRuleRequest request )
Container for the necessary parameters to execute the GetComplianceDetailsByConfigRule service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5