amazonka-route53-recovery-control-config-2.0: Amazon Route53 Recovery Control Config 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.Route53RecoveryControlConfig.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

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

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

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

409 response - ConflictException. You might be using a predefined variable.

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

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

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

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

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

402 response - You attempted to create more resources than the service allows based on service quotas.

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

429 response - LimitExceededException or TooManyRequestsException.

_ValidationException :: AsError a => Fold 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 might have used parameters together incorrectly.

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
FromJSON RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

FromJSONKey RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

ToJSON RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

ToJSONKey RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

ToByteString RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Methods

toBS :: RuleType -> ByteString #

ToHeader RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Methods

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

ToLog RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

ToQuery RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

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 #

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 #

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 #

Read RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Show RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

NFData RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Methods

rnf :: RuleType -> () #

Eq RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Ord RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Hashable RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

Methods

hashWithSalt :: Int -> RuleType -> Int #

hash :: RuleType -> Int #

type Rep RuleType Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleType

type Rep RuleType = D1 ('MetaData "RuleType" "Amazonka.Route53RecoveryControlConfig.Types.RuleType" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" '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
FromJSON Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

FromJSONKey Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

ToJSON Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

ToJSONKey Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

ToByteString Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Methods

toBS :: Status -> ByteString #

ToHeader Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Methods

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

ToLog Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

ToQuery Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

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 #

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 #

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 #

Read Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Show Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

NFData Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Methods

rnf :: Status -> () #

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

Hashable Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

Methods

hashWithSalt :: Int -> Status -> Int #

hash :: Status -> Int #

type Rep Status Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Status

type Rep Status = D1 ('MetaData "Status" "Amazonka.Route53RecoveryControlConfig.Types.Status" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" '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 you change a routing control state, that the criteria that you set in the rule configuration is met. Otherwise, the change to the routing control is not accepted. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.

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 routing controls (AssertedControls) that designate how many routing control states must be ON as the result of a transaction. For example, if you have three assertion routing controls, you might specify ATLEAST 2 for your rule configuration. This means that at least two assertion routing control states must be ON, so that at least two Amazon Web Services Regions have traffic flowing to them.

  • 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
FromJSON 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 #

Read AssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRule

Show AssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRule

NFData AssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRule

Methods

rnf :: AssertionRule -> () #

Eq AssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRule

Hashable 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" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" '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 routing controls (AssertedControls) that designate how many routing control states must be ON as the result of a transaction. For example, if you have three assertion routing controls, you might specify ATLEAST 2 for your rule configuration. This means that at least two assertion routing control states must be ON, so that at least two Amazon Web Services Regions have traffic flowing to them.

$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 routing controls (AssertedControls) that designate how many routing control states must be ON as the result of a transaction. For example, if you have three assertion routing controls, you might specify ATLEAST 2 for your rule configuration. This means that at least two assertion routing control states must be ON, so that at least two Amazon Web Services Regions have traffic flowing to them.

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
ToJSON 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 #

Read AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

Show AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

NFData AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

Methods

rnf :: AssertionRuleUpdate -> () #

Eq AssertionRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.AssertionRuleUpdate

Hashable 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" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" '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 set of five redundant Regional endpoints against which you can execute API calls to update or get the state of routing controls. You can host multiple control panels and routing controls on one cluster.

See: newCluster smart constructor.

Constructors

Cluster' 

Fields

  • clusterArn :: Maybe Text

    The Amazon Resource Name (ARN) 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 Routing Control Actions.

  • name :: Maybe Text

    The name of the cluster.

  • status :: Maybe Status

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

Instances

Instances details
FromJSON 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 #

Read Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

Show Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

NFData Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

Methods

rnf :: Cluster -> () #

Eq Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

Methods

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

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

Hashable Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

Methods

hashWithSalt :: Int -> Cluster -> Int #

hash :: Cluster -> Int #

type Rep Cluster Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Cluster

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

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:clusterArn:Cluster', cluster_clusterArn - The Amazon Resource Name (ARN) 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 Routing Control Actions.

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

$sel:status:Cluster', cluster_status - 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_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 Routing Control Actions.

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

The name of the cluster.

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

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

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

  • 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 Routing Control Actions.

  • region :: Maybe Text

    The Amazon Web Services Region for a cluster endpoint.

Instances

Instances details
FromJSON 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 #

Read ClusterEndpoint Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ClusterEndpoint

Show ClusterEndpoint Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ClusterEndpoint

NFData ClusterEndpoint Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ClusterEndpoint

Methods

rnf :: ClusterEndpoint -> () #

Eq ClusterEndpoint Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ClusterEndpoint

Hashable 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" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" 'False) (C1 ('MetaCons "ClusterEndpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "region") '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: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 Routing Control Actions.

$sel:region:ClusterEndpoint', clusterEndpoint_region - 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 Routing Control Actions.

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

The Amazon Web Services Region for a cluster endpoint.

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

  • clusterArn :: Maybe Text

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

  • controlPanelArn :: Maybe Text

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

  • 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.

  • name :: Maybe Text

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

  • routingControlCount :: Maybe Int

    The number of routing controls in the control panel.

  • status :: Maybe Status

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

Instances

Instances details
FromJSON 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 #

Read ControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ControlPanel

Show ControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ControlPanel

NFData ControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ControlPanel

Methods

rnf :: ControlPanel -> () #

Eq ControlPanel Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.ControlPanel

Hashable 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" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" 'False) (C1 ('MetaCons "ControlPanel'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "controlPanelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "defaultControlPanel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "routingControlCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status))))))

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:clusterArn:ControlPanel', controlPanel_clusterArn - The Amazon Resource Name (ARN) of the cluster that includes the control panel.

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

$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.

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

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

$sel:status:ControlPanel', controlPanel_status - The deployment status of control panel. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

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

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

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

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

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.

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_routingControlCount :: Lens' ControlPanel (Maybe Int) Source #

The number of routing controls in the control panel.

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

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

GatingRule

data GatingRule Source #

A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete.

For example, if you specify one gating routing control and you set the Type in the rule configuration to OR, that indicates that you must set the gating routing control to On for the rule to evaluate as true; that is, for the gating control "switch" to be "On". When you do that, then you can update the routing control states for the target routing controls that you specify in the gating rule.

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]

    An array of target routing control Amazon Resource Names (ARNs) for which the states can only be updated if the rule configuration that you specify evaluates to true for the gating routing control. As a simple example, if you have a single gating control, it acts as an overall "on/off" switch for a set of target routing controls. You can use this to manually override automated failover, for example.

  • controlPanelArn :: Text

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

  • safetyRuleArn :: Text

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

  • gatingControls :: [Text]

    An array of gating routing control Amazon Resource Names (ARNs). For a simple "on/off" switch, specify the ARN for one routing control. The gating routing controls are evaluated by the rule configuration that you specify to determine if the target routing control states can be changed.

  • ruleConfig :: RuleConfig

    The criteria that you set for gating routing controls that designate how many of the routing control states must be ON to allow you to update target routing control states.

  • 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. You can use any non-white space character in the name.

Instances

Instances details
FromJSON 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 #

Read GatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRule

Show GatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRule

NFData GatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRule

Methods

rnf :: GatingRule -> () #

Eq GatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRule

Hashable 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" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" '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 - An array of target routing control Amazon Resource Names (ARNs) for which the states can only be updated if the rule configuration that you specify evaluates to true for the gating routing control. As a simple example, if you have a single gating control, it acts as an overall "on/off" switch for a set of target routing controls. You can use this to manually override automated failover, for example.

$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 - An array of gating routing control Amazon Resource Names (ARNs). For a simple "on/off" switch, specify the ARN for one routing control. The gating routing controls are evaluated by the rule configuration that you specify to determine if the target routing control states can be changed.

$sel:ruleConfig:GatingRule', gatingRule_ruleConfig - The criteria that you set for gating routing controls that designate how many of the routing control states must be ON to allow you to update target routing control states.

$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. You can use any non-white space character in the name.

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 #

An array of target routing control Amazon Resource Names (ARNs) for which the states can only be updated if the rule configuration that you specify evaluates to true for the gating routing control. As a simple example, if you have a single gating control, it acts as an overall "on/off" switch for a set of target routing controls. You can use this to manually override automated failover, for example.

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 #

An array of gating routing control Amazon Resource Names (ARNs). For a simple "on/off" switch, specify the ARN for one routing control. The gating routing controls are evaluated by the rule configuration that you specify to determine if the target routing control states can be changed.

gatingRule_ruleConfig :: Lens' GatingRule RuleConfig Source #

The criteria that you set for gating routing controls that designate how many of the routing control states must be ON to allow you to update target routing control states.

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. You can use any non-white space character in the name.

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. You can use any non-white space character in the name.

Instances

Instances details
ToJSON 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 #

Read GatingRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRuleUpdate

Show GatingRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRuleUpdate

NFData GatingRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRuleUpdate

Methods

rnf :: GatingRuleUpdate -> () #

Eq GatingRuleUpdate Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.GatingRuleUpdate

Hashable 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" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" '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. You can use any non-white space character in the name.

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. You can use any non-white space character in the name.

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 control states must be ON 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 ON, so that at least two Amazon Web Services Regions have traffic flowing to them.

  • 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
ToJSON 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 #

Read NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

Show NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

NFData NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

Methods

rnf :: NewAssertionRule -> () #

Eq NewAssertionRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewAssertionRule

Hashable 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" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" '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 control states must be ON 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 ON, so that at least two Amazon Web Services Regions have traffic flowing to them.

$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 control states must be ON 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 ON, so that at least two Amazon Web Services Regions have traffic flowing to them.

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 designate how many control states must be ON to allow you to change (set or unset) the target control states.

  • 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
ToJSON 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 #

Read NewGatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewGatingRule

Show NewGatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewGatingRule

NFData NewGatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewGatingRule

Methods

rnf :: NewGatingRule -> () #

Eq NewGatingRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.NewGatingRule

Hashable 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" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" '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 designate how many control states must be ON to allow you to change (set or unset) the target control states.

$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 designate how many control states must be ON to allow you to change (set or unset) the target control states.

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
FromJSON 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 #

Read RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Show RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

NFData RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Methods

rnf :: RoutingControl -> () #

Eq RoutingControl Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RoutingControl

Hashable 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" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" 'False) (C1 ('MetaCons "RoutingControl'" 'PrefixI 'True) ((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)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status)))))

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

$sel:status:RoutingControl', routingControl_status - 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.

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.

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

  • 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 state is not accepted. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.

  • gating :: Maybe GatingRule

    A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete.

    For example, if you specify one gating routing control and you set the Type in the rule configuration to OR, that indicates that you must set the gating routing control to On for the rule to evaluate as true; that is, for the gating control "switch" to be "On". When you do that, then you can update the routing control states for the target routing controls that you specify in the gating rule.

Instances

Instances details
FromJSON Rule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Rule

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 #

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 #

NFData Rule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Rule

Methods

rnf :: Rule -> () #

Eq Rule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Rule

Methods

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

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

Hashable Rule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Rule

Methods

hashWithSalt :: Int -> Rule -> Int #

hash :: Rule -> Int #

type Rep Rule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.Rule

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

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: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 state is not accepted. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.

$sel:gating:Rule', rule_gating - A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete.

For example, if you specify one gating routing control and you set the Type in the rule configuration to OR, that indicates that you must set the gating routing control to On for the rule to evaluate as true; that is, for the gating control "switch" to be "On". When you do that, then you can update the routing control states for the target routing controls that you specify in the gating rule.

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 state is not accepted. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.

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

A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete.

For example, if you specify one gating routing control and you set the Type in the rule configuration to OR, that indicates that you must set the gating routing control to On for the rule to evaluate as true; that is, for the gating control "switch" to be "On". When you do that, then you can update the routing control states for the target routing controls that you specify in the gating rule.

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 control states must be ON 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
FromJSON RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

ToJSON 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 #

Read RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

Show RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

NFData RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

Methods

rnf :: RuleConfig -> () #

Eq RuleConfig Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.Types.RuleConfig

Hashable 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" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" '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.