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 |
Describes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
Synopsis
- data DescribeProgram = DescribeProgram' {
- channelName :: Text
- programName :: Text
- newDescribeProgram :: Text -> Text -> DescribeProgram
- describeProgram_channelName :: Lens' DescribeProgram Text
- describeProgram_programName :: Lens' DescribeProgram Text
- data DescribeProgramResponse = DescribeProgramResponse' {}
- newDescribeProgramResponse :: Int -> DescribeProgramResponse
- describeProgramResponse_adBreaks :: Lens' DescribeProgramResponse (Maybe [AdBreak])
- describeProgramResponse_arn :: Lens' DescribeProgramResponse (Maybe Text)
- describeProgramResponse_channelName :: Lens' DescribeProgramResponse (Maybe Text)
- describeProgramResponse_creationTime :: Lens' DescribeProgramResponse (Maybe UTCTime)
- describeProgramResponse_liveSourceName :: Lens' DescribeProgramResponse (Maybe Text)
- describeProgramResponse_programName :: Lens' DescribeProgramResponse (Maybe Text)
- describeProgramResponse_scheduledStartTime :: Lens' DescribeProgramResponse (Maybe UTCTime)
- describeProgramResponse_sourceLocationName :: Lens' DescribeProgramResponse (Maybe Text)
- describeProgramResponse_vodSourceName :: Lens' DescribeProgramResponse (Maybe Text)
- describeProgramResponse_httpStatus :: Lens' DescribeProgramResponse Int
Creating a Request
data DescribeProgram Source #
See: newDescribeProgram
smart constructor.
DescribeProgram' | |
|
Instances
Create a value of DescribeProgram
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:
DescribeProgram
, describeProgram_channelName
- The name of the channel associated with this Program.
DescribeProgram
, describeProgram_programName
- The name of the program.
Request Lenses
describeProgram_channelName :: Lens' DescribeProgram Text Source #
The name of the channel associated with this Program.
describeProgram_programName :: Lens' DescribeProgram Text Source #
The name of the program.
Destructuring the Response
data DescribeProgramResponse Source #
See: newDescribeProgramResponse
smart constructor.
DescribeProgramResponse' | |
|
Instances
newDescribeProgramResponse Source #
Create a value of DescribeProgramResponse
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:adBreaks:DescribeProgramResponse'
, describeProgramResponse_adBreaks
- The ad break configuration settings.
DescribeProgramResponse
, describeProgramResponse_arn
- The ARN of the program.
DescribeProgram
, describeProgramResponse_channelName
- The name of the channel that the program belongs to.
DescribeProgramResponse
, describeProgramResponse_creationTime
- The timestamp of when the program was created.
DescribeProgramResponse
, describeProgramResponse_liveSourceName
- The name of the LiveSource for this Program.
DescribeProgram
, describeProgramResponse_programName
- The name of the program.
$sel:scheduledStartTime:DescribeProgramResponse'
, describeProgramResponse_scheduledStartTime
- The date and time that the program is scheduled to start in ISO 8601
format and Coordinated Universal Time (UTC). For example, the value
2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.
DescribeProgramResponse
, describeProgramResponse_sourceLocationName
- The source location name.
DescribeProgramResponse
, describeProgramResponse_vodSourceName
- The name that's used to refer to a VOD source.
$sel:httpStatus:DescribeProgramResponse'
, describeProgramResponse_httpStatus
- The response's http status code.
Response Lenses
describeProgramResponse_adBreaks :: Lens' DescribeProgramResponse (Maybe [AdBreak]) Source #
The ad break configuration settings.
describeProgramResponse_arn :: Lens' DescribeProgramResponse (Maybe Text) Source #
The ARN of the program.
describeProgramResponse_channelName :: Lens' DescribeProgramResponse (Maybe Text) Source #
The name of the channel that the program belongs to.
describeProgramResponse_creationTime :: Lens' DescribeProgramResponse (Maybe UTCTime) Source #
The timestamp of when the program was created.
describeProgramResponse_liveSourceName :: Lens' DescribeProgramResponse (Maybe Text) Source #
The name of the LiveSource for this Program.
describeProgramResponse_programName :: Lens' DescribeProgramResponse (Maybe Text) Source #
The name of the program.
describeProgramResponse_scheduledStartTime :: Lens' DescribeProgramResponse (Maybe UTCTime) Source #
The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.
describeProgramResponse_sourceLocationName :: Lens' DescribeProgramResponse (Maybe Text) Source #
The source location name.
describeProgramResponse_vodSourceName :: Lens' DescribeProgramResponse (Maybe Text) Source #
The name that's used to refer to a VOD source.
describeProgramResponse_httpStatus :: Lens' DescribeProgramResponse Int Source #
The response's http status code.