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 an existing OriginEndpoint.
Synopsis
- data DeleteOriginEndpoint = DeleteOriginEndpoint' {}
- newDeleteOriginEndpoint :: Text -> DeleteOriginEndpoint
- deleteOriginEndpoint_id :: Lens' DeleteOriginEndpoint Text
- data DeleteOriginEndpointResponse = DeleteOriginEndpointResponse' {
- httpStatus :: Int
- newDeleteOriginEndpointResponse :: Int -> DeleteOriginEndpointResponse
- deleteOriginEndpointResponse_httpStatus :: Lens' DeleteOriginEndpointResponse Int
Creating a Request
data DeleteOriginEndpoint Source #
See: newDeleteOriginEndpoint
smart constructor.
Instances
newDeleteOriginEndpoint Source #
Create a value of DeleteOriginEndpoint
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:id:DeleteOriginEndpoint'
, deleteOriginEndpoint_id
- The ID of the OriginEndpoint to delete.
Request Lenses
deleteOriginEndpoint_id :: Lens' DeleteOriginEndpoint Text Source #
The ID of the OriginEndpoint to delete.
Destructuring the Response
data DeleteOriginEndpointResponse Source #
See: newDeleteOriginEndpointResponse
smart constructor.
DeleteOriginEndpointResponse' | |
|
Instances
newDeleteOriginEndpointResponse Source #
Create a value of DeleteOriginEndpointResponse
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:DeleteOriginEndpointResponse'
, deleteOriginEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
deleteOriginEndpointResponse_httpStatus :: Lens' DeleteOriginEndpointResponse Int Source #
The response's http status code.