| 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 |
Amazonka.MarketplaceCatalog.ListEntities
Description
Provides the list of entities of a given type.
Synopsis
- data ListEntities = ListEntities' {}
- newListEntities :: Text -> Text -> ListEntities
- listEntities_filterList :: Lens' ListEntities (Maybe (NonEmpty Filter))
- listEntities_maxResults :: Lens' ListEntities (Maybe Natural)
- listEntities_nextToken :: Lens' ListEntities (Maybe Text)
- listEntities_sort :: Lens' ListEntities (Maybe Sort)
- listEntities_catalog :: Lens' ListEntities Text
- listEntities_entityType :: Lens' ListEntities Text
- data ListEntitiesResponse = ListEntitiesResponse' {}
- newListEntitiesResponse :: Int -> ListEntitiesResponse
- listEntitiesResponse_entitySummaryList :: Lens' ListEntitiesResponse (Maybe [EntitySummary])
- listEntitiesResponse_nextToken :: Lens' ListEntitiesResponse (Maybe Text)
- listEntitiesResponse_httpStatus :: Lens' ListEntitiesResponse Int
Creating a Request
data ListEntities Source #
See: newListEntities smart constructor.
Constructors
| ListEntities' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> ListEntities |
Create a value of ListEntities 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:filterList:ListEntities', listEntities_filterList - An array of filter objects. Each filter object contains two attributes,
filterName and filterValues.
$sel:maxResults:ListEntities', listEntities_maxResults - Specifies the upper limit of the elements on a single page. If a value
isn't provided, the default value is 20.
ListEntities, listEntities_nextToken - The value of the next token, if it exists. Null if there are no more
results.
$sel:sort:ListEntities', listEntities_sort - An object that contains two attributes, SortBy and SortOrder.
$sel:catalog:ListEntities', listEntities_catalog - The catalog related to the request. Fixed value: AWSMarketplace
ListEntities, listEntities_entityType - The type of entities to retrieve.
Request Lenses
listEntities_filterList :: Lens' ListEntities (Maybe (NonEmpty Filter)) Source #
An array of filter objects. Each filter object contains two attributes,
filterName and filterValues.
listEntities_maxResults :: Lens' ListEntities (Maybe Natural) Source #
Specifies the upper limit of the elements on a single page. If a value isn't provided, the default value is 20.
listEntities_nextToken :: Lens' ListEntities (Maybe Text) Source #
The value of the next token, if it exists. Null if there are no more results.
listEntities_sort :: Lens' ListEntities (Maybe Sort) Source #
An object that contains two attributes, SortBy and SortOrder.
listEntities_catalog :: Lens' ListEntities Text Source #
The catalog related to the request. Fixed value: AWSMarketplace
listEntities_entityType :: Lens' ListEntities Text Source #
The type of entities to retrieve.
Destructuring the Response
data ListEntitiesResponse Source #
See: newListEntitiesResponse smart constructor.
Constructors
| ListEntitiesResponse' | |
Fields
| |
Instances
newListEntitiesResponse Source #
Arguments
| :: Int | |
| -> ListEntitiesResponse |
Create a value of ListEntitiesResponse 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:entitySummaryList:ListEntitiesResponse', listEntitiesResponse_entitySummaryList - Array of EntitySummary object.
ListEntities, listEntitiesResponse_nextToken - The value of the next token if it exists. Null if there is no more
result.
$sel:httpStatus:ListEntitiesResponse', listEntitiesResponse_httpStatus - The response's http status code.
Response Lenses
listEntitiesResponse_entitySummaryList :: Lens' ListEntitiesResponse (Maybe [EntitySummary]) Source #
Array of EntitySummary object.
listEntitiesResponse_nextToken :: Lens' ListEntitiesResponse (Maybe Text) Source #
The value of the next token if it exists. Null if there is no more result.
listEntitiesResponse_httpStatus :: Lens' ListEntitiesResponse Int Source #
The response's http status code.