Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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.
- 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 to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.lisPageToken
- 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 ofNextPageToken
in the response is non-null.lisProductId
- The product identifier.
data ListPortfoliosForProduct Source #
See: listPortfoliosForProduct
smart constructor.
Request Lenses
lisAcceptLanguage :: Lens' ListPortfoliosForProduct (Maybe Text) Source #
The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
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 #
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.
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.