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

Description

Lists all the VOD sources in a source location.

This operation returns paginated results.

Synopsis

Creating a Request

data ListVodSources Source #

See: newListVodSources smart constructor.

Constructors

ListVodSources' 

Fields

Instances

Instances details
Eq ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Read ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Show ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Generic ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Associated Types

type Rep ListVodSources :: Type -> Type #

NFData ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Methods

rnf :: ListVodSources -> () #

Hashable 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 #

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

type Rep ListVodSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

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

Defined in Amazonka.MediaTailor.ListVodSources

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:nextToken:ListVodSources', listVodSources_nextToken - Pagination token from the GET list request. Use the token to fetch the next page of results.

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

$sel:sourceLocationName:ListVodSources', listVodSources_sourceLocationName - The identifier for the source location you are working on.

Request Lenses

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

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

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

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

listVodSources_sourceLocationName :: Lens' ListVodSources Text Source #

The identifier for the source location you are working on.

Destructuring the Response

data ListVodSourcesResponse Source #

See: newListVodSourcesResponse smart constructor.

Constructors

ListVodSourcesResponse' 

Fields

Instances

Instances details
Eq ListVodSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Read ListVodSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Show ListVodSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Generic ListVodSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Associated Types

type Rep ListVodSourcesResponse :: Type -> Type #

NFData ListVodSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

Methods

rnf :: ListVodSourcesResponse -> () #

type Rep ListVodSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListVodSources

type Rep ListVodSourcesResponse = D1 ('MetaData "ListVodSourcesResponse" "Amazonka.MediaTailor.ListVodSources" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" '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.

$sel:nextToken:ListVodSources', listVodSourcesResponse_nextToken - Pagination token from the list request. 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 from the list request. Use the token to fetch the next page of results.