Copyright | (c) 2013-2021 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 |
Lists the constraints for the specified portfolio and product.
This operation returns paginated results.
Synopsis
- data ListConstraintsForPortfolio = ListConstraintsForPortfolio' {}
- newListConstraintsForPortfolio :: Text -> ListConstraintsForPortfolio
- listConstraintsForPortfolio_acceptLanguage :: Lens' ListConstraintsForPortfolio (Maybe Text)
- listConstraintsForPortfolio_pageToken :: Lens' ListConstraintsForPortfolio (Maybe Text)
- listConstraintsForPortfolio_pageSize :: Lens' ListConstraintsForPortfolio (Maybe Natural)
- listConstraintsForPortfolio_productId :: Lens' ListConstraintsForPortfolio (Maybe Text)
- listConstraintsForPortfolio_portfolioId :: Lens' ListConstraintsForPortfolio Text
- data ListConstraintsForPortfolioResponse = ListConstraintsForPortfolioResponse' {}
- newListConstraintsForPortfolioResponse :: Int -> ListConstraintsForPortfolioResponse
- listConstraintsForPortfolioResponse_nextPageToken :: Lens' ListConstraintsForPortfolioResponse (Maybe Text)
- listConstraintsForPortfolioResponse_constraintDetails :: Lens' ListConstraintsForPortfolioResponse (Maybe [ConstraintDetail])
- listConstraintsForPortfolioResponse_httpStatus :: Lens' ListConstraintsForPortfolioResponse Int
Creating a Request
data ListConstraintsForPortfolio Source #
See: newListConstraintsForPortfolio
smart constructor.
ListConstraintsForPortfolio' | |
|
Instances
newListConstraintsForPortfolio Source #
Create a value of ListConstraintsForPortfolio
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:acceptLanguage:ListConstraintsForPortfolio'
, listConstraintsForPortfolio_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:pageToken:ListConstraintsForPortfolio'
, listConstraintsForPortfolio_pageToken
- The page token for the next set of results. To retrieve the first set of
results, use null.
$sel:pageSize:ListConstraintsForPortfolio'
, listConstraintsForPortfolio_pageSize
- The maximum number of items to return with this call.
$sel:productId:ListConstraintsForPortfolio'
, listConstraintsForPortfolio_productId
- The product identifier.
$sel:portfolioId:ListConstraintsForPortfolio'
, listConstraintsForPortfolio_portfolioId
- The portfolio identifier.
Request Lenses
listConstraintsForPortfolio_acceptLanguage :: Lens' ListConstraintsForPortfolio (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
listConstraintsForPortfolio_pageToken :: Lens' ListConstraintsForPortfolio (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
listConstraintsForPortfolio_pageSize :: Lens' ListConstraintsForPortfolio (Maybe Natural) Source #
The maximum number of items to return with this call.
listConstraintsForPortfolio_productId :: Lens' ListConstraintsForPortfolio (Maybe Text) Source #
The product identifier.
listConstraintsForPortfolio_portfolioId :: Lens' ListConstraintsForPortfolio Text Source #
The portfolio identifier.
Destructuring the Response
data ListConstraintsForPortfolioResponse Source #
See: newListConstraintsForPortfolioResponse
smart constructor.
ListConstraintsForPortfolioResponse' | |
|
Instances
newListConstraintsForPortfolioResponse Source #
Create a value of ListConstraintsForPortfolioResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextPageToken:ListConstraintsForPortfolioResponse'
, listConstraintsForPortfolioResponse_nextPageToken
- The page token to use to retrieve the next set of results. If there are
no additional results, this value is null.
$sel:constraintDetails:ListConstraintsForPortfolioResponse'
, listConstraintsForPortfolioResponse_constraintDetails
- Information about the constraints.
$sel:httpStatus:ListConstraintsForPortfolioResponse'
, listConstraintsForPortfolioResponse_httpStatus
- The response's http status code.
Response Lenses
listConstraintsForPortfolioResponse_nextPageToken :: Lens' ListConstraintsForPortfolioResponse (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.
listConstraintsForPortfolioResponse_constraintDetails :: Lens' ListConstraintsForPortfolioResponse (Maybe [ConstraintDetail]) Source #
Information about the constraints.
listConstraintsForPortfolioResponse_httpStatus :: Lens' ListConstraintsForPortfolioResponse Int Source #
The response's http status code.