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 the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.
Synopsis
- data ListSafetyRules = ListSafetyRules' {}
- newListSafetyRules :: Text -> ListSafetyRules
- listSafetyRules_nextToken :: Lens' ListSafetyRules (Maybe Text)
- listSafetyRules_maxResults :: Lens' ListSafetyRules (Maybe Natural)
- listSafetyRules_controlPanelArn :: Lens' ListSafetyRules Text
- data ListSafetyRulesResponse = ListSafetyRulesResponse' {
- nextToken :: Maybe Text
- safetyRules :: Maybe [Rule]
- httpStatus :: Int
- newListSafetyRulesResponse :: Int -> ListSafetyRulesResponse
- listSafetyRulesResponse_nextToken :: Lens' ListSafetyRulesResponse (Maybe Text)
- listSafetyRulesResponse_safetyRules :: Lens' ListSafetyRulesResponse (Maybe [Rule])
- listSafetyRulesResponse_httpStatus :: Lens' ListSafetyRulesResponse Int
Creating a Request
data ListSafetyRules Source #
See: newListSafetyRules
smart constructor.
ListSafetyRules' | |
|
Instances
Create a value of ListSafetyRules
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:ListSafetyRules'
, listSafetyRules_nextToken
- The token that identifies which batch of results you want to see.
$sel:maxResults:ListSafetyRules'
, listSafetyRules_maxResults
- The number of objects that you want to return with this call.
$sel:controlPanelArn:ListSafetyRules'
, listSafetyRules_controlPanelArn
- The Amazon Resource Name (ARN) of the control panel that you're getting
details for.
Request Lenses
listSafetyRules_nextToken :: Lens' ListSafetyRules (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listSafetyRules_maxResults :: Lens' ListSafetyRules (Maybe Natural) Source #
The number of objects that you want to return with this call.
listSafetyRules_controlPanelArn :: Lens' ListSafetyRules Text Source #
The Amazon Resource Name (ARN) of the control panel that you're getting details for.
Destructuring the Response
data ListSafetyRulesResponse Source #
See: newListSafetyRulesResponse
smart constructor.
ListSafetyRulesResponse' | |
|
Instances
newListSafetyRulesResponse Source #
Create a value of ListSafetyRulesResponse
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:ListSafetyRules'
, listSafetyRulesResponse_nextToken
- The token that identifies which batch of results you want to see.
$sel:safetyRules:ListSafetyRulesResponse'
, listSafetyRulesResponse_safetyRules
- The list of safety rules in a control panel.
$sel:httpStatus:ListSafetyRulesResponse'
, listSafetyRulesResponse_httpStatus
- The response's http status code.
Response Lenses
listSafetyRulesResponse_nextToken :: Lens' ListSafetyRulesResponse (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listSafetyRulesResponse_safetyRules :: Lens' ListSafetyRulesResponse (Maybe [Rule]) Source #
The list of safety rules in a control panel.
listSafetyRulesResponse_httpStatus :: Lens' ListSafetyRulesResponse Int Source #
The response's http status code.