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 AssertionRuleUpdate = AssertionRuleUpdate' {
- safetyRuleArn :: Text
- waitPeriodMs :: Int
- name :: Text
- newAssertionRuleUpdate :: Text -> Int -> Text -> AssertionRuleUpdate
- assertionRuleUpdate_safetyRuleArn :: Lens' AssertionRuleUpdate Text
- assertionRuleUpdate_waitPeriodMs :: Lens' AssertionRuleUpdate Int
- assertionRuleUpdate_name :: Lens' AssertionRuleUpdate Text
Documentation
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.
AssertionRuleUpdate' | |
|
Instances
newAssertionRuleUpdate Source #
:: Text | |
-> Int | |
-> Text | |
-> AssertionRuleUpdate |
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.