HomeDocumentationCode SamplesAPI ReferenceAnnouncementsModelsRelease NotesFAQGitHubVideos
Developer HubAPI StatusSupport
API Reference
Developer HubAPI StatusSupport

getQueries

Returns details for the Data Kiosk queries that match the specified filters. See the createQuery operation for details about query retention.

Usage Plan:

Rate (requests per second)Burst
0.022210

The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

Query Params
processingStatuses
array of strings
length ≥ 1

A list of processing statuses used to filter queries.

Show Details
CANCELLEDThe query was cancelled before it began processing.
DONEThe query has completed processing.
FATALThe query was aborted due to a fatal error.
IN_PROGRESSThe query is being processed.
IN_QUEUEThe query has not yet started processing. It may be waiting for another `IN_PROGRESS` query.
processingStatuses
integer
1 to 100
Defaults to 10

The maximum number of queries to return in a single call.

date-time

The earliest query creation date and time for queries to include in the response, in ISO 8601 date time format. The default is 90 days ago.

date-time

The latest query creation date and time for queries to include in the response, in ISO 8601 date time format. The default is the time of the getQueries request.

string

A token to fetch a certain page of results when there are multiple pages of results available. The value of this token is fetched from the pagination.nextToken field returned in the GetQueriesResponse object. All other parameters must be provided with the same values that were provided with the request that generated this token, with the exception of pageSize which can be modified between calls to getQueries. In the absence of this token value, getQueries returns the first page of results.

Responses

Response body
object
queries
array of objects
required

A list of queries.

queries*
object
string
required

The query identifier. This identifier is unique only in combination with a selling partner account ID.

string
required

The submitted query.

date-time
required

The date and time when the query was created, in ISO 8601 date time format.

string
required

The processing status of the query.

CANCELLED DONE FATAL IN_PROGRESS IN_QUEUE

Show Details
CANCELLEDThe query was cancelled before it began processing.
DONEThe query has completed processing.
FATALThe query was aborted due to a fatal error.
IN_PROGRESSThe query is being processed.
IN_QUEUEThe query has not yet started processing. It may be waiting for another `IN_PROGRESS` query.
date-time

The date and time when the query processing started, in ISO 8601 date time format.

date-time

The date and time when the query processing completed, in ISO 8601 date time format.

string

The data document identifier. This identifier is only present when there is data available as a result of the query. This identifier is unique only in combination with a selling partner account ID. Pass this identifier into the getDocument operation to get the information required to retrieve the data document's contents.

string

The error document identifier. This identifier is only present when an error occurs during query processing. This identifier is unique only in combination with a selling partner account ID. Pass this identifier into the getDocument operation to get the information required to retrieve the error document's contents.

pagination
object

When a query produces results that are not included in the data document, pagination occurs. This means the results are divided into pages. To retrieve the next page, you must pass a CreateQuerySpecification object with paginationToken set to this object's nextToken and with query set to this object's query in the subsequent createQuery request. When there are no more pages to fetch, the nextToken field will be absent.

pagination
object

When a request has results that are not included in this response, pagination occurs. This means the results are divided into pages. To retrieve the next page, you must pass the nextToken as the paginationToken query parameter in the subsequent getQueries request. All other parameters must be provided with the same values that were provided with the request that generated this token, with the exception of pageSize which can be modified between calls to getQueries. When there are no more pages to fetch, the nextToken field will be absent.

string

A token that can be used to fetch the next page of results.

Headers
object
string

Your rate limit (requests per second) for this operation.

string

Unique request reference identifier.

Language