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 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.
Instances
newDeleteApiDestination Source #
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:
$sel:name: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.
DeleteApiDestinationResponse' | |
|
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.