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.ListVodSources

Description

Lists the VOD sources contained in a source location. A source represents a piece of content.

This operation returns paginated results.

Synopsis

Creating a Request

data ListVodSources Source #

See: newListVodSources smart constructor.

Constructors

ListVodSources' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of VOD sources that you want MediaTailor to return in response to the current request. If there are more than MaxResults VOD sources, use the value of NextToken in the response to get the next page of results.

  • nextToken :: Maybe Text

    Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

  • sourceLocationName :: Text

    The name of the source location associated with this VOD Source list.

Instances

Instances details
ToHeaders ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

ToPath ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

ToQuery ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

AWSPager ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

AWSRequest ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Associated Types

type AWSResponse ListVodSources #

Generic ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Associated Types

type Rep ListVodSources :: Type -> Type #

Read ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Show ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

NFData ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Methods

rnf :: ListVodSources -> () #

Eq ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Hashable ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

type AWSResponse ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

type Rep ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

type Rep ListVodSources = D1 ('MetaData "ListVodSources" "Amazonka.MediaTailor.ListVodSources" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "ListVodSources'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceLocationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListVodSources Source #

Create a value of ListVodSources 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:maxResults:ListVodSources', listVodSources_maxResults - The maximum number of VOD sources that you want MediaTailor to return in response to the current request. If there are more than MaxResults VOD sources, use the value of NextToken in the response to get the next page of results.

ListVodSources, listVodSources_nextToken - Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

ListVodSources, listVodSources_sourceLocationName - The name of the source location associated with this VOD Source list.

Request Lenses

listVodSources_maxResults :: Lens' ListVodSources (Maybe Natural) Source #

The maximum number of VOD sources that you want MediaTailor to return in response to the current request. If there are more than MaxResults VOD sources, use the value of NextToken in the response to get the next page of results.

listVodSources_nextToken :: Lens' ListVodSources (Maybe Text) Source #

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

listVodSources_sourceLocationName :: Lens' ListVodSources Text Source #

The name of the source location associated with this VOD Source list.

Destructuring the Response

data ListVodSourcesResponse Source #

See: newListVodSourcesResponse smart constructor.

Constructors

ListVodSourcesResponse' 

Fields

  • items :: Maybe [VodSource]

    Lists the VOD sources.

  • nextToken :: Maybe Text

    Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListVodSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Associated Types

type Rep ListVodSourcesResponse :: Type -> Type #

Read ListVodSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Show ListVodSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

NFData ListVodSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Methods

rnf :: ListVodSourcesResponse -> () #

Eq ListVodSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

type Rep ListVodSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

type Rep ListVodSourcesResponse = D1 ('MetaData "ListVodSourcesResponse" "Amazonka.MediaTailor.ListVodSources" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "ListVodSourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VodSource])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListVodSourcesResponse Source #

Create a value of ListVodSourcesResponse 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:ListVodSourcesResponse', listVodSourcesResponse_items - Lists the VOD sources.

ListVodSources, listVodSourcesResponse_nextToken - Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

$sel:httpStatus:ListVodSourcesResponse', listVodSourcesResponse_httpStatus - The response's http status code.

Response Lenses

listVodSourcesResponse_nextToken :: Lens' ListVodSourcesResponse (Maybe Text) Source #

Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.