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 |
Provides the list of entities of a given type.
Synopsis
- data ListEntities = ListEntities' {}
- newListEntities :: Text -> Text -> ListEntities
- listEntities_nextToken :: Lens' ListEntities (Maybe Text)
- listEntities_filterList :: Lens' ListEntities (Maybe (NonEmpty Filter))
- listEntities_sort :: Lens' ListEntities (Maybe Sort)
- listEntities_maxResults :: Lens' ListEntities (Maybe Natural)
- 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.
ListEntities' | |
|
Instances
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:nextToken:ListEntities'
, listEntities_nextToken
- The value of the next token, if it exists. Null if there are no more
results.
$sel:filterList:ListEntities'
, listEntities_filterList
- An array of filter objects. Each filter object contains two attributes,
filterName
and filterValues
.
$sel:sort:ListEntities'
, listEntities_sort
- An object that contains two attributes, SortBy
and SortOrder
.
$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.
$sel:catalog:ListEntities'
, listEntities_catalog
- The catalog related to the request. Fixed value: AWSMarketplace
$sel:entityType:ListEntities'
, listEntities_entityType
- The type of entities to retrieve.
Request Lenses
listEntities_nextToken :: Lens' ListEntities (Maybe Text) Source #
The value of the next token, if it exists. Null if there are no more results.
listEntities_filterList :: Lens' ListEntities (Maybe (NonEmpty Filter)) Source #
An array of filter objects. Each filter object contains two attributes,
filterName
and filterValues
.
listEntities_sort :: Lens' ListEntities (Maybe Sort) Source #
An object that contains two attributes, SortBy
and SortOrder
.
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_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.
ListEntitiesResponse' | |
|
Instances
newListEntitiesResponse Source #
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.
$sel:nextToken: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.