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 endpoint.
All tasks associated with the endpoint must be deleted before you can delete the endpoint.
Synopsis
- data DeleteEndpoint = DeleteEndpoint' {
- endpointArn :: Text
- newDeleteEndpoint :: Text -> DeleteEndpoint
- deleteEndpoint_endpointArn :: Lens' DeleteEndpoint Text
- data DeleteEndpointResponse = DeleteEndpointResponse' {
- endpoint :: Maybe Endpoint
- httpStatus :: Int
- newDeleteEndpointResponse :: Int -> DeleteEndpointResponse
- deleteEndpointResponse_endpoint :: Lens' DeleteEndpointResponse (Maybe Endpoint)
- deleteEndpointResponse_httpStatus :: Lens' DeleteEndpointResponse Int
Creating a Request
data DeleteEndpoint Source #
See: newDeleteEndpoint
smart constructor.
DeleteEndpoint' | |
|
Instances
Create a value of DeleteEndpoint
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:endpointArn:DeleteEndpoint'
, deleteEndpoint_endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
Request Lenses
deleteEndpoint_endpointArn :: Lens' DeleteEndpoint Text Source #
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
Destructuring the Response
data DeleteEndpointResponse Source #
See: newDeleteEndpointResponse
smart constructor.
DeleteEndpointResponse' | |
|
Instances
newDeleteEndpointResponse Source #
Create a value of DeleteEndpointResponse
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:endpoint:DeleteEndpointResponse'
, deleteEndpointResponse_endpoint
- The endpoint that was deleted.
$sel:httpStatus:DeleteEndpointResponse'
, deleteEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEndpointResponse_endpoint :: Lens' DeleteEndpointResponse (Maybe Endpoint) Source #
The endpoint that was deleted.
deleteEndpointResponse_httpStatus :: Lens' DeleteEndpointResponse Int Source #
The response's http status code.