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 a specific program on a specific channel.
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:
$sel:channelName:DeleteProgram'
, deleteProgram_channelName
- The identifier for the channel you are working on.
$sel:programName:DeleteProgram'
, deleteProgram_programName
- The identifier for the program you are working on.
Request Lenses
deleteProgram_channelName :: Lens' DeleteProgram Text Source #
The identifier for the channel you are working on.
deleteProgram_programName :: Lens' DeleteProgram Text Source #
The identifier for the program you are working on.
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.