| 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.Route53RecoveryControlConfig.ListSafetyRules
Description
List the safety rules (the assertion rules and gating rules) that you've defined for the routing controls in a control panel.
This operation returns paginated results.
Synopsis
- data ListSafetyRules = ListSafetyRules' {}
- newListSafetyRules :: Text -> ListSafetyRules
- listSafetyRules_maxResults :: Lens' ListSafetyRules (Maybe Natural)
- listSafetyRules_nextToken :: Lens' ListSafetyRules (Maybe Text)
- 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.
Constructors
| ListSafetyRules' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListSafetyRules |
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:maxResults:ListSafetyRules', listSafetyRules_maxResults - The number of objects that you want to return with this call.
ListSafetyRules, listSafetyRules_nextToken - The token that identifies which batch of results you want to see.
ListSafetyRules, listSafetyRules_controlPanelArn - The Amazon Resource Name (ARN) of the control panel.
Request Lenses
listSafetyRules_maxResults :: Lens' ListSafetyRules (Maybe Natural) Source #
The number of objects that you want to return with this call.
listSafetyRules_nextToken :: Lens' ListSafetyRules (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listSafetyRules_controlPanelArn :: Lens' ListSafetyRules Text Source #
The Amazon Resource Name (ARN) of the control panel.
Destructuring the Response
data ListSafetyRulesResponse Source #
See: newListSafetyRulesResponse smart constructor.
Constructors
| ListSafetyRulesResponse' | |
Fields
| |
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:
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.