Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy. Resources are considered non-compliant if the specified policy has not been applied to them.
Synopsis
- getComplianceDetail :: Text -> Text -> GetComplianceDetail
- data GetComplianceDetail
- gcdPolicyId :: Lens' GetComplianceDetail Text
- gcdMemberAccount :: Lens' GetComplianceDetail Text
- getComplianceDetailResponse :: Int -> GetComplianceDetailResponse
- data GetComplianceDetailResponse
- gcdrsPolicyComplianceDetail :: Lens' GetComplianceDetailResponse (Maybe PolicyComplianceDetail)
- gcdrsResponseStatus :: Lens' GetComplianceDetailResponse Int
Creating a Request
Creates a value of GetComplianceDetail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcdPolicyId
- The ID of the policy that you want to get the details for.PolicyId
is returned byPutPolicy
and byListPolicies
.gcdMemberAccount
- The AWS account that owns the resources that you want to get the details for.
data GetComplianceDetail Source #
See: getComplianceDetail
smart constructor.
Instances
Request Lenses
gcdPolicyId :: Lens' GetComplianceDetail Text Source #
The ID of the policy that you want to get the details for. PolicyId
is returned by PutPolicy
and by ListPolicies
.
gcdMemberAccount :: Lens' GetComplianceDetail Text Source #
The AWS account that owns the resources that you want to get the details for.
Destructuring the Response
getComplianceDetailResponse Source #
Creates a value of GetComplianceDetailResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcdrsPolicyComplianceDetail
- Information about the resources and the policy that you specified in theGetComplianceDetail
request.gcdrsResponseStatus
- -- | The response status code.
data GetComplianceDetailResponse Source #
See: getComplianceDetailResponse
smart constructor.
Instances
Response Lenses
gcdrsPolicyComplianceDetail :: Lens' GetComplianceDetailResponse (Maybe PolicyComplianceDetail) Source #
Information about the resources and the policy that you specified in the GetComplianceDetail
request.
gcdrsResponseStatus :: Lens' GetComplianceDetailResponse Int Source #
- - | The response status code.