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 channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
Synopsis
- data DescribeChannel = DescribeChannel' {
- channelName :: Text
- newDescribeChannel :: Text -> DescribeChannel
- describeChannel_channelName :: Lens' DescribeChannel Text
- data DescribeChannelResponse = DescribeChannelResponse' {
- arn :: Maybe Text
- channelName :: Maybe Text
- channelState :: Maybe ChannelState
- creationTime :: Maybe POSIX
- fillerSlate :: Maybe SlateSource
- lastModifiedTime :: Maybe POSIX
- outputs :: Maybe [ResponseOutputItem]
- playbackMode :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- tier :: Maybe Text
- httpStatus :: Int
- newDescribeChannelResponse :: Int -> DescribeChannelResponse
- describeChannelResponse_arn :: Lens' DescribeChannelResponse (Maybe Text)
- describeChannelResponse_channelName :: Lens' DescribeChannelResponse (Maybe Text)
- describeChannelResponse_channelState :: Lens' DescribeChannelResponse (Maybe ChannelState)
- describeChannelResponse_creationTime :: Lens' DescribeChannelResponse (Maybe UTCTime)
- describeChannelResponse_fillerSlate :: Lens' DescribeChannelResponse (Maybe SlateSource)
- describeChannelResponse_lastModifiedTime :: Lens' DescribeChannelResponse (Maybe UTCTime)
- describeChannelResponse_outputs :: Lens' DescribeChannelResponse (Maybe [ResponseOutputItem])
- describeChannelResponse_playbackMode :: Lens' DescribeChannelResponse (Maybe Text)
- describeChannelResponse_tags :: Lens' DescribeChannelResponse (Maybe (HashMap Text Text))
- describeChannelResponse_tier :: Lens' DescribeChannelResponse (Maybe Text)
- describeChannelResponse_httpStatus :: Lens' DescribeChannelResponse Int
Creating a Request
data DescribeChannel Source #
See: newDescribeChannel
smart constructor.
DescribeChannel' | |
|
Instances
Create a value of DescribeChannel
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:
DescribeChannel
, describeChannel_channelName
- The name of the channel.
Request Lenses
describeChannel_channelName :: Lens' DescribeChannel Text Source #
The name of the channel.
Destructuring the Response
data DescribeChannelResponse Source #
See: newDescribeChannelResponse
smart constructor.
DescribeChannelResponse' | |
|
Instances
newDescribeChannelResponse Source #
Create a value of DescribeChannelResponse
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:
DescribeChannelResponse
, describeChannelResponse_arn
- The ARN of the channel.
DescribeChannel
, describeChannelResponse_channelName
- The name of the channel.
DescribeChannelResponse
, describeChannelResponse_channelState
- Indicates whether the channel is in a running state or not.
DescribeChannelResponse
, describeChannelResponse_creationTime
- The timestamp of when the channel was created.
DescribeChannelResponse
, describeChannelResponse_fillerSlate
- Contains information about the slate used to fill gaps between programs
in the schedule.
DescribeChannelResponse
, describeChannelResponse_lastModifiedTime
- The timestamp of when the channel was last modified.
DescribeChannelResponse
, describeChannelResponse_outputs
- The channel's output properties.
DescribeChannelResponse
, describeChannelResponse_playbackMode
- The channel's playback mode.
DescribeChannelResponse
, describeChannelResponse_tags
- The tags assigned to the channel. Tags are key-value pairs that you can
associate with Amazon resources to help with organization, access
control, and cost tracking. For more information, see
Tagging AWS Elemental MediaTailor Resources.
DescribeChannelResponse
, describeChannelResponse_tier
- The channel's tier.
$sel:httpStatus:DescribeChannelResponse'
, describeChannelResponse_httpStatus
- The response's http status code.
Response Lenses
describeChannelResponse_arn :: Lens' DescribeChannelResponse (Maybe Text) Source #
The ARN of the channel.
describeChannelResponse_channelName :: Lens' DescribeChannelResponse (Maybe Text) Source #
The name of the channel.
describeChannelResponse_channelState :: Lens' DescribeChannelResponse (Maybe ChannelState) Source #
Indicates whether the channel is in a running state or not.
describeChannelResponse_creationTime :: Lens' DescribeChannelResponse (Maybe UTCTime) Source #
The timestamp of when the channel was created.
describeChannelResponse_fillerSlate :: Lens' DescribeChannelResponse (Maybe SlateSource) Source #
Contains information about the slate used to fill gaps between programs in the schedule.
describeChannelResponse_lastModifiedTime :: Lens' DescribeChannelResponse (Maybe UTCTime) Source #
The timestamp of when the channel was last modified.
describeChannelResponse_outputs :: Lens' DescribeChannelResponse (Maybe [ResponseOutputItem]) Source #
The channel's output properties.
describeChannelResponse_playbackMode :: Lens' DescribeChannelResponse (Maybe Text) Source #
The channel's playback mode.
describeChannelResponse_tags :: Lens' DescribeChannelResponse (Maybe (HashMap Text Text)) Source #
The tags assigned to the channel. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
describeChannelResponse_tier :: Lens' DescribeChannelResponse (Maybe Text) Source #
The channel's tier.
describeChannelResponse_httpStatus :: Lens' DescribeChannelResponse Int Source #
The response's http status code.