amazonka-mediatailor-2.0: Amazon MediaTailor SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaTailor.UpdateChannel

Description

Updates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.

Synopsis

Creating a Request

data UpdateChannel Source #

See: newUpdateChannel smart constructor.

Constructors

UpdateChannel' 

Fields

  • fillerSlate :: Maybe SlateSource

    The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.

  • channelName :: Text

    The name of the channel.

  • outputs :: [RequestOutputItem]

    The channel's output properties.

Instances

Instances details
ToJSON UpdateChannel Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

ToHeaders UpdateChannel Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

ToPath UpdateChannel Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

ToQuery UpdateChannel Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

AWSRequest UpdateChannel Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

Associated Types

type AWSResponse UpdateChannel #

Generic UpdateChannel Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

Associated Types

type Rep UpdateChannel :: Type -> Type #

Read UpdateChannel Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

Show UpdateChannel Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

NFData UpdateChannel Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

Methods

rnf :: UpdateChannel -> () #

Eq UpdateChannel Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

Hashable UpdateChannel Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

type AWSResponse UpdateChannel Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

type Rep UpdateChannel Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

type Rep UpdateChannel = D1 ('MetaData "UpdateChannel" "Amazonka.MediaTailor.UpdateChannel" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "UpdateChannel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fillerSlate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SlateSource)) :*: (S1 ('MetaSel ('Just "channelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "outputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [RequestOutputItem]))))

newUpdateChannel Source #

Create a value of UpdateChannel 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:

UpdateChannel, updateChannel_fillerSlate - The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.

UpdateChannel, updateChannel_channelName - The name of the channel.

UpdateChannel, updateChannel_outputs - The channel's output properties.

Request Lenses

updateChannel_fillerSlate :: Lens' UpdateChannel (Maybe SlateSource) Source #

The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.

updateChannel_outputs :: Lens' UpdateChannel [RequestOutputItem] Source #

The channel's output properties.

Destructuring the Response

data UpdateChannelResponse Source #

See: newUpdateChannelResponse smart constructor.

Constructors

UpdateChannelResponse' 

Fields

Instances

Instances details
Generic UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

Associated Types

type Rep UpdateChannelResponse :: Type -> Type #

Read UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

Show UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

NFData UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

Methods

rnf :: UpdateChannelResponse -> () #

Eq UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

type Rep UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.UpdateChannel

type Rep UpdateChannelResponse = D1 ('MetaData "UpdateChannelResponse" "Amazonka.MediaTailor.UpdateChannel" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "UpdateChannelResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "channelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "channelState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelState)) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "fillerSlate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SlateSource))))) :*: ((S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "outputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResponseOutputItem])) :*: S1 ('MetaSel ('Just "playbackMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "tier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newUpdateChannelResponse Source #

Create a value of UpdateChannelResponse 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:

UpdateChannelResponse, updateChannelResponse_arn - The Amazon Resource Name (ARN) associated with the channel.

UpdateChannel, updateChannelResponse_channelName - The name of the channel.

UpdateChannelResponse, updateChannelResponse_channelState - Returns the state whether the channel is running or not.

UpdateChannelResponse, updateChannelResponse_creationTime - The timestamp of when the channel was created.

UpdateChannel, updateChannelResponse_fillerSlate - The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.

UpdateChannelResponse, updateChannelResponse_lastModifiedTime - The timestamp that indicates when the channel was last modified.

UpdateChannel, updateChannelResponse_outputs - The channel's output properties.

UpdateChannelResponse, updateChannelResponse_playbackMode - The type of playback mode for this channel.

LINEAR - Programs play back-to-back only once.

LOOP - Programs play back-to-back in an endless loop. When the last program in the schedule plays, playback loops back to the first program in the schedule.

UpdateChannelResponse, updateChannelResponse_tags - The tags to assign 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.

UpdateChannelResponse, updateChannelResponse_tier - The tier associated with this Channel.

$sel:httpStatus:UpdateChannelResponse', updateChannelResponse_httpStatus - The response's http status code.

Response Lenses

updateChannelResponse_arn :: Lens' UpdateChannelResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) associated with the channel.

updateChannelResponse_channelState :: Lens' UpdateChannelResponse (Maybe ChannelState) Source #

Returns the state whether the channel is running or not.

updateChannelResponse_creationTime :: Lens' UpdateChannelResponse (Maybe UTCTime) Source #

The timestamp of when the channel was created.

updateChannelResponse_fillerSlate :: Lens' UpdateChannelResponse (Maybe SlateSource) Source #

The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the LINEAR PlaybackMode. MediaTailor doesn't support filler slate for channels using the LOOP PlaybackMode.

updateChannelResponse_lastModifiedTime :: Lens' UpdateChannelResponse (Maybe UTCTime) Source #

The timestamp that indicates when the channel was last modified.

updateChannelResponse_playbackMode :: Lens' UpdateChannelResponse (Maybe Text) Source #

The type of playback mode for this channel.

LINEAR - Programs play back-to-back only once.

LOOP - Programs play back-to-back in an endless loop. When the last program in the schedule plays, playback loops back to the first program in the schedule.

updateChannelResponse_tags :: Lens' UpdateChannelResponse (Maybe (HashMap Text Text)) Source #

The tags to assign 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.

updateChannelResponse_tier :: Lens' UpdateChannelResponse (Maybe Text) Source #

The tier associated with this Channel.