libZSservicesZSamazonka-elbv2ZSamazonka-elbv2
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.ELBV2.ModifyRule

Description

Replaces the specified properties of the specified rule. Any properties that you do not specify are unchanged.

To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action.

Synopsis

Creating a Request

data ModifyRule Source #

See: newModifyRule smart constructor.

Constructors

ModifyRule' 

Fields

Instances

Instances details
Eq ModifyRule Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

Read ModifyRule Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

Show ModifyRule Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

Generic ModifyRule Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

Associated Types

type Rep ModifyRule :: Type -> Type #

NFData ModifyRule Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

Methods

rnf :: ModifyRule -> () #

Hashable ModifyRule Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

AWSRequest ModifyRule Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

Associated Types

type AWSResponse ModifyRule #

ToHeaders ModifyRule Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

Methods

toHeaders :: ModifyRule -> [Header] #

ToPath ModifyRule Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

ToQuery ModifyRule Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

type Rep ModifyRule Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

type Rep ModifyRule = D1 ('MetaData "ModifyRule" "Amazonka.ELBV2.ModifyRule" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "ModifyRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Action])) :*: (S1 ('MetaSel ('Just "conditions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RuleCondition])) :*: S1 ('MetaSel ('Just "ruleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ModifyRule Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

newModifyRule Source #

Create a value of ModifyRule 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:actions:ModifyRule', modifyRule_actions - The actions.

$sel:conditions:ModifyRule', modifyRule_conditions - The conditions.

$sel:ruleArn:ModifyRule', modifyRule_ruleArn - The Amazon Resource Name (ARN) of the rule.

Request Lenses

modifyRule_ruleArn :: Lens' ModifyRule Text Source #

The Amazon Resource Name (ARN) of the rule.

Destructuring the Response

data ModifyRuleResponse Source #

See: newModifyRuleResponse smart constructor.

Constructors

ModifyRuleResponse' 

Fields

Instances

Instances details
Eq ModifyRuleResponse Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

Read ModifyRuleResponse Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

Show ModifyRuleResponse Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

Generic ModifyRuleResponse Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

Associated Types

type Rep ModifyRuleResponse :: Type -> Type #

NFData ModifyRuleResponse Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

Methods

rnf :: ModifyRuleResponse -> () #

type Rep ModifyRuleResponse Source # 
Instance details

Defined in Amazonka.ELBV2.ModifyRule

type Rep ModifyRuleResponse = D1 ('MetaData "ModifyRuleResponse" "Amazonka.ELBV2.ModifyRule" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "ModifyRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Rule])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newModifyRuleResponse Source #

Create a value of ModifyRuleResponse 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:rules:ModifyRuleResponse', modifyRuleResponse_rules - Information about the modified rule.

$sel:httpStatus:ModifyRuleResponse', modifyRuleResponse_httpStatus - The response's http status code.

Response Lenses

modifyRuleResponse_rules :: Lens' ModifyRuleResponse (Maybe [Rule]) Source #

Information about the modified rule.