libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config
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.Route53RecoveryControlConfig.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2020-11-02 of the Amazon Route53 Recovery Control Config SDK configuration.

Errors

_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

400 response - Multiple causes. For example, you might have a malformed query string and input parameter might be out of range, or you used parameters together incorrectly.

_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

403 response - AccessDeniedException. You do not have sufficient access to perform this action.

_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #

409 response - ConflictException.

_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #

429 response - ThrottlingException.

_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #

500 response - InternalServiceError. Temporary service error. Retry the request.

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

404 response - The query string contains a syntax error or resource not found.

RuleType

newtype RuleType Source #

An enumerated type that determines how the evaluated rules are processed. RuleType can be one of the following:

ATLEAST - At least N routing controls must be set. You specify N as the Threshold in the rule configuration.

AND - All routing controls must be set. This is a shortcut for "At least N," where N is the total number of controls in the rule.

OR - Any control must be set. This is a shortcut for "At least N," where N is 1.

Constructors

RuleType' 

Fields

Bundled Patterns

pattern RuleType_AND :: RuleType 
pattern RuleType_ATLEAST :: RuleType 
pattern RuleType_OR :: RuleType 

Instances

Instances details
Eq RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Ord RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Read RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Show RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Generic RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Associated Types

type Rep RuleType :: Type -> Type #

Methods

from :: RuleType -> Rep RuleType x #

to :: Rep RuleType x -> RuleType #

NFData RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Methods

rnf :: RuleType -> () #

Hashable RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Methods

hashWithSalt :: Int -> RuleType -> Int #

hash :: RuleType -> Int #

ToJSON RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

ToJSONKey RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

FromJSON RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

FromJSONKey RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

ToLog RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

ToHeader RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Methods

toHeader :: HeaderName -> RuleType -> [Header] #

ToQuery RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

FromXML RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

ToXML RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Methods

toXML :: RuleType -> XML #

ToByteString RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Methods

toBS :: RuleType -> ByteString #

FromText RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

ToText RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Methods

toText :: RuleType -> Text #

type Rep RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

type Rep RuleType = D1 ('MetaData "RuleType" "Amazonka.Route53RecoveryControlConfig.Types.RuleType" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'True) (C1 ('MetaCons "RuleType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRuleType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Status

newtype Status Source #

The deployment status of a resource. Status can be one of the following:

PENDING: Amazon Route 53 Application Recovery Controller is creating the resource.

DEPLOYED: The resource is deployed and ready to use.

PENDING_DELETION: Amazon Route 53 Application Recovery Controller is deleting the resource.

Constructors

Status' 

Fields

Bundled Patterns

pattern Status_DEPLOYED :: Status 
pattern Status_PENDING :: Status 
pattern Status_PENDING_DELETION :: Status 

Instances

Instances details
Eq Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Ord Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Read Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Show Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Generic Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

NFData Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Methods

rnf :: Status -> () #

Hashable Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Methods

hashWithSalt :: Int -> Status -> Int #

hash :: Status -> Int #

ToJSON Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

ToJSONKey Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

FromJSON Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

FromJSONKey Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

ToLog Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

ToHeader Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Methods

toHeader :: HeaderName -> Status -> [Header] #

ToQuery Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

FromXML Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

ToXML Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Methods

toXML :: Status -> XML #

ToByteString Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Methods

toBS :: Status -> ByteString #

FromText Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

ToText Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Methods

toText :: Status -> Text #

type Rep Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

type Rep Status = D1 ('MetaData "Status" "Amazonka.Route53RecoveryControlConfig.Types.Status" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'True) (C1 ('MetaCons "Status'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AssertionRule

data AssertionRule Source #

An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule configuration is met. Otherwise, the change to the routing control is not accepted.

See: newAssertionRule smart constructor.

Constructors

AssertionRule' 

Fields

  • status :: Status

    The deployment status of an assertion rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

  • controlPanelArn :: Text

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

  • safetyRuleArn :: Text

    The Amazon Resource Name (ARN) of the assertion rule.

  • assertedControls :: [Text]

    The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.

  • ruleConfig :: RuleConfig

    The criteria that you set for specific assertion controls (routing controls) that designate how many controls must be enabled as the result of a transaction. For example, if you have three assertion controls, you might specify atleast 2 for your rule configuration. This means that at least two assertion controls must be enabled, so that at least two Amazon Web Services Regions are enabled.

  • waitPeriodMs :: Int

    An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

  • name :: Text

    Name of the assertion rule. You can use any non-white space character in the name.

Instances

Instances details
Eq AssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRule

Read AssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRule

Show AssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRule

Generic AssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRule

Associated Types

type Rep AssertionRule :: Type -> Type #

NFData AssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRule

Methods

rnf :: AssertionRule -> () #

Hashable AssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRule

FromJSON AssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRule

type Rep AssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRule

type Rep AssertionRule = D1 ('MetaData "AssertionRule" "Amazonka.Route53RecoveryControlConfig.Types.AssertionRule" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "AssertionRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Status) :*: (S1 ('MetaSel ('Just "controlPanelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "safetyRuleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "assertedControls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "ruleConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuleConfig)) :*: (S1 ('MetaSel ('Just "waitPeriodMs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newAssertionRule Source #

Create a value of AssertionRule 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:status:AssertionRule', assertionRule_status - The deployment status of an assertion rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

$sel:controlPanelArn:AssertionRule', assertionRule_controlPanelArn - The Amazon Resource Name (ARN) of the control panel.

$sel:safetyRuleArn:AssertionRule', assertionRule_safetyRuleArn - The Amazon Resource Name (ARN) of the assertion rule.

$sel:assertedControls:AssertionRule', assertionRule_assertedControls - The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.

$sel:ruleConfig:AssertionRule', assertionRule_ruleConfig - The criteria that you set for specific assertion controls (routing controls) that designate how many controls must be enabled as the result of a transaction. For example, if you have three assertion controls, you might specify atleast 2 for your rule configuration. This means that at least two assertion controls must be enabled, so that at least two Amazon Web Services Regions are enabled.

$sel:waitPeriodMs:AssertionRule', assertionRule_waitPeriodMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

$sel:name:AssertionRule', assertionRule_name - Name of the assertion rule. You can use any non-white space character in the name.

assertionRule_status :: Lens' AssertionRule Status Source #

The deployment status of an assertion rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

assertionRule_controlPanelArn :: Lens' AssertionRule Text Source #

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

assertionRule_safetyRuleArn :: Lens' AssertionRule Text Source #

The Amazon Resource Name (ARN) of the assertion rule.

assertionRule_assertedControls :: Lens' AssertionRule [Text] Source #

The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.

assertionRule_ruleConfig :: Lens' AssertionRule RuleConfig Source #

The criteria that you set for specific assertion controls (routing controls) that designate how many controls must be enabled as the result of a transaction. For example, if you have three assertion controls, you might specify atleast 2 for your rule configuration. This means that at least two assertion controls must be enabled, so that at least two Amazon Web Services Regions are enabled.

assertionRule_waitPeriodMs :: Lens' AssertionRule Int Source #

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

assertionRule_name :: Lens' AssertionRule Text Source #

Name of the assertion rule. You can use any non-white space character in the name.

AssertionRuleUpdate

data AssertionRuleUpdate Source #

An update to an assertion rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged.

See: newAssertionRuleUpdate smart constructor.

Constructors

AssertionRuleUpdate' 

Fields

  • safetyRuleArn :: Text

    The Amazon Resource Name (ARN) of the assertion rule.

  • waitPeriodMs :: Int

    An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

  • name :: Text

    The name of the assertion rule. You can use any non-white space character in the name.

Instances

Instances details
Eq AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

Read AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

Show AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

Generic AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

Associated Types

type Rep AssertionRuleUpdate :: Type -> Type #

NFData AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

Methods

rnf :: AssertionRuleUpdate -> () #

Hashable AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

ToJSON AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

type Rep AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

type Rep AssertionRuleUpdate = D1 ('MetaData "AssertionRuleUpdate" "Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "AssertionRuleUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "safetyRuleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "waitPeriodMs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAssertionRuleUpdate Source #

Create a value of AssertionRuleUpdate 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:safetyRuleArn:AssertionRuleUpdate', assertionRuleUpdate_safetyRuleArn - The Amazon Resource Name (ARN) of the assertion rule.

$sel:waitPeriodMs:AssertionRuleUpdate', assertionRuleUpdate_waitPeriodMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

$sel:name:AssertionRuleUpdate', assertionRuleUpdate_name - The name of the assertion rule. You can use any non-white space character in the name.

assertionRuleUpdate_safetyRuleArn :: Lens' AssertionRuleUpdate Text Source #

The Amazon Resource Name (ARN) of the assertion rule.

assertionRuleUpdate_waitPeriodMs :: Lens' AssertionRuleUpdate Int Source #

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

assertionRuleUpdate_name :: Lens' AssertionRuleUpdate Text Source #

The name of the assertion rule. You can use any non-white space character in the name.

Cluster

data Cluster Source #

A cluster is a set of five consensus-forming Regional endpoints that represent the infrastructure that hosts your routing controls. Typically, you host together on one cluster all of the routing controls for your applications.

See: newCluster smart constructor.

Constructors

Cluster' 

Fields

  • status :: Maybe Status

    Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

  • clusterArn :: Maybe Text

    The Amazon Resource Name (ARN) of the cluster.

  • name :: Maybe Text

    The name of the cluster.

  • clusterEndpoints :: Maybe [ClusterEndpoint]

    Endpoints for a cluster. Specify one of these endpoints when you want to set or retrieve a routing control state in the cluster.

    To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Cluster (Data Plane) Actions.

Instances

Instances details
Eq Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

Methods

(==) :: Cluster -> Cluster -> Bool #

(/=) :: Cluster -> Cluster -> Bool #

Read Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

Show Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

Generic Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

Associated Types

type Rep Cluster :: Type -> Type #

Methods

from :: Cluster -> Rep Cluster x #

to :: Rep Cluster x -> Cluster #

NFData Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

Methods

rnf :: Cluster -> () #

Hashable Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

Methods

hashWithSalt :: Int -> Cluster -> Int #

hash :: Cluster -> Int #

FromJSON Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

type Rep Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

type Rep Cluster = D1 ('MetaData "Cluster" "Amazonka.Route53RecoveryControlConfig.Types.Cluster" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "Cluster'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status)) :*: S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterEndpoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ClusterEndpoint])))))

newCluster :: Cluster Source #

Create a value of Cluster 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:status:Cluster', cluster_status - Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

$sel:clusterArn:Cluster', cluster_clusterArn - The Amazon Resource Name (ARN) of the cluster.

$sel:name:Cluster', cluster_name - The name of the cluster.

$sel:clusterEndpoints:Cluster', cluster_clusterEndpoints - Endpoints for a cluster. Specify one of these endpoints when you want to set or retrieve a routing control state in the cluster.

To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Cluster (Data Plane) Actions.

cluster_status :: Lens' Cluster (Maybe Status) Source #

Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

cluster_clusterArn :: Lens' Cluster (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster.

cluster_name :: Lens' Cluster (Maybe Text) Source #

The name of the cluster.

cluster_clusterEndpoints :: Lens' Cluster (Maybe [ClusterEndpoint]) Source #

Endpoints for a cluster. Specify one of these endpoints when you want to set or retrieve a routing control state in the cluster.

To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Cluster (Data Plane) Actions.

ClusterEndpoint

data ClusterEndpoint Source #

A cluster endpoint. Specify an endpoint when you want to set or retrieve a routing control state in the cluster.

See: newClusterEndpoint smart constructor.

Constructors

ClusterEndpoint' 

Fields

  • region :: Maybe Text

    The Amazon Web Services Region for a cluster endpoint.

  • endpoint :: Maybe Text

    A cluster endpoint. Specify an endpoint and Amazon Web Services Region when you want to set or retrieve a routing control state in the cluster.

    To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Cluster (Data Plane) Actions.

Instances

Instances details
Eq ClusterEndpoint Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ClusterEndpoint

Read ClusterEndpoint Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ClusterEndpoint

Show ClusterEndpoint Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ClusterEndpoint

Generic ClusterEndpoint Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ClusterEndpoint

Associated Types

type Rep ClusterEndpoint :: Type -> Type #

NFData ClusterEndpoint Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ClusterEndpoint

Methods

rnf :: ClusterEndpoint -> () #

Hashable ClusterEndpoint Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ClusterEndpoint

FromJSON ClusterEndpoint Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ClusterEndpoint

type Rep ClusterEndpoint Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ClusterEndpoint

type Rep ClusterEndpoint = D1 ('MetaData "ClusterEndpoint" "Amazonka.Route53RecoveryControlConfig.Types.ClusterEndpoint" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "ClusterEndpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newClusterEndpoint :: ClusterEndpoint Source #

Create a value of ClusterEndpoint 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:region:ClusterEndpoint', clusterEndpoint_region - The Amazon Web Services Region for a cluster endpoint.

$sel:endpoint:ClusterEndpoint', clusterEndpoint_endpoint - A cluster endpoint. Specify an endpoint and Amazon Web Services Region when you want to set or retrieve a routing control state in the cluster.

To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Cluster (Data Plane) Actions.

clusterEndpoint_region :: Lens' ClusterEndpoint (Maybe Text) Source #

The Amazon Web Services Region for a cluster endpoint.

clusterEndpoint_endpoint :: Lens' ClusterEndpoint (Maybe Text) Source #

A cluster endpoint. Specify an endpoint and Amazon Web Services Region when you want to set or retrieve a routing control state in the cluster.

To get or update the routing control state, see the Amazon Route 53 Application Recovery Controller Cluster (Data Plane) Actions.

ControlPanel

data ControlPanel Source #

A control panel represents a group of routing controls that can be changed together in a single transaction.

See: newControlPanel smart constructor.

Constructors

ControlPanel' 

Fields

  • status :: Maybe Status

    The deployment status of control panel. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

  • controlPanelArn :: Maybe Text

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

  • clusterArn :: Maybe Text

    The Amazon Resource Name (ARN) of the cluster that includes the control panel.

  • routingControlCount :: Maybe Int

    The number of routing controls in the control panel.

  • name :: Maybe Text

    The name of the control panel. You can use any non-white space character in the name.

  • defaultControlPanel :: Maybe Bool

    A flag that Amazon Route 53 Application Recovery Controller sets to true to designate the default control panel for a cluster. When you create a cluster, Amazon Route 53 Application Recovery Controller creates a control panel, and sets this flag for that control panel. If you create a control panel yourself, this flag is set to false.

Instances

Instances details
Eq ControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ControlPanel

Read ControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ControlPanel

Show ControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ControlPanel

Generic ControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ControlPanel

Associated Types

type Rep ControlPanel :: Type -> Type #

NFData ControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ControlPanel

Methods

rnf :: ControlPanel -> () #

Hashable ControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ControlPanel

FromJSON ControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ControlPanel

type Rep ControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ControlPanel

type Rep ControlPanel = D1 ('MetaData "ControlPanel" "Amazonka.Route53RecoveryControlConfig.Types.ControlPanel" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "ControlPanel'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status)) :*: (S1 ('MetaSel ('Just "controlPanelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "routingControlCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "defaultControlPanel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

newControlPanel :: ControlPanel Source #

Create a value of ControlPanel 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:status:ControlPanel', controlPanel_status - The deployment status of control panel. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

$sel:controlPanelArn:ControlPanel', controlPanel_controlPanelArn - The Amazon Resource Name (ARN) of the control panel.

$sel:clusterArn:ControlPanel', controlPanel_clusterArn - The Amazon Resource Name (ARN) of the cluster that includes the control panel.

$sel:routingControlCount:ControlPanel', controlPanel_routingControlCount - The number of routing controls in the control panel.

$sel:name:ControlPanel', controlPanel_name - The name of the control panel. You can use any non-white space character in the name.

$sel:defaultControlPanel:ControlPanel', controlPanel_defaultControlPanel - A flag that Amazon Route 53 Application Recovery Controller sets to true to designate the default control panel for a cluster. When you create a cluster, Amazon Route 53 Application Recovery Controller creates a control panel, and sets this flag for that control panel. If you create a control panel yourself, this flag is set to false.

controlPanel_status :: Lens' ControlPanel (Maybe Status) Source #

The deployment status of control panel. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

controlPanel_controlPanelArn :: Lens' ControlPanel (Maybe Text) Source #

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

controlPanel_clusterArn :: Lens' ControlPanel (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster that includes the control panel.

controlPanel_routingControlCount :: Lens' ControlPanel (Maybe Int) Source #

The number of routing controls in the control panel.

controlPanel_name :: Lens' ControlPanel (Maybe Text) Source #

The name of the control panel. You can use any non-white space character in the name.

controlPanel_defaultControlPanel :: Lens' ControlPanel (Maybe Bool) Source #

A flag that Amazon Route 53 Application Recovery Controller sets to true to designate the default control panel for a cluster. When you create a cluster, Amazon Route 53 Application Recovery Controller creates a control panel, and sets this flag for that control panel. If you create a control panel yourself, this flag is set to false.

GatingRule

data GatingRule Source #

A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you specify. If the gating rule evaluates to true, Amazon Route 53 Application Recovery Controller allows a set of routing control state changes to run and complete against the set of target controls.

See: newGatingRule smart constructor.

Constructors

GatingRule' 

Fields

  • status :: Status

    The deployment status of a gating rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

  • targetControls :: [Text]

    Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three Amazon Web Services Regions. Now you specify ATLEAST 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true.

    In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.

  • controlPanelArn :: Text

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

  • safetyRuleArn :: Text

    The Amazon Resource Name (ARN) of the gating rule.

  • gatingControls :: [Text]

    The gating controls for the gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.

  • ruleConfig :: RuleConfig

    The criteria that you set for specific gating controls (routing controls) that designates how many controls must be enabled to allow you to change (set or unset) the target controls.

  • waitPeriodMs :: Int

    An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

  • name :: Text

    The name for the gating rule.

Instances

Instances details
Eq GatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRule

Read GatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRule

Show GatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRule

Generic GatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRule

Associated Types

type Rep GatingRule :: Type -> Type #

NFData GatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRule

Methods

rnf :: GatingRule -> () #

Hashable GatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRule

FromJSON GatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRule

type Rep GatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRule

type Rep GatingRule = D1 ('MetaData "GatingRule" "Amazonka.Route53RecoveryControlConfig.Types.GatingRule" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "GatingRule'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Status) :*: S1 ('MetaSel ('Just "targetControls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])) :*: (S1 ('MetaSel ('Just "controlPanelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "safetyRuleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "gatingControls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "ruleConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuleConfig)) :*: (S1 ('MetaSel ('Just "waitPeriodMs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGatingRule Source #

Create a value of GatingRule 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:status:GatingRule', gatingRule_status - The deployment status of a gating rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

$sel:targetControls:GatingRule', gatingRule_targetControls - Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three Amazon Web Services Regions. Now you specify ATLEAST 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true.

In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.

$sel:controlPanelArn:GatingRule', gatingRule_controlPanelArn - The Amazon Resource Name (ARN) of the control panel.

$sel:safetyRuleArn:GatingRule', gatingRule_safetyRuleArn - The Amazon Resource Name (ARN) of the gating rule.

$sel:gatingControls:GatingRule', gatingRule_gatingControls - The gating controls for the gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.

$sel:ruleConfig:GatingRule', gatingRule_ruleConfig - The criteria that you set for specific gating controls (routing controls) that designates how many controls must be enabled to allow you to change (set or unset) the target controls.

$sel:waitPeriodMs:GatingRule', gatingRule_waitPeriodMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

$sel:name:GatingRule', gatingRule_name - The name for the gating rule.

gatingRule_status :: Lens' GatingRule Status Source #

The deployment status of a gating rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

gatingRule_targetControls :: Lens' GatingRule [Text] Source #

Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three Amazon Web Services Regions. Now you specify ATLEAST 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true.

In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.

gatingRule_controlPanelArn :: Lens' GatingRule Text Source #

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

gatingRule_safetyRuleArn :: Lens' GatingRule Text Source #

The Amazon Resource Name (ARN) of the gating rule.

gatingRule_gatingControls :: Lens' GatingRule [Text] Source #

The gating controls for the gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.

gatingRule_ruleConfig :: Lens' GatingRule RuleConfig Source #

The criteria that you set for specific gating controls (routing controls) that designates how many controls must be enabled to allow you to change (set or unset) the target controls.

gatingRule_waitPeriodMs :: Lens' GatingRule Int Source #

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

gatingRule_name :: Lens' GatingRule Text Source #

The name for the gating rule.

GatingRuleUpdate

data GatingRuleUpdate Source #

Update to a gating rule. You can update the name or the evaluation period (wait period). If you don't specify one of the items to update, the item is unchanged.

See: newGatingRuleUpdate smart constructor.

Constructors

GatingRuleUpdate' 

Fields

  • safetyRuleArn :: Text

    The Amazon Resource Name (ARN) of the gating rule.

  • waitPeriodMs :: Int

    An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

  • name :: Text

    The name for the gating rule.

Instances

Instances details
Eq GatingRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRuleUpdate

Read GatingRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRuleUpdate

Show GatingRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRuleUpdate

Generic GatingRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRuleUpdate

Associated Types

type Rep GatingRuleUpdate :: Type -> Type #

NFData GatingRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRuleUpdate

Methods

rnf :: GatingRuleUpdate -> () #

Hashable GatingRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRuleUpdate

ToJSON GatingRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRuleUpdate

type Rep GatingRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRuleUpdate

type Rep GatingRuleUpdate = D1 ('MetaData "GatingRuleUpdate" "Amazonka.Route53RecoveryControlConfig.Types.GatingRuleUpdate" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "GatingRuleUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "safetyRuleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "waitPeriodMs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGatingRuleUpdate Source #

Create a value of GatingRuleUpdate 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:safetyRuleArn:GatingRuleUpdate', gatingRuleUpdate_safetyRuleArn - The Amazon Resource Name (ARN) of the gating rule.

$sel:waitPeriodMs:GatingRuleUpdate', gatingRuleUpdate_waitPeriodMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

$sel:name:GatingRuleUpdate', gatingRuleUpdate_name - The name for the gating rule.

gatingRuleUpdate_safetyRuleArn :: Lens' GatingRuleUpdate Text Source #

The Amazon Resource Name (ARN) of the gating rule.

gatingRuleUpdate_waitPeriodMs :: Lens' GatingRuleUpdate Int Source #

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

gatingRuleUpdate_name :: Lens' GatingRuleUpdate Text Source #

The name for the gating rule.

NewAssertionRule

data NewAssertionRule Source #

A new assertion rule for a control panel.

See: newNewAssertionRule smart constructor.

Constructors

NewAssertionRule' 

Fields

  • controlPanelArn :: Text

    The Amazon Resource Name (ARN) for the control panel.

  • assertedControls :: [Text]

    The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.

  • ruleConfig :: RuleConfig

    The criteria that you set for specific assertion controls (routing controls) that designate how many controls must be enabled as the result of a transaction. For example, if you have three assertion controls, you might specify atleast 2 for your rule configuration. This means that at least two assertion controls must be enabled, so that at least two Amazon Web Services Regions are enabled.

  • waitPeriodMs :: Int

    An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

  • name :: Text

    The name of the assertion rule. You can use any non-white space character in the name.

Instances

Instances details
Eq NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

Read NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

Show NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

Generic NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

Associated Types

type Rep NewAssertionRule :: Type -> Type #

NFData NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

Methods

rnf :: NewAssertionRule -> () #

Hashable NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

ToJSON NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

type Rep NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

type Rep NewAssertionRule = D1 ('MetaData "NewAssertionRule" "Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "NewAssertionRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "controlPanelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "assertedControls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])) :*: (S1 ('MetaSel ('Just "ruleConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuleConfig) :*: (S1 ('MetaSel ('Just "waitPeriodMs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newNewAssertionRule Source #

Create a value of NewAssertionRule 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:NewAssertionRule', newAssertionRule_controlPanelArn - The Amazon Resource Name (ARN) for the control panel.

$sel:assertedControls:NewAssertionRule', newAssertionRule_assertedControls - The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.

$sel:ruleConfig:NewAssertionRule', newAssertionRule_ruleConfig - The criteria that you set for specific assertion controls (routing controls) that designate how many controls must be enabled as the result of a transaction. For example, if you have three assertion controls, you might specify atleast 2 for your rule configuration. This means that at least two assertion controls must be enabled, so that at least two Amazon Web Services Regions are enabled.

$sel:waitPeriodMs:NewAssertionRule', newAssertionRule_waitPeriodMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

$sel:name:NewAssertionRule', newAssertionRule_name - The name of the assertion rule. You can use any non-white space character in the name.

newAssertionRule_controlPanelArn :: Lens' NewAssertionRule Text Source #

The Amazon Resource Name (ARN) for the control panel.

newAssertionRule_assertedControls :: Lens' NewAssertionRule [Text] Source #

The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.

newAssertionRule_ruleConfig :: Lens' NewAssertionRule RuleConfig Source #

The criteria that you set for specific assertion controls (routing controls) that designate how many controls must be enabled as the result of a transaction. For example, if you have three assertion controls, you might specify atleast 2 for your rule configuration. This means that at least two assertion controls must be enabled, so that at least two Amazon Web Services Regions are enabled.

newAssertionRule_waitPeriodMs :: Lens' NewAssertionRule Int Source #

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

newAssertionRule_name :: Lens' NewAssertionRule Text Source #

The name of the assertion rule. You can use any non-white space character in the name.

NewGatingRule

data NewGatingRule Source #

A new gating rule for a control panel.

See: newNewGatingRule smart constructor.

Constructors

NewGatingRule' 

Fields

  • targetControls :: [Text]

    Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three Amazon Web Services Regions. Now you specify AtLeast 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true.

    In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.

  • controlPanelArn :: Text

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

  • gatingControls :: [Text]

    The gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.

  • ruleConfig :: RuleConfig

    The criteria that you set for specific gating controls (routing controls) that designates how many controls must be enabled to allow you to change (set or unset) the target controls.

  • waitPeriodMs :: Int

    An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

  • name :: Text

    The name for the new gating rule.

Instances

Instances details
Eq NewGatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewGatingRule

Read NewGatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewGatingRule

Show NewGatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewGatingRule

Generic NewGatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewGatingRule

Associated Types

type Rep NewGatingRule :: Type -> Type #

NFData NewGatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewGatingRule

Methods

rnf :: NewGatingRule -> () #

Hashable NewGatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewGatingRule

ToJSON NewGatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewGatingRule

type Rep NewGatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewGatingRule

type Rep NewGatingRule = D1 ('MetaData "NewGatingRule" "Amazonka.Route53RecoveryControlConfig.Types.NewGatingRule" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "NewGatingRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "targetControls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: (S1 ('MetaSel ('Just "controlPanelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "gatingControls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))) :*: (S1 ('MetaSel ('Just "ruleConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuleConfig) :*: (S1 ('MetaSel ('Just "waitPeriodMs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newNewGatingRule Source #

Create a value of NewGatingRule 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:targetControls:NewGatingRule', newGatingRule_targetControls - Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three Amazon Web Services Regions. Now you specify AtLeast 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true.

In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.

$sel:controlPanelArn:NewGatingRule', newGatingRule_controlPanelArn - The Amazon Resource Name (ARN) of the control panel.

$sel:gatingControls:NewGatingRule', newGatingRule_gatingControls - The gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.

$sel:ruleConfig:NewGatingRule', newGatingRule_ruleConfig - The criteria that you set for specific gating controls (routing controls) that designates how many controls must be enabled to allow you to change (set or unset) the target controls.

$sel:waitPeriodMs:NewGatingRule', newGatingRule_waitPeriodMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

$sel:name:NewGatingRule', newGatingRule_name - The name for the new gating rule.

newGatingRule_targetControls :: Lens' NewGatingRule [Text] Source #

Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three Amazon Web Services Regions. Now you specify AtLeast 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true.

In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.

newGatingRule_controlPanelArn :: Lens' NewGatingRule Text Source #

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

newGatingRule_gatingControls :: Lens' NewGatingRule [Text] Source #

The gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.

newGatingRule_ruleConfig :: Lens' NewGatingRule RuleConfig Source #

The criteria that you set for specific gating controls (routing controls) that designates how many controls must be enabled to allow you to change (set or unset) the target controls.

newGatingRule_waitPeriodMs :: Lens' NewGatingRule Int Source #

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.

newGatingRule_name :: Lens' NewGatingRule Text Source #

The name for the new gating rule.

RoutingControl

data RoutingControl Source #

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 traffic routing.

See: newRoutingControl smart constructor.

Constructors

RoutingControl' 

Fields

Instances

Instances details
Eq RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Read RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Show RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Generic RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Associated Types

type Rep RoutingControl :: Type -> Type #

NFData RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Methods

rnf :: RoutingControl -> () #

Hashable RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

FromJSON RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

type Rep RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

type Rep RoutingControl = D1 ('MetaData "RoutingControl" "Amazonka.Route53RecoveryControlConfig.Types.RoutingControl" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "RoutingControl'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status)) :*: S1 ('MetaSel ('Just "controlPanelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "routingControlArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:status:RoutingControl', routingControl_status - The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

$sel:controlPanelArn:RoutingControl', routingControl_controlPanelArn - The Amazon Resource Name (ARN) of the control panel that includes the routing control.

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

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

routingControl_status :: Lens' RoutingControl (Maybe Status) Source #

The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

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

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

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

The name of the routing control.

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

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

Rule

data Rule Source #

A safety rule. A safety rule can be an assertion rule or a gating rule.

See: newRule smart constructor.

Constructors

Rule' 

Fields

  • gating :: Maybe GatingRule

    A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you specify. If the gating rule evaluates to true, Amazon Route 53 Application Recovery Controller allows a set of routing control state changes to run and complete against the set of target controls.

  • assertion :: Maybe AssertionRule

    An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule configuration is met. Otherwise, the change to the routing control is not accepted.

Instances

Instances details
Eq Rule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Rule

Methods

(==) :: Rule -> Rule -> Bool #

(/=) :: Rule -> Rule -> Bool #

Read Rule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Rule

Show Rule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Rule

Methods

showsPrec :: Int -> Rule -> ShowS #

show :: Rule -> String #

showList :: [Rule] -> ShowS #

Generic Rule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Rule

Associated Types

type Rep Rule :: Type -> Type #

Methods

from :: Rule -> Rep Rule x #

to :: Rep Rule x -> Rule #

NFData Rule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Rule

Methods

rnf :: Rule -> () #

Hashable Rule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Rule

Methods

hashWithSalt :: Int -> Rule -> Int #

hash :: Rule -> Int #

FromJSON Rule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Rule

type Rep Rule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Rule

type Rep Rule = D1 ('MetaData "Rule" "Amazonka.Route53RecoveryControlConfig.Types.Rule" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "Rule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gating") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GatingRule)) :*: S1 ('MetaSel ('Just "assertion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssertionRule))))

newRule :: Rule Source #

Create a value of Rule 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:gating:Rule', rule_gating - A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you specify. If the gating rule evaluates to true, Amazon Route 53 Application Recovery Controller allows a set of routing control state changes to run and complete against the set of target controls.

$sel:assertion:Rule', rule_assertion - An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule configuration is met. Otherwise, the change to the routing control is not accepted.

rule_gating :: Lens' Rule (Maybe GatingRule) Source #

A gating rule verifies that a set of gating controls evaluates as true, based on a rule configuration that you specify. If the gating rule evaluates to true, Amazon Route 53 Application Recovery Controller allows a set of routing control state changes to run and complete against the set of target controls.

rule_assertion :: Lens' Rule (Maybe AssertionRule) Source #

An assertion rule enforces that, when a routing control state is changed, the criteria set by the rule configuration is met. Otherwise, the change to the routing control is not accepted.

RuleConfig

data RuleConfig Source #

The rule configuration for an assertion rule. That is, the criteria that you set for specific assertion controls (routing controls) that specify how many controls must be enabled after a transaction completes.

See: newRuleConfig smart constructor.

Constructors

RuleConfig' 

Fields

  • type' :: RuleType

    A rule can be one of the following: ATLEAST, AND, or OR.

  • inverted :: Bool

    Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.

  • threshold :: Int

    The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.

Instances

Instances details
Eq RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

Read RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

Show RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

Generic RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

Associated Types

type Rep RuleConfig :: Type -> Type #

NFData RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

Methods

rnf :: RuleConfig -> () #

Hashable RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

ToJSON RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

FromJSON RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

type Rep RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

type Rep RuleConfig = D1 ('MetaData "RuleConfig" "Amazonka.Route53RecoveryControlConfig.Types.RuleConfig" "libZSservicesZSamazonka-route53-recovery-control-configZSamazonka-route53-recovery-control-config" 'False) (C1 ('MetaCons "RuleConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuleType) :*: (S1 ('MetaSel ('Just "inverted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "threshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRuleConfig Source #

Create a value of RuleConfig 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:type':RuleConfig', ruleConfig_type - A rule can be one of the following: ATLEAST, AND, or OR.

$sel:inverted:RuleConfig', ruleConfig_inverted - Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.

$sel:threshold:RuleConfig', ruleConfig_threshold - The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.

ruleConfig_type :: Lens' RuleConfig RuleType Source #

A rule can be one of the following: ATLEAST, AND, or OR.

ruleConfig_inverted :: Lens' RuleConfig Bool Source #

Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.

ruleConfig_threshold :: Lens' RuleConfig Int Source #

The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.