libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaTailor.GetChannelSchedule

Description

Retrieves information about your channel's schedule.

This operation returns paginated results.

Synopsis

Creating a Request

data GetChannelSchedule Source #

See: newGetChannelSchedule smart constructor.

Constructors

GetChannelSchedule' 

Fields

  • nextToken :: Maybe Text

    Pagination token from the GET list request. Use the token to fetch the next page of results.

  • durationMinutes :: Maybe Text

    The schedule duration in minutes. The maximum duration is 4320 minutes (three days).

  • maxResults :: Maybe Natural

    Upper bound on number of records to return. The maximum number of results is 100.

  • channelName :: Text

    The identifier for the channel you are working on.

Instances

Instances details
Eq GetChannelSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

Read GetChannelSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

Show GetChannelSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

Generic GetChannelSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

Associated Types

type Rep GetChannelSchedule :: Type -> Type #

NFData GetChannelSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

Methods

rnf :: GetChannelSchedule -> () #

Hashable GetChannelSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

AWSPager GetChannelSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

AWSRequest GetChannelSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

Associated Types

type AWSResponse GetChannelSchedule #

ToHeaders GetChannelSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

ToPath GetChannelSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

ToQuery GetChannelSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

type Rep GetChannelSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

type Rep GetChannelSchedule = D1 ('MetaData "GetChannelSchedule" "Amazonka.MediaTailor.GetChannelSchedule" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "GetChannelSchedule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "durationMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "channelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetChannelSchedule Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

newGetChannelSchedule Source #

Create a value of GetChannelSchedule 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:nextToken:GetChannelSchedule', getChannelSchedule_nextToken - Pagination token from the GET list request. Use the token to fetch the next page of results.

$sel:durationMinutes:GetChannelSchedule', getChannelSchedule_durationMinutes - The schedule duration in minutes. The maximum duration is 4320 minutes (three days).

$sel:maxResults:GetChannelSchedule', getChannelSchedule_maxResults - Upper bound on number of records to return. The maximum number of results is 100.

$sel:channelName:GetChannelSchedule', getChannelSchedule_channelName - The identifier for the channel you are working on.

Request Lenses

getChannelSchedule_nextToken :: Lens' GetChannelSchedule (Maybe Text) Source #

Pagination token from the GET list request. Use the token to fetch the next page of results.

getChannelSchedule_durationMinutes :: Lens' GetChannelSchedule (Maybe Text) Source #

The schedule duration in minutes. The maximum duration is 4320 minutes (three days).

getChannelSchedule_maxResults :: Lens' GetChannelSchedule (Maybe Natural) Source #

Upper bound on number of records to return. The maximum number of results is 100.

getChannelSchedule_channelName :: Lens' GetChannelSchedule Text Source #

The identifier for the channel you are working on.

Destructuring the Response

data GetChannelScheduleResponse Source #

See: newGetChannelScheduleResponse smart constructor.

Constructors

GetChannelScheduleResponse' 

Fields

Instances

Instances details
Eq GetChannelScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

Read GetChannelScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

Show GetChannelScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

Generic GetChannelScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

Associated Types

type Rep GetChannelScheduleResponse :: Type -> Type #

NFData GetChannelScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

type Rep GetChannelScheduleResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.GetChannelSchedule

type Rep GetChannelScheduleResponse = D1 ('MetaData "GetChannelScheduleResponse" "Amazonka.MediaTailor.GetChannelSchedule" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "GetChannelScheduleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ScheduleEntry])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetChannelScheduleResponse Source #

Create a value of GetChannelScheduleResponse 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:items:GetChannelScheduleResponse', getChannelScheduleResponse_items - An array of schedule entries for the channel.

$sel:nextToken:GetChannelSchedule', getChannelScheduleResponse_nextToken - Pagination token from the GET list request. Use the token to fetch the next page of results.

$sel:httpStatus:GetChannelScheduleResponse', getChannelScheduleResponse_httpStatus - The response's http status code.

Response Lenses

getChannelScheduleResponse_nextToken :: Lens' GetChannelScheduleResponse (Maybe Text) Source #

Pagination token from the GET list request. Use the token to fetch the next page of results.