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 |
Delete 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.
Synopsis
- data DeleteConfigurationSetEventDestination = DeleteConfigurationSetEventDestination' {}
- newDeleteConfigurationSetEventDestination :: Text -> Text -> DeleteConfigurationSetEventDestination
- deleteConfigurationSetEventDestination_configurationSetName :: Lens' DeleteConfigurationSetEventDestination Text
- deleteConfigurationSetEventDestination_eventDestinationName :: Lens' DeleteConfigurationSetEventDestination Text
- data DeleteConfigurationSetEventDestinationResponse = DeleteConfigurationSetEventDestinationResponse' {
- httpStatus :: Int
- newDeleteConfigurationSetEventDestinationResponse :: Int -> DeleteConfigurationSetEventDestinationResponse
- deleteConfigurationSetEventDestinationResponse_httpStatus :: Lens' DeleteConfigurationSetEventDestinationResponse Int
Creating a Request
data DeleteConfigurationSetEventDestination Source #
A request to delete an event destination from a configuration set.
See: newDeleteConfigurationSetEventDestination
smart constructor.
DeleteConfigurationSetEventDestination' | |
|
Instances
newDeleteConfigurationSetEventDestination Source #
:: Text |
|
-> Text |
|
-> DeleteConfigurationSetEventDestination |
Create a value of DeleteConfigurationSetEventDestination
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:DeleteConfigurationSetEventDestination'
, deleteConfigurationSetEventDestination_configurationSetName
- The name of the configuration set that contains the event destination
that you want to delete.
$sel:eventDestinationName:DeleteConfigurationSetEventDestination'
, deleteConfigurationSetEventDestination_eventDestinationName
- The name of the event destination that you want to delete.
Request Lenses
deleteConfigurationSetEventDestination_configurationSetName :: Lens' DeleteConfigurationSetEventDestination Text Source #
The name of the configuration set that contains the event destination that you want to delete.
deleteConfigurationSetEventDestination_eventDestinationName :: Lens' DeleteConfigurationSetEventDestination Text Source #
The name of the event destination that you want to delete.
Destructuring the Response
data DeleteConfigurationSetEventDestinationResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newDeleteConfigurationSetEventDestinationResponse
smart constructor.
DeleteConfigurationSetEventDestinationResponse' | |
|
Instances
Eq DeleteConfigurationSetEventDestinationResponse Source # | |
Read DeleteConfigurationSetEventDestinationResponse Source # | |
Show DeleteConfigurationSetEventDestinationResponse Source # | |
Generic DeleteConfigurationSetEventDestinationResponse Source # | |
NFData DeleteConfigurationSetEventDestinationResponse Source # | |
type Rep DeleteConfigurationSetEventDestinationResponse Source # | |
Defined in Amazonka.PinpointEmail.DeleteConfigurationSetEventDestination type Rep DeleteConfigurationSetEventDestinationResponse = D1 ('MetaData "DeleteConfigurationSetEventDestinationResponse" "Amazonka.PinpointEmail.DeleteConfigurationSetEventDestination" "libZSservicesZSamazonka-pinpoint-emailZSamazonka-pinpoint-email" 'False) (C1 ('MetaCons "DeleteConfigurationSetEventDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteConfigurationSetEventDestinationResponse Source #
:: Int |
|
-> DeleteConfigurationSetEventDestinationResponse |
Create a value of DeleteConfigurationSetEventDestinationResponse
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:DeleteConfigurationSetEventDestinationResponse'
, deleteConfigurationSetEventDestinationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteConfigurationSetEventDestinationResponse_httpStatus :: Lens' DeleteConfigurationSetEventDestinationResponse Int Source #
The response's http status code.