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 |
Update the configuration of an event destination for a configuration set.
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.
Synopsis
- data UpdateConfigurationSetEventDestination = UpdateConfigurationSetEventDestination' {}
- newUpdateConfigurationSetEventDestination :: Text -> Text -> EventDestinationDefinition -> UpdateConfigurationSetEventDestination
- updateConfigurationSetEventDestination_configurationSetName :: Lens' UpdateConfigurationSetEventDestination Text
- updateConfigurationSetEventDestination_eventDestinationName :: Lens' UpdateConfigurationSetEventDestination Text
- updateConfigurationSetEventDestination_eventDestination :: Lens' UpdateConfigurationSetEventDestination EventDestinationDefinition
- data UpdateConfigurationSetEventDestinationResponse = UpdateConfigurationSetEventDestinationResponse' {
- httpStatus :: Int
- newUpdateConfigurationSetEventDestinationResponse :: Int -> UpdateConfigurationSetEventDestinationResponse
- updateConfigurationSetEventDestinationResponse_httpStatus :: Lens' UpdateConfigurationSetEventDestinationResponse Int
Creating a Request
data UpdateConfigurationSetEventDestination Source #
A request to change the settings for an event destination for a configuration set.
See: newUpdateConfigurationSetEventDestination
smart constructor.
UpdateConfigurationSetEventDestination' | |
|
Instances
newUpdateConfigurationSetEventDestination Source #
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 to
modify.
$sel:eventDestinationName:UpdateConfigurationSetEventDestination'
, updateConfigurationSetEventDestination_eventDestinationName
- The name of the event destination.
$sel:eventDestination:UpdateConfigurationSetEventDestination'
, updateConfigurationSetEventDestination_eventDestination
- An object that defines the event destination.
Request Lenses
updateConfigurationSetEventDestination_configurationSetName :: Lens' UpdateConfigurationSetEventDestination Text Source #
The name of the configuration set that contains the event destination to modify.
updateConfigurationSetEventDestination_eventDestinationName :: Lens' UpdateConfigurationSetEventDestination Text Source #
The name of the event destination.
updateConfigurationSetEventDestination_eventDestination :: Lens' UpdateConfigurationSetEventDestination EventDestinationDefinition Source #
An object that defines the event destination.
Destructuring the Response
data UpdateConfigurationSetEventDestinationResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
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.SESV2.UpdateConfigurationSetEventDestination type Rep UpdateConfigurationSetEventDestinationResponse = D1 ('MetaData "UpdateConfigurationSetEventDestinationResponse" "Amazonka.SESV2.UpdateConfigurationSetEventDestination" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" '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.