@aws-sdk/client-dataexchange 3.670.0 → 3.675.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 +71 -13
- package/dist-cjs/index.js +467 -40
- package/dist-es/DataExchange.js +14 -0
- package/dist-es/commands/AcceptDataGrantCommand.js +22 -0
- package/dist-es/commands/CreateDataGrantCommand.js +22 -0
- package/dist-es/commands/DeleteDataGrantCommand.js +22 -0
- package/dist-es/commands/GetDataGrantCommand.js +22 -0
- package/dist-es/commands/GetReceivedDataGrantCommand.js +22 -0
- package/dist-es/commands/ListDataGrantsCommand.js +22 -0
- package/dist-es/commands/ListReceivedDataGrantsCommand.js +22 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +44 -29
- package/dist-es/pagination/ListDataGrantsPaginator.js +4 -0
- package/dist-es/pagination/ListReceivedDataGrantsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +280 -3
- package/dist-types/DataExchange.d.ts +66 -13
- package/dist-types/DataExchangeClient.d.ts +24 -15
- package/dist-types/commands/AcceptDataGrantCommand.d.ts +102 -0
- package/dist-types/commands/CancelJobCommand.d.ts +4 -2
- package/dist-types/commands/CreateDataGrantCommand.d.ts +113 -0
- package/dist-types/commands/CreateDataSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateJobCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAssetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDataGrantCommand.d.ts +84 -0
- package/dist-types/commands/DeleteDataSetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRevisionCommand.d.ts +2 -1
- package/dist-types/commands/GetDataGrantCommand.d.ts +102 -0
- package/dist-types/commands/GetDataSetCommand.d.ts +1 -0
- package/dist-types/commands/GetReceivedDataGrantCommand.d.ts +98 -0
- package/dist-types/commands/ListDataGrantsCommand.d.ts +103 -0
- package/dist-types/commands/ListDataSetRevisionsCommand.d.ts +2 -1
- package/dist-types/commands/ListDataSetsCommand.d.ts +3 -1
- package/dist-types/commands/ListReceivedDataGrantsCommand.d.ts +105 -0
- package/dist-types/commands/ListRevisionAssetsCommand.d.ts +2 -1
- package/dist-types/commands/RevokeRevisionCommand.d.ts +2 -1
- package/dist-types/commands/SendApiAssetCommand.d.ts +2 -1
- package/dist-types/commands/SendDataSetNotificationCommand.d.ts +2 -1
- package/dist-types/commands/StartJobCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAssetCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDataSetCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRevisionCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/index.d.ts +15 -13
- package/dist-types/models/models_0.d.ts +1016 -282
- package/dist-types/pagination/ListDataGrantsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListReceivedDataGrantsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/DataExchange.d.ts +121 -0
- package/dist-types/ts3.4/DataExchangeClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/AcceptDataGrantCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateDataGrantCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteDataGrantCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetDataGrantCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetReceivedDataGrantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDataGrantsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListReceivedDataGrantsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +229 -78
- package/dist-types/ts3.4/pagination/ListDataGrantsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListReceivedDataGrantsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/package.json +6 -6
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListDataGrantsPaginator";
|
|
2
3
|
export * from "./ListDataSetRevisionsPaginator";
|
|
3
4
|
export * from "./ListDataSetsPaginator";
|
|
4
5
|
export * from "./ListEventActionsPaginator";
|
|
5
6
|
export * from "./ListJobsPaginator";
|
|
7
|
+
export * from "./ListReceivedDataGrantsPaginator";
|
|
6
8
|
export * from "./ListRevisionAssetsPaginator";
|
|
@@ -3,10 +3,18 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@smithy/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
AcceptDataGrantCommandInput,
|
|
8
|
+
AcceptDataGrantCommandOutput,
|
|
9
|
+
} from "../commands/AcceptDataGrantCommand";
|
|
6
10
|
import {
|
|
7
11
|
CancelJobCommandInput,
|
|
8
12
|
CancelJobCommandOutput,
|
|
9
13
|
} from "../commands/CancelJobCommand";
|
|
14
|
+
import {
|
|
15
|
+
CreateDataGrantCommandInput,
|
|
16
|
+
CreateDataGrantCommandOutput,
|
|
17
|
+
} from "../commands/CreateDataGrantCommand";
|
|
10
18
|
import {
|
|
11
19
|
CreateDataSetCommandInput,
|
|
12
20
|
CreateDataSetCommandOutput,
|
|
@@ -27,6 +35,10 @@ import {
|
|
|
27
35
|
DeleteAssetCommandInput,
|
|
28
36
|
DeleteAssetCommandOutput,
|
|
29
37
|
} from "../commands/DeleteAssetCommand";
|
|
38
|
+
import {
|
|
39
|
+
DeleteDataGrantCommandInput,
|
|
40
|
+
DeleteDataGrantCommandOutput,
|
|
41
|
+
} from "../commands/DeleteDataGrantCommand";
|
|
30
42
|
import {
|
|
31
43
|
DeleteDataSetCommandInput,
|
|
32
44
|
DeleteDataSetCommandOutput,
|
|
@@ -43,6 +55,10 @@ import {
|
|
|
43
55
|
GetAssetCommandInput,
|
|
44
56
|
GetAssetCommandOutput,
|
|
45
57
|
} from "../commands/GetAssetCommand";
|
|
58
|
+
import {
|
|
59
|
+
GetDataGrantCommandInput,
|
|
60
|
+
GetDataGrantCommandOutput,
|
|
61
|
+
} from "../commands/GetDataGrantCommand";
|
|
46
62
|
import {
|
|
47
63
|
GetDataSetCommandInput,
|
|
48
64
|
GetDataSetCommandOutput,
|
|
@@ -55,10 +71,18 @@ import {
|
|
|
55
71
|
GetJobCommandInput,
|
|
56
72
|
GetJobCommandOutput,
|
|
57
73
|
} from "../commands/GetJobCommand";
|
|
74
|
+
import {
|
|
75
|
+
GetReceivedDataGrantCommandInput,
|
|
76
|
+
GetReceivedDataGrantCommandOutput,
|
|
77
|
+
} from "../commands/GetReceivedDataGrantCommand";
|
|
58
78
|
import {
|
|
59
79
|
GetRevisionCommandInput,
|
|
60
80
|
GetRevisionCommandOutput,
|
|
61
81
|
} from "../commands/GetRevisionCommand";
|
|
82
|
+
import {
|
|
83
|
+
ListDataGrantsCommandInput,
|
|
84
|
+
ListDataGrantsCommandOutput,
|
|
85
|
+
} from "../commands/ListDataGrantsCommand";
|
|
62
86
|
import {
|
|
63
87
|
ListDataSetRevisionsCommandInput,
|
|
64
88
|
ListDataSetRevisionsCommandOutput,
|
|
@@ -75,6 +99,10 @@ import {
|
|
|
75
99
|
ListJobsCommandInput,
|
|
76
100
|
ListJobsCommandOutput,
|
|
77
101
|
} from "../commands/ListJobsCommand";
|
|
102
|
+
import {
|
|
103
|
+
ListReceivedDataGrantsCommandInput,
|
|
104
|
+
ListReceivedDataGrantsCommandOutput,
|
|
105
|
+
} from "../commands/ListReceivedDataGrantsCommand";
|
|
78
106
|
import {
|
|
79
107
|
ListRevisionAssetsCommandInput,
|
|
80
108
|
ListRevisionAssetsCommandOutput,
|
|
@@ -123,10 +151,18 @@ import {
|
|
|
123
151
|
UpdateRevisionCommandInput,
|
|
124
152
|
UpdateRevisionCommandOutput,
|
|
125
153
|
} from "../commands/UpdateRevisionCommand";
|
|
154
|
+
export declare const se_AcceptDataGrantCommand: (
|
|
155
|
+
input: AcceptDataGrantCommandInput,
|
|
156
|
+
context: __SerdeContext
|
|
157
|
+
) => Promise<__HttpRequest>;
|
|
126
158
|
export declare const se_CancelJobCommand: (
|
|
127
159
|
input: CancelJobCommandInput,
|
|
128
160
|
context: __SerdeContext
|
|
129
161
|
) => Promise<__HttpRequest>;
|
|
162
|
+
export declare const se_CreateDataGrantCommand: (
|
|
163
|
+
input: CreateDataGrantCommandInput,
|
|
164
|
+
context: __SerdeContext
|
|
165
|
+
) => Promise<__HttpRequest>;
|
|
130
166
|
export declare const se_CreateDataSetCommand: (
|
|
131
167
|
input: CreateDataSetCommandInput,
|
|
132
168
|
context: __SerdeContext
|
|
@@ -147,6 +183,10 @@ export declare const se_DeleteAssetCommand: (
|
|
|
147
183
|
input: DeleteAssetCommandInput,
|
|
148
184
|
context: __SerdeContext
|
|
149
185
|
) => Promise<__HttpRequest>;
|
|
186
|
+
export declare const se_DeleteDataGrantCommand: (
|
|
187
|
+
input: DeleteDataGrantCommandInput,
|
|
188
|
+
context: __SerdeContext
|
|
189
|
+
) => Promise<__HttpRequest>;
|
|
150
190
|
export declare const se_DeleteDataSetCommand: (
|
|
151
191
|
input: DeleteDataSetCommandInput,
|
|
152
192
|
context: __SerdeContext
|
|
@@ -163,6 +203,10 @@ export declare const se_GetAssetCommand: (
|
|
|
163
203
|
input: GetAssetCommandInput,
|
|
164
204
|
context: __SerdeContext
|
|
165
205
|
) => Promise<__HttpRequest>;
|
|
206
|
+
export declare const se_GetDataGrantCommand: (
|
|
207
|
+
input: GetDataGrantCommandInput,
|
|
208
|
+
context: __SerdeContext
|
|
209
|
+
) => Promise<__HttpRequest>;
|
|
166
210
|
export declare const se_GetDataSetCommand: (
|
|
167
211
|
input: GetDataSetCommandInput,
|
|
168
212
|
context: __SerdeContext
|
|
@@ -175,10 +219,18 @@ export declare const se_GetJobCommand: (
|
|
|
175
219
|
input: GetJobCommandInput,
|
|
176
220
|
context: __SerdeContext
|
|
177
221
|
) => Promise<__HttpRequest>;
|
|
222
|
+
export declare const se_GetReceivedDataGrantCommand: (
|
|
223
|
+
input: GetReceivedDataGrantCommandInput,
|
|
224
|
+
context: __SerdeContext
|
|
225
|
+
) => Promise<__HttpRequest>;
|
|
178
226
|
export declare const se_GetRevisionCommand: (
|
|
179
227
|
input: GetRevisionCommandInput,
|
|
180
228
|
context: __SerdeContext
|
|
181
229
|
) => Promise<__HttpRequest>;
|
|
230
|
+
export declare const se_ListDataGrantsCommand: (
|
|
231
|
+
input: ListDataGrantsCommandInput,
|
|
232
|
+
context: __SerdeContext
|
|
233
|
+
) => Promise<__HttpRequest>;
|
|
182
234
|
export declare const se_ListDataSetRevisionsCommand: (
|
|
183
235
|
input: ListDataSetRevisionsCommandInput,
|
|
184
236
|
context: __SerdeContext
|
|
@@ -195,6 +247,10 @@ export declare const se_ListJobsCommand: (
|
|
|
195
247
|
input: ListJobsCommandInput,
|
|
196
248
|
context: __SerdeContext
|
|
197
249
|
) => Promise<__HttpRequest>;
|
|
250
|
+
export declare const se_ListReceivedDataGrantsCommand: (
|
|
251
|
+
input: ListReceivedDataGrantsCommandInput,
|
|
252
|
+
context: __SerdeContext
|
|
253
|
+
) => Promise<__HttpRequest>;
|
|
198
254
|
export declare const se_ListRevisionAssetsCommand: (
|
|
199
255
|
input: ListRevisionAssetsCommandInput,
|
|
200
256
|
context: __SerdeContext
|
|
@@ -243,10 +299,18 @@ export declare const se_UpdateRevisionCommand: (
|
|
|
243
299
|
input: UpdateRevisionCommandInput,
|
|
244
300
|
context: __SerdeContext
|
|
245
301
|
) => Promise<__HttpRequest>;
|
|
302
|
+
export declare const de_AcceptDataGrantCommand: (
|
|
303
|
+
output: __HttpResponse,
|
|
304
|
+
context: __SerdeContext
|
|
305
|
+
) => Promise<AcceptDataGrantCommandOutput>;
|
|
246
306
|
export declare const de_CancelJobCommand: (
|
|
247
307
|
output: __HttpResponse,
|
|
248
308
|
context: __SerdeContext
|
|
249
309
|
) => Promise<CancelJobCommandOutput>;
|
|
310
|
+
export declare const de_CreateDataGrantCommand: (
|
|
311
|
+
output: __HttpResponse,
|
|
312
|
+
context: __SerdeContext
|
|
313
|
+
) => Promise<CreateDataGrantCommandOutput>;
|
|
250
314
|
export declare const de_CreateDataSetCommand: (
|
|
251
315
|
output: __HttpResponse,
|
|
252
316
|
context: __SerdeContext
|
|
@@ -267,6 +331,10 @@ export declare const de_DeleteAssetCommand: (
|
|
|
267
331
|
output: __HttpResponse,
|
|
268
332
|
context: __SerdeContext
|
|
269
333
|
) => Promise<DeleteAssetCommandOutput>;
|
|
334
|
+
export declare const de_DeleteDataGrantCommand: (
|
|
335
|
+
output: __HttpResponse,
|
|
336
|
+
context: __SerdeContext
|
|
337
|
+
) => Promise<DeleteDataGrantCommandOutput>;
|
|
270
338
|
export declare const de_DeleteDataSetCommand: (
|
|
271
339
|
output: __HttpResponse,
|
|
272
340
|
context: __SerdeContext
|
|
@@ -283,6 +351,10 @@ export declare const de_GetAssetCommand: (
|
|
|
283
351
|
output: __HttpResponse,
|
|
284
352
|
context: __SerdeContext
|
|
285
353
|
) => Promise<GetAssetCommandOutput>;
|
|
354
|
+
export declare const de_GetDataGrantCommand: (
|
|
355
|
+
output: __HttpResponse,
|
|
356
|
+
context: __SerdeContext
|
|
357
|
+
) => Promise<GetDataGrantCommandOutput>;
|
|
286
358
|
export declare const de_GetDataSetCommand: (
|
|
287
359
|
output: __HttpResponse,
|
|
288
360
|
context: __SerdeContext
|
|
@@ -295,10 +367,18 @@ export declare const de_GetJobCommand: (
|
|
|
295
367
|
output: __HttpResponse,
|
|
296
368
|
context: __SerdeContext
|
|
297
369
|
) => Promise<GetJobCommandOutput>;
|
|
370
|
+
export declare const de_GetReceivedDataGrantCommand: (
|
|
371
|
+
output: __HttpResponse,
|
|
372
|
+
context: __SerdeContext
|
|
373
|
+
) => Promise<GetReceivedDataGrantCommandOutput>;
|
|
298
374
|
export declare const de_GetRevisionCommand: (
|
|
299
375
|
output: __HttpResponse,
|
|
300
376
|
context: __SerdeContext
|
|
301
377
|
) => Promise<GetRevisionCommandOutput>;
|
|
378
|
+
export declare const de_ListDataGrantsCommand: (
|
|
379
|
+
output: __HttpResponse,
|
|
380
|
+
context: __SerdeContext
|
|
381
|
+
) => Promise<ListDataGrantsCommandOutput>;
|
|
302
382
|
export declare const de_ListDataSetRevisionsCommand: (
|
|
303
383
|
output: __HttpResponse,
|
|
304
384
|
context: __SerdeContext
|
|
@@ -315,6 +395,10 @@ export declare const de_ListJobsCommand: (
|
|
|
315
395
|
output: __HttpResponse,
|
|
316
396
|
context: __SerdeContext
|
|
317
397
|
) => Promise<ListJobsCommandOutput>;
|
|
398
|
+
export declare const de_ListReceivedDataGrantsCommand: (
|
|
399
|
+
output: __HttpResponse,
|
|
400
|
+
context: __SerdeContext
|
|
401
|
+
) => Promise<ListReceivedDataGrantsCommandOutput>;
|
|
318
402
|
export declare const de_ListRevisionAssetsCommand: (
|
|
319
403
|
output: __HttpResponse,
|
|
320
404
|
context: __SerdeContext
|
|
@@ -10,7 +10,9 @@ export declare const getRuntimeConfig: (config: DataExchangeClientConfig) => {
|
|
|
10
10
|
input: any
|
|
11
11
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
12
|
defaultUserAgentProvider: (
|
|
13
|
-
config
|
|
13
|
+
config?:
|
|
14
|
+
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
15
|
+
| undefined
|
|
14
16
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
15
17
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
18
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -23,7 +23,9 @@ export declare const getRuntimeConfig: (config: DataExchangeClientConfig) => {
|
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
25
|
defaultUserAgentProvider: (
|
|
26
|
-
config
|
|
26
|
+
config?:
|
|
27
|
+
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
28
|
+
| undefined
|
|
27
29
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
28
30
|
credentialDefaultProvider: (
|
|
29
31
|
input: any
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dataexchange",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dataexchange Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.675.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-dataexchange",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.675.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.675.0",
|
|
25
25
|
"@aws-sdk/core": "3.667.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.675.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.667.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.667.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.667.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.667.0",
|
|
32
32
|
"@aws-sdk/types": "3.667.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.667.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.675.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.669.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.9",
|
|
37
37
|
"@smithy/core": "^2.4.8",
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
"@smithy/util-middleware": "^3.0.7",
|
|
59
59
|
"@smithy/util-retry": "^3.0.7",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
|
+
"@types/uuid": "^9.0.1",
|
|
61
62
|
"tslib": "^2.6.2",
|
|
62
63
|
"uuid": "^9.0.1"
|
|
63
64
|
},
|
|
64
65
|
"devDependencies": {
|
|
65
66
|
"@tsconfig/node16": "16.1.3",
|
|
66
67
|
"@types/node": "^16.18.96",
|
|
67
|
-
"@types/uuid": "^9.0.4",
|
|
68
68
|
"concurrently": "7.0.0",
|
|
69
69
|
"downlevel-dts": "0.10.1",
|
|
70
70
|
"rimraf": "3.0.2",
|