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

Description

Lists all principal ARNs associated with the specified portfolio.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPrincipalsForPortfolio Source #

See: newListPrincipalsForPortfolio smart constructor.

Constructors

ListPrincipalsForPortfolio' 

Fields

Instances

Instances details
Eq ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

Read ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

Show ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

Generic ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

Associated Types

type Rep ListPrincipalsForPortfolio :: Type -> Type #

NFData ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

Hashable ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

ToJSON ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

AWSPager ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

AWSRequest ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

ToHeaders ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

ToPath ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

ToQuery ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

type Rep ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

type Rep ListPrincipalsForPortfolio = D1 ('MetaData "ListPrincipalsForPortfolio" "Amazonka.ServiceCatalog.ListPrincipalsForPortfolio" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "ListPrincipalsForPortfolio'" '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)) :*: S1 ('MetaSel ('Just "portfolioId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListPrincipalsForPortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

newListPrincipalsForPortfolio Source #

Create a value of ListPrincipalsForPortfolio 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:ListPrincipalsForPortfolio', listPrincipalsForPortfolio_acceptLanguage - The language code.

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

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

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

$sel:portfolioId:ListPrincipalsForPortfolio', listPrincipalsForPortfolio_portfolioId - The portfolio identifier.

Request Lenses

listPrincipalsForPortfolio_acceptLanguage :: Lens' ListPrincipalsForPortfolio (Maybe Text) Source #

The language code.

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

listPrincipalsForPortfolio_pageToken :: Lens' ListPrincipalsForPortfolio (Maybe Text) Source #

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

listPrincipalsForPortfolio_pageSize :: Lens' ListPrincipalsForPortfolio (Maybe Natural) Source #

The maximum number of items to return with this call.

Destructuring the Response

data ListPrincipalsForPortfolioResponse Source #

Constructors

ListPrincipalsForPortfolioResponse' 

Fields

Instances

Instances details
Eq ListPrincipalsForPortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

Read ListPrincipalsForPortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

Show ListPrincipalsForPortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

Generic ListPrincipalsForPortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

Associated Types

type Rep ListPrincipalsForPortfolioResponse :: Type -> Type #

NFData ListPrincipalsForPortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

type Rep ListPrincipalsForPortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPrincipalsForPortfolio

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

newListPrincipalsForPortfolioResponse Source #

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

$sel:principals:ListPrincipalsForPortfolioResponse', listPrincipalsForPortfolioResponse_principals - The IAM principals (users or roles) associated with the portfolio.

$sel:httpStatus:ListPrincipalsForPortfolioResponse', listPrincipalsForPortfolioResponse_httpStatus - The response's http status code.

Response Lenses

listPrincipalsForPortfolioResponse_nextPageToken :: Lens' ListPrincipalsForPortfolioResponse (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.

listPrincipalsForPortfolioResponse_principals :: Lens' ListPrincipalsForPortfolioResponse (Maybe [Principal]) Source #

The IAM principals (users or roles) associated with the portfolio.