| 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.DescribeSafetyRule
Description
Returns information about a safety rule.
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.
Constructors
| DescribeSafetyRule' | |
Fields
| |
Instances
newDescribeSafetyRule Source #
Arguments
| :: Text | |
| -> DescribeSafetyRule |
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:
DescribeSafetyRule, describeSafetyRule_safetyRuleArn - The ARN of the safety rule.
Request Lenses
describeSafetyRule_safetyRuleArn :: Lens' DescribeSafetyRule Text Source #
The ARN of the safety rule.
Destructuring the Response
data DescribeSafetyRuleResponse Source #
See: newDescribeSafetyRuleResponse smart constructor.
Constructors
| DescribeSafetyRuleResponse' | |
Fields
| |
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 - The assertion rule in the response.
$sel:gatingRule:DescribeSafetyRuleResponse', describeSafetyRuleResponse_gatingRule - The gating rule in the response.
$sel:httpStatus:DescribeSafetyRuleResponse', describeSafetyRuleResponse_httpStatus - The response's http status code.
Response Lenses
describeSafetyRuleResponse_assertionRule :: Lens' DescribeSafetyRuleResponse (Maybe AssertionRule) Source #
The assertion rule in the response.
describeSafetyRuleResponse_gatingRule :: Lens' DescribeSafetyRuleResponse (Maybe GatingRule) Source #
The gating rule in the response.
describeSafetyRuleResponse_httpStatus :: Lens' DescribeSafetyRuleResponse Int Source #
The response's http status code.