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

Description

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

This operation returns paginated results.

Synopsis

Creating a Request

data ListLiveSources Source #

See: newListLiveSources smart constructor.

Constructors

ListLiveSources' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of live sources that you want MediaTailor to return in response to the current request. If there are more than MaxResults live 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 Live Sources list.

Instances

Instances details
ToHeaders ListLiveSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

ToPath ListLiveSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

ToQuery ListLiveSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

AWSPager ListLiveSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

AWSRequest ListLiveSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

Associated Types

type AWSResponse ListLiveSources #

Generic ListLiveSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

Associated Types

type Rep ListLiveSources :: Type -> Type #

Read ListLiveSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

Show ListLiveSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

NFData ListLiveSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

Methods

rnf :: ListLiveSources -> () #

Eq ListLiveSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

Hashable ListLiveSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

type AWSResponse ListLiveSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

type Rep ListLiveSources Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

type Rep ListLiveSources = D1 ('MetaData "ListLiveSources" "Amazonka.MediaTailor.ListLiveSources" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "ListLiveSources'" '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))))

newListLiveSources Source #

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

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

ListLiveSources, listLiveSources_sourceLocationName - The name of the source location associated with this Live Sources list.

Request Lenses

listLiveSources_maxResults :: Lens' ListLiveSources (Maybe Natural) Source #

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

listLiveSources_nextToken :: Lens' ListLiveSources (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.

listLiveSources_sourceLocationName :: Lens' ListLiveSources Text Source #

The name of the source location associated with this Live Sources list.

Destructuring the Response

data ListLiveSourcesResponse Source #

See: newListLiveSourcesResponse smart constructor.

Constructors

ListLiveSourcesResponse' 

Fields

  • items :: Maybe [LiveSource]

    Lists the live 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 ListLiveSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

Associated Types

type Rep ListLiveSourcesResponse :: Type -> Type #

Read ListLiveSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

Show ListLiveSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

NFData ListLiveSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

Methods

rnf :: ListLiveSourcesResponse -> () #

Eq ListLiveSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

type Rep ListLiveSourcesResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListLiveSources

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

newListLiveSourcesResponse Source #

Create a value of ListLiveSourcesResponse 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:ListLiveSourcesResponse', listLiveSourcesResponse_items - Lists the live sources.

ListLiveSources, listLiveSourcesResponse_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:ListLiveSourcesResponse', listLiveSourcesResponse_httpStatus - The response's http status code.

Response Lenses

listLiveSourcesResponse_nextToken :: Lens' ListLiveSourcesResponse (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.