@aws-sdk/client-dataexchange 3.43.0 → 3.47.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 +50 -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 +1 -0
- package/dist-cjs/models/models_0.js +41 -45
- package/dist-cjs/protocols/Aws_restJson1.js +188 -2
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- 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 +1 -0
- package/dist-es/models/models_0.js +29 -28
- package/dist-es/protocols/Aws_restJson1.js +186 -2
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/DataExchange.d.ts +7 -0
- package/dist-types/DataExchangeClient.d.ts +8 -3
- package/dist-types/commands/SendApiAssetCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +239 -47
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/DataExchange.d.ts +5 -0
- package/dist-types/ts3.4/DataExchangeClient.d.ts +6 -3
- 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 -28
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -6,10 +6,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
6
6
|
|
|
7
7
|
Message: string | undefined;
|
|
8
8
|
}
|
|
9
|
-
export declare namespace AccessDeniedException {
|
|
10
|
-
|
|
11
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
12
|
-
}
|
|
13
9
|
export declare enum ServerSideEncryptionTypes {
|
|
14
10
|
AES256 = "AES256",
|
|
15
11
|
aws_kms = "aws:kms"
|
|
@@ -56,6 +52,34 @@ export declare namespace Action {
|
|
|
56
52
|
|
|
57
53
|
const filterSensitiveLog: (obj: Action) => any;
|
|
58
54
|
}
|
|
55
|
+
export declare enum ProtocolType {
|
|
56
|
+
REST = "REST"
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface ApiGatewayApiAsset {
|
|
60
|
+
|
|
61
|
+
ApiDescription?: string;
|
|
62
|
+
|
|
63
|
+
ApiEndpoint?: string;
|
|
64
|
+
|
|
65
|
+
ApiId?: string;
|
|
66
|
+
|
|
67
|
+
ApiKey?: string;
|
|
68
|
+
|
|
69
|
+
ApiName?: string;
|
|
70
|
+
|
|
71
|
+
ApiSpecificationDownloadUrl?: string;
|
|
72
|
+
|
|
73
|
+
ApiSpecificationDownloadUrlExpiresAt?: Date;
|
|
74
|
+
|
|
75
|
+
ProtocolType?: ProtocolType | string;
|
|
76
|
+
|
|
77
|
+
Stage?: string;
|
|
78
|
+
}
|
|
79
|
+
export declare namespace ApiGatewayApiAsset {
|
|
80
|
+
|
|
81
|
+
const filterSensitiveLog: (obj: ApiGatewayApiAsset) => any;
|
|
82
|
+
}
|
|
59
83
|
|
|
60
84
|
export interface AssetDestinationEntry {
|
|
61
85
|
|
|
@@ -93,12 +117,15 @@ export interface AssetDetails {
|
|
|
93
117
|
S3SnapshotAsset?: S3SnapshotAsset;
|
|
94
118
|
|
|
95
119
|
RedshiftDataShareAsset?: RedshiftDataShareAsset;
|
|
120
|
+
|
|
121
|
+
ApiGatewayApiAsset?: ApiGatewayApiAsset;
|
|
96
122
|
}
|
|
97
123
|
export declare namespace AssetDetails {
|
|
98
124
|
|
|
99
125
|
const filterSensitiveLog: (obj: AssetDetails) => any;
|
|
100
126
|
}
|
|
101
127
|
export declare enum AssetType {
|
|
128
|
+
API_GATEWAY_API = "API_GATEWAY_API",
|
|
102
129
|
REDSHIFT_DATA_SHARE = "REDSHIFT_DATA_SHARE",
|
|
103
130
|
S3_SNAPSHOT = "S3_SNAPSHOT"
|
|
104
131
|
}
|
|
@@ -166,10 +193,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
166
193
|
|
|
167
194
|
ResourceType?: ResourceType | string;
|
|
168
195
|
}
|
|
169
|
-
export declare namespace ConflictException {
|
|
170
|
-
|
|
171
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
172
|
-
}
|
|
173
196
|
|
|
174
197
|
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
175
198
|
name: "InternalServerException";
|
|
@@ -177,10 +200,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
177
200
|
|
|
178
201
|
Message: string | undefined;
|
|
179
202
|
}
|
|
180
|
-
export declare namespace InternalServerException {
|
|
181
|
-
|
|
182
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
183
|
-
}
|
|
184
203
|
|
|
185
204
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
186
205
|
name: "ResourceNotFoundException";
|
|
@@ -192,10 +211,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
192
211
|
|
|
193
212
|
ResourceType?: ResourceType | string;
|
|
194
213
|
}
|
|
195
|
-
export declare namespace ResourceNotFoundException {
|
|
196
|
-
|
|
197
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
198
|
-
}
|
|
199
214
|
|
|
200
215
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
201
216
|
name: "ThrottlingException";
|
|
@@ -203,10 +218,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
203
218
|
|
|
204
219
|
Message: string | undefined;
|
|
205
220
|
}
|
|
206
|
-
export declare namespace ThrottlingException {
|
|
207
|
-
|
|
208
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
209
|
-
}
|
|
210
221
|
export declare enum ExceptionCause {
|
|
211
222
|
InsufficientS3BucketPolicy = "InsufficientS3BucketPolicy",
|
|
212
223
|
S3AccessDenied = "S3AccessDenied"
|
|
@@ -220,10 +231,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
220
231
|
|
|
221
232
|
ExceptionCause?: ExceptionCause | string;
|
|
222
233
|
}
|
|
223
|
-
export declare namespace ValidationException {
|
|
224
|
-
|
|
225
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
226
|
-
}
|
|
227
234
|
export declare enum Code {
|
|
228
235
|
ACCESS_DENIED_EXCEPTION = "ACCESS_DENIED_EXCEPTION",
|
|
229
236
|
INTERNAL_SERVER_EXCEPTION = "INTERNAL_SERVER_EXCEPTION",
|
|
@@ -294,6 +301,7 @@ export declare namespace CreateDataSetResponse {
|
|
|
294
301
|
const filterSensitiveLog: (obj: CreateDataSetResponse) => any;
|
|
295
302
|
}
|
|
296
303
|
export declare enum LimitName {
|
|
304
|
+
Amazon_API_Gateway_API_assets_per_revision = "Amazon API Gateway API assets per revision",
|
|
297
305
|
Amazon_Redshift_datashare_assets_per_import_job_from_Redshift = "Amazon Redshift datashare assets per import job from Redshift",
|
|
298
306
|
Amazon_Redshift_datashare_assets_per_revision = "Amazon Redshift datashare assets per revision",
|
|
299
307
|
Asset_per_export_job_from_Amazon_S3 = "Asset per export job from Amazon S3",
|
|
@@ -307,10 +315,12 @@ export declare enum LimitName {
|
|
|
307
315
|
Concurrent_in_progress_jobs_to_import_assets_from_Amazon_Redshift_datashares = "Concurrent in progress jobs to import assets from Amazon Redshift datashares",
|
|
308
316
|
Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3 = "Concurrent in progress jobs to import assets from Amazon S3",
|
|
309
317
|
Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL = "Concurrent in progress jobs to import assets from a signed URL",
|
|
318
|
+
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
319
|
Data_sets_per_account = "Data sets per account",
|
|
311
320
|
Data_sets_per_product = "Data sets per product",
|
|
312
321
|
Event_actions_per_account = "Event actions per account",
|
|
313
322
|
Products_per_account = "Products per account",
|
|
323
|
+
Revisions_per_Amazon_API_Gateway_API_data_set = "Revisions per Amazon API Gateway API data set",
|
|
314
324
|
Revisions_per_Amazon_Redshift_datashare_data_set = "Revisions per Amazon Redshift datashare data set",
|
|
315
325
|
Revisions_per_data_set = "Revisions per data set"
|
|
316
326
|
}
|
|
@@ -325,10 +335,6 @@ export interface ServiceLimitExceededException extends __SmithyException, $Metad
|
|
|
325
335
|
|
|
326
336
|
Message: string | undefined;
|
|
327
337
|
}
|
|
328
|
-
export declare namespace ServiceLimitExceededException {
|
|
329
|
-
|
|
330
|
-
const filterSensitiveLog: (obj: ServiceLimitExceededException) => any;
|
|
331
|
-
}
|
|
332
338
|
|
|
333
339
|
export interface RevisionPublished {
|
|
334
340
|
|
|
@@ -431,6 +437,31 @@ export declare namespace ExportRevisionsToS3RequestDetails {
|
|
|
431
437
|
const filterSensitiveLog: (obj: ExportRevisionsToS3RequestDetails) => any;
|
|
432
438
|
}
|
|
433
439
|
|
|
440
|
+
export interface ImportAssetFromApiGatewayApiRequestDetails {
|
|
441
|
+
|
|
442
|
+
ApiDescription?: string;
|
|
443
|
+
|
|
444
|
+
ApiId: string | undefined;
|
|
445
|
+
|
|
446
|
+
ApiKey?: string;
|
|
447
|
+
|
|
448
|
+
ApiName: string | undefined;
|
|
449
|
+
|
|
450
|
+
ApiSpecificationMd5Hash: string | undefined;
|
|
451
|
+
|
|
452
|
+
DataSetId: string | undefined;
|
|
453
|
+
|
|
454
|
+
ProtocolType: ProtocolType | string | undefined;
|
|
455
|
+
|
|
456
|
+
RevisionId: string | undefined;
|
|
457
|
+
|
|
458
|
+
Stage: string | undefined;
|
|
459
|
+
}
|
|
460
|
+
export declare namespace ImportAssetFromApiGatewayApiRequestDetails {
|
|
461
|
+
|
|
462
|
+
const filterSensitiveLog: (obj: ImportAssetFromApiGatewayApiRequestDetails) => any;
|
|
463
|
+
}
|
|
464
|
+
|
|
434
465
|
export interface ImportAssetFromSignedUrlRequestDetails {
|
|
435
466
|
|
|
436
467
|
AssetName: string | undefined;
|
|
@@ -494,6 +525,8 @@ export interface RequestDetails {
|
|
|
494
525
|
ImportAssetsFromS3?: ImportAssetsFromS3RequestDetails;
|
|
495
526
|
|
|
496
527
|
ImportAssetsFromRedshiftDataShares?: ImportAssetsFromRedshiftDataSharesRequestDetails;
|
|
528
|
+
|
|
529
|
+
ImportAssetFromApiGatewayApi?: ImportAssetFromApiGatewayApiRequestDetails;
|
|
497
530
|
}
|
|
498
531
|
export declare namespace RequestDetails {
|
|
499
532
|
|
|
@@ -505,6 +538,7 @@ export declare enum Type {
|
|
|
505
538
|
EXPORT_REVISIONS_TO_S3 = "EXPORT_REVISIONS_TO_S3",
|
|
506
539
|
IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES = "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES",
|
|
507
540
|
IMPORT_ASSETS_FROM_S3 = "IMPORT_ASSETS_FROM_S3",
|
|
541
|
+
IMPORT_ASSET_FROM_API_GATEWAY_API = "IMPORT_ASSET_FROM_API_GATEWAY_API",
|
|
508
542
|
IMPORT_ASSET_FROM_SIGNED_URL = "IMPORT_ASSET_FROM_SIGNED_URL"
|
|
509
543
|
}
|
|
510
544
|
|
|
@@ -566,6 +600,35 @@ export declare namespace ExportRevisionsToS3ResponseDetails {
|
|
|
566
600
|
const filterSensitiveLog: (obj: ExportRevisionsToS3ResponseDetails) => any;
|
|
567
601
|
}
|
|
568
602
|
|
|
603
|
+
export interface ImportAssetFromApiGatewayApiResponseDetails {
|
|
604
|
+
|
|
605
|
+
ApiDescription?: string;
|
|
606
|
+
|
|
607
|
+
ApiId: string | undefined;
|
|
608
|
+
|
|
609
|
+
ApiKey?: string;
|
|
610
|
+
|
|
611
|
+
ApiName: string | undefined;
|
|
612
|
+
|
|
613
|
+
ApiSpecificationMd5Hash: string | undefined;
|
|
614
|
+
|
|
615
|
+
ApiSpecificationUploadUrl: string | undefined;
|
|
616
|
+
|
|
617
|
+
ApiSpecificationUploadUrlExpiresAt: Date | undefined;
|
|
618
|
+
|
|
619
|
+
DataSetId: string | undefined;
|
|
620
|
+
|
|
621
|
+
ProtocolType: ProtocolType | string | undefined;
|
|
622
|
+
|
|
623
|
+
RevisionId: string | undefined;
|
|
624
|
+
|
|
625
|
+
Stage: string | undefined;
|
|
626
|
+
}
|
|
627
|
+
export declare namespace ImportAssetFromApiGatewayApiResponseDetails {
|
|
628
|
+
|
|
629
|
+
const filterSensitiveLog: (obj: ImportAssetFromApiGatewayApiResponseDetails) => any;
|
|
630
|
+
}
|
|
631
|
+
|
|
569
632
|
export interface ImportAssetFromSignedUrlResponseDetails {
|
|
570
633
|
|
|
571
634
|
AssetName: string | undefined;
|
|
@@ -624,6 +687,8 @@ export interface ResponseDetails {
|
|
|
624
687
|
ImportAssetsFromS3?: ImportAssetsFromS3ResponseDetails;
|
|
625
688
|
|
|
626
689
|
ImportAssetsFromRedshiftDataShares?: ImportAssetsFromRedshiftDataSharesResponseDetails;
|
|
690
|
+
|
|
691
|
+
ImportAssetFromApiGatewayApi?: ImportAssetFromApiGatewayApiResponseDetails;
|
|
627
692
|
}
|
|
628
693
|
export declare namespace ResponseDetails {
|
|
629
694
|
|
|
@@ -1181,6 +1246,45 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
1181
1246
|
|
|
1182
1247
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
1183
1248
|
}
|
|
1249
|
+
|
|
1250
|
+
export interface SendApiAssetRequest {
|
|
1251
|
+
|
|
1252
|
+
Body?: string;
|
|
1253
|
+
|
|
1254
|
+
QueryStringParameters?: {
|
|
1255
|
+
[key: string]: string;
|
|
1256
|
+
};
|
|
1257
|
+
|
|
1258
|
+
AssetId: string | undefined;
|
|
1259
|
+
|
|
1260
|
+
DataSetId: string | undefined;
|
|
1261
|
+
|
|
1262
|
+
RequestHeaders?: {
|
|
1263
|
+
[key: string]: string;
|
|
1264
|
+
};
|
|
1265
|
+
|
|
1266
|
+
Method?: string;
|
|
1267
|
+
|
|
1268
|
+
Path?: string;
|
|
1269
|
+
|
|
1270
|
+
RevisionId: string | undefined;
|
|
1271
|
+
}
|
|
1272
|
+
export declare namespace SendApiAssetRequest {
|
|
1273
|
+
|
|
1274
|
+
const filterSensitiveLog: (obj: SendApiAssetRequest) => any;
|
|
1275
|
+
}
|
|
1276
|
+
export interface SendApiAssetResponse {
|
|
1277
|
+
|
|
1278
|
+
Body?: string;
|
|
1279
|
+
|
|
1280
|
+
ResponseHeaders?: {
|
|
1281
|
+
[key: string]: string;
|
|
1282
|
+
};
|
|
1283
|
+
}
|
|
1284
|
+
export declare namespace SendApiAssetResponse {
|
|
1285
|
+
|
|
1286
|
+
const filterSensitiveLog: (obj: SendApiAssetResponse) => any;
|
|
1287
|
+
}
|
|
1184
1288
|
export interface StartJobRequest {
|
|
1185
1289
|
|
|
1186
1290
|
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>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { DataExchangeClientConfig } from "./DataExchangeClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: DataExchangeClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: DataExchangeClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { DataExchangeClientConfig } from "./DataExchangeClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: DataExchangeClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: DataExchangeClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
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.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
16
13
|
},
|
|
17
14
|
"main": "./dist-cjs/index.js",
|
|
18
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,48 +18,44 @@
|
|
|
21
18
|
"dependencies": {
|
|
22
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
39
|
+
"@aws-sdk/types": "3.47.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
52
51
|
"tslib": "^2.3.0"
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
-
"@types/node": "^12.7.5"
|
|
57
|
-
"downlevel-dts": "0.7.0",
|
|
58
|
-
"jest": "^26.1.0",
|
|
59
|
-
"rimraf": "^3.0.0",
|
|
60
|
-
"ts-jest": "^26.4.1",
|
|
61
|
-
"typedoc": "^0.19.2",
|
|
62
|
-
"typescript": "~4.3.5"
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
55
|
+
"@types/node": "^12.7.5"
|
|
63
56
|
},
|
|
64
57
|
"engines": {
|
|
65
|
-
"node": ">=
|
|
58
|
+
"node": ">=12.0.0"
|
|
66
59
|
},
|
|
67
60
|
"typesVersions": {
|
|
68
61
|
"<4.0": {
|