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 an array of PolicyComplianceStatus
objects in the response. Use PolicyComplianceStatus
to get a summary of which member accounts are protected by the specified policy.
- listComplianceStatus :: Text -> ListComplianceStatus
- data ListComplianceStatus
- lcsNextToken :: Lens' ListComplianceStatus (Maybe Text)
- lcsMaxResults :: Lens' ListComplianceStatus (Maybe Natural)
- lcsPolicyId :: Lens' ListComplianceStatus Text
- listComplianceStatusResponse :: Int -> ListComplianceStatusResponse
- data ListComplianceStatusResponse
- lcsrsNextToken :: Lens' ListComplianceStatusResponse (Maybe Text)
- lcsrsPolicyComplianceStatusList :: Lens' ListComplianceStatusResponse [PolicyComplianceStatus]
- lcsrsResponseStatus :: Lens' ListComplianceStatusResponse Int
Creating a Request
Creates a value of ListComplianceStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcsNextToken
- If you specify a value forMaxResults
and you have morePolicyComplianceStatus
objects than the number that you specify forMaxResults
, AWS Firewall Manager returns aNextToken
value in the response that allows you to list another group ofPolicyComplianceStatus
objects. For the second and subsequentListComplianceStatus
requests, specify the value ofNextToken
from the previous response to get information about another batch ofPolicyComplianceStatus
objects.lcsMaxResults
- Specifies the number ofPolicyComplianceStatus
objects that you want AWS Firewall Manager to return for this request. If you have morePolicyComplianceStatus
objects than the number that you specify forMaxResults
, the response includes aNextToken
value that you can use to get another batch ofPolicyComplianceStatus
objects.lcsPolicyId
- The ID of the AWS Firewall Manager policy that you want the details for.
data ListComplianceStatus Source #
See: listComplianceStatus
smart constructor.
Request Lenses
lcsNextToken :: Lens' ListComplianceStatus (Maybe Text) Source #
If you specify a value for MaxResults
and you have more PolicyComplianceStatus
objects than the number that you specify for MaxResults
, AWS Firewall Manager returns a NextToken
value in the response that allows you to list another group of PolicyComplianceStatus
objects. For the second and subsequent ListComplianceStatus
requests, specify the value of NextToken
from the previous response to get information about another batch of PolicyComplianceStatus
objects.
lcsMaxResults :: Lens' ListComplianceStatus (Maybe Natural) Source #
Specifies the number of PolicyComplianceStatus
objects that you want AWS Firewall Manager to return for this request. If you have more PolicyComplianceStatus
objects than the number that you specify for MaxResults
, the response includes a NextToken
value that you can use to get another batch of PolicyComplianceStatus
objects.
lcsPolicyId :: Lens' ListComplianceStatus Text Source #
The ID of the AWS Firewall Manager policy that you want the details for.
Destructuring the Response
listComplianceStatusResponse Source #
Creates a value of ListComplianceStatusResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcsrsNextToken
- If you have morePolicyComplianceStatus
objects than the number that you specified forMaxResults
in the request, the response includes aNextToken
value. To list morePolicyComplianceStatus
objects, submit anotherListComplianceStatus
request, and specify theNextToken
value from the response in theNextToken
value in the next request.lcsrsPolicyComplianceStatusList
- An array ofPolicyComplianceStatus
objects.lcsrsResponseStatus
- -- | The response status code.
data ListComplianceStatusResponse Source #
See: listComplianceStatusResponse
smart constructor.
Response Lenses
lcsrsNextToken :: Lens' ListComplianceStatusResponse (Maybe Text) Source #
If you have more PolicyComplianceStatus
objects than the number that you specified for MaxResults
in the request, the response includes a NextToken
value. To list more PolicyComplianceStatus
objects, submit another ListComplianceStatus
request, and specify the NextToken
value from the response in the NextToken
value in the next request.
lcsrsPolicyComplianceStatusList :: Lens' ListComplianceStatusResponse [PolicyComplianceStatus] Source #
An array of PolicyComplianceStatus
objects.
lcsrsResponseStatus :: Lens' ListComplianceStatusResponse Int Source #
- - | The response status code.