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 |
Describes the safety rules (that is, the assertion rules and gating rules) for the routing controls in a control panel.
Synopsis
- data DescribeSafetyRule = DescribeSafetyRule' {}
- newDescribeSafetyRule :: Text -> DescribeSafetyRule
- describeSafetyRule_safetyRuleArn :: Lens' DescribeSafetyRule Text
- data DescribeSafetyRuleResponse = DescribeSafetyRuleResponse' {}
- newDescribeSafetyRuleResponse :: Int -> DescribeSafetyRuleResponse
- describeSafetyRuleResponse_assertionRule :: Lens' DescribeSafetyRuleResponse (Maybe AssertionRule)
- describeSafetyRuleResponse_gatingRule :: Lens' DescribeSafetyRuleResponse (Maybe GatingRule)
- describeSafetyRuleResponse_httpStatus :: Lens' DescribeSafetyRuleResponse Int
Creating a Request
data DescribeSafetyRule Source #
See: newDescribeSafetyRule
smart constructor.
DescribeSafetyRule' | |
|
Instances
newDescribeSafetyRule Source #
Create a value of DescribeSafetyRule
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:safetyRuleArn:DescribeSafetyRule'
, describeSafetyRule_safetyRuleArn
- The request body that you include when you update a safety rule.
Request Lenses
describeSafetyRule_safetyRuleArn :: Lens' DescribeSafetyRule Text Source #
The request body that you include when you update a safety rule.
Destructuring the Response
data DescribeSafetyRuleResponse Source #
See: newDescribeSafetyRuleResponse
smart constructor.
DescribeSafetyRuleResponse' | |
|
Instances
newDescribeSafetyRuleResponse Source #
Create a value of DescribeSafetyRuleResponse
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:assertionRule:DescribeSafetyRuleResponse'
, describeSafetyRuleResponse_assertionRule
- Undocumented member.
$sel:gatingRule:DescribeSafetyRuleResponse'
, describeSafetyRuleResponse_gatingRule
- Undocumented member.
$sel:httpStatus:DescribeSafetyRuleResponse'
, describeSafetyRuleResponse_httpStatus
- The response's http status code.
Response Lenses
describeSafetyRuleResponse_assertionRule :: Lens' DescribeSafetyRuleResponse (Maybe AssertionRule) Source #
Undocumented member.
describeSafetyRuleResponse_gatingRule :: Lens' DescribeSafetyRuleResponse (Maybe GatingRule) Source #
Undocumented member.
describeSafetyRuleResponse_httpStatus :: Lens' DescribeSafetyRuleResponse Int Source #
The response's http status code.