| Copyright | (c) 2013-2017 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 |
| Language | Haskell2010 |
Network.AWS.ServiceCatalog.ListPortfolios
Description
Lists all portfolios in the catalog.
- listPortfolios :: ListPortfolios
- data ListPortfolios
- lpAcceptLanguage :: Lens' ListPortfolios (Maybe Text)
- lpPageToken :: Lens' ListPortfolios (Maybe Text)
- lpPageSize :: Lens' ListPortfolios (Maybe Natural)
- listPortfoliosResponse :: Int -> ListPortfoliosResponse
- data ListPortfoliosResponse
- lprsNextPageToken :: Lens' ListPortfoliosResponse (Maybe Text)
- lprsPortfolioDetails :: Lens' ListPortfoliosResponse [PortfolioDetail]
- lprsResponseStatus :: Lens' ListPortfoliosResponse Int
Creating a Request
listPortfolios :: ListPortfolios Source #
Creates a value of ListPortfolios with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lpAcceptLanguage- The language code. *en- English (default) *jp- Japanese *zh- ChineselpPageToken- The page token of the first page retrieved. If null, this retrieves the first page of sizePageSize.lpPageSize- The maximum number of items to return in the results. If more results exist than fit in the specifiedPageSize, the value ofNextPageTokenin the response is non-null.
data ListPortfolios Source #
See: listPortfolios smart constructor.
Instances
Request Lenses
lpAcceptLanguage :: Lens' ListPortfolios (Maybe Text) Source #
The language code. * en - English (default) * jp - Japanese * zh - Chinese
lpPageToken :: Lens' ListPortfolios (Maybe Text) Source #
The page token of the first page retrieved. If null, this retrieves the first page of size PageSize .
lpPageSize :: Lens' ListPortfolios (Maybe Natural) Source #
The maximum number of items to return in the results. If more results exist than fit in the specified PageSize , the value of NextPageToken in the response is non-null.
Destructuring the Response
listPortfoliosResponse Source #
Arguments
| :: Int | |
| -> ListPortfoliosResponse |
Creates a value of ListPortfoliosResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lprsNextPageToken- The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.lprsPortfolioDetails- List of detailed portfolio information objects.lprsResponseStatus- -- | The response status code.
data ListPortfoliosResponse Source #
See: listPortfoliosResponse smart constructor.
Response Lenses
lprsNextPageToken :: Lens' ListPortfoliosResponse (Maybe Text) Source #
The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
lprsPortfolioDetails :: Lens' ListPortfoliosResponse [PortfolioDetail] Source #
List of detailed portfolio information objects.
lprsResponseStatus :: Lens' ListPortfoliosResponse Int Source #
- - | The response status code.