| 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.ListPortfoliosForProduct
Description
Lists all portfolios that the specified product is associated with.
- listPortfoliosForProduct :: Text -> ListPortfoliosForProduct
- data ListPortfoliosForProduct
- lisAcceptLanguage :: Lens' ListPortfoliosForProduct (Maybe Text)
- lisPageToken :: Lens' ListPortfoliosForProduct (Maybe Text)
- lisPageSize :: Lens' ListPortfoliosForProduct (Maybe Natural)
- lisProductId :: Lens' ListPortfoliosForProduct Text
- listPortfoliosForProductResponse :: Int -> ListPortfoliosForProductResponse
- data ListPortfoliosForProductResponse
- lpfprsNextPageToken :: Lens' ListPortfoliosForProductResponse (Maybe Text)
- lpfprsPortfolioDetails :: Lens' ListPortfoliosForProductResponse [PortfolioDetail]
- lpfprsResponseStatus :: Lens' ListPortfoliosForProductResponse Int
Creating a Request
listPortfoliosForProduct Source #
Arguments
| :: Text | |
| -> ListPortfoliosForProduct |
Creates a value of ListPortfoliosForProduct with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lisAcceptLanguage- The language code. *en- English (default) *jp- Japanese *zh- ChineselisPageToken- The page token of the first page retrieved. If null, this retrieves the first page of sizePageSize.lisPageSize- 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.lisProductId- The product identifier.
data ListPortfoliosForProduct Source #
See: listPortfoliosForProduct smart constructor.
Instances
Request Lenses
lisAcceptLanguage :: Lens' ListPortfoliosForProduct (Maybe Text) Source #
The language code. * en - English (default) * jp - Japanese * zh - Chinese
lisPageToken :: Lens' ListPortfoliosForProduct (Maybe Text) Source #
The page token of the first page retrieved. If null, this retrieves the first page of size PageSize .
lisPageSize :: Lens' ListPortfoliosForProduct (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.
lisProductId :: Lens' ListPortfoliosForProduct Text Source #
The product identifier.
Destructuring the Response
listPortfoliosForProductResponse Source #
Arguments
| :: Int | |
| -> ListPortfoliosForProductResponse |
Creates a value of ListPortfoliosForProductResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lpfprsNextPageToken- 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.lpfprsPortfolioDetails- List of detailed portfolio information objects.lpfprsResponseStatus- -- | The response status code.
data ListPortfoliosForProductResponse Source #
See: listPortfoliosForProductResponse smart constructor.
Instances
Response Lenses
lpfprsNextPageToken :: Lens' ListPortfoliosForProductResponse (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.
lpfprsPortfolioDetails :: Lens' ListPortfoliosForProductResponse [PortfolioDetail] Source #
List of detailed portfolio information objects.
lpfprsResponseStatus :: Lens' ListPortfoliosForProductResponse Int Source #
- - | The response status code.