| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AuditManager.ListControls
Description
Returns a list of controls from Audit Manager.
Synopsis
- data ListControls = ListControls' {}
- newListControls :: ControlType -> ListControls
- listControls_maxResults :: Lens' ListControls (Maybe Natural)
- listControls_nextToken :: Lens' ListControls (Maybe Text)
- listControls_controlType :: Lens' ListControls ControlType
- data ListControlsResponse = ListControlsResponse' {}
- newListControlsResponse :: Int -> ListControlsResponse
- listControlsResponse_controlMetadataList :: Lens' ListControlsResponse (Maybe [ControlMetadata])
- listControlsResponse_nextToken :: Lens' ListControlsResponse (Maybe Text)
- listControlsResponse_httpStatus :: Lens' ListControlsResponse Int
Creating a Request
data ListControls Source #
See: newListControls smart constructor.
Constructors
| ListControls' | |
Fields
| |
Instances
Arguments
| :: ControlType | |
| -> ListControls |
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:maxResults:ListControls', listControls_maxResults - Represents the maximum number of results on a page or for an API request
call.
ListControls, listControls_nextToken - The pagination token that's used to fetch the next set of results.
$sel:controlType:ListControls', listControls_controlType - The type of control, such as a standard control or a custom control.
Request Lenses
listControls_maxResults :: Lens' ListControls (Maybe Natural) Source #
Represents the maximum number of results on a page or for an API request call.
listControls_nextToken :: Lens' ListControls (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
listControls_controlType :: Lens' ListControls ControlType Source #
The type of control, such as a standard control or a custom control.
Destructuring the Response
data ListControlsResponse Source #
See: newListControlsResponse smart constructor.
Constructors
| ListControlsResponse' | |
Fields
| |
Instances
newListControlsResponse Source #
Arguments
| :: Int | |
| -> ListControlsResponse |
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:controlMetadataList:ListControlsResponse', listControlsResponse_controlMetadataList - The list of control metadata objects that the ListControls API
returned.
ListControls, listControlsResponse_nextToken - The pagination token that's used to fetch the next set of results.
$sel:httpStatus:ListControlsResponse', listControlsResponse_httpStatus - The response's http status code.
Response Lenses
listControlsResponse_controlMetadataList :: Lens' ListControlsResponse (Maybe [ControlMetadata]) Source #
The list of control metadata objects that the ListControls API
returned.
listControlsResponse_nextToken :: Lens' ListControlsResponse (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
listControlsResponse_httpStatus :: Lens' ListControlsResponse Int Source #
The response's http status code.