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 |
Updates the event destination of a configuration set. Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see Monitoring Your Amazon SES Sending Activity in the Amazon SES Developer Guide.
When you create or update an event destination, you must provide one, and only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).
You can execute this operation no more than once per second.
Synopsis
- data UpdateConfigurationSetEventDestination = UpdateConfigurationSetEventDestination' {}
- newUpdateConfigurationSetEventDestination :: Text -> EventDestination -> UpdateConfigurationSetEventDestination
- updateConfigurationSetEventDestination_configurationSetName :: Lens' UpdateConfigurationSetEventDestination Text
- updateConfigurationSetEventDestination_eventDestination :: Lens' UpdateConfigurationSetEventDestination EventDestination
- data UpdateConfigurationSetEventDestinationResponse = UpdateConfigurationSetEventDestinationResponse' {
- httpStatus :: Int
- newUpdateConfigurationSetEventDestinationResponse :: Int -> UpdateConfigurationSetEventDestinationResponse
- updateConfigurationSetEventDestinationResponse_httpStatus :: Lens' UpdateConfigurationSetEventDestinationResponse Int
Creating a Request
data UpdateConfigurationSetEventDestination Source #
Represents a request to update the event destination of a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.
See: newUpdateConfigurationSetEventDestination
smart constructor.
UpdateConfigurationSetEventDestination' | |
|
Instances
newUpdateConfigurationSetEventDestination Source #
:: Text |
|
-> EventDestination |
|
-> UpdateConfigurationSetEventDestination |
Create a value of UpdateConfigurationSetEventDestination
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:UpdateConfigurationSetEventDestination'
, updateConfigurationSetEventDestination_configurationSetName
- The name of the configuration set that contains the event destination
that you want to update.
$sel:eventDestination:UpdateConfigurationSetEventDestination'
, updateConfigurationSetEventDestination_eventDestination
- The event destination object that you want to apply to the specified
configuration set.
Request Lenses
updateConfigurationSetEventDestination_configurationSetName :: Lens' UpdateConfigurationSetEventDestination Text Source #
The name of the configuration set that contains the event destination that you want to update.
updateConfigurationSetEventDestination_eventDestination :: Lens' UpdateConfigurationSetEventDestination EventDestination Source #
The event destination object that you want to apply to the specified configuration set.
Destructuring the Response
data UpdateConfigurationSetEventDestinationResponse Source #
An empty element returned on a successful request.
See: newUpdateConfigurationSetEventDestinationResponse
smart constructor.
UpdateConfigurationSetEventDestinationResponse' | |
|
Instances
Eq UpdateConfigurationSetEventDestinationResponse Source # | |
Read UpdateConfigurationSetEventDestinationResponse Source # | |
Show UpdateConfigurationSetEventDestinationResponse Source # | |
Generic UpdateConfigurationSetEventDestinationResponse Source # | |
NFData UpdateConfigurationSetEventDestinationResponse Source # | |
type Rep UpdateConfigurationSetEventDestinationResponse Source # | |
Defined in Amazonka.SES.UpdateConfigurationSetEventDestination type Rep UpdateConfigurationSetEventDestinationResponse = D1 ('MetaData "UpdateConfigurationSetEventDestinationResponse" "Amazonka.SES.UpdateConfigurationSetEventDestination" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "UpdateConfigurationSetEventDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateConfigurationSetEventDestinationResponse Source #
:: Int |
|
-> UpdateConfigurationSetEventDestinationResponse |
Create a value of UpdateConfigurationSetEventDestinationResponse
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:UpdateConfigurationSetEventDestinationResponse'
, updateConfigurationSetEventDestinationResponse_httpStatus
- The response's http status code.
Response Lenses
updateConfigurationSetEventDestinationResponse_httpStatus :: Lens' UpdateConfigurationSetEventDestinationResponse Int Source #
The response's http status code.