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 |
Displays details about a routing control. A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing.
To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.
Synopsis
- data DescribeRoutingControl = DescribeRoutingControl' {}
- newDescribeRoutingControl :: Text -> DescribeRoutingControl
- describeRoutingControl_routingControlArn :: Lens' DescribeRoutingControl Text
- data DescribeRoutingControlResponse = DescribeRoutingControlResponse' {}
- newDescribeRoutingControlResponse :: Int -> DescribeRoutingControlResponse
- describeRoutingControlResponse_routingControl :: Lens' DescribeRoutingControlResponse (Maybe RoutingControl)
- describeRoutingControlResponse_httpStatus :: Lens' DescribeRoutingControlResponse Int
Creating a Request
data DescribeRoutingControl Source #
See: newDescribeRoutingControl
smart constructor.
DescribeRoutingControl' | |
|
Instances
newDescribeRoutingControl Source #
Create a value of DescribeRoutingControl
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:
DescribeRoutingControl
, describeRoutingControl_routingControlArn
- The Amazon Resource Name (ARN) of the routing control.
Request Lenses
describeRoutingControl_routingControlArn :: Lens' DescribeRoutingControl Text Source #
The Amazon Resource Name (ARN) of the routing control.
Destructuring the Response
data DescribeRoutingControlResponse Source #
See: newDescribeRoutingControlResponse
smart constructor.
DescribeRoutingControlResponse' | |
|
Instances
Generic DescribeRoutingControlResponse Source # | |
Read DescribeRoutingControlResponse Source # | |
Show DescribeRoutingControlResponse Source # | |
NFData DescribeRoutingControlResponse Source # | |
Eq DescribeRoutingControlResponse Source # | |
type Rep DescribeRoutingControlResponse Source # | |
Defined in Amazonka.Route53RecoveryControlConfig.DescribeRoutingControl type Rep DescribeRoutingControlResponse = D1 ('MetaData "DescribeRoutingControlResponse" "Amazonka.Route53RecoveryControlConfig.DescribeRoutingControl" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" 'False) (C1 ('MetaCons "DescribeRoutingControlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "routingControl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoutingControl)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeRoutingControlResponse Source #
Create a value of DescribeRoutingControlResponse
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:routingControl:DescribeRoutingControlResponse'
, describeRoutingControlResponse_routingControl
- Information about the routing control.
$sel:httpStatus:DescribeRoutingControlResponse'
, describeRoutingControlResponse_httpStatus
- The response's http status code.
Response Lenses
describeRoutingControlResponse_routingControl :: Lens' DescribeRoutingControlResponse (Maybe RoutingControl) Source #
Information about the routing control.
describeRoutingControlResponse_httpStatus :: Lens' DescribeRoutingControlResponse Int Source #
The response's http status code.