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 |
Deletes a destination.
Synopsis
- data DeleteDestination = DeleteDestination' {}
- newDeleteDestination :: Text -> DeleteDestination
- deleteDestination_name :: Lens' DeleteDestination Text
- data DeleteDestinationResponse = DeleteDestinationResponse' {
- httpStatus :: Int
- newDeleteDestinationResponse :: Int -> DeleteDestinationResponse
- deleteDestinationResponse_httpStatus :: Lens' DeleteDestinationResponse Int
Creating a Request
data DeleteDestination Source #
See: newDeleteDestination
smart constructor.
Instances
Create a value of DeleteDestination
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:name:DeleteDestination'
, deleteDestination_name
- The name of the resource to delete.
Request Lenses
deleteDestination_name :: Lens' DeleteDestination Text Source #
The name of the resource to delete.
Destructuring the Response
data DeleteDestinationResponse Source #
See: newDeleteDestinationResponse
smart constructor.
DeleteDestinationResponse' | |
|
Instances
newDeleteDestinationResponse Source #
Create a value of DeleteDestinationResponse
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:DeleteDestinationResponse'
, deleteDestinationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDestinationResponse_httpStatus :: Lens' DeleteDestinationResponse Int Source #
The response's http status code.