@sp-api-sdk/data-kiosk-api-2023-11-15 3.0.17 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -8
- package/dist/index.cjs +603 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +590 -0
- package/dist/index.d.ts +590 -0
- package/dist/index.js +572 -0
- package/dist/index.js.map +1 -0
- package/package.json +26 -12
- package/dist/cjs/api-model/api/data-kiosk-api.js +0 -384
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/create-query-response.js +0 -15
- package/dist/cjs/api-model/models/create-query-specification.js +0 -15
- package/dist/cjs/api-model/models/error-list.js +0 -15
- package/dist/cjs/api-model/models/get-document-response.js +0 -15
- package/dist/cjs/api-model/models/get-queries-response-pagination.js +0 -15
- package/dist/cjs/api-model/models/get-queries-response.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -25
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/query-pagination.js +0 -15
- package/dist/cjs/api-model/models/query.js +0 -23
- package/dist/cjs/client.js +0 -49
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/data-kiosk-api.js +0 -374
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/create-query-response.js +0 -14
- package/dist/es/api-model/models/create-query-specification.js +0 -14
- package/dist/es/api-model/models/error-list.js +0 -14
- package/dist/es/api-model/models/get-document-response.js +0 -14
- package/dist/es/api-model/models/get-queries-response-pagination.js +0 -14
- package/dist/es/api-model/models/get-queries-response.js +0 -14
- package/dist/es/api-model/models/index.js +0 -9
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/query-pagination.js +0 -14
- package/dist/es/api-model/models/query.js +0 -20
- package/dist/es/client.js +0 -45
- package/dist/es/index.js +0 -3
- package/dist/types/api-model/api/data-kiosk-api.d.ts +0 -257
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/create-query-response.d.ts +0 -20
- package/dist/types/api-model/models/create-query-specification.d.ts +0 -24
- package/dist/types/api-model/models/error-list.d.ts +0 -20
- package/dist/types/api-model/models/get-document-response.d.ts +0 -24
- package/dist/types/api-model/models/get-queries-response-pagination.d.ts +0 -20
- package/dist/types/api-model/models/get-queries-response.d.ts +0 -23
- package/dist/types/api-model/models/index.d.ts +0 -9
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/query-pagination.d.ts +0 -20
- package/dist/types/api-model/models/query.d.ts +0 -58
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/**
|
|
3
|
-
* Selling Partner API for Data Kiosk
|
|
4
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
export class Configuration {
|
|
14
|
-
/**
|
|
15
|
-
* parameter for apiKey security
|
|
16
|
-
* @param name security name
|
|
17
|
-
*/
|
|
18
|
-
apiKey;
|
|
19
|
-
/**
|
|
20
|
-
* parameter for basic security
|
|
21
|
-
*/
|
|
22
|
-
username;
|
|
23
|
-
/**
|
|
24
|
-
* parameter for basic security
|
|
25
|
-
*/
|
|
26
|
-
password;
|
|
27
|
-
/**
|
|
28
|
-
* parameter for oauth2 security
|
|
29
|
-
* @param name security name
|
|
30
|
-
* @param scopes oauth2 scope
|
|
31
|
-
*/
|
|
32
|
-
accessToken;
|
|
33
|
-
/**
|
|
34
|
-
* parameter for aws4 signature security
|
|
35
|
-
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
36
|
-
* @param {string} options.region - aws region
|
|
37
|
-
* @param {string} options.service - name of the service.
|
|
38
|
-
* @param {string} credentials.accessKeyId - aws access key id
|
|
39
|
-
* @param {string} credentials.secretAccessKey - aws access key
|
|
40
|
-
* @param {string} credentials.sessionToken - aws session token
|
|
41
|
-
* @memberof Configuration
|
|
42
|
-
*/
|
|
43
|
-
awsv4;
|
|
44
|
-
/**
|
|
45
|
-
* override base path
|
|
46
|
-
*/
|
|
47
|
-
basePath;
|
|
48
|
-
/**
|
|
49
|
-
* override server index
|
|
50
|
-
*/
|
|
51
|
-
serverIndex;
|
|
52
|
-
/**
|
|
53
|
-
* base options for axios calls
|
|
54
|
-
*/
|
|
55
|
-
baseOptions;
|
|
56
|
-
/**
|
|
57
|
-
* The FormData constructor that will be used to create multipart form data
|
|
58
|
-
* requests. You can inject this here so that execution environments that
|
|
59
|
-
* do not support the FormData class can still run the generated client.
|
|
60
|
-
*
|
|
61
|
-
* @type {new () => FormData}
|
|
62
|
-
*/
|
|
63
|
-
formDataCtor;
|
|
64
|
-
constructor(param = {}) {
|
|
65
|
-
this.apiKey = param.apiKey;
|
|
66
|
-
this.username = param.username;
|
|
67
|
-
this.password = param.password;
|
|
68
|
-
this.accessToken = param.accessToken;
|
|
69
|
-
this.awsv4 = param.awsv4;
|
|
70
|
-
this.basePath = param.basePath;
|
|
71
|
-
this.serverIndex = param.serverIndex;
|
|
72
|
-
this.baseOptions = {
|
|
73
|
-
...param.baseOptions,
|
|
74
|
-
headers: {
|
|
75
|
-
...param.baseOptions?.headers,
|
|
76
|
-
},
|
|
77
|
-
};
|
|
78
|
-
this.formDataCtor = param.formDataCtor;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Check if the given MIME is a JSON MIME.
|
|
82
|
-
* JSON MIME examples:
|
|
83
|
-
* application/json
|
|
84
|
-
* application/json; charset=UTF8
|
|
85
|
-
* APPLICATION/JSON
|
|
86
|
-
* application/vnd.company+json
|
|
87
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
88
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
89
|
-
*/
|
|
90
|
-
isJsonMime(mime) {
|
|
91
|
-
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
92
|
-
return mime !== null && jsonMime.test(mime);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export * from "./api";
|
|
15
|
-
export * from "./configuration";
|
|
16
|
-
export * from "./models";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './create-query-response';
|
|
2
|
-
export * from './create-query-specification';
|
|
3
|
-
export * from './error-list';
|
|
4
|
-
export * from './get-document-response';
|
|
5
|
-
export * from './get-queries-response';
|
|
6
|
-
export * from './get-queries-response-pagination';
|
|
7
|
-
export * from './model-error';
|
|
8
|
-
export * from './query';
|
|
9
|
-
export * from './query-pagination';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for Data Kiosk
|
|
5
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export const QueryProcessingStatusEnum = {
|
|
15
|
-
Cancelled: 'CANCELLED',
|
|
16
|
-
Done: 'DONE',
|
|
17
|
-
Fatal: 'FATAL',
|
|
18
|
-
InProgress: 'IN_PROGRESS',
|
|
19
|
-
InQueue: 'IN_QUEUE',
|
|
20
|
-
};
|
package/dist/es/client.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { createAxiosInstance } from '@sp-api-sdk/common';
|
|
2
|
-
import { Configuration, DataKioskApi } from './api-model';
|
|
3
|
-
export const clientRateLimits = [
|
|
4
|
-
{
|
|
5
|
-
method: 'get',
|
|
6
|
-
// eslint-disable-next-line prefer-regex-literals
|
|
7
|
-
urlRegex: new RegExp('^/dataKiosk/2023-11-15/queries$'),
|
|
8
|
-
rate: 0.0222,
|
|
9
|
-
burst: 10,
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
method: 'post',
|
|
13
|
-
// eslint-disable-next-line prefer-regex-literals
|
|
14
|
-
urlRegex: new RegExp('^/dataKiosk/2023-11-15/queries$'),
|
|
15
|
-
rate: 0.0167,
|
|
16
|
-
burst: 15,
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
method: 'delete',
|
|
20
|
-
// eslint-disable-next-line prefer-regex-literals
|
|
21
|
-
urlRegex: new RegExp('^/dataKiosk/2023-11-15/queries/[^/]*$'),
|
|
22
|
-
rate: 0.0222,
|
|
23
|
-
burst: 10,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
method: 'get',
|
|
27
|
-
// eslint-disable-next-line prefer-regex-literals
|
|
28
|
-
urlRegex: new RegExp('^/dataKiosk/2023-11-15/queries/[^/]*$'),
|
|
29
|
-
rate: 2,
|
|
30
|
-
burst: 15,
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
method: 'get',
|
|
34
|
-
// eslint-disable-next-line prefer-regex-literals
|
|
35
|
-
urlRegex: new RegExp('^/dataKiosk/2023-11-15/documents/[^/]*$'),
|
|
36
|
-
rate: 0.0167,
|
|
37
|
-
burst: 15,
|
|
38
|
-
},
|
|
39
|
-
];
|
|
40
|
-
export class DataKioskApiClient extends DataKioskApi {
|
|
41
|
-
constructor(configuration) {
|
|
42
|
-
const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
|
|
43
|
-
super(new Configuration(), endpoint, axios);
|
|
44
|
-
}
|
|
45
|
-
}
|
package/dist/es/index.js
DELETED
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Data Kiosk
|
|
3
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Configuration } from '../configuration';
|
|
13
|
-
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
-
import globalAxios from 'axios';
|
|
15
|
-
import { type RequestArgs, BaseAPI } from '../base';
|
|
16
|
-
import type { CreateQueryResponse } from '../models';
|
|
17
|
-
import type { CreateQuerySpecification } from '../models';
|
|
18
|
-
import type { GetDocumentResponse } from '../models';
|
|
19
|
-
import type { GetQueriesResponse } from '../models';
|
|
20
|
-
import type { Query } from '../models';
|
|
21
|
-
/**
|
|
22
|
-
* DataKioskApi - axios parameter creator
|
|
23
|
-
*/
|
|
24
|
-
export declare const DataKioskApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
-
/**
|
|
26
|
-
* Cancels the query specified by the `queryId` parameter. Only queries with a non-terminal `processingStatus` (`IN_QUEUE`, `IN_PROGRESS`) can be cancelled. Cancelling a query that already has a `processingStatus` of `CANCELLED` will no-op. Cancelled queries are returned in subsequent calls to the `getQuery` and `getQueries` operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
27
|
-
* @param {string} queryId The identifier for the query. This identifier is unique only in combination with a selling partner account ID.
|
|
28
|
-
* @param {*} [options] Override http request option.
|
|
29
|
-
* @throws {RequiredError}
|
|
30
|
-
*/
|
|
31
|
-
cancelQuery: (queryId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
-
/**
|
|
33
|
-
* Creates a Data Kiosk query request. **Note:** The retention of a query varies based on the fields requested. Each field within a schema is annotated with a `@resultRetention` directive that defines how long a query containing that field will be retained. When a query contains multiple fields with different retentions, the shortest (minimum) retention is applied. The retention of a query\'s resulting documents always matches the retention of the query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
34
|
-
* @param {CreateQuerySpecification} body The body of the request.
|
|
35
|
-
* @param {*} [options] Override http request option.
|
|
36
|
-
* @throws {RequiredError}
|
|
37
|
-
*/
|
|
38
|
-
createQuery: (body: CreateQuerySpecification, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
|
-
/**
|
|
40
|
-
* Returns the information required for retrieving a Data Kiosk document\'s contents. See the `createQuery` operation for details about document retention. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
41
|
-
* @param {string} documentId The identifier for the Data Kiosk document.
|
|
42
|
-
* @param {*} [options] Override http request option.
|
|
43
|
-
* @throws {RequiredError}
|
|
44
|
-
*/
|
|
45
|
-
getDocument: (documentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
-
/**
|
|
47
|
-
* 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.0222 | 10 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
48
|
-
* @param {Array<GetQueriesProcessingStatusesEnum>} [processingStatuses] A list of processing statuses used to filter queries.
|
|
49
|
-
* @param {number} [pageSize] The maximum number of queries to return in a single call.
|
|
50
|
-
* @param {string} [createdSince] 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.
|
|
51
|
-
* @param {string} [createdUntil] 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.
|
|
52
|
-
* @param {string} [paginationToken] 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.
|
|
53
|
-
* @param {*} [options] Override http request option.
|
|
54
|
-
* @throws {RequiredError}
|
|
55
|
-
*/
|
|
56
|
-
getQueries: (processingStatuses?: Array<GetQueriesProcessingStatusesEnum>, pageSize?: number, createdSince?: string, createdUntil?: string, paginationToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
|
-
/**
|
|
58
|
-
* Returns query details for the query specified by the `queryId` parameter. See the `createQuery` operation for details about query retention. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2.0 | 15 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
59
|
-
* @param {string} queryId The query identifier.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
getQuery: (queryId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* DataKioskApi - functional programming interface
|
|
67
|
-
*/
|
|
68
|
-
export declare const DataKioskApiFp: (configuration?: Configuration) => {
|
|
69
|
-
/**
|
|
70
|
-
* Cancels the query specified by the `queryId` parameter. Only queries with a non-terminal `processingStatus` (`IN_QUEUE`, `IN_PROGRESS`) can be cancelled. Cancelling a query that already has a `processingStatus` of `CANCELLED` will no-op. Cancelled queries are returned in subsequent calls to the `getQuery` and `getQueries` operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
71
|
-
* @param {string} queryId The identifier for the query. This identifier is unique only in combination with a selling partner account ID.
|
|
72
|
-
* @param {*} [options] Override http request option.
|
|
73
|
-
* @throws {RequiredError}
|
|
74
|
-
*/
|
|
75
|
-
cancelQuery(queryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
76
|
-
/**
|
|
77
|
-
* Creates a Data Kiosk query request. **Note:** The retention of a query varies based on the fields requested. Each field within a schema is annotated with a `@resultRetention` directive that defines how long a query containing that field will be retained. When a query contains multiple fields with different retentions, the shortest (minimum) retention is applied. The retention of a query\'s resulting documents always matches the retention of the query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
78
|
-
* @param {CreateQuerySpecification} body The body of the request.
|
|
79
|
-
* @param {*} [options] Override http request option.
|
|
80
|
-
* @throws {RequiredError}
|
|
81
|
-
*/
|
|
82
|
-
createQuery(body: CreateQuerySpecification, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateQueryResponse>>;
|
|
83
|
-
/**
|
|
84
|
-
* Returns the information required for retrieving a Data Kiosk document\'s contents. See the `createQuery` operation for details about document retention. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
85
|
-
* @param {string} documentId The identifier for the Data Kiosk document.
|
|
86
|
-
* @param {*} [options] Override http request option.
|
|
87
|
-
* @throws {RequiredError}
|
|
88
|
-
*/
|
|
89
|
-
getDocument(documentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDocumentResponse>>;
|
|
90
|
-
/**
|
|
91
|
-
* 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.0222 | 10 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
92
|
-
* @param {Array<GetQueriesProcessingStatusesEnum>} [processingStatuses] A list of processing statuses used to filter queries.
|
|
93
|
-
* @param {number} [pageSize] The maximum number of queries to return in a single call.
|
|
94
|
-
* @param {string} [createdSince] 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.
|
|
95
|
-
* @param {string} [createdUntil] 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.
|
|
96
|
-
* @param {string} [paginationToken] 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.
|
|
97
|
-
* @param {*} [options] Override http request option.
|
|
98
|
-
* @throws {RequiredError}
|
|
99
|
-
*/
|
|
100
|
-
getQueries(processingStatuses?: Array<GetQueriesProcessingStatusesEnum>, pageSize?: number, createdSince?: string, createdUntil?: string, paginationToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetQueriesResponse>>;
|
|
101
|
-
/**
|
|
102
|
-
* Returns query details for the query specified by the `queryId` parameter. See the `createQuery` operation for details about query retention. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2.0 | 15 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
103
|
-
* @param {string} queryId The query identifier.
|
|
104
|
-
* @param {*} [options] Override http request option.
|
|
105
|
-
* @throws {RequiredError}
|
|
106
|
-
*/
|
|
107
|
-
getQuery(queryId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Query>>;
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* DataKioskApi - factory interface
|
|
111
|
-
*/
|
|
112
|
-
export declare const DataKioskApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
113
|
-
/**
|
|
114
|
-
* Cancels the query specified by the `queryId` parameter. Only queries with a non-terminal `processingStatus` (`IN_QUEUE`, `IN_PROGRESS`) can be cancelled. Cancelling a query that already has a `processingStatus` of `CANCELLED` will no-op. Cancelled queries are returned in subsequent calls to the `getQuery` and `getQueries` operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
115
|
-
* @param {DataKioskApiCancelQueryRequest} requestParameters Request parameters.
|
|
116
|
-
* @param {*} [options] Override http request option.
|
|
117
|
-
* @throws {RequiredError}
|
|
118
|
-
*/
|
|
119
|
-
cancelQuery(requestParameters: DataKioskApiCancelQueryRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
120
|
-
/**
|
|
121
|
-
* Creates a Data Kiosk query request. **Note:** The retention of a query varies based on the fields requested. Each field within a schema is annotated with a `@resultRetention` directive that defines how long a query containing that field will be retained. When a query contains multiple fields with different retentions, the shortest (minimum) retention is applied. The retention of a query\'s resulting documents always matches the retention of the query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
122
|
-
* @param {DataKioskApiCreateQueryRequest} requestParameters Request parameters.
|
|
123
|
-
* @param {*} [options] Override http request option.
|
|
124
|
-
* @throws {RequiredError}
|
|
125
|
-
*/
|
|
126
|
-
createQuery(requestParameters: DataKioskApiCreateQueryRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateQueryResponse>;
|
|
127
|
-
/**
|
|
128
|
-
* Returns the information required for retrieving a Data Kiosk document\'s contents. See the `createQuery` operation for details about document retention. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
129
|
-
* @param {DataKioskApiGetDocumentRequest} requestParameters Request parameters.
|
|
130
|
-
* @param {*} [options] Override http request option.
|
|
131
|
-
* @throws {RequiredError}
|
|
132
|
-
*/
|
|
133
|
-
getDocument(requestParameters: DataKioskApiGetDocumentRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDocumentResponse>;
|
|
134
|
-
/**
|
|
135
|
-
* 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.0222 | 10 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
136
|
-
* @param {DataKioskApiGetQueriesRequest} requestParameters Request parameters.
|
|
137
|
-
* @param {*} [options] Override http request option.
|
|
138
|
-
* @throws {RequiredError}
|
|
139
|
-
*/
|
|
140
|
-
getQueries(requestParameters?: DataKioskApiGetQueriesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetQueriesResponse>;
|
|
141
|
-
/**
|
|
142
|
-
* Returns query details for the query specified by the `queryId` parameter. See the `createQuery` operation for details about query retention. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2.0 | 15 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
143
|
-
* @param {DataKioskApiGetQueryRequest} requestParameters Request parameters.
|
|
144
|
-
* @param {*} [options] Override http request option.
|
|
145
|
-
* @throws {RequiredError}
|
|
146
|
-
*/
|
|
147
|
-
getQuery(requestParameters: DataKioskApiGetQueryRequest, options?: RawAxiosRequestConfig): AxiosPromise<Query>;
|
|
148
|
-
};
|
|
149
|
-
/**
|
|
150
|
-
* Request parameters for cancelQuery operation in DataKioskApi.
|
|
151
|
-
*/
|
|
152
|
-
export interface DataKioskApiCancelQueryRequest {
|
|
153
|
-
/**
|
|
154
|
-
* The identifier for the query. This identifier is unique only in combination with a selling partner account ID.
|
|
155
|
-
*/
|
|
156
|
-
readonly queryId: string;
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* Request parameters for createQuery operation in DataKioskApi.
|
|
160
|
-
*/
|
|
161
|
-
export interface DataKioskApiCreateQueryRequest {
|
|
162
|
-
/**
|
|
163
|
-
* The body of the request.
|
|
164
|
-
*/
|
|
165
|
-
readonly body: CreateQuerySpecification;
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* Request parameters for getDocument operation in DataKioskApi.
|
|
169
|
-
*/
|
|
170
|
-
export interface DataKioskApiGetDocumentRequest {
|
|
171
|
-
/**
|
|
172
|
-
* The identifier for the Data Kiosk document.
|
|
173
|
-
*/
|
|
174
|
-
readonly documentId: string;
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
* Request parameters for getQueries operation in DataKioskApi.
|
|
178
|
-
*/
|
|
179
|
-
export interface DataKioskApiGetQueriesRequest {
|
|
180
|
-
/**
|
|
181
|
-
* A list of processing statuses used to filter queries.
|
|
182
|
-
*/
|
|
183
|
-
readonly processingStatuses?: Array<GetQueriesProcessingStatusesEnum>;
|
|
184
|
-
/**
|
|
185
|
-
* The maximum number of queries to return in a single call.
|
|
186
|
-
*/
|
|
187
|
-
readonly pageSize?: number;
|
|
188
|
-
/**
|
|
189
|
-
* 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.
|
|
190
|
-
*/
|
|
191
|
-
readonly createdSince?: string;
|
|
192
|
-
/**
|
|
193
|
-
* 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.
|
|
194
|
-
*/
|
|
195
|
-
readonly createdUntil?: string;
|
|
196
|
-
/**
|
|
197
|
-
* 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.
|
|
198
|
-
*/
|
|
199
|
-
readonly paginationToken?: string;
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* Request parameters for getQuery operation in DataKioskApi.
|
|
203
|
-
*/
|
|
204
|
-
export interface DataKioskApiGetQueryRequest {
|
|
205
|
-
/**
|
|
206
|
-
* The query identifier.
|
|
207
|
-
*/
|
|
208
|
-
readonly queryId: string;
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* DataKioskApi - object-oriented interface
|
|
212
|
-
*/
|
|
213
|
-
export declare class DataKioskApi extends BaseAPI {
|
|
214
|
-
/**
|
|
215
|
-
* Cancels the query specified by the `queryId` parameter. Only queries with a non-terminal `processingStatus` (`IN_QUEUE`, `IN_PROGRESS`) can be cancelled. Cancelling a query that already has a `processingStatus` of `CANCELLED` will no-op. Cancelled queries are returned in subsequent calls to the `getQuery` and `getQueries` operations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0222 | 10 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
216
|
-
* @param {DataKioskApiCancelQueryRequest} requestParameters Request parameters.
|
|
217
|
-
* @param {*} [options] Override http request option.
|
|
218
|
-
* @throws {RequiredError}
|
|
219
|
-
*/
|
|
220
|
-
cancelQuery(requestParameters: DataKioskApiCancelQueryRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
|
|
221
|
-
/**
|
|
222
|
-
* Creates a Data Kiosk query request. **Note:** The retention of a query varies based on the fields requested. Each field within a schema is annotated with a `@resultRetention` directive that defines how long a query containing that field will be retained. When a query contains multiple fields with different retentions, the shortest (minimum) retention is applied. The retention of a query\'s resulting documents always matches the retention of the query. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
223
|
-
* @param {DataKioskApiCreateQueryRequest} requestParameters Request parameters.
|
|
224
|
-
* @param {*} [options] Override http request option.
|
|
225
|
-
* @throws {RequiredError}
|
|
226
|
-
*/
|
|
227
|
-
createQuery(requestParameters: DataKioskApiCreateQueryRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateQueryResponse, any, {}>>;
|
|
228
|
-
/**
|
|
229
|
-
* Returns the information required for retrieving a Data Kiosk document\'s contents. See the `createQuery` operation for details about document retention. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 15 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
230
|
-
* @param {DataKioskApiGetDocumentRequest} requestParameters Request parameters.
|
|
231
|
-
* @param {*} [options] Override http request option.
|
|
232
|
-
* @throws {RequiredError}
|
|
233
|
-
*/
|
|
234
|
-
getDocument(requestParameters: DataKioskApiGetDocumentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetDocumentResponse, any, {}>>;
|
|
235
|
-
/**
|
|
236
|
-
* 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.0222 | 10 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
237
|
-
* @param {DataKioskApiGetQueriesRequest} requestParameters Request parameters.
|
|
238
|
-
* @param {*} [options] Override http request option.
|
|
239
|
-
* @throws {RequiredError}
|
|
240
|
-
*/
|
|
241
|
-
getQueries(requestParameters?: DataKioskApiGetQueriesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetQueriesResponse, any, {}>>;
|
|
242
|
-
/**
|
|
243
|
-
* Returns query details for the query specified by the `queryId` parameter. See the `createQuery` operation for details about query retention. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2.0 | 15 | 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
244
|
-
* @param {DataKioskApiGetQueryRequest} requestParameters Request parameters.
|
|
245
|
-
* @param {*} [options] Override http request option.
|
|
246
|
-
* @throws {RequiredError}
|
|
247
|
-
*/
|
|
248
|
-
getQuery(requestParameters: DataKioskApiGetQueryRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Query, any, {}>>;
|
|
249
|
-
}
|
|
250
|
-
export declare const GetQueriesProcessingStatusesEnum: {
|
|
251
|
-
readonly Cancelled: "CANCELLED";
|
|
252
|
-
readonly Done: "DONE";
|
|
253
|
-
readonly Fatal: "FATAL";
|
|
254
|
-
readonly InProgress: "IN_PROGRESS";
|
|
255
|
-
readonly InQueue: "IN_QUEUE";
|
|
256
|
-
};
|
|
257
|
-
export type GetQueriesProcessingStatusesEnum = typeof GetQueriesProcessingStatusesEnum[keyof typeof GetQueriesProcessingStatusesEnum];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selling Partner API for Data Kiosk
|
|
3
|
-
* The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2023-11-15
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export * from './api/data-kiosk-api';
|