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

Description

 
Synopsis

Documentation

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.