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

Description

Lists all portfolios for which sharing was accepted by this account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAcceptedPortfolioShares Source #

See: newListAcceptedPortfolioShares smart constructor.

Constructors

ListAcceptedPortfolioShares' 

Fields

  • portfolioShareType :: Maybe PortfolioShareType

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

    • AWS_ORGANIZATIONS - List portfolios shared by the management account of your organization
    • AWS_SERVICECATALOG - List default portfolios
    • IMPORTED - List imported portfolios
  • acceptLanguage :: Maybe Text

    The language code.

    • en - English (default)
    • jp - Japanese
    • zh - Chinese
  • pageToken :: Maybe Text

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

  • pageSize :: Maybe Natural

    The maximum number of items to return with this call.

Instances

Instances details
Eq ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

Read ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

Show 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 #

NFData ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

Hashable ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

ToJSON 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

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

type Rep ListAcceptedPortfolioShares Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

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

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

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:portfolioShareType:ListAcceptedPortfolioShares', listAcceptedPortfolioShares_portfolioShareType - The type of shared portfolios to list. The default is to list imported portfolios.

  • AWS_ORGANIZATIONS - List portfolios shared by the management account of your organization
  • AWS_SERVICECATALOG - List default portfolios
  • IMPORTED - List imported portfolios

$sel:acceptLanguage:ListAcceptedPortfolioShares', listAcceptedPortfolioShares_acceptLanguage - The language code.

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

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

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

Request Lenses

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 shared by the management account of your organization
  • AWS_SERVICECATALOG - List default portfolios
  • IMPORTED - List imported portfolios

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

The language code.

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

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_pageSize :: Lens' ListAcceptedPortfolioShares (Maybe Natural) Source #

The maximum number of items to return with this call.

Destructuring the Response

data ListAcceptedPortfolioSharesResponse Source #

Constructors

ListAcceptedPortfolioSharesResponse' 

Fields

Instances

Instances details
Eq 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

Generic ListAcceptedPortfolioSharesResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ListAcceptedPortfolioShares

NFData 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" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" '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.