| 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.MediaPackage.DeleteOriginEndpoint
Description
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.
Constructors
| DeleteOriginEndpoint' | |
Instances
newDeleteOriginEndpoint Source #
Arguments
| :: Text | |
| -> DeleteOriginEndpoint |
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:
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.
Constructors
| DeleteOriginEndpointResponse' | |
Fields
| |
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.