amazonka-ses-2.0: Amazon Simple Email Service 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.SES.DeleteReceiptRule

Description

Deletes the specified 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 DeleteReceiptRule Source #

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

See: newDeleteReceiptRule smart constructor.

Constructors

DeleteReceiptRule' 

Fields

  • ruleSetName :: Text

    The name of the receipt rule set that contains the receipt rule to delete.

  • ruleName :: Text

    The name of the receipt rule to delete.

Instances

Instances details
ToHeaders DeleteReceiptRule Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

ToPath DeleteReceiptRule Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

ToQuery DeleteReceiptRule Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

AWSRequest DeleteReceiptRule Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

Associated Types

type AWSResponse DeleteReceiptRule #

Generic DeleteReceiptRule Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

Associated Types

type Rep DeleteReceiptRule :: Type -> Type #

Read DeleteReceiptRule Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

Show DeleteReceiptRule Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

NFData DeleteReceiptRule Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

Methods

rnf :: DeleteReceiptRule -> () #

Eq DeleteReceiptRule Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

Hashable DeleteReceiptRule Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

type AWSResponse DeleteReceiptRule Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

type Rep DeleteReceiptRule Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

type Rep DeleteReceiptRule = D1 ('MetaData "DeleteReceiptRule" "Amazonka.SES.DeleteReceiptRule" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "DeleteReceiptRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "ruleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteReceiptRule Source #

Create a value of DeleteReceiptRule 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:DeleteReceiptRule', deleteReceiptRule_ruleSetName - The name of the receipt rule set that contains the receipt rule to delete.

$sel:ruleName:DeleteReceiptRule', deleteReceiptRule_ruleName - The name of the receipt rule to delete.

Request Lenses

deleteReceiptRule_ruleSetName :: Lens' DeleteReceiptRule Text Source #

The name of the receipt rule set that contains the receipt rule to delete.

deleteReceiptRule_ruleName :: Lens' DeleteReceiptRule Text Source #

The name of the receipt rule to delete.

Destructuring the Response

data DeleteReceiptRuleResponse Source #

An empty element returned on a successful request.

See: newDeleteReceiptRuleResponse smart constructor.

Constructors

DeleteReceiptRuleResponse' 

Fields

Instances

Instances details
Generic DeleteReceiptRuleResponse Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

Associated Types

type Rep DeleteReceiptRuleResponse :: Type -> Type #

Read DeleteReceiptRuleResponse Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

Show DeleteReceiptRuleResponse Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

NFData DeleteReceiptRuleResponse Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

Eq DeleteReceiptRuleResponse Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

type Rep DeleteReceiptRuleResponse Source # 
Instance details

Defined in Amazonka.SES.DeleteReceiptRule

type Rep DeleteReceiptRuleResponse = D1 ('MetaData "DeleteReceiptRuleResponse" "Amazonka.SES.DeleteReceiptRule" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "DeleteReceiptRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteReceiptRuleResponse Source #

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

Response Lenses