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

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.