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

Description

Retrieves a list of source locations.

This operation returns paginated results.

Synopsis

Creating a Request

data ListSourceLocations Source #

See: newListSourceLocations smart constructor.

Constructors

ListSourceLocations' 

Fields

  • nextToken :: Maybe Text

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

  • maxResults :: Maybe Natural

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

Instances

Instances details
Eq ListSourceLocations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

Read ListSourceLocations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

Show ListSourceLocations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

Generic ListSourceLocations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

Associated Types

type Rep ListSourceLocations :: Type -> Type #

NFData ListSourceLocations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

Methods

rnf :: ListSourceLocations -> () #

Hashable ListSourceLocations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

AWSPager ListSourceLocations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

AWSRequest ListSourceLocations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

Associated Types

type AWSResponse ListSourceLocations #

ToHeaders ListSourceLocations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

ToPath ListSourceLocations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

ToQuery ListSourceLocations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

type Rep ListSourceLocations Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

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

Defined in Amazonka.MediaTailor.ListSourceLocations

newListSourceLocations :: ListSourceLocations Source #

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

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

Request Lenses

listSourceLocations_nextToken :: Lens' ListSourceLocations (Maybe Text) Source #

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

listSourceLocations_maxResults :: Lens' ListSourceLocations (Maybe Natural) Source #

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

Destructuring the Response

data ListSourceLocationsResponse Source #

See: newListSourceLocationsResponse smart constructor.

Constructors

ListSourceLocationsResponse' 

Fields

Instances

Instances details
Eq ListSourceLocationsResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

Read ListSourceLocationsResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

Show ListSourceLocationsResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

Generic ListSourceLocationsResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

Associated Types

type Rep ListSourceLocationsResponse :: Type -> Type #

NFData ListSourceLocationsResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

type Rep ListSourceLocationsResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.ListSourceLocations

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

newListSourceLocationsResponse Source #

Create a value of ListSourceLocationsResponse 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:ListSourceLocationsResponse', listSourceLocationsResponse_items - An array of source locations.

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

$sel:httpStatus:ListSourceLocationsResponse', listSourceLocationsResponse_httpStatus - The response's http status code.

Response Lenses

listSourceLocationsResponse_nextToken :: Lens' ListSourceLocationsResponse (Maybe Text) Source #

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