| 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.MediaTailor.DeleteSourceLocation
Description
Deletes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
Synopsis
- data DeleteSourceLocation = DeleteSourceLocation' {}
- newDeleteSourceLocation :: Text -> DeleteSourceLocation
- deleteSourceLocation_sourceLocationName :: Lens' DeleteSourceLocation Text
- data DeleteSourceLocationResponse = DeleteSourceLocationResponse' {
- httpStatus :: Int
- newDeleteSourceLocationResponse :: Int -> DeleteSourceLocationResponse
- deleteSourceLocationResponse_httpStatus :: Lens' DeleteSourceLocationResponse Int
Creating a Request
data DeleteSourceLocation Source #
See: newDeleteSourceLocation smart constructor.
Constructors
| DeleteSourceLocation' | |
Fields
| |
Instances
newDeleteSourceLocation Source #
Arguments
| :: Text | |
| -> DeleteSourceLocation |
Create a value of DeleteSourceLocation 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:
DeleteSourceLocation, deleteSourceLocation_sourceLocationName - The name of the source location.
Request Lenses
deleteSourceLocation_sourceLocationName :: Lens' DeleteSourceLocation Text Source #
The name of the source location.
Destructuring the Response
data DeleteSourceLocationResponse Source #
See: newDeleteSourceLocationResponse smart constructor.
Constructors
| DeleteSourceLocationResponse' | |
Fields
| |
Instances
newDeleteSourceLocationResponse Source #
Create a value of DeleteSourceLocationResponse 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:DeleteSourceLocationResponse', deleteSourceLocationResponse_httpStatus - The response's http status code.
Response Lenses
deleteSourceLocationResponse_httpStatus :: Lens' DeleteSourceLocationResponse Int Source #
The response's http status code.