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

Description

Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.

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

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

Synopsis

Creating a Request

data CloneReceiptRuleSet Source #

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

See: newCloneReceiptRuleSet smart constructor.

Constructors

CloneReceiptRuleSet' 

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.
  • originalRuleSetName :: Text

    The name of the rule set to clone.

Instances

Instances details
Eq CloneReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

Read CloneReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

Show CloneReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

Generic CloneReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

Associated Types

type Rep CloneReceiptRuleSet :: Type -> Type #

NFData CloneReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

Methods

rnf :: CloneReceiptRuleSet -> () #

Hashable CloneReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

AWSRequest CloneReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

Associated Types

type AWSResponse CloneReceiptRuleSet #

ToHeaders CloneReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

ToPath CloneReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

ToQuery CloneReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

type Rep CloneReceiptRuleSet Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

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

Defined in Amazonka.SES.CloneReceiptRuleSet

newCloneReceiptRuleSet Source #

Create a value of CloneReceiptRuleSet 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:CloneReceiptRuleSet', cloneReceiptRuleSet_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.

$sel:originalRuleSetName:CloneReceiptRuleSet', cloneReceiptRuleSet_originalRuleSetName - The name of the rule set to clone.

Request Lenses

cloneReceiptRuleSet_ruleSetName :: Lens' CloneReceiptRuleSet 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 CloneReceiptRuleSetResponse Source #

An empty element returned on a successful request.

See: newCloneReceiptRuleSetResponse smart constructor.

Constructors

CloneReceiptRuleSetResponse' 

Fields

Instances

Instances details
Eq CloneReceiptRuleSetResponse Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

Read CloneReceiptRuleSetResponse Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

Show CloneReceiptRuleSetResponse Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

Generic CloneReceiptRuleSetResponse Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

Associated Types

type Rep CloneReceiptRuleSetResponse :: Type -> Type #

NFData CloneReceiptRuleSetResponse Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

type Rep CloneReceiptRuleSetResponse Source # 
Instance details

Defined in Amazonka.SES.CloneReceiptRuleSet

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

newCloneReceiptRuleSetResponse Source #

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

Response Lenses