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

Description

Creates an empty receipt rule set.

For information about setting up receipt rule sets, see the Amazon SES Developer Guide.

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

Synopsis

Creating a Request

data CreateReceiptRuleSet Source #

Represents a request to create an empty receipt rule set. You use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide.

See: newCreateReceiptRuleSet smart constructor.

Constructors

CreateReceiptRuleSet' 

Fields

  • ruleSetName :: Text

    The name of the rule set to create. The name must:

    • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
    • Start and end with a letter or number.
    • Contain less than 64 characters.

Instances

Instances details
ToHeaders CreateReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

ToPath CreateReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

ToQuery CreateReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

AWSRequest CreateReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

Associated Types

type AWSResponse CreateReceiptRuleSet #

Generic CreateReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

Associated Types

type Rep CreateReceiptRuleSet :: Type -> Type #

Read CreateReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

Show CreateReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

NFData CreateReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

Methods

rnf :: CreateReceiptRuleSet -> () #

Eq CreateReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

Hashable CreateReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

type AWSResponse CreateReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

type Rep CreateReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

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

newCreateReceiptRuleSet Source #

Create a value of CreateReceiptRuleSet 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:CreateReceiptRuleSet', createReceiptRuleSet_ruleSetName - The name of the rule set to create. The name must:

  • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
  • Start and end with a letter or number.
  • Contain less than 64 characters.

Request Lenses

createReceiptRuleSet_ruleSetName :: Lens' CreateReceiptRuleSet Text Source #

The name of the rule set to create. The name must:

  • This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
  • Start and end with a letter or number.
  • Contain less than 64 characters.

Destructuring the Response

data CreateReceiptRuleSetResponse Source #

An empty element returned on a successful request.

See: newCreateReceiptRuleSetResponse smart constructor.

Constructors

CreateReceiptRuleSetResponse' 

Fields

Instances

Instances details
Generic CreateReceiptRuleSetResponse Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

Associated Types

type Rep CreateReceiptRuleSetResponse :: Type -> Type #

Read CreateReceiptRuleSetResponse Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

Show CreateReceiptRuleSetResponse Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

NFData CreateReceiptRuleSetResponse Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

Eq CreateReceiptRuleSetResponse Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

type Rep CreateReceiptRuleSetResponse Source # 
Instance details

Defined in Amazonka.SES.CreateReceiptRuleSet

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

newCreateReceiptRuleSetResponse Source #

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

Response Lenses