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 |
Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains.
This operation returns paginated results.
Synopsis
- data ListEnabledControls = ListEnabledControls' {}
- newListEnabledControls :: Text -> ListEnabledControls
- listEnabledControls_maxResults :: Lens' ListEnabledControls (Maybe Natural)
- listEnabledControls_nextToken :: Lens' ListEnabledControls (Maybe Text)
- listEnabledControls_targetIdentifier :: Lens' ListEnabledControls Text
- data ListEnabledControlsResponse = ListEnabledControlsResponse' {}
- newListEnabledControlsResponse :: Int -> ListEnabledControlsResponse
- listEnabledControlsResponse_nextToken :: Lens' ListEnabledControlsResponse (Maybe Text)
- listEnabledControlsResponse_httpStatus :: Lens' ListEnabledControlsResponse Int
- listEnabledControlsResponse_enabledControls :: Lens' ListEnabledControlsResponse [EnabledControlSummary]
Creating a Request
data ListEnabledControls Source #
See: newListEnabledControls
smart constructor.
ListEnabledControls' | |
|
Instances
newListEnabledControls Source #
Create a value of ListEnabledControls
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:ListEnabledControls'
, listEnabledControls_maxResults
- How many results to return per API call.
ListEnabledControls
, listEnabledControls_nextToken
- The token to continue the list from a previous API call with the same
parameters.
$sel:targetIdentifier:ListEnabledControls'
, listEnabledControls_targetIdentifier
- The ARN of the organizational unit.
Request Lenses
listEnabledControls_maxResults :: Lens' ListEnabledControls (Maybe Natural) Source #
How many results to return per API call.
listEnabledControls_nextToken :: Lens' ListEnabledControls (Maybe Text) Source #
The token to continue the list from a previous API call with the same parameters.
listEnabledControls_targetIdentifier :: Lens' ListEnabledControls Text Source #
The ARN of the organizational unit.
Destructuring the Response
data ListEnabledControlsResponse Source #
See: newListEnabledControlsResponse
smart constructor.
ListEnabledControlsResponse' | |
|
Instances
newListEnabledControlsResponse Source #
Create a value of ListEnabledControlsResponse
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:
ListEnabledControls
, listEnabledControlsResponse_nextToken
- Retrieves the next page of results. If the string is empty, the current
response is the end of the results.
$sel:httpStatus:ListEnabledControlsResponse'
, listEnabledControlsResponse_httpStatus
- The response's http status code.
$sel:enabledControls:ListEnabledControlsResponse'
, listEnabledControlsResponse_enabledControls
- Lists the controls enabled by AWS Control Tower on the specified
organizational unit and the accounts it contains.
Response Lenses
listEnabledControlsResponse_nextToken :: Lens' ListEnabledControlsResponse (Maybe Text) Source #
Retrieves the next page of results. If the string is empty, the current response is the end of the results.
listEnabledControlsResponse_httpStatus :: Lens' ListEnabledControlsResponse Int Source #
The response's http status code.
listEnabledControlsResponse_enabledControls :: Lens' ListEnabledControlsResponse [EnabledControlSummary] Source #
Lists the controls enabled by AWS Control Tower on the specified organizational unit and the accounts it contains.