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 |
Returns a list of controls from Audit Manager.
Synopsis
- data ListControls = ListControls' {}
- newListControls :: ControlType -> ListControls
- listControls_nextToken :: Lens' ListControls (Maybe Text)
- listControls_maxResults :: Lens' ListControls (Maybe Natural)
- listControls_controlType :: Lens' ListControls ControlType
- data ListControlsResponse = ListControlsResponse' {}
- newListControlsResponse :: Int -> ListControlsResponse
- listControlsResponse_nextToken :: Lens' ListControlsResponse (Maybe Text)
- listControlsResponse_controlMetadataList :: Lens' ListControlsResponse (Maybe [ControlMetadata])
- listControlsResponse_httpStatus :: Lens' ListControlsResponse Int
Creating a Request
data ListControls Source #
See: newListControls
smart constructor.
ListControls' | |
|
Instances
Create a value of ListControls
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:ListControls'
, listControls_nextToken
- The pagination token used to fetch the next set of results.
$sel:maxResults:ListControls'
, listControls_maxResults
- Represents the maximum number of results per page, or per API request
call.
$sel:controlType:ListControls'
, listControls_controlType
- The type of control, such as standard or custom.
Request Lenses
listControls_nextToken :: Lens' ListControls (Maybe Text) Source #
The pagination token used to fetch the next set of results.
listControls_maxResults :: Lens' ListControls (Maybe Natural) Source #
Represents the maximum number of results per page, or per API request call.
listControls_controlType :: Lens' ListControls ControlType Source #
The type of control, such as standard or custom.
Destructuring the Response
data ListControlsResponse Source #
See: newListControlsResponse
smart constructor.
ListControlsResponse' | |
|
Instances
newListControlsResponse Source #
Create a value of ListControlsResponse
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:ListControls'
, listControlsResponse_nextToken
- The pagination token used to fetch the next set of results.
$sel:controlMetadataList:ListControlsResponse'
, listControlsResponse_controlMetadataList
- The list of control metadata objects returned by the ListControls
API.
$sel:httpStatus:ListControlsResponse'
, listControlsResponse_httpStatus
- The response's http status code.
Response Lenses
listControlsResponse_nextToken :: Lens' ListControlsResponse (Maybe Text) Source #
The pagination token used to fetch the next set of results.
listControlsResponse_controlMetadataList :: Lens' ListControlsResponse (Maybe [ControlMetadata]) Source #
The list of control metadata objects returned by the ListControls
API.
listControlsResponse_httpStatus :: Lens' ListControlsResponse Int Source #
The response's http status code.