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 items in the catalog.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
Synopsis
- data ListCatalogItems = ListCatalogItems' {}
- newListCatalogItems :: ListCatalogItems
- listCatalogItems_eC2FamilyFilter :: Lens' ListCatalogItems (Maybe [Text])
- listCatalogItems_itemClassFilter :: Lens' ListCatalogItems (Maybe [CatalogItemClass])
- listCatalogItems_maxResults :: Lens' ListCatalogItems (Maybe Natural)
- listCatalogItems_nextToken :: Lens' ListCatalogItems (Maybe Text)
- listCatalogItems_supportedStorageFilter :: Lens' ListCatalogItems (Maybe [SupportedStorageEnum])
- data ListCatalogItemsResponse = ListCatalogItemsResponse' {
- catalogItems :: Maybe [CatalogItem]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListCatalogItemsResponse :: Int -> ListCatalogItemsResponse
- listCatalogItemsResponse_catalogItems :: Lens' ListCatalogItemsResponse (Maybe [CatalogItem])
- listCatalogItemsResponse_nextToken :: Lens' ListCatalogItemsResponse (Maybe Text)
- listCatalogItemsResponse_httpStatus :: Lens' ListCatalogItemsResponse Int
Creating a Request
data ListCatalogItems Source #
See: newListCatalogItems
smart constructor.
ListCatalogItems' | |
|
Instances
newListCatalogItems :: ListCatalogItems Source #
Create a value of ListCatalogItems
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:eC2FamilyFilter:ListCatalogItems'
, listCatalogItems_eC2FamilyFilter
- Filters the results by EC2 family (for example, M5).
$sel:itemClassFilter:ListCatalogItems'
, listCatalogItems_itemClassFilter
- Filters the results by item class.
$sel:maxResults:ListCatalogItems'
, listCatalogItems_maxResults
- Undocumented member.
ListCatalogItems
, listCatalogItems_nextToken
- Undocumented member.
$sel:supportedStorageFilter:ListCatalogItems'
, listCatalogItems_supportedStorageFilter
- Filters the results by storage option.
Request Lenses
listCatalogItems_eC2FamilyFilter :: Lens' ListCatalogItems (Maybe [Text]) Source #
Filters the results by EC2 family (for example, M5).
listCatalogItems_itemClassFilter :: Lens' ListCatalogItems (Maybe [CatalogItemClass]) Source #
Filters the results by item class.
listCatalogItems_maxResults :: Lens' ListCatalogItems (Maybe Natural) Source #
Undocumented member.
listCatalogItems_nextToken :: Lens' ListCatalogItems (Maybe Text) Source #
Undocumented member.
listCatalogItems_supportedStorageFilter :: Lens' ListCatalogItems (Maybe [SupportedStorageEnum]) Source #
Filters the results by storage option.
Destructuring the Response
data ListCatalogItemsResponse Source #
See: newListCatalogItemsResponse
smart constructor.
ListCatalogItemsResponse' | |
|
Instances
newListCatalogItemsResponse Source #
Create a value of ListCatalogItemsResponse
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:catalogItems:ListCatalogItemsResponse'
, listCatalogItemsResponse_catalogItems
- Information about the catalog items.
ListCatalogItems
, listCatalogItemsResponse_nextToken
- Undocumented member.
$sel:httpStatus:ListCatalogItemsResponse'
, listCatalogItemsResponse_httpStatus
- The response's http status code.
Response Lenses
listCatalogItemsResponse_catalogItems :: Lens' ListCatalogItemsResponse (Maybe [CatalogItem]) Source #
Information about the catalog items.
listCatalogItemsResponse_nextToken :: Lens' ListCatalogItemsResponse (Maybe Text) Source #
Undocumented member.
listCatalogItemsResponse_httpStatus :: Lens' ListCatalogItemsResponse Int Source #
The response's http status code.