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 |
Deletes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
Synopsis
- data DeleteProgram = DeleteProgram' {
- channelName :: Text
- programName :: Text
- newDeleteProgram :: Text -> Text -> DeleteProgram
- deleteProgram_channelName :: Lens' DeleteProgram Text
- deleteProgram_programName :: Lens' DeleteProgram Text
- data DeleteProgramResponse = DeleteProgramResponse' {
- httpStatus :: Int
- newDeleteProgramResponse :: Int -> DeleteProgramResponse
- deleteProgramResponse_httpStatus :: Lens' DeleteProgramResponse Int
Creating a Request
data DeleteProgram Source #
See: newDeleteProgram
smart constructor.
DeleteProgram' | |
|
Instances
Create a value of DeleteProgram
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:
DeleteProgram
, deleteProgram_channelName
- The name of the channel.
DeleteProgram
, deleteProgram_programName
- The name of the program.
Request Lenses
deleteProgram_channelName :: Lens' DeleteProgram Text Source #
The name of the channel.
deleteProgram_programName :: Lens' DeleteProgram Text Source #
The name of the program.
Destructuring the Response
data DeleteProgramResponse Source #
See: newDeleteProgramResponse
smart constructor.
DeleteProgramResponse' | |
|
Instances
newDeleteProgramResponse Source #
Create a value of DeleteProgramResponse
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:DeleteProgramResponse'
, deleteProgramResponse_httpStatus
- The response's http status code.
Response Lenses
deleteProgramResponse_httpStatus :: Lens' DeleteProgramResponse Int Source #
The response's http status code.