libZSservicesZSamazonka-panoramaZSamazonka-panorama
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.Panorama.ListPackages

Description

Returns a list of packages.

Synopsis

Creating a Request

data ListPackages Source #

See: newListPackages smart constructor.

Constructors

ListPackages' 

Fields

  • nextToken :: Maybe Text

    Specify the pagination token from a previous request to retrieve the next page of results.

  • maxResults :: Maybe Natural

    The maximum number of packages to return in one page of results.

Instances

Instances details
Eq ListPackages Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

Read ListPackages Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

Show ListPackages Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

Generic ListPackages Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

Associated Types

type Rep ListPackages :: Type -> Type #

NFData ListPackages Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

Methods

rnf :: ListPackages -> () #

Hashable ListPackages Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

AWSRequest ListPackages Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

Associated Types

type AWSResponse ListPackages #

ToHeaders ListPackages Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

ToPath ListPackages Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

ToQuery ListPackages Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

type Rep ListPackages Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

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

Defined in Amazonka.Panorama.ListPackages

newListPackages :: ListPackages Source #

Create a value of ListPackages 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:ListPackages', listPackages_nextToken - Specify the pagination token from a previous request to retrieve the next page of results.

$sel:maxResults:ListPackages', listPackages_maxResults - The maximum number of packages to return in one page of results.

Request Lenses

listPackages_nextToken :: Lens' ListPackages (Maybe Text) Source #

Specify the pagination token from a previous request to retrieve the next page of results.

listPackages_maxResults :: Lens' ListPackages (Maybe Natural) Source #

The maximum number of packages to return in one page of results.

Destructuring the Response

data ListPackagesResponse Source #

See: newListPackagesResponse smart constructor.

Constructors

ListPackagesResponse' 

Fields

Instances

Instances details
Eq ListPackagesResponse Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

Read ListPackagesResponse Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

Show ListPackagesResponse Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

Generic ListPackagesResponse Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

Associated Types

type Rep ListPackagesResponse :: Type -> Type #

NFData ListPackagesResponse Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

Methods

rnf :: ListPackagesResponse -> () #

type Rep ListPackagesResponse Source # 
Instance details

Defined in Amazonka.Panorama.ListPackages

type Rep ListPackagesResponse = D1 ('MetaData "ListPackagesResponse" "Amazonka.Panorama.ListPackages" "libZSservicesZSamazonka-panoramaZSamazonka-panorama" 'False) (C1 ('MetaCons "ListPackagesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "packages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PackageListItem])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPackagesResponse Source #

Create a value of ListPackagesResponse 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:packages:ListPackagesResponse', listPackagesResponse_packages - A list of packages.

$sel:nextToken:ListPackages', listPackagesResponse_nextToken - A pagination token that's included if more results are available.

$sel:httpStatus:ListPackagesResponse', listPackagesResponse_httpStatus - The response's http status code.

Response Lenses

listPackagesResponse_nextToken :: Lens' ListPackagesResponse (Maybe Text) Source #

A pagination token that's included if more results are available.