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 |
List exclusions that are generated by the assessment run.
This operation returns paginated results.
Synopsis
- data ListExclusions = ListExclusions' {
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- assessmentRunArn :: Text
- newListExclusions :: Text -> ListExclusions
- listExclusions_nextToken :: Lens' ListExclusions (Maybe Text)
- listExclusions_maxResults :: Lens' ListExclusions (Maybe Int)
- listExclusions_assessmentRunArn :: Lens' ListExclusions Text
- data ListExclusionsResponse = ListExclusionsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- exclusionArns :: [Text]
- newListExclusionsResponse :: Int -> ListExclusionsResponse
- listExclusionsResponse_nextToken :: Lens' ListExclusionsResponse (Maybe Text)
- listExclusionsResponse_httpStatus :: Lens' ListExclusionsResponse Int
- listExclusionsResponse_exclusionArns :: Lens' ListExclusionsResponse [Text]
Creating a Request
data ListExclusions Source #
See: newListExclusions
smart constructor.
ListExclusions' | |
|
Instances
Create a value of ListExclusions
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:ListExclusions'
, listExclusions_nextToken
- You can use this parameter when paginating results. Set the value of
this parameter to null on your first call to the ListExclusionsRequest
action. Subsequent calls to the action fill nextToken in the request
with the value of nextToken from the previous response to continue
listing data.
$sel:maxResults:ListExclusions'
, listExclusions_maxResults
- You can use this parameter to indicate the maximum number of items you
want in the response. The default value is 100. The maximum value is
500.
$sel:assessmentRunArn:ListExclusions'
, listExclusions_assessmentRunArn
- The ARN of the assessment run that generated the exclusions that you
want to list.
Request Lenses
listExclusions_nextToken :: Lens' ListExclusions (Maybe Text) Source #
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListExclusionsRequest action. Subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.
listExclusions_maxResults :: Lens' ListExclusions (Maybe Int) Source #
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 100. The maximum value is 500.
listExclusions_assessmentRunArn :: Lens' ListExclusions Text Source #
The ARN of the assessment run that generated the exclusions that you want to list.
Destructuring the Response
data ListExclusionsResponse Source #
See: newListExclusionsResponse
smart constructor.
ListExclusionsResponse' | |
|
Instances
newListExclusionsResponse Source #
Create a value of ListExclusionsResponse
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:ListExclusions'
, listExclusionsResponse_nextToken
- When a response is generated, if there is more data to be listed, this
parameters is present in the response and contains the value to use for
the nextToken parameter in a subsequent pagination request. If there is
no more data to be listed, this parameter is set to null.
$sel:httpStatus:ListExclusionsResponse'
, listExclusionsResponse_httpStatus
- The response's http status code.
$sel:exclusionArns:ListExclusionsResponse'
, listExclusionsResponse_exclusionArns
- A list of exclusions' ARNs returned by the action.
Response Lenses
listExclusionsResponse_nextToken :: Lens' ListExclusionsResponse (Maybe Text) Source #
When a response is generated, if there is more data to be listed, this parameters is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.
listExclusionsResponse_httpStatus :: Lens' ListExclusionsResponse Int Source #
The response's http status code.
listExclusionsResponse_exclusionArns :: Lens' ListExclusionsResponse [Text] Source #
A list of exclusions' ARNs returned by the action.