libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog
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.ServiceCatalog.ListPortfolios

Description

Lists all portfolios in the catalog.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPortfolios Source #

See: newListPortfolios smart constructor.

Constructors

ListPortfolios' 

Fields

Instances

Instances details
Eq ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

Read ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

Show ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

Generic ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

Associated Types

type Rep ListPortfolios :: Type -> Type #

NFData ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

Methods

rnf :: ListPortfolios -> () #

Hashable ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

ToJSON ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

AWSPager ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

AWSRequest ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

Associated Types

type AWSResponse ListPortfolios #

ToHeaders ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

ToPath ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

ToQuery ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

type Rep ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

type Rep ListPortfolios = D1 ('MetaData "ListPortfolios" "Amazonka.ServiceCatalog.ListPortfolios" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "ListPortfolios'" 'PrefixI 'True) (S1 ('MetaSel ('Just "acceptLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListPortfolios Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

newListPortfolios :: ListPortfolios Source #

Create a value of ListPortfolios 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:acceptLanguage:ListPortfolios', listPortfolios_acceptLanguage - The language code.

  • en - English (default)
  • jp - Japanese
  • zh - Chinese

$sel:pageToken:ListPortfolios', listPortfolios_pageToken - The page token for the next set of results. To retrieve the first set of results, use null.

$sel:pageSize:ListPortfolios', listPortfolios_pageSize - The maximum number of items to return with this call.

Request Lenses

listPortfolios_acceptLanguage :: Lens' ListPortfolios (Maybe Text) Source #

The language code.

  • en - English (default)
  • jp - Japanese
  • zh - Chinese

listPortfolios_pageToken :: Lens' ListPortfolios (Maybe Text) Source #

The page token for the next set of results. To retrieve the first set of results, use null.

listPortfolios_pageSize :: Lens' ListPortfolios (Maybe Natural) Source #

The maximum number of items to return with this call.

Destructuring the Response

data ListPortfoliosResponse Source #

See: newListPortfoliosResponse smart constructor.

Constructors

ListPortfoliosResponse' 

Fields

Instances

Instances details
Eq ListPortfoliosResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

Read ListPortfoliosResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

Show ListPortfoliosResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

Generic ListPortfoliosResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

Associated Types

type Rep ListPortfoliosResponse :: Type -> Type #

NFData ListPortfoliosResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

Methods

rnf :: ListPortfoliosResponse -> () #

type Rep ListPortfoliosResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolios

type Rep ListPortfoliosResponse = D1 ('MetaData "ListPortfoliosResponse" "Amazonka.ServiceCatalog.ListPortfolios" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "ListPortfoliosResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "portfolioDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PortfolioDetail])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPortfoliosResponse Source #

Create a value of ListPortfoliosResponse 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:nextPageToken:ListPortfoliosResponse', listPortfoliosResponse_nextPageToken - The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

$sel:portfolioDetails:ListPortfoliosResponse', listPortfoliosResponse_portfolioDetails - Information about the portfolios.

$sel:httpStatus:ListPortfoliosResponse', listPortfoliosResponse_httpStatus - The response's http status code.

Response Lenses

listPortfoliosResponse_nextPageToken :: Lens' ListPortfoliosResponse (Maybe Text) Source #

The page token to use to retrieve the next set of results. If there are no additional results, this value is null.