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 |
Retrieves detailed constraint information for the specified portfolio and product.
- listConstraintsForPortfolio :: Text -> ListConstraintsForPortfolio
- data ListConstraintsForPortfolio
- lcfpAcceptLanguage :: Lens' ListConstraintsForPortfolio (Maybe Text)
- lcfpPageToken :: Lens' ListConstraintsForPortfolio (Maybe Text)
- lcfpPageSize :: Lens' ListConstraintsForPortfolio (Maybe Natural)
- lcfpProductId :: Lens' ListConstraintsForPortfolio (Maybe Text)
- lcfpPortfolioId :: Lens' ListConstraintsForPortfolio Text
- listConstraintsForPortfolioResponse :: Int -> ListConstraintsForPortfolioResponse
- data ListConstraintsForPortfolioResponse
- lcfprsNextPageToken :: Lens' ListConstraintsForPortfolioResponse (Maybe Text)
- lcfprsConstraintDetails :: Lens' ListConstraintsForPortfolioResponse [ConstraintDetail]
- lcfprsResponseStatus :: Lens' ListConstraintsForPortfolioResponse Int
Creating a Request
listConstraintsForPortfolio Source #
Creates a value of ListConstraintsForPortfolio
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcfpAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChineselcfpPageToken
- The page token of the first page retrieved. If null, this retrieves the first page of sizePageSize
.lcfpPageSize
- 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.lcfpProductId
- The product identifier.lcfpPortfolioId
- The portfolio identifier.
data ListConstraintsForPortfolio Source #
See: listConstraintsForPortfolio
smart constructor.
Request Lenses
lcfpAcceptLanguage :: Lens' ListConstraintsForPortfolio (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
lcfpPageToken :: Lens' ListConstraintsForPortfolio (Maybe Text) Source #
The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
lcfpPageSize :: Lens' ListConstraintsForPortfolio (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.
lcfpProductId :: Lens' ListConstraintsForPortfolio (Maybe Text) Source #
The product identifier.
lcfpPortfolioId :: Lens' ListConstraintsForPortfolio Text Source #
The portfolio identifier.
Destructuring the Response
listConstraintsForPortfolioResponse Source #
Creates a value of ListConstraintsForPortfolioResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcfprsNextPageToken
- 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.lcfprsConstraintDetails
- List of detailed constraint information objects.lcfprsResponseStatus
- -- | The response status code.
data ListConstraintsForPortfolioResponse Source #
See: listConstraintsForPortfolioResponse
smart constructor.
Response Lenses
lcfprsNextPageToken :: Lens' ListConstraintsForPortfolioResponse (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.
lcfprsConstraintDetails :: Lens' ListConstraintsForPortfolioResponse [ConstraintDetail] Source #
List of detailed constraint information objects.
lcfprsResponseStatus :: Lens' ListConstraintsForPortfolioResponse Int Source #
- - | The response status code.