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 |
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:
$sel:routingControlArn:DescribeRoutingControl'
, describeRoutingControl_routingControlArn
- The Amazon Resource Name (ARN) of the routing control that you're
getting details for.
Request Lenses
describeRoutingControl_routingControlArn :: Lens' DescribeRoutingControl Text Source #
The Amazon Resource Name (ARN) of the routing control that you're getting details for.
Destructuring the Response
data DescribeRoutingControlResponse Source #
See: newDescribeRoutingControlResponse
smart constructor.
DescribeRoutingControlResponse' | |
|
Instances
Eq DescribeRoutingControlResponse Source # | |
Read DescribeRoutingControlResponse Source # | |
Show DescribeRoutingControlResponse Source # | |
Generic DescribeRoutingControlResponse Source # | |
NFData DescribeRoutingControlResponse Source # | |
type Rep DescribeRoutingControlResponse Source # | |
Defined in Amazonka.Route53RecoveryControlConfig.DescribeRoutingControl type Rep DescribeRoutingControlResponse = D1 ('MetaData "DescribeRoutingControlResponse" "Amazonka.Route53RecoveryControlConfig.DescribeRoutingControl" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" '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.