Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes an existing event destination.
An event destination is a location where you send response information about the messages that you send. For example, when a message is delivered successfully, you can send information about that event to an Amazon CloudWatch destination, or send notifications to endpoints that are subscribed to an Amazon SNS topic.
Synopsis
- data DeleteEventDestination = DeleteEventDestination' {}
- newDeleteEventDestination :: Text -> Text -> DeleteEventDestination
- deleteEventDestination_configurationSetName :: Lens' DeleteEventDestination Text
- deleteEventDestination_eventDestinationName :: Lens' DeleteEventDestination Text
- data DeleteEventDestinationResponse = DeleteEventDestinationResponse' {}
- newDeleteEventDestinationResponse :: Int -> DeleteEventDestinationResponse
- deleteEventDestinationResponse_configurationSetArn :: Lens' DeleteEventDestinationResponse (Maybe Text)
- deleteEventDestinationResponse_configurationSetName :: Lens' DeleteEventDestinationResponse (Maybe Text)
- deleteEventDestinationResponse_eventDestination :: Lens' DeleteEventDestinationResponse (Maybe EventDestination)
- deleteEventDestinationResponse_httpStatus :: Lens' DeleteEventDestinationResponse Int
Creating a Request
data DeleteEventDestination Source #
See: newDeleteEventDestination
smart constructor.
DeleteEventDestination' | |
|
Instances
newDeleteEventDestination Source #
Create a value of DeleteEventDestination
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:
DeleteEventDestination
, deleteEventDestination_configurationSetName
- The name of the configuration set or the configuration set's Amazon
Resource Name (ARN) to remove the event destination from. The
ConfigurateSetName and ConfigurationSetArn can be found using the
DescribeConfigurationSets action.
DeleteEventDestination
, deleteEventDestination_eventDestinationName
- The name of the event destination to delete.
Request Lenses
deleteEventDestination_configurationSetName :: Lens' DeleteEventDestination Text Source #
The name of the configuration set or the configuration set's Amazon Resource Name (ARN) to remove the event destination from. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.
deleteEventDestination_eventDestinationName :: Lens' DeleteEventDestination Text Source #
The name of the event destination to delete.
Destructuring the Response
data DeleteEventDestinationResponse Source #
See: newDeleteEventDestinationResponse
smart constructor.
DeleteEventDestinationResponse' | |
|
Instances
newDeleteEventDestinationResponse Source #
Create a value of DeleteEventDestinationResponse
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:
DeleteEventDestinationResponse
, deleteEventDestinationResponse_configurationSetArn
- The Amazon Resource Name (ARN) of the configuration set.
DeleteEventDestination
, deleteEventDestinationResponse_configurationSetName
- The name of the configuration set the event destination was deleted
from.
$sel:eventDestination:DeleteEventDestinationResponse'
, deleteEventDestinationResponse_eventDestination
- The event destination object that was deleted.
$sel:httpStatus:DeleteEventDestinationResponse'
, deleteEventDestinationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEventDestinationResponse_configurationSetArn :: Lens' DeleteEventDestinationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the configuration set.
deleteEventDestinationResponse_configurationSetName :: Lens' DeleteEventDestinationResponse (Maybe Text) Source #
The name of the configuration set the event destination was deleted from.
deleteEventDestinationResponse_eventDestination :: Lens' DeleteEventDestinationResponse (Maybe EventDestination) Source #
The event destination object that was deleted.
deleteEventDestinationResponse_httpStatus :: Lens' DeleteEventDestinationResponse Int Source #
The response's http status code.