Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data CreateConfigurationSetEventDestination = CreateConfigurationSetEventDestination' {}
- newCreateConfigurationSetEventDestination :: Text -> EventDestination -> CreateConfigurationSetEventDestination
- createConfigurationSetEventDestination_configurationSetName :: Lens' CreateConfigurationSetEventDestination Text
- createConfigurationSetEventDestination_eventDestination :: Lens' CreateConfigurationSetEventDestination EventDestination
- data CreateConfigurationSetEventDestinationResponse = CreateConfigurationSetEventDestinationResponse' {
- httpStatus :: Int
- newCreateConfigurationSetEventDestinationResponse :: Int -> CreateConfigurationSetEventDestinationResponse
- createConfigurationSetEventDestinationResponse_httpStatus :: Lens' CreateConfigurationSetEventDestinationResponse Int
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.
CreateConfigurationSetEventDestination' | |
|
Instances
newCreateConfigurationSetEventDestination Source #
:: Text |
|
-> EventDestination |
|
-> CreateConfigurationSetEventDestination |
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.
CreateConfigurationSetEventDestinationResponse' | |
|
Instances
Eq CreateConfigurationSetEventDestinationResponse Source # | |
Read CreateConfigurationSetEventDestinationResponse Source # | |
Show CreateConfigurationSetEventDestinationResponse Source # | |
Generic CreateConfigurationSetEventDestinationResponse Source # | |
NFData CreateConfigurationSetEventDestinationResponse Source # | |
type Rep CreateConfigurationSetEventDestinationResponse Source # | |
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 #
:: Int |
|
-> CreateConfigurationSetEventDestinationResponse |
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
createConfigurationSetEventDestinationResponse_httpStatus :: Lens' CreateConfigurationSetEventDestinationResponse Int Source #
The response's http status code.