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

Description

Update a safety rule (an assertion rule or gating rule). You can only update the name and the waiting period for a safety rule. To make other updates, delete the safety rule and create a new one.

Synopsis

Creating a Request

data UpdateSafetyRule Source #

A rule that you add to Application Recovery Controller to ensure that recovery actions don't accidentally impair your application's availability.

See: newUpdateSafetyRule smart constructor.

Constructors

UpdateSafetyRule' 

Fields

Instances

Instances details
ToJSON UpdateSafetyRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

ToHeaders UpdateSafetyRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

ToPath UpdateSafetyRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

ToQuery UpdateSafetyRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

AWSRequest UpdateSafetyRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

Associated Types

type AWSResponse UpdateSafetyRule #

Generic UpdateSafetyRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

Associated Types

type Rep UpdateSafetyRule :: Type -> Type #

Read UpdateSafetyRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

Show UpdateSafetyRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

NFData UpdateSafetyRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

Methods

rnf :: UpdateSafetyRule -> () #

Eq UpdateSafetyRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

Hashable UpdateSafetyRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

type AWSResponse UpdateSafetyRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

type Rep UpdateSafetyRule Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

type Rep UpdateSafetyRule = D1 ('MetaData "UpdateSafetyRule" "Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" 'False) (C1 ('MetaCons "UpdateSafetyRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assertionRuleUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssertionRuleUpdate)) :*: S1 ('MetaSel ('Just "gatingRuleUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GatingRuleUpdate))))

newUpdateSafetyRule :: UpdateSafetyRule Source #

Create a value of UpdateSafetyRule 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:assertionRuleUpdate:UpdateSafetyRule', updateSafetyRule_assertionRuleUpdate - The assertion rule to update.

$sel:gatingRuleUpdate:UpdateSafetyRule', updateSafetyRule_gatingRuleUpdate - The gating rule to update.

Request Lenses

Destructuring the Response

data UpdateSafetyRuleResponse Source #

See: newUpdateSafetyRuleResponse smart constructor.

Constructors

UpdateSafetyRuleResponse' 

Fields

Instances

Instances details
Generic UpdateSafetyRuleResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

Associated Types

type Rep UpdateSafetyRuleResponse :: Type -> Type #

Read UpdateSafetyRuleResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

Show UpdateSafetyRuleResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

NFData UpdateSafetyRuleResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

Eq UpdateSafetyRuleResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

type Rep UpdateSafetyRuleResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule

type Rep UpdateSafetyRuleResponse = D1 ('MetaData "UpdateSafetyRuleResponse" "Amazonka.Route53RecoveryControlConfig.UpdateSafetyRule" "amazonka-route53-recovery-control-config-2.0-EdxrPdjlafWED9VxY6nLf4" 'False) (C1 ('MetaCons "UpdateSafetyRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assertionRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssertionRule)) :*: (S1 ('MetaSel ('Just "gatingRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GatingRule)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateSafetyRuleResponse Source #

Create a value of UpdateSafetyRuleResponse 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:assertionRule:UpdateSafetyRuleResponse', updateSafetyRuleResponse_assertionRule - The assertion rule updated.

$sel:gatingRule:UpdateSafetyRuleResponse', updateSafetyRuleResponse_gatingRule - The gating rule updated.

$sel:httpStatus:UpdateSafetyRuleResponse', updateSafetyRuleResponse_httpStatus - The response's http status code.

Response Lenses