libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email
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.PinpointEmail.CreateConfigurationSetEventDestination

Description

Create an event destination. In Amazon Pinpoint, events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.

A single configuration set can include more than one event destination.

Synopsis

Creating a Request

data CreateConfigurationSetEventDestination Source #

A request to add an event destination to a configuration set.

See: newCreateConfigurationSetEventDestination smart constructor.

Constructors

CreateConfigurationSetEventDestination' 

Fields

Instances

Instances details
Eq CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

Read CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

Show CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

Generic CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

NFData CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

Hashable CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

ToJSON CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

AWSRequest CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

ToHeaders CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

ToPath CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

ToQuery CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

type Rep CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

type Rep CreateConfigurationSetEventDestination = D1 ('MetaData "CreateConfigurationSetEventDestination" "Amazonka.PinpointEmail.CreateConfigurationSetEventDestination" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" 'False) (C1 ('MetaCons "CreateConfigurationSetEventDestination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "configurationSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "eventDestinationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "eventDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EventDestinationDefinition))))
type AWSResponse CreateConfigurationSetEventDestination Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

Request Lenses

createConfigurationSetEventDestination_configurationSetName :: Lens' CreateConfigurationSetEventDestination Text Source #

The name of the configuration set that you want to add an event destination to.

createConfigurationSetEventDestination_eventDestinationName :: Lens' CreateConfigurationSetEventDestination Text Source #

A name that identifies the event destination within the configuration set.

Destructuring the Response

data CreateConfigurationSetEventDestinationResponse Source #

An HTTP 200 response if the request succeeds, or an error message if the request fails.

See: newCreateConfigurationSetEventDestinationResponse smart constructor.

Constructors

CreateConfigurationSetEventDestinationResponse' 

Fields

Instances

Instances details
Eq CreateConfigurationSetEventDestinationResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

Read CreateConfigurationSetEventDestinationResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

Show CreateConfigurationSetEventDestinationResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

Generic CreateConfigurationSetEventDestinationResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

NFData CreateConfigurationSetEventDestinationResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

type Rep CreateConfigurationSetEventDestinationResponse Source # 
Instance details

Defined in Amazonka.PinpointEmail.CreateConfigurationSetEventDestination

type Rep CreateConfigurationSetEventDestinationResponse = D1 ('MetaData "CreateConfigurationSetEventDestinationResponse" "Amazonka.PinpointEmail.CreateConfigurationSetEventDestination" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" '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