DataZone / Paginator / SearchListings
SearchListings#
- class DataZone.Paginator.SearchListings#
paginator = client.get_paginator('search_listings')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
DataZone.Client.search_listings()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( additionalAttributes=[ 'FORMS'|'TIME_SERIES_DATA_POINT_FORMS', ], domainIdentifier='string', filters={ 'and': [ {'... recursive ...'}, ], 'filter': { 'attribute': 'string', 'value': 'string' }, 'or': [ {'... recursive ...'}, ] }, searchIn=[ { 'attribute': 'string' }, ], searchText='string', sort={ 'attribute': 'string', 'order': 'ASCENDING'|'DESCENDING' }, PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
additionalAttributes (list) –
Specifies additional attributes for the search.
(string) –
domainIdentifier (string) –
[REQUIRED]
The identifier of the domain in which to search listings.
filters (dict) –
Specifies the filters for the search of listings.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
and
,filter
,or
.and (list) –
The ‘and’ search filter clause in Amazon DataZone.
(dict) –
A search filter clause in Amazon DataZone.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
and
,filter
,or
.
filter (dict) –
A search filter in Amazon DataZone.
attribute (string) – [REQUIRED]
A search filter attribute in Amazon DataZone.
value (string) – [REQUIRED]
A search filter value in Amazon DataZone.
or (list) –
The ‘or’ search filter clause in Amazon DataZone.
(dict) –
A search filter clause in Amazon DataZone.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
and
,filter
,or
.
searchIn (list) –
The details of the search.
(dict) –
The details of the search.
attribute (string) – [REQUIRED]
The search attribute.
searchText (string) – Specifies the text for which to search.
sort (dict) –
Specifies the way for sorting the search results.
attribute (string) – [REQUIRED]
The attribute detail of the way to sort search results.
order (string) –
The order detail of the wya to sort search results.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'assetListing': { 'additionalAttributes': { 'forms': 'string', 'latestTimeSeriesDataPointForms': [ { 'contentSummary': 'string', 'formName': 'string', 'id': 'string', 'timestamp': datetime(2015, 1, 1), 'typeIdentifier': 'string', 'typeRevision': 'string' }, ] }, 'createdAt': datetime(2015, 1, 1), 'description': 'string', 'entityId': 'string', 'entityRevision': 'string', 'entityType': 'string', 'glossaryTerms': [ { 'name': 'string', 'shortDescription': 'string' }, ], 'listingCreatedBy': 'string', 'listingId': 'string', 'listingRevision': 'string', 'listingUpdatedBy': 'string', 'name': 'string', 'owningProjectId': 'string' } }, ], 'totalMatchCount': 123, 'NextToken': 'string' }
Response Structure
(dict) –
items (list) –
The results of the
SearchListings
action.(dict) –
The details of the results of the
SearchListings
action.Note
This is a Tagged Union structure. Only one of the following top level keys will be set:
assetListing
. If a client receives an unknown member it will setSDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure ofSDK_UNKNOWN_MEMBER
is as follows:'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
assetListing (dict) –
The asset listing included in the results of the
SearchListings
action.additionalAttributes (dict) –
The additional attributes of an asset published in an Amazon DataZone catalog.
forms (string) –
The metadata forms that form additional attributes of the metadata asset.
latestTimeSeriesDataPointForms (list) –
The latest time series data points forms included in the additional attributes of an asset.
(dict) –
The summary of the time series data points form.
contentSummary (string) –
The content of the summary of the time series data points form.
formName (string) –
The name of the time series data points summary form.
id (string) –
The ID of the time series data points summary form.
timestamp (datetime) –
The timestamp of the time series data points summary form.
typeIdentifier (string) –
The type ID of the time series data points summary form.
typeRevision (string) –
The type revision of the time series data points summary form.
createdAt (datetime) –
The timestamp of when an asset published in an Amazon DataZone catalog was created.
description (string) –
The description of an asset published in an Amazon DataZone catalog.
entityId (string) –
The identifier of the inventory asset.
entityRevision (string) –
The revision of the inventory asset.
entityType (string) –
The type of the inventory asset.
glossaryTerms (list) –
Glossary terms attached to the inventory asset.
(dict) –
Details of a glossary term attached to the inventory asset.
name (string) –
The name of a glossary term attached to the inventory asset.
shortDescription (string) –
The shoft description of a glossary term attached to the inventory asset.
listingCreatedBy (string) –
The Amazon DataZone user who created the listing.
listingId (string) –
The identifier of the listing (asset published in Amazon DataZone catalog).
listingRevision (string) –
The revision of the listing (asset published in Amazon DataZone catalog).
listingUpdatedBy (string) –
The Amazon DataZone user who updated the listing.
name (string) –
The name of the inventory asset.
owningProjectId (string) –
The identifier of the project that owns the inventory asset.
totalMatchCount (integer) –
Total number of search results.
NextToken (string) –
A token to resume pagination.