v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1492542448.2 KB

Returns the evaluation results for the specified Amazon Web Services resource. The results indicate which Config rules were used to evaluate the resource, when each rule was last invoked, and whether the resource complies with each rule.

post/#X-Amz-Target=StarlingDoveService.GetComplianceDetailsByResource

Query parameters

NextTokenstring

Pagination token

Headers

X-Amz-Target'StarlingDoveService.GetComplianceDetailsByResource' required

Request body

ResourceTypestring

The type of the Amazon Web Services resource for which you want compliance information.

ResourceIdstring

The ID of the Amazon Web Services resource for which you want compliance information.

ComplianceTypesComplianceType[]
<p>Filters the results by compliance.</p> <p> <code>INSUFFICIENT_DATA</code> is a valid <code>ComplianceType</code> that is returned when an Config rule cannot be evaluated. However, <code>INSUFFICIENT_DATA</code> cannot be used as a <code>ComplianceType</code> for filtering results.</p>
NextTokenstring

The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.

ResourceEvaluationIdstring
<p>The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results. </p> <note> <p>You need to only provide either a <code>ResourceEvaluationID</code> or a <code>ResourceID </code>and <code>ResourceType</code>.</p> </note>

Response

Success

NextTokenstring

The string that you use in a subsequent request to get the next page of results in a paginated response.