libZSservicesZSamazonka-route53-recovery-clusterZSamazonka-route53-recovery-cluster
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

Description

Set the state of the routing control to reroute traffic. You can set the value to be On or Off. When the state is On, traffic flows to a cell. When it's off, traffic does not flow.

For more information about working with routing controls, see Routing control in the Route 53 Application Recovery Controller Developer Guide.

Synopsis

Creating a Request

data UpdateRoutingControlState Source #

See: newUpdateRoutingControlState smart constructor.

Constructors

UpdateRoutingControlState' 

Fields

Instances

Instances details
Eq UpdateRoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

Read UpdateRoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

Show UpdateRoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

Generic UpdateRoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

Associated Types

type Rep UpdateRoutingControlState :: Type -> Type #

NFData UpdateRoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

Hashable UpdateRoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

ToJSON UpdateRoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

AWSRequest UpdateRoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

ToHeaders UpdateRoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

ToPath UpdateRoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

ToQuery UpdateRoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

type Rep UpdateRoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

type Rep UpdateRoutingControlState = D1 ('MetaData "UpdateRoutingControlState" "Amazonka.Route53RecoveryCluster.UpdateRoutingControlState" "libZSservicesZSamazonka-route53-recovery-clusterZSamazonka-route53-recovery-cluster" 'False) (C1 ('MetaCons "UpdateRoutingControlState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "routingControlArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "routingControlState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RoutingControlState)))
type AWSResponse UpdateRoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

newUpdateRoutingControlState Source #

Create a value of UpdateRoutingControlState 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:UpdateRoutingControlState', updateRoutingControlState_routingControlArn - The Amazon Resource Number (ARN) for the routing control that you want to update the state for.

$sel:routingControlState:UpdateRoutingControlState', updateRoutingControlState_routingControlState - The state of the routing control. You can set the value to be On or Off.

Request Lenses

updateRoutingControlState_routingControlArn :: Lens' UpdateRoutingControlState Text Source #

The Amazon Resource Number (ARN) for the routing control that you want to update the state for.

updateRoutingControlState_routingControlState :: Lens' UpdateRoutingControlState RoutingControlState Source #

The state of the routing control. You can set the value to be On or Off.

Destructuring the Response

data UpdateRoutingControlStateResponse Source #

See: newUpdateRoutingControlStateResponse smart constructor.

Constructors

UpdateRoutingControlStateResponse' 

Fields

Instances

Instances details
Eq UpdateRoutingControlStateResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

Read UpdateRoutingControlStateResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

Show UpdateRoutingControlStateResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

Generic UpdateRoutingControlStateResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

Associated Types

type Rep UpdateRoutingControlStateResponse :: Type -> Type #

NFData UpdateRoutingControlStateResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

type Rep UpdateRoutingControlStateResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlState

type Rep UpdateRoutingControlStateResponse = D1 ('MetaData "UpdateRoutingControlStateResponse" "Amazonka.Route53RecoveryCluster.UpdateRoutingControlState" "libZSservicesZSamazonka-route53-recovery-clusterZSamazonka-route53-recovery-cluster" 'False) (C1 ('MetaCons "UpdateRoutingControlStateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateRoutingControlStateResponse Source #

Create a value of UpdateRoutingControlStateResponse 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:httpStatus:UpdateRoutingControlStateResponse', updateRoutingControlStateResponse_httpStatus - The response's http status code.

Response Lenses