libZSservicesZSamazonka-mediapackageZSamazonka-mediapackage
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.MediaPackage.ListChannels

Description

Returns a collection of Channels.

This operation returns paginated results.

Synopsis

Creating a Request

data ListChannels Source #

See: newListChannels smart constructor.

Constructors

ListChannels' 

Fields

Instances

Instances details
Eq ListChannels Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

Read ListChannels Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

Show ListChannels Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

Generic ListChannels Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

Associated Types

type Rep ListChannels :: Type -> Type #

NFData ListChannels Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

Methods

rnf :: ListChannels -> () #

Hashable ListChannels Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

AWSPager ListChannels Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

AWSRequest ListChannels Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

Associated Types

type AWSResponse ListChannels #

ToHeaders ListChannels Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

ToPath ListChannels Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

ToQuery ListChannels Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

type Rep ListChannels Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

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

Defined in Amazonka.MediaPackage.ListChannels

newListChannels :: ListChannels Source #

Create a value of ListChannels 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:ListChannels', listChannels_nextToken - A token used to resume pagination from the end of a previous request.

$sel:maxResults:ListChannels', listChannels_maxResults - Upper bound on number of records to return.

Request Lenses

listChannels_nextToken :: Lens' ListChannels (Maybe Text) Source #

A token used to resume pagination from the end of a previous request.

listChannels_maxResults :: Lens' ListChannels (Maybe Natural) Source #

Upper bound on number of records to return.

Destructuring the Response

data ListChannelsResponse Source #

See: newListChannelsResponse smart constructor.

Constructors

ListChannelsResponse' 

Fields

Instances

Instances details
Eq ListChannelsResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

Read ListChannelsResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

Show ListChannelsResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

Generic ListChannelsResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

Associated Types

type Rep ListChannelsResponse :: Type -> Type #

NFData ListChannelsResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

Methods

rnf :: ListChannelsResponse -> () #

type Rep ListChannelsResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.ListChannels

type Rep ListChannelsResponse = D1 ('MetaData "ListChannelsResponse" "Amazonka.MediaPackage.ListChannels" "libZSservicesZSamazonka-mediapackageZSamazonka-mediapackage" 'False) (C1 ('MetaCons "ListChannelsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Channel])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListChannelsResponse Source #

Create a value of ListChannelsResponse 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:channels:ListChannelsResponse', listChannelsResponse_channels - A list of Channel records.

$sel:nextToken:ListChannels', listChannelsResponse_nextToken - A token that can be used to resume pagination from the end of the collection.

$sel:httpStatus:ListChannelsResponse', listChannelsResponse_httpStatus - The response's http status code.

Response Lenses

listChannelsResponse_nextToken :: Lens' ListChannelsResponse (Maybe Text) Source #

A token that can be used to resume pagination from the end of the collection.