amazonka-servicecatalog-2.0: Amazon Service Catalog SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

Description

Lists all imported portfolios for which account-to-account shares were accepted by this account. By specifying the PortfolioShareType, you can list portfolios for which organizational shares were accepted by this account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAcceptedPortfolioShares Source #

See: newListAcceptedPortfolioShares smart constructor.

Constructors

ListAcceptedPortfolioShares' 

Fields

  • acceptLanguage :: Maybe Text

    The language code.

    • en - English (default)
    • jp - Japanese
    • zh - Chinese
  • pageSize :: Maybe Natural

    The maximum number of items to return with this call.

  • pageToken :: Maybe Text

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

  • portfolioShareType :: Maybe PortfolioShareType

    The type of shared portfolios to list. The default is to list imported portfolios.

    • AWS_ORGANIZATIONS - List portfolios accepted and shared via organizational sharing by the management account or delegated administrator of your organization.
    • AWS_SERVICECATALOG - Deprecated type.
    • IMPORTED - List imported portfolios that have been accepted and shared through account-to-account sharing.

Instances

Instances details
ToJSON ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

ToHeaders ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

ToPath ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

ToQuery ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

AWSPager ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

AWSRequest ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

Generic ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

Associated Types

type Rep ListAcceptedPortfolioShares :: Type -> Type #

Read ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

Show ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

NFData ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

Eq ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

Hashable ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

type AWSResponse ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

type Rep ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

type Rep ListAcceptedPortfolioShares = D1 ('MetaData "ListAcceptedPortfolioShares" "Amazonka.ServiceCatalog.ListAcceptedPortfolioShares" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "ListAcceptedPortfolioShares'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "acceptLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "pageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "portfolioShareType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PortfolioShareType)))))

newListAcceptedPortfolioShares :: ListAcceptedPortfolioShares Source #

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

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

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

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

$sel:portfolioShareType:ListAcceptedPortfolioShares', listAcceptedPortfolioShares_portfolioShareType - The type of shared portfolios to list. The default is to list imported portfolios.

  • AWS_ORGANIZATIONS - List portfolios accepted and shared via organizational sharing by the management account or delegated administrator of your organization.
  • AWS_SERVICECATALOG - Deprecated type.
  • IMPORTED - List imported portfolios that have been accepted and shared through account-to-account sharing.

Request Lenses

listAcceptedPortfolioShares_acceptLanguage :: Lens' ListAcceptedPortfolioShares (Maybe Text) Source #

The language code.

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

listAcceptedPortfolioShares_pageSize :: Lens' ListAcceptedPortfolioShares (Maybe Natural) Source #

The maximum number of items to return with this call.

listAcceptedPortfolioShares_pageToken :: Lens' ListAcceptedPortfolioShares (Maybe Text) Source #

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

listAcceptedPortfolioShares_portfolioShareType :: Lens' ListAcceptedPortfolioShares (Maybe PortfolioShareType) Source #

The type of shared portfolios to list. The default is to list imported portfolios.

  • AWS_ORGANIZATIONS - List portfolios accepted and shared via organizational sharing by the management account or delegated administrator of your organization.
  • AWS_SERVICECATALOG - Deprecated type.
  • IMPORTED - List imported portfolios that have been accepted and shared through account-to-account sharing.

Destructuring the Response

data ListAcceptedPortfolioSharesResponse Source #

Constructors

ListAcceptedPortfolioSharesResponse' 

Fields

Instances

Instances details
Generic ListAcceptedPortfolioSharesResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

Read ListAcceptedPortfolioSharesResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

Show ListAcceptedPortfolioSharesResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

NFData ListAcceptedPortfolioSharesResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

Eq ListAcceptedPortfolioSharesResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

type Rep ListAcceptedPortfolioSharesResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

type Rep ListAcceptedPortfolioSharesResponse = D1 ('MetaData "ListAcceptedPortfolioSharesResponse" "Amazonka.ServiceCatalog.ListAcceptedPortfolioShares" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "ListAcceptedPortfolioSharesResponse'" '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))))

newListAcceptedPortfolioSharesResponse Source #

Create a value of ListAcceptedPortfolioSharesResponse 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:ListAcceptedPortfolioSharesResponse', listAcceptedPortfolioSharesResponse_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:ListAcceptedPortfolioSharesResponse', listAcceptedPortfolioSharesResponse_portfolioDetails - Information about the portfolios.

$sel:httpStatus:ListAcceptedPortfolioSharesResponse', listAcceptedPortfolioSharesResponse_httpStatus - The response's http status code.

Response Lenses

listAcceptedPortfolioSharesResponse_nextPageToken :: Lens' ListAcceptedPortfolioSharesResponse (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.