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

Description

Lists the account IDs that have access to the specified portfolio.

A delegated admin can list the accounts that have access to the shared portfolio. Note that if a delegated admin is de-registered, they can no longer perform this operation.

Synopsis

Creating a Request

data ListPortfolioAccess Source #

See: newListPortfolioAccess smart constructor.

Constructors

ListPortfolioAccess' 

Fields

Instances

Instances details
Eq ListPortfolioAccess Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

Read ListPortfolioAccess Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

Show ListPortfolioAccess Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

Generic ListPortfolioAccess Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

Associated Types

type Rep ListPortfolioAccess :: Type -> Type #

NFData ListPortfolioAccess Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

Methods

rnf :: ListPortfolioAccess -> () #

Hashable ListPortfolioAccess Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

ToJSON ListPortfolioAccess Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

AWSRequest ListPortfolioAccess Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

Associated Types

type AWSResponse ListPortfolioAccess #

ToHeaders ListPortfolioAccess Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

ToPath ListPortfolioAccess Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

ToQuery ListPortfolioAccess Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

type Rep ListPortfolioAccess Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

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

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

newListPortfolioAccess Source #

Create a value of ListPortfolioAccess 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:organizationParentId:ListPortfolioAccess', listPortfolioAccess_organizationParentId - The ID of an organization node the portfolio is shared with. All children of this node with an inherited portfolio share will be returned.

$sel:acceptLanguage:ListPortfolioAccess', listPortfolioAccess_acceptLanguage - The language code.

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

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

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

$sel:portfolioId:ListPortfolioAccess', listPortfolioAccess_portfolioId - The portfolio identifier.

Request Lenses

listPortfolioAccess_organizationParentId :: Lens' ListPortfolioAccess (Maybe Text) Source #

The ID of an organization node the portfolio is shared with. All children of this node with an inherited portfolio share will be returned.

listPortfolioAccess_acceptLanguage :: Lens' ListPortfolioAccess (Maybe Text) Source #

The language code.

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

listPortfolioAccess_pageToken :: Lens' ListPortfolioAccess (Maybe Text) Source #

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

listPortfolioAccess_pageSize :: Lens' ListPortfolioAccess (Maybe Natural) Source #

The maximum number of items to return with this call.

Destructuring the Response

data ListPortfolioAccessResponse Source #

See: newListPortfolioAccessResponse smart constructor.

Constructors

ListPortfolioAccessResponse' 

Fields

  • nextPageToken :: Maybe Text

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

  • accountIds :: Maybe [Text]

    Information about the AWS accounts with access to the portfolio.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListPortfolioAccessResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

Read ListPortfolioAccessResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

Show ListPortfolioAccessResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

Generic ListPortfolioAccessResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

Associated Types

type Rep ListPortfolioAccessResponse :: Type -> Type #

NFData ListPortfolioAccessResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

type Rep ListPortfolioAccessResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListPortfolioAccess

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

newListPortfolioAccessResponse Source #

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

$sel:accountIds:ListPortfolioAccessResponse', listPortfolioAccessResponse_accountIds - Information about the AWS accounts with access to the portfolio.

$sel:httpStatus:ListPortfolioAccessResponse', listPortfolioAccessResponse_httpStatus - The response's http status code.

Response Lenses

listPortfolioAccessResponse_nextPageToken :: Lens' ListPortfolioAccessResponse (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.

listPortfolioAccessResponse_accountIds :: Lens' ListPortfolioAccessResponse (Maybe [Text]) Source #

Information about the AWS accounts with access to the portfolio.