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 |
Retrieves the properties of the requested program.
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' {
- creationTime :: Maybe POSIX
- sourceLocationName :: Maybe Text
- arn :: Maybe Text
- programName :: Maybe Text
- adBreaks :: Maybe [AdBreak]
- channelName :: Maybe Text
- scheduledStartTime :: Maybe POSIX
- vodSourceName :: Maybe Text
- httpStatus :: Int
- newDescribeProgramResponse :: Int -> DescribeProgramResponse
- describeProgramResponse_creationTime :: Lens' DescribeProgramResponse (Maybe UTCTime)
- describeProgramResponse_sourceLocationName :: Lens' DescribeProgramResponse (Maybe Text)
- describeProgramResponse_arn :: Lens' DescribeProgramResponse (Maybe Text)
- describeProgramResponse_programName :: Lens' DescribeProgramResponse (Maybe Text)
- describeProgramResponse_adBreaks :: Lens' DescribeProgramResponse (Maybe [AdBreak])
- describeProgramResponse_channelName :: Lens' DescribeProgramResponse (Maybe Text)
- describeProgramResponse_scheduledStartTime :: Lens' DescribeProgramResponse (Maybe UTCTime)
- 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:
$sel:channelName:DescribeProgram'
, describeProgram_channelName
- The identifier for the channel you are working on.
$sel:programName:DescribeProgram'
, describeProgram_programName
- The identifier for the program you are working on.
Request Lenses
describeProgram_channelName :: Lens' DescribeProgram Text Source #
The identifier for the channel you are working on.
describeProgram_programName :: Lens' DescribeProgram Text Source #
The identifier for the program you are working on.
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:creationTime:DescribeProgramResponse'
, describeProgramResponse_creationTime
- The timestamp of when the program was created.
$sel:sourceLocationName:DescribeProgramResponse'
, describeProgramResponse_sourceLocationName
- The source location name.
$sel:arn:DescribeProgramResponse'
, describeProgramResponse_arn
- The ARN of the program.
$sel:programName:DescribeProgram'
, describeProgramResponse_programName
- The name of the program.
$sel:adBreaks:DescribeProgramResponse'
, describeProgramResponse_adBreaks
- The ad break configuration settings.
$sel:channelName:DescribeProgram'
, describeProgramResponse_channelName
- The name of the channel that the program belongs to.
$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.
$sel:vodSourceName: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_creationTime :: Lens' DescribeProgramResponse (Maybe UTCTime) Source #
The timestamp of when the program was created.
describeProgramResponse_sourceLocationName :: Lens' DescribeProgramResponse (Maybe Text) Source #
The source location name.
describeProgramResponse_arn :: Lens' DescribeProgramResponse (Maybe Text) Source #
The ARN of the program.
describeProgramResponse_programName :: Lens' DescribeProgramResponse (Maybe Text) Source #
The name of the program.
describeProgramResponse_adBreaks :: Lens' DescribeProgramResponse (Maybe [AdBreak]) Source #
The ad break configuration settings.
describeProgramResponse_channelName :: Lens' DescribeProgramResponse (Maybe Text) Source #
The name of the channel that the program belongs to.
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_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.