| 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 |
Amazonka.CloudWatchEvents.DeleteApiDestination
Description
Deletes the specified API destination.
Synopsis
- data DeleteApiDestination = DeleteApiDestination' {}
- newDeleteApiDestination :: Text -> DeleteApiDestination
- deleteApiDestination_name :: Lens' DeleteApiDestination Text
- data DeleteApiDestinationResponse = DeleteApiDestinationResponse' {
- httpStatus :: Int
- newDeleteApiDestinationResponse :: Int -> DeleteApiDestinationResponse
- deleteApiDestinationResponse_httpStatus :: Lens' DeleteApiDestinationResponse Int
Creating a Request
data DeleteApiDestination Source #
See: newDeleteApiDestination smart constructor.
Constructors
| DeleteApiDestination' | |
Instances
newDeleteApiDestination Source #
Arguments
| :: Text | |
| -> DeleteApiDestination |
Create a value of DeleteApiDestination 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:
DeleteApiDestination, deleteApiDestination_name - The name of the destination to delete.
Request Lenses
deleteApiDestination_name :: Lens' DeleteApiDestination Text Source #
The name of the destination to delete.
Destructuring the Response
data DeleteApiDestinationResponse Source #
See: newDeleteApiDestinationResponse smart constructor.
Constructors
| DeleteApiDestinationResponse' | |
Fields
| |
Instances
newDeleteApiDestinationResponse Source #
Create a value of DeleteApiDestinationResponse 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:DeleteApiDestinationResponse', deleteApiDestinationResponse_httpStatus - The response's http status code.
Response Lenses
deleteApiDestinationResponse_httpStatus :: Lens' DeleteApiDestinationResponse Int Source #
The response's http status code.