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

Description

Retrieves existing playback configurations. For information about MediaTailor configurations, see Working with Configurations in AWS Elemental MediaTailor.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPlaybackConfigurations Source #

See: newListPlaybackConfigurations smart constructor.

Constructors

ListPlaybackConfigurations' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of playback configurations that you want MediaTailor to return in response to the current request. If there are more than MaxResults playback configurations, 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.

Instances

Instances details
ToHeaders ListPlaybackConfigurations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

ToPath ListPlaybackConfigurations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

ToQuery ListPlaybackConfigurations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

AWSPager ListPlaybackConfigurations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

AWSRequest ListPlaybackConfigurations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

Generic ListPlaybackConfigurations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

Associated Types

type Rep ListPlaybackConfigurations :: Type -> Type #

Read ListPlaybackConfigurations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

Show ListPlaybackConfigurations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

NFData ListPlaybackConfigurations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

Eq ListPlaybackConfigurations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

Hashable ListPlaybackConfigurations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

type AWSResponse ListPlaybackConfigurations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

type Rep ListPlaybackConfigurations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

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

newListPlaybackConfigurations :: ListPlaybackConfigurations Source #

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

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

Request Lenses

listPlaybackConfigurations_maxResults :: Lens' ListPlaybackConfigurations (Maybe Natural) Source #

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

listPlaybackConfigurations_nextToken :: Lens' ListPlaybackConfigurations (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.

Destructuring the Response

data ListPlaybackConfigurationsResponse Source #

Constructors

ListPlaybackConfigurationsResponse' 

Fields

  • items :: Maybe [PlaybackConfiguration]

    Array of playback configurations. This might be all the available configurations or a subset, depending on the settings that you provide and the total number of configurations stored.

  • nextToken :: Maybe Text

    Pagination token returned by the GET 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 ListPlaybackConfigurationsResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

Associated Types

type Rep ListPlaybackConfigurationsResponse :: Type -> Type #

Read ListPlaybackConfigurationsResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

Show ListPlaybackConfigurationsResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

NFData ListPlaybackConfigurationsResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

Eq ListPlaybackConfigurationsResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

type Rep ListPlaybackConfigurationsResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListPlaybackConfigurations

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

newListPlaybackConfigurationsResponse Source #

Create a value of ListPlaybackConfigurationsResponse 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:ListPlaybackConfigurationsResponse', listPlaybackConfigurationsResponse_items - Array of playback configurations. This might be all the available configurations or a subset, depending on the settings that you provide and the total number of configurations stored.

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

$sel:httpStatus:ListPlaybackConfigurationsResponse', listPlaybackConfigurationsResponse_httpStatus - The response's http status code.

Response Lenses

listPlaybackConfigurationsResponse_items :: Lens' ListPlaybackConfigurationsResponse (Maybe [PlaybackConfiguration]) Source #

Array of playback configurations. This might be all the available configurations or a subset, depending on the settings that you provide and the total number of configurations stored.

listPlaybackConfigurationsResponse_nextToken :: Lens' ListPlaybackConfigurationsResponse (Maybe Text) Source #

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