amazonka-route53-recovery-cluster-2.0: Amazon Route53 Recovery Cluster SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Route53RecoveryCluster.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2019-12-02 of the Amazon Route53 Recovery Cluster SDK configuration.

Errors

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

You don't have sufficient permissions to perform this action.

_ConflictException :: AsError a => Fold a ServiceError Source #

There was a conflict with this request. Try again.

_EndpointTemporarilyUnavailableException :: AsError a => Fold a ServiceError Source #

The cluster endpoint isn't available. Try another cluster endpoint.

_InternalServerException :: AsError a => Fold a ServiceError Source #

There was an unexpected error during processing of the request.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The request references a routing control or control panel that was not found.

_ServiceLimitExceededException :: AsError a => Fold a ServiceError Source #

The request can't update that many routing control states at the same time. Try again with fewer routing control states.

_ThrottlingException :: AsError a => Fold a ServiceError Source #

The request was denied because of request throttling.

_ValidationException :: AsError a => Fold a ServiceError Source #

There was a validation error on the request.

RoutingControlState

newtype RoutingControlState Source #

Instances

Instances details
FromJSON RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

FromJSONKey RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

ToJSON RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

ToJSONKey RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

ToByteString RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

ToHeader RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

ToLog RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

ToQuery RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

FromText RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

ToText RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

FromXML RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

ToXML RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

Generic RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

Associated Types

type Rep RoutingControlState :: Type -> Type #

Read RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

Show RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

NFData RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

Methods

rnf :: RoutingControlState -> () #

Eq RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

Ord RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

Hashable RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

type Rep RoutingControlState Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControlState

type Rep RoutingControlState = D1 ('MetaData "RoutingControlState" "Amazonka.Route53RecoveryCluster.Types.RoutingControlState" "amazonka-route53-recovery-cluster-2.0-DxeQnRCPOPo1FMbWCdEnyv" 'True) (C1 ('MetaCons "RoutingControlState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRoutingControlState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RoutingControl

data RoutingControl Source #

A routing control, which is a simple on/off switch that you can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.

See: newRoutingControl smart constructor.

Constructors

RoutingControl' 

Fields

Instances

Instances details
FromJSON RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

Generic RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

Associated Types

type Rep RoutingControl :: Type -> Type #

Read RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

Show RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

NFData RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

Methods

rnf :: RoutingControl -> () #

Eq RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

Hashable RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

type Rep RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.RoutingControl

type Rep RoutingControl = D1 ('MetaData "RoutingControl" "Amazonka.Route53RecoveryCluster.Types.RoutingControl" "amazonka-route53-recovery-cluster-2.0-DxeQnRCPOPo1FMbWCdEnyv" 'False) (C1 ('MetaCons "RoutingControl'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "controlPanelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "controlPanelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "routingControlArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "routingControlName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "routingControlState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoutingControlState))))))

newRoutingControl :: RoutingControl Source #

Create a value of RoutingControl 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:controlPanelArn:RoutingControl', routingControl_controlPanelArn - The Amazon Resource Name (ARN) of the control panel where the routing control is located.

$sel:controlPanelName:RoutingControl', routingControl_controlPanelName - The name of the control panel where the routing control is located.

$sel:routingControlArn:RoutingControl', routingControl_routingControlArn - The Amazon Resource Name (ARN) of the routing control.

$sel:routingControlName:RoutingControl', routingControl_routingControlName - The name of the routing control.

$sel:routingControlState:RoutingControl', routingControl_routingControlState - The current state of the routing control. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.

routingControl_controlPanelArn :: Lens' RoutingControl (Maybe Text) Source #

The Amazon Resource Name (ARN) of the control panel where the routing control is located.

routingControl_controlPanelName :: Lens' RoutingControl (Maybe Text) Source #

The name of the control panel where the routing control is located.

routingControl_routingControlArn :: Lens' RoutingControl (Maybe Text) Source #

The Amazon Resource Name (ARN) of the routing control.

routingControl_routingControlState :: Lens' RoutingControl (Maybe RoutingControlState) Source #

The current state of the routing control. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.

UpdateRoutingControlStateEntry

data UpdateRoutingControlStateEntry Source #

A routing control state entry.

See: newUpdateRoutingControlStateEntry smart constructor.

Constructors

UpdateRoutingControlStateEntry' 

Fields

Instances

Instances details
ToJSON UpdateRoutingControlStateEntry Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.UpdateRoutingControlStateEntry

Generic UpdateRoutingControlStateEntry Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.UpdateRoutingControlStateEntry

Associated Types

type Rep UpdateRoutingControlStateEntry :: Type -> Type #

Read UpdateRoutingControlStateEntry Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.UpdateRoutingControlStateEntry

Show UpdateRoutingControlStateEntry Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.UpdateRoutingControlStateEntry

NFData UpdateRoutingControlStateEntry Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.UpdateRoutingControlStateEntry

Eq UpdateRoutingControlStateEntry Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.UpdateRoutingControlStateEntry

Hashable UpdateRoutingControlStateEntry Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.UpdateRoutingControlStateEntry

type Rep UpdateRoutingControlStateEntry Source # 
Instance details

Defined in Amazonka.Route53RecoveryCluster.Types.UpdateRoutingControlStateEntry

type Rep UpdateRoutingControlStateEntry = D1 ('MetaData "UpdateRoutingControlStateEntry" "Amazonka.Route53RecoveryCluster.Types.UpdateRoutingControlStateEntry" "amazonka-route53-recovery-cluster-2.0-DxeQnRCPOPo1FMbWCdEnyv" 'False) (C1 ('MetaCons "UpdateRoutingControlStateEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "routingControlArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "routingControlState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RoutingControlState)))

newUpdateRoutingControlStateEntry Source #

Create a value of UpdateRoutingControlStateEntry 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:UpdateRoutingControlStateEntry', updateRoutingControlStateEntry_routingControlArn - The Amazon Resource Name (ARN) for a routing control state entry.

$sel:routingControlState:UpdateRoutingControlStateEntry', updateRoutingControlStateEntry_routingControlState - The routing control state in a set of routing control state entries.

updateRoutingControlStateEntry_routingControlArn :: Lens' UpdateRoutingControlStateEntry Text Source #

The Amazon Resource Name (ARN) for a routing control state entry.

updateRoutingControlStateEntry_routingControlState :: Lens' UpdateRoutingControlStateEntry RoutingControlState Source #

The routing control state in a set of routing control state entries.