Copyright | (c) 2013-2018 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 |
Lists all portfolios that the specified product is associated with.
This operation returns paginated results.
- 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 #
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 for the next set of results. To retrieve the first set of results, use null.lisPageSize
- The maximum number of items to return with this call.lisProductId
- The product identifier.
data ListPortfoliosForProduct Source #
See: listPortfoliosForProduct
smart constructor.
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 for the next set of results. To retrieve the first set of results, use null.
lisPageSize :: Lens' ListPortfoliosForProduct (Maybe Natural) Source #
The maximum number of items to return with this call.
lisProductId :: Lens' ListPortfoliosForProduct Text Source #
The product identifier.
Destructuring the Response
listPortfoliosForProductResponse Source #
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 set of results. If there are no additional results, this value is null.lpfprsPortfolioDetails
- Information about the portfolios.lpfprsResponseStatus
- -- | The response status code.
data ListPortfoliosForProductResponse Source #
See: listPortfoliosForProductResponse
smart constructor.
Response Lenses
lpfprsNextPageToken :: Lens' ListPortfoliosForProductResponse (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.
lpfprsPortfolioDetails :: Lens' ListPortfoliosForProductResponse [PortfolioDetail] Source #
Information about the portfolios.
lpfprsResponseStatus :: Lens' ListPortfoliosForProductResponse Int Source #
- - | The response status code.