Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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_pageSize :: Lens' ListConstraintsForPortfolio (Maybe Natural)
- listConstraintsForPortfolio_pageToken :: Lens' ListConstraintsForPortfolio (Maybe Text)
- listConstraintsForPortfolio_productId :: Lens' ListConstraintsForPortfolio (Maybe Text)
- listConstraintsForPortfolio_portfolioId :: Lens' ListConstraintsForPortfolio Text
- data ListConstraintsForPortfolioResponse = ListConstraintsForPortfolioResponse' {}
- newListConstraintsForPortfolioResponse :: Int -> ListConstraintsForPortfolioResponse
- listConstraintsForPortfolioResponse_constraintDetails :: Lens' ListConstraintsForPortfolioResponse (Maybe [ConstraintDetail])
- listConstraintsForPortfolioResponse_nextPageToken :: Lens' ListConstraintsForPortfolioResponse (Maybe Text)
- 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:pageSize:ListConstraintsForPortfolio'
, listConstraintsForPortfolio_pageSize
- The maximum number of items to return with this call.
$sel:pageToken:ListConstraintsForPortfolio'
, listConstraintsForPortfolio_pageToken
- The page token for the next set of results. To retrieve the first set of
results, use null.
ListConstraintsForPortfolio
, listConstraintsForPortfolio_productId
- The product identifier.
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_pageSize :: Lens' ListConstraintsForPortfolio (Maybe Natural) Source #
The maximum number of items to return with this call.
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_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:constraintDetails:ListConstraintsForPortfolioResponse'
, listConstraintsForPortfolioResponse_constraintDetails
- Information about the constraints.
$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:httpStatus:ListConstraintsForPortfolioResponse'
, listConstraintsForPortfolioResponse_httpStatus
- The response's http status code.
Response Lenses
listConstraintsForPortfolioResponse_constraintDetails :: Lens' ListConstraintsForPortfolioResponse (Maybe [ConstraintDetail]) Source #
Information about the constraints.
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_httpStatus :: Lens' ListConstraintsForPortfolioResponse Int Source #
The response's http status code.