Copyright | (c) 2013-2021 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 |
Lists your Device Defender audit listings.
Requires permission to access the ListAuditSuppressions action.
This operation returns paginated results.
Synopsis
- data ListAuditSuppressions = ListAuditSuppressions' {}
- newListAuditSuppressions :: ListAuditSuppressions
- listAuditSuppressions_checkName :: Lens' ListAuditSuppressions (Maybe Text)
- listAuditSuppressions_nextToken :: Lens' ListAuditSuppressions (Maybe Text)
- listAuditSuppressions_ascendingOrder :: Lens' ListAuditSuppressions (Maybe Bool)
- listAuditSuppressions_maxResults :: Lens' ListAuditSuppressions (Maybe Natural)
- listAuditSuppressions_resourceIdentifier :: Lens' ListAuditSuppressions (Maybe ResourceIdentifier)
- data ListAuditSuppressionsResponse = ListAuditSuppressionsResponse' {
- nextToken :: Maybe Text
- suppressions :: Maybe [AuditSuppression]
- httpStatus :: Int
- newListAuditSuppressionsResponse :: Int -> ListAuditSuppressionsResponse
- listAuditSuppressionsResponse_nextToken :: Lens' ListAuditSuppressionsResponse (Maybe Text)
- listAuditSuppressionsResponse_suppressions :: Lens' ListAuditSuppressionsResponse (Maybe [AuditSuppression])
- listAuditSuppressionsResponse_httpStatus :: Lens' ListAuditSuppressionsResponse Int
Creating a Request
data ListAuditSuppressions Source #
See: newListAuditSuppressions
smart constructor.
ListAuditSuppressions' | |
|
Instances
newListAuditSuppressions :: ListAuditSuppressions Source #
Create a value of ListAuditSuppressions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:checkName:ListAuditSuppressions'
, listAuditSuppressions_checkName
- Undocumented member.
$sel:nextToken:ListAuditSuppressions'
, listAuditSuppressions_nextToken
- The token for the next set of results.
$sel:ascendingOrder:ListAuditSuppressions'
, listAuditSuppressions_ascendingOrder
- Determines whether suppressions are listed in ascending order by
expiration date or not. If parameter isn't provided,
ascendingOrder=true
.
$sel:maxResults:ListAuditSuppressions'
, listAuditSuppressions_maxResults
- The maximum number of results to return at one time. The default is 25.
$sel:resourceIdentifier:ListAuditSuppressions'
, listAuditSuppressions_resourceIdentifier
- Undocumented member.
Request Lenses
listAuditSuppressions_checkName :: Lens' ListAuditSuppressions (Maybe Text) Source #
Undocumented member.
listAuditSuppressions_nextToken :: Lens' ListAuditSuppressions (Maybe Text) Source #
The token for the next set of results.
listAuditSuppressions_ascendingOrder :: Lens' ListAuditSuppressions (Maybe Bool) Source #
Determines whether suppressions are listed in ascending order by
expiration date or not. If parameter isn't provided,
ascendingOrder=true
.
listAuditSuppressions_maxResults :: Lens' ListAuditSuppressions (Maybe Natural) Source #
The maximum number of results to return at one time. The default is 25.
listAuditSuppressions_resourceIdentifier :: Lens' ListAuditSuppressions (Maybe ResourceIdentifier) Source #
Undocumented member.
Destructuring the Response
data ListAuditSuppressionsResponse Source #
See: newListAuditSuppressionsResponse
smart constructor.
ListAuditSuppressionsResponse' | |
|
Instances
newListAuditSuppressionsResponse Source #
Create a value of ListAuditSuppressionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListAuditSuppressions'
, listAuditSuppressionsResponse_nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no additional results.
$sel:suppressions:ListAuditSuppressionsResponse'
, listAuditSuppressionsResponse_suppressions
- List of audit suppressions.
$sel:httpStatus:ListAuditSuppressionsResponse'
, listAuditSuppressionsResponse_httpStatus
- The response's http status code.
Response Lenses
listAuditSuppressionsResponse_nextToken :: Lens' ListAuditSuppressionsResponse (Maybe Text) Source #
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
listAuditSuppressionsResponse_suppressions :: Lens' ListAuditSuppressionsResponse (Maybe [AuditSuppression]) Source #
List of audit suppressions.
listAuditSuppressionsResponse_httpStatus :: Lens' ListAuditSuppressionsResponse Int Source #
The response's http status code.