ListSubCheckRuleResults
Lists the rules of a specified sub-check belonging to a configuration check operation.
Request Syntax
POST /list-sub-check-rule-results HTTP/1.1
Content-type: application/json
{
"MaxResults": number
,
"NextToken": "string
",
"SubCheckResultId": "string
"
}
URI Request Parameters
The request does not use any URI parameters.
Request Body
The request accepts the following data in JSON format.
- MaxResults
-
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 50.
Required: No
- NextToken
-
The token for the next page of results.
Type: String
Pattern:
.{16,2048}
Required: No
- SubCheckResultId
-
The ID of the sub check result.
Type: String
Pattern:
[{]?[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}[}]?
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"NextToken": "string",
"RuleResults": [
{
"Description": "string",
"Id": "string",
"Message": "string",
"Metadata": {
"string" : "string"
},
"Status": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- NextToken
-
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
Type: String
Pattern:
.{16,2048}
- RuleResults
-
The rule results of a sub-check belonging to a configuration check operation.
Type: Array of RuleResult objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- InternalServerException
-
An internal error has occurred.
HTTP Status Code: 500
- ValidationException
-
The input fails to satisfy the constraints specified by an AWS service.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: