@aws-sdk/client-dataexchange 3.40.0 → 3.44.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/CHANGELOG.md +38 -0
- package/dist-cjs/DataExchange.js +15 -0
- package/dist-cjs/commands/SendApiAssetCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoints.js +8 -0
- package/dist-cjs/models/models_0.js +42 -3
- package/dist-cjs/protocols/Aws_restJson1.js +188 -2
- package/dist-es/DataExchange.js +15 -0
- package/dist-es/commands/SendApiAssetCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoints.js +8 -0
- package/dist-es/models/models_0.js +29 -0
- package/dist-es/protocols/Aws_restJson1.js +186 -2
- package/dist-types/DataExchange.d.ts +7 -0
- package/dist-types/DataExchangeClient.d.ts +3 -2
- package/dist-types/commands/CancelJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateDataSetCommand.d.ts +1 -1
- package/dist-types/commands/CreateEventActionCommand.d.ts +1 -1
- package/dist-types/commands/CreateJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateRevisionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDataSetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRevisionCommand.d.ts +1 -1
- package/dist-types/commands/GetAssetCommand.d.ts +1 -1
- package/dist-types/commands/GetDataSetCommand.d.ts +1 -1
- package/dist-types/commands/GetEventActionCommand.d.ts +1 -1
- package/dist-types/commands/GetJobCommand.d.ts +1 -1
- package/dist-types/commands/GetRevisionCommand.d.ts +1 -1
- package/dist-types/commands/ListDataSetRevisionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDataSetsCommand.d.ts +1 -1
- package/dist-types/commands/ListEventActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListRevisionAssetsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/SendApiAssetCommand.d.ts +35 -0
- package/dist-types/commands/StartJobCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDataSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEventActionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRevisionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +239 -5
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/DataExchange.d.ts +5 -0
- package/dist-types/ts3.4/DataExchangeClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/SendApiAssetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +132 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +4 -4
|
@@ -56,6 +56,34 @@ export declare namespace Action {
|
|
|
56
56
|
|
|
57
57
|
const filterSensitiveLog: (obj: Action) => any;
|
|
58
58
|
}
|
|
59
|
+
export declare enum ProtocolType {
|
|
60
|
+
REST = "REST"
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface ApiGatewayApiAsset {
|
|
64
|
+
|
|
65
|
+
ApiDescription?: string;
|
|
66
|
+
|
|
67
|
+
ApiEndpoint?: string;
|
|
68
|
+
|
|
69
|
+
ApiId?: string;
|
|
70
|
+
|
|
71
|
+
ApiKey?: string;
|
|
72
|
+
|
|
73
|
+
ApiName?: string;
|
|
74
|
+
|
|
75
|
+
ApiSpecificationDownloadUrl?: string;
|
|
76
|
+
|
|
77
|
+
ApiSpecificationDownloadUrlExpiresAt?: Date;
|
|
78
|
+
|
|
79
|
+
ProtocolType?: ProtocolType | string;
|
|
80
|
+
|
|
81
|
+
Stage?: string;
|
|
82
|
+
}
|
|
83
|
+
export declare namespace ApiGatewayApiAsset {
|
|
84
|
+
|
|
85
|
+
const filterSensitiveLog: (obj: ApiGatewayApiAsset) => any;
|
|
86
|
+
}
|
|
59
87
|
|
|
60
88
|
export interface AssetDestinationEntry {
|
|
61
89
|
|
|
@@ -93,12 +121,15 @@ export interface AssetDetails {
|
|
|
93
121
|
S3SnapshotAsset?: S3SnapshotAsset;
|
|
94
122
|
|
|
95
123
|
RedshiftDataShareAsset?: RedshiftDataShareAsset;
|
|
124
|
+
|
|
125
|
+
ApiGatewayApiAsset?: ApiGatewayApiAsset;
|
|
96
126
|
}
|
|
97
127
|
export declare namespace AssetDetails {
|
|
98
128
|
|
|
99
129
|
const filterSensitiveLog: (obj: AssetDetails) => any;
|
|
100
130
|
}
|
|
101
131
|
export declare enum AssetType {
|
|
132
|
+
API_GATEWAY_API = "API_GATEWAY_API",
|
|
102
133
|
REDSHIFT_DATA_SHARE = "REDSHIFT_DATA_SHARE",
|
|
103
134
|
S3_SNAPSHOT = "S3_SNAPSHOT"
|
|
104
135
|
}
|
|
@@ -294,6 +325,7 @@ export declare namespace CreateDataSetResponse {
|
|
|
294
325
|
const filterSensitiveLog: (obj: CreateDataSetResponse) => any;
|
|
295
326
|
}
|
|
296
327
|
export declare enum LimitName {
|
|
328
|
+
Amazon_API_Gateway_API_assets_per_revision = "Amazon API Gateway API assets per revision",
|
|
297
329
|
Amazon_Redshift_datashare_assets_per_import_job_from_Redshift = "Amazon Redshift datashare assets per import job from Redshift",
|
|
298
330
|
Amazon_Redshift_datashare_assets_per_revision = "Amazon Redshift datashare assets per revision",
|
|
299
331
|
Asset_per_export_job_from_Amazon_S3 = "Asset per export job from Amazon S3",
|
|
@@ -307,10 +339,12 @@ export declare enum LimitName {
|
|
|
307
339
|
Concurrent_in_progress_jobs_to_import_assets_from_Amazon_Redshift_datashares = "Concurrent in progress jobs to import assets from Amazon Redshift datashares",
|
|
308
340
|
Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3 = "Concurrent in progress jobs to import assets from Amazon S3",
|
|
309
341
|
Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL = "Concurrent in progress jobs to import assets from a signed URL",
|
|
342
|
+
Concurrent_in_progress_jobs_to_import_assets_from_an_API_Gateway_API = "Concurrent in progress jobs to import assets from an API Gateway API",
|
|
310
343
|
Data_sets_per_account = "Data sets per account",
|
|
311
344
|
Data_sets_per_product = "Data sets per product",
|
|
312
345
|
Event_actions_per_account = "Event actions per account",
|
|
313
346
|
Products_per_account = "Products per account",
|
|
347
|
+
Revisions_per_Amazon_API_Gateway_API_data_set = "Revisions per Amazon API Gateway API data set",
|
|
314
348
|
Revisions_per_Amazon_Redshift_datashare_data_set = "Revisions per Amazon Redshift datashare data set",
|
|
315
349
|
Revisions_per_data_set = "Revisions per data set"
|
|
316
350
|
}
|
|
@@ -431,6 +465,31 @@ export declare namespace ExportRevisionsToS3RequestDetails {
|
|
|
431
465
|
const filterSensitiveLog: (obj: ExportRevisionsToS3RequestDetails) => any;
|
|
432
466
|
}
|
|
433
467
|
|
|
468
|
+
export interface ImportAssetFromApiGatewayApiRequestDetails {
|
|
469
|
+
|
|
470
|
+
ApiDescription?: string;
|
|
471
|
+
|
|
472
|
+
ApiId: string | undefined;
|
|
473
|
+
|
|
474
|
+
ApiKey?: string;
|
|
475
|
+
|
|
476
|
+
ApiName: string | undefined;
|
|
477
|
+
|
|
478
|
+
ApiSpecificationMd5Hash: string | undefined;
|
|
479
|
+
|
|
480
|
+
DataSetId: string | undefined;
|
|
481
|
+
|
|
482
|
+
ProtocolType: ProtocolType | string | undefined;
|
|
483
|
+
|
|
484
|
+
RevisionId: string | undefined;
|
|
485
|
+
|
|
486
|
+
Stage: string | undefined;
|
|
487
|
+
}
|
|
488
|
+
export declare namespace ImportAssetFromApiGatewayApiRequestDetails {
|
|
489
|
+
|
|
490
|
+
const filterSensitiveLog: (obj: ImportAssetFromApiGatewayApiRequestDetails) => any;
|
|
491
|
+
}
|
|
492
|
+
|
|
434
493
|
export interface ImportAssetFromSignedUrlRequestDetails {
|
|
435
494
|
|
|
436
495
|
AssetName: string | undefined;
|
|
@@ -494,6 +553,8 @@ export interface RequestDetails {
|
|
|
494
553
|
ImportAssetsFromS3?: ImportAssetsFromS3RequestDetails;
|
|
495
554
|
|
|
496
555
|
ImportAssetsFromRedshiftDataShares?: ImportAssetsFromRedshiftDataSharesRequestDetails;
|
|
556
|
+
|
|
557
|
+
ImportAssetFromApiGatewayApi?: ImportAssetFromApiGatewayApiRequestDetails;
|
|
497
558
|
}
|
|
498
559
|
export declare namespace RequestDetails {
|
|
499
560
|
|
|
@@ -505,6 +566,7 @@ export declare enum Type {
|
|
|
505
566
|
EXPORT_REVISIONS_TO_S3 = "EXPORT_REVISIONS_TO_S3",
|
|
506
567
|
IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES = "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES",
|
|
507
568
|
IMPORT_ASSETS_FROM_S3 = "IMPORT_ASSETS_FROM_S3",
|
|
569
|
+
IMPORT_ASSET_FROM_API_GATEWAY_API = "IMPORT_ASSET_FROM_API_GATEWAY_API",
|
|
508
570
|
IMPORT_ASSET_FROM_SIGNED_URL = "IMPORT_ASSET_FROM_SIGNED_URL"
|
|
509
571
|
}
|
|
510
572
|
|
|
@@ -566,6 +628,35 @@ export declare namespace ExportRevisionsToS3ResponseDetails {
|
|
|
566
628
|
const filterSensitiveLog: (obj: ExportRevisionsToS3ResponseDetails) => any;
|
|
567
629
|
}
|
|
568
630
|
|
|
631
|
+
export interface ImportAssetFromApiGatewayApiResponseDetails {
|
|
632
|
+
|
|
633
|
+
ApiDescription?: string;
|
|
634
|
+
|
|
635
|
+
ApiId: string | undefined;
|
|
636
|
+
|
|
637
|
+
ApiKey?: string;
|
|
638
|
+
|
|
639
|
+
ApiName: string | undefined;
|
|
640
|
+
|
|
641
|
+
ApiSpecificationMd5Hash: string | undefined;
|
|
642
|
+
|
|
643
|
+
ApiSpecificationUploadUrl: string | undefined;
|
|
644
|
+
|
|
645
|
+
ApiSpecificationUploadUrlExpiresAt: Date | undefined;
|
|
646
|
+
|
|
647
|
+
DataSetId: string | undefined;
|
|
648
|
+
|
|
649
|
+
ProtocolType: ProtocolType | string | undefined;
|
|
650
|
+
|
|
651
|
+
RevisionId: string | undefined;
|
|
652
|
+
|
|
653
|
+
Stage: string | undefined;
|
|
654
|
+
}
|
|
655
|
+
export declare namespace ImportAssetFromApiGatewayApiResponseDetails {
|
|
656
|
+
|
|
657
|
+
const filterSensitiveLog: (obj: ImportAssetFromApiGatewayApiResponseDetails) => any;
|
|
658
|
+
}
|
|
659
|
+
|
|
569
660
|
export interface ImportAssetFromSignedUrlResponseDetails {
|
|
570
661
|
|
|
571
662
|
AssetName: string | undefined;
|
|
@@ -624,6 +715,8 @@ export interface ResponseDetails {
|
|
|
624
715
|
ImportAssetsFromS3?: ImportAssetsFromS3ResponseDetails;
|
|
625
716
|
|
|
626
717
|
ImportAssetsFromRedshiftDataShares?: ImportAssetsFromRedshiftDataSharesResponseDetails;
|
|
718
|
+
|
|
719
|
+
ImportAssetFromApiGatewayApi?: ImportAssetFromApiGatewayApiResponseDetails;
|
|
627
720
|
}
|
|
628
721
|
export declare namespace ResponseDetails {
|
|
629
722
|
|
|
@@ -1181,6 +1274,45 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
1181
1274
|
|
|
1182
1275
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
1183
1276
|
}
|
|
1277
|
+
|
|
1278
|
+
export interface SendApiAssetRequest {
|
|
1279
|
+
|
|
1280
|
+
Body?: string;
|
|
1281
|
+
|
|
1282
|
+
QueryStringParameters?: {
|
|
1283
|
+
[key: string]: string;
|
|
1284
|
+
};
|
|
1285
|
+
|
|
1286
|
+
AssetId: string | undefined;
|
|
1287
|
+
|
|
1288
|
+
DataSetId: string | undefined;
|
|
1289
|
+
|
|
1290
|
+
RequestHeaders?: {
|
|
1291
|
+
[key: string]: string;
|
|
1292
|
+
};
|
|
1293
|
+
|
|
1294
|
+
Method?: string;
|
|
1295
|
+
|
|
1296
|
+
Path?: string;
|
|
1297
|
+
|
|
1298
|
+
RevisionId: string | undefined;
|
|
1299
|
+
}
|
|
1300
|
+
export declare namespace SendApiAssetRequest {
|
|
1301
|
+
|
|
1302
|
+
const filterSensitiveLog: (obj: SendApiAssetRequest) => any;
|
|
1303
|
+
}
|
|
1304
|
+
export interface SendApiAssetResponse {
|
|
1305
|
+
|
|
1306
|
+
Body?: string;
|
|
1307
|
+
|
|
1308
|
+
ResponseHeaders?: {
|
|
1309
|
+
[key: string]: string;
|
|
1310
|
+
};
|
|
1311
|
+
}
|
|
1312
|
+
export declare namespace SendApiAssetResponse {
|
|
1313
|
+
|
|
1314
|
+
const filterSensitiveLog: (obj: SendApiAssetResponse) => any;
|
|
1315
|
+
}
|
|
1184
1316
|
export interface StartJobRequest {
|
|
1185
1317
|
|
|
1186
1318
|
JobId: string | undefined;
|
|
@@ -20,6 +20,7 @@ import { ListEventActionsCommandInput, ListEventActionsCommandOutput } from "../
|
|
|
20
20
|
import { ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand";
|
|
21
21
|
import { ListRevisionAssetsCommandInput, ListRevisionAssetsCommandOutput } from "../commands/ListRevisionAssetsCommand";
|
|
22
22
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
23
|
+
import { SendApiAssetCommandInput, SendApiAssetCommandOutput } from "../commands/SendApiAssetCommand";
|
|
23
24
|
import { StartJobCommandInput, StartJobCommandOutput } from "../commands/StartJobCommand";
|
|
24
25
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
25
26
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
@@ -47,6 +48,7 @@ export declare const serializeAws_restJson1ListEventActionsCommand: (input: List
|
|
|
47
48
|
export declare const serializeAws_restJson1ListJobsCommand: (input: ListJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
48
49
|
export declare const serializeAws_restJson1ListRevisionAssetsCommand: (input: ListRevisionAssetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
49
50
|
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
51
|
+
export declare const serializeAws_restJson1SendApiAssetCommand: (input: SendApiAssetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
50
52
|
export declare const serializeAws_restJson1StartJobCommand: (input: StartJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
51
53
|
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
52
54
|
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -74,6 +76,7 @@ export declare const deserializeAws_restJson1ListEventActionsCommand: (output: _
|
|
|
74
76
|
export declare const deserializeAws_restJson1ListJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListJobsCommandOutput>;
|
|
75
77
|
export declare const deserializeAws_restJson1ListRevisionAssetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRevisionAssetsCommandOutput>;
|
|
76
78
|
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
79
|
+
export declare const deserializeAws_restJson1SendApiAssetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendApiAssetCommandOutput>;
|
|
77
80
|
export declare const deserializeAws_restJson1StartJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartJobCommandOutput>;
|
|
78
81
|
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
79
82
|
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
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.44.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.43.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.40.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.41.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.40.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.40.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.40.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@aws-sdk/node-config-provider": "3.40.0",
|
|
39
39
|
"@aws-sdk/node-http-handler": "3.40.0",
|
|
40
40
|
"@aws-sdk/protocol-http": "3.40.0",
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
+
"@aws-sdk/smithy-client": "3.41.0",
|
|
42
42
|
"@aws-sdk/types": "3.40.0",
|
|
43
43
|
"@aws-sdk/url-parser": "3.40.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.37.0",
|