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

Description

Creates a configuration set event destination.

When you create or update an event destination, you must provide one, and only one, destination. The destination can be CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).

An event destination is the AWS service to which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide.

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

Synopsis

Creating a Request

data CreateConfigurationSetEventDestination Source #

Represents a request to create a configuration set event destination. A configuration set event destination, which can be either Amazon CloudWatch or Amazon Kinesis Firehose, describes an AWS service in which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide.

See: newCreateConfigurationSetEventDestination smart constructor.

Constructors

CreateConfigurationSetEventDestination' 

Fields

Instances

Instances details
Eq CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

Read CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

Show CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

Generic CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

NFData CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

Hashable CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

AWSRequest CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

ToHeaders CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

ToPath CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

ToQuery CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

type Rep CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

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

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

newCreateConfigurationSetEventDestination Source #

Create a value of CreateConfigurationSetEventDestination 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:configurationSetName:CreateConfigurationSetEventDestination', createConfigurationSetEventDestination_configurationSetName - The name of the configuration set that the event destination should be associated with.

$sel:eventDestination:CreateConfigurationSetEventDestination', createConfigurationSetEventDestination_eventDestination - An object that describes the AWS service that email sending event information will be published to.

Request Lenses

createConfigurationSetEventDestination_configurationSetName :: Lens' CreateConfigurationSetEventDestination Text Source #

The name of the configuration set that the event destination should be associated with.

createConfigurationSetEventDestination_eventDestination :: Lens' CreateConfigurationSetEventDestination EventDestination Source #

An object that describes the AWS service that email sending event information will be published to.

Destructuring the Response

data CreateConfigurationSetEventDestinationResponse Source #

An empty element returned on a successful request.

See: newCreateConfigurationSetEventDestinationResponse smart constructor.

Constructors

CreateConfigurationSetEventDestinationResponse' 

Fields

Instances

Instances details
Eq CreateConfigurationSetEventDestinationResponse Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

Read CreateConfigurationSetEventDestinationResponse Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

Show CreateConfigurationSetEventDestinationResponse Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

Generic CreateConfigurationSetEventDestinationResponse Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

NFData CreateConfigurationSetEventDestinationResponse Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

type Rep CreateConfigurationSetEventDestinationResponse Source # 
Instance details

Defined in Amazonka.SES.CreateConfigurationSetEventDestination

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

newCreateConfigurationSetEventDestinationResponse Source #

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

Response Lenses