| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- data ListAcceptedPortfolioShares = ListAcceptedPortfolioShares' {}
- newListAcceptedPortfolioShares :: ListAcceptedPortfolioShares
- listAcceptedPortfolioShares_acceptLanguage :: Lens' ListAcceptedPortfolioShares (Maybe Text)
- listAcceptedPortfolioShares_pageSize :: Lens' ListAcceptedPortfolioShares (Maybe Natural)
- listAcceptedPortfolioShares_pageToken :: Lens' ListAcceptedPortfolioShares (Maybe Text)
- listAcceptedPortfolioShares_portfolioShareType :: Lens' ListAcceptedPortfolioShares (Maybe PortfolioShareType)
- data ListAcceptedPortfolioSharesResponse = ListAcceptedPortfolioSharesResponse' {}
- newListAcceptedPortfolioSharesResponse :: Int -> ListAcceptedPortfolioSharesResponse
- listAcceptedPortfolioSharesResponse_nextPageToken :: Lens' ListAcceptedPortfolioSharesResponse (Maybe Text)
- listAcceptedPortfolioSharesResponse_portfolioDetails :: Lens' ListAcceptedPortfolioSharesResponse (Maybe [PortfolioDetail])
- listAcceptedPortfolioSharesResponse_httpStatus :: Lens' ListAcceptedPortfolioSharesResponse Int
Creating a Request
data ListAcceptedPortfolioShares Source #
See: newListAcceptedPortfolioShares smart constructor.
Constructors
| ListAcceptedPortfolioShares' | |
Fields
| |
Instances
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- Japanesezh- 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- Japanesezh- 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 #
See: newListAcceptedPortfolioSharesResponse smart constructor.
Constructors
| ListAcceptedPortfolioSharesResponse' | |
Fields
| |
Instances
newListAcceptedPortfolioSharesResponse Source #
Arguments
| :: Int | |
| -> ListAcceptedPortfolioSharesResponse |
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.
listAcceptedPortfolioSharesResponse_portfolioDetails :: Lens' ListAcceptedPortfolioSharesResponse (Maybe [PortfolioDetail]) Source #
Information about the portfolios.
listAcceptedPortfolioSharesResponse_httpStatus :: Lens' ListAcceptedPortfolioSharesResponse Int Source #
The response's http status code.