Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates a configuration set event destination.
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
- createConfigurationSetEventDestination :: Text -> EventDestination -> CreateConfigurationSetEventDestination
- data CreateConfigurationSetEventDestination
- ccsedConfigurationSetName :: Lens' CreateConfigurationSetEventDestination Text
- ccsedEventDestination :: Lens' CreateConfigurationSetEventDestination EventDestination
- createConfigurationSetEventDestinationResponse :: Int -> CreateConfigurationSetEventDestinationResponse
- data CreateConfigurationSetEventDestinationResponse
- ccsedrsResponseStatus :: Lens' CreateConfigurationSetEventDestinationResponse Int
Creating a Request
createConfigurationSetEventDestination Source #
Creates a value of CreateConfigurationSetEventDestination
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccsedConfigurationSetName
- The name of the configuration set that the event destination should be associated with.ccsedEventDestination
- An object that describes the AWS service that email sending event information will be published to.
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: createConfigurationSetEventDestination
smart constructor.
Instances
Request Lenses
ccsedConfigurationSetName :: Lens' CreateConfigurationSetEventDestination Text Source #
The name of the configuration set that the event destination should be associated with.
ccsedEventDestination :: Lens' CreateConfigurationSetEventDestination EventDestination Source #
An object that describes the AWS service that email sending event information will be published to.
Destructuring the Response
createConfigurationSetEventDestinationResponse Source #
Creates a value of CreateConfigurationSetEventDestinationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccsedrsResponseStatus
- -- | The response status code.
data CreateConfigurationSetEventDestinationResponse Source #
An empty element returned on a successful request.
See: createConfigurationSetEventDestinationResponse
smart constructor.
Instances
Response Lenses
ccsedrsResponseStatus :: Lens' CreateConfigurationSetEventDestinationResponse Int Source #
- - | The response status code.