libZSservicesZSamazonka-sesZSamazonka-ses
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.SES.UpdateReceiptRule

Description

Updates a receipt rule.

For information about managing receipt rules, see the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

Synopsis

Creating a Request

data UpdateReceiptRule Source #

Represents a request to update a receipt rule. You use receipt rules to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide.

See: newUpdateReceiptRule smart constructor.

Constructors

UpdateReceiptRule' 

Fields

  • ruleSetName :: Text

    The name of the receipt rule set that the receipt rule belongs to.

  • rule :: ReceiptRule

    A data structure that contains the updated receipt rule information.

Instances

Instances details
Eq UpdateReceiptRule Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

Read UpdateReceiptRule Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

Show UpdateReceiptRule Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

Generic UpdateReceiptRule Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

Associated Types

type Rep UpdateReceiptRule :: Type -> Type #

NFData UpdateReceiptRule Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

Methods

rnf :: UpdateReceiptRule -> () #

Hashable UpdateReceiptRule Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

AWSRequest UpdateReceiptRule Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

Associated Types

type AWSResponse UpdateReceiptRule #

ToHeaders UpdateReceiptRule Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

ToPath UpdateReceiptRule Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

ToQuery UpdateReceiptRule Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

type Rep UpdateReceiptRule Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

type Rep UpdateReceiptRule = D1 ('MetaData "UpdateReceiptRule" "Amazonka.SES.UpdateReceiptRule" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "UpdateReceiptRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "rule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReceiptRule)))
type AWSResponse UpdateReceiptRule Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

newUpdateReceiptRule Source #

Create a value of UpdateReceiptRule 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:ruleSetName:UpdateReceiptRule', updateReceiptRule_ruleSetName - The name of the receipt rule set that the receipt rule belongs to.

$sel:rule:UpdateReceiptRule', updateReceiptRule_rule - A data structure that contains the updated receipt rule information.

Request Lenses

updateReceiptRule_ruleSetName :: Lens' UpdateReceiptRule Text Source #

The name of the receipt rule set that the receipt rule belongs to.

updateReceiptRule_rule :: Lens' UpdateReceiptRule ReceiptRule Source #

A data structure that contains the updated receipt rule information.

Destructuring the Response

data UpdateReceiptRuleResponse Source #

An empty element returned on a successful request.

See: newUpdateReceiptRuleResponse smart constructor.

Constructors

UpdateReceiptRuleResponse' 

Fields

Instances

Instances details
Eq UpdateReceiptRuleResponse Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

Read UpdateReceiptRuleResponse Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

Show UpdateReceiptRuleResponse Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

Generic UpdateReceiptRuleResponse Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

Associated Types

type Rep UpdateReceiptRuleResponse :: Type -> Type #

NFData UpdateReceiptRuleResponse Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

type Rep UpdateReceiptRuleResponse Source # 
Instance details

Defined in Amazonka.SES.UpdateReceiptRule

type Rep UpdateReceiptRuleResponse = D1 ('MetaData "UpdateReceiptRuleResponse" "Amazonka.SES.UpdateReceiptRule" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "UpdateReceiptRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateReceiptRuleResponse Source #

Create a value of UpdateReceiptRuleResponse 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:httpStatus:UpdateReceiptRuleResponse', updateReceiptRuleResponse_httpStatus - The response's http status code.

Response Lenses