Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data GatingRuleUpdate = GatingRuleUpdate' {
- safetyRuleArn :: Text
- waitPeriodMs :: Int
- name :: Text
- newGatingRuleUpdate :: Text -> Int -> Text -> GatingRuleUpdate
- gatingRuleUpdate_safetyRuleArn :: Lens' GatingRuleUpdate Text
- gatingRuleUpdate_waitPeriodMs :: Lens' GatingRuleUpdate Int
- gatingRuleUpdate_name :: Lens' GatingRuleUpdate Text
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.
GatingRuleUpdate' | |
|
Instances
:: Text | |
-> Int | |
-> Text | |
-> GatingRuleUpdate |
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.