Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists all portfolios for which sharing was accepted by this account.
This operation returns paginated results.
Synopsis
- data ListAcceptedPortfolioShares = ListAcceptedPortfolioShares' {}
- newListAcceptedPortfolioShares :: ListAcceptedPortfolioShares
- listAcceptedPortfolioShares_portfolioShareType :: Lens' ListAcceptedPortfolioShares (Maybe PortfolioShareType)
- listAcceptedPortfolioShares_acceptLanguage :: Lens' ListAcceptedPortfolioShares (Maybe Text)
- listAcceptedPortfolioShares_pageToken :: Lens' ListAcceptedPortfolioShares (Maybe Text)
- listAcceptedPortfolioShares_pageSize :: Lens' ListAcceptedPortfolioShares (Maybe Natural)
- 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.
ListAcceptedPortfolioShares' | |
|
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: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 organizationAWS_SERVICECATALOG
- List default portfoliosIMPORTED
- List imported portfolios
$sel:acceptLanguage:ListAcceptedPortfolioShares'
, listAcceptedPortfolioShares_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- 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 organizationAWS_SERVICECATALOG
- List default portfoliosIMPORTED
- List imported portfolios
listAcceptedPortfolioShares_acceptLanguage :: Lens' ListAcceptedPortfolioShares (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- 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 #
See: newListAcceptedPortfolioSharesResponse
smart constructor.
ListAcceptedPortfolioSharesResponse' | |
|
Instances
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.
listAcceptedPortfolioSharesResponse_portfolioDetails :: Lens' ListAcceptedPortfolioSharesResponse (Maybe [PortfolioDetail]) Source #
Information about the portfolios.
listAcceptedPortfolioSharesResponse_httpStatus :: Lens' ListAcceptedPortfolioSharesResponse Int Source #
The response's http status code.