@aws-sdk/client-dataexchange 3.95.0 → 3.105.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 CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-dataexchange
20
+
21
+
22
+
23
+
24
+
25
+ # [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-dataexchange
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-dataexchange
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class DataExchangeClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -17,8 +17,10 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
+ const smithy_client_2 = require("@aws-sdk/smithy-client");
20
21
  const getRuntimeConfig = (config) => {
21
22
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
23
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
24
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
25
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
26
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var DataExchangeClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
16
  import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
18
  export var getRuntimeConfig = function (config) {
18
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
19
21
  var defaultsMode = resolveDefaultsModeConfig(config);
20
22
  var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
21
23
  var clientSharedValues = getSharedRuntimeConfig(config);
@@ -438,9 +438,7 @@ export interface CreateDataSetRequest {
438
438
  /**
439
439
  * <p>A data set tag is an optional label that you can assign to a data set when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.</p>
440
440
  */
441
- Tags?: {
442
- [key: string]: string;
443
- };
441
+ Tags?: Record<string, string>;
444
442
  }
445
443
  export declare namespace CreateDataSetRequest {
446
444
  /**
@@ -507,9 +505,7 @@ export interface CreateDataSetResponse {
507
505
  /**
508
506
  * <p>The tags for the data set.</p>
509
507
  */
510
- Tags?: {
511
- [key: string]: string;
512
- };
508
+ Tags?: Record<string, string>;
513
509
  /**
514
510
  * <p>The date and time that the data set was last updated, in ISO 8601 format.</p>
515
511
  */
@@ -1353,9 +1349,7 @@ export interface CreateRevisionRequest {
1353
1349
  /**
1354
1350
  * <p>A revision tag is an optional label that you can assign to a revision when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.</p>
1355
1351
  */
1356
- Tags?: {
1357
- [key: string]: string;
1358
- };
1352
+ Tags?: Record<string, string>;
1359
1353
  }
1360
1354
  export declare namespace CreateRevisionRequest {
1361
1355
  /**
@@ -1395,9 +1389,7 @@ export interface CreateRevisionResponse {
1395
1389
  /**
1396
1390
  * <p>The tags for the revision.</p>
1397
1391
  */
1398
- Tags?: {
1399
- [key: string]: string;
1400
- };
1392
+ Tags?: Record<string, string>;
1401
1393
  /**
1402
1394
  * <p>The date and time that the revision was last updated, in ISO 8601 format.</p>
1403
1395
  */
@@ -1601,9 +1593,7 @@ export interface GetDataSetResponse {
1601
1593
  /**
1602
1594
  * <p>The tags for the data set.</p>
1603
1595
  */
1604
- Tags?: {
1605
- [key: string]: string;
1606
- };
1596
+ Tags?: Record<string, string>;
1607
1597
  /**
1608
1598
  * <p>The date and time that the data set was last updated, in ISO 8601 format.</p>
1609
1599
  */
@@ -1759,9 +1749,7 @@ export interface GetRevisionResponse {
1759
1749
  /**
1760
1750
  * <p>The tags for the revision.</p>
1761
1751
  */
1762
- Tags?: {
1763
- [key: string]: string;
1764
- };
1752
+ Tags?: Record<string, string>;
1765
1753
  /**
1766
1754
  * <p>The date and time that the revision was last updated, in ISO 8601 format.</p>
1767
1755
  */
@@ -2173,9 +2161,7 @@ export interface ListTagsForResourceResponse {
2173
2161
  /**
2174
2162
  * A label that consists of a customer-defined key and an optional value.
2175
2163
  */
2176
- Tags?: {
2177
- [key: string]: string;
2178
- };
2164
+ Tags?: Record<string, string>;
2179
2165
  }
2180
2166
  export declare namespace ListTagsForResourceResponse {
2181
2167
  /**
@@ -2269,9 +2255,7 @@ export interface SendApiAssetRequest {
2269
2255
  /**
2270
2256
  * <p>Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).</p>
2271
2257
  */
2272
- QueryStringParameters?: {
2273
- [key: string]: string;
2274
- };
2258
+ QueryStringParameters?: Record<string, string>;
2275
2259
  /**
2276
2260
  * <p>Asset ID value for the API request.</p>
2277
2261
  */
@@ -2283,9 +2267,7 @@ export interface SendApiAssetRequest {
2283
2267
  /**
2284
2268
  * <p>Any header value prefixed with x-amzn-dataexchange-header- will have that stripped before sending the Asset API request. Use this when you want to override a header that AWS Data Exchange uses. Alternatively, you can use the header without a prefix to the HTTP request.</p>
2285
2269
  */
2286
- RequestHeaders?: {
2287
- [key: string]: string;
2288
- };
2270
+ RequestHeaders?: Record<string, string>;
2289
2271
  /**
2290
2272
  * <p>HTTP method value for the API request. Alternatively, you can use the appropriate verb in your request.</p>
2291
2273
  */
@@ -2313,9 +2295,7 @@ export interface SendApiAssetResponse {
2313
2295
  /**
2314
2296
  * <p>The response headers from the underlying API tracked by the API asset.</p>
2315
2297
  */
2316
- ResponseHeaders?: {
2317
- [key: string]: string;
2318
- };
2298
+ ResponseHeaders?: Record<string, string>;
2319
2299
  }
2320
2300
  export declare namespace SendApiAssetResponse {
2321
2301
  /**
@@ -2354,9 +2334,7 @@ export interface TagResourceRequest {
2354
2334
  /**
2355
2335
  * A label that consists of a customer-defined key and an optional value.
2356
2336
  */
2357
- Tags: {
2358
- [key: string]: string;
2359
- } | undefined;
2337
+ Tags: Record<string, string> | undefined;
2360
2338
  }
2361
2339
  export declare namespace TagResourceRequest {
2362
2340
  /**
@@ -262,9 +262,7 @@ export interface CreateDataSetRequest {
262
262
 
263
263
  Name: string | undefined;
264
264
 
265
- Tags?: {
266
- [key: string]: string;
267
- };
265
+ Tags?: Record<string, string>;
268
266
  }
269
267
  export declare namespace CreateDataSetRequest {
270
268
 
@@ -303,9 +301,7 @@ export interface CreateDataSetResponse {
303
301
 
304
302
  SourceId?: string;
305
303
 
306
- Tags?: {
307
- [key: string]: string;
308
- };
304
+ Tags?: Record<string, string>;
309
305
 
310
306
  UpdatedAt?: Date;
311
307
  }
@@ -797,9 +793,7 @@ export interface CreateRevisionRequest {
797
793
 
798
794
  DataSetId: string | undefined;
799
795
 
800
- Tags?: {
801
- [key: string]: string;
802
- };
796
+ Tags?: Record<string, string>;
803
797
  }
804
798
  export declare namespace CreateRevisionRequest {
805
799
 
@@ -821,9 +815,7 @@ export interface CreateRevisionResponse {
821
815
 
822
816
  SourceId?: string;
823
817
 
824
- Tags?: {
825
- [key: string]: string;
826
- };
818
+ Tags?: Record<string, string>;
827
819
 
828
820
  UpdatedAt?: Date;
829
821
 
@@ -941,9 +933,7 @@ export interface GetDataSetResponse {
941
933
 
942
934
  SourceId?: string;
943
935
 
944
- Tags?: {
945
- [key: string]: string;
946
- };
936
+ Tags?: Record<string, string>;
947
937
 
948
938
  UpdatedAt?: Date;
949
939
  }
@@ -1033,9 +1023,7 @@ export interface GetRevisionResponse {
1033
1023
 
1034
1024
  SourceId?: string;
1035
1025
 
1036
- Tags?: {
1037
- [key: string]: string;
1038
- };
1026
+ Tags?: Record<string, string>;
1039
1027
 
1040
1028
  UpdatedAt?: Date;
1041
1029
 
@@ -1271,9 +1259,7 @@ export declare namespace ListTagsForResourceRequest {
1271
1259
  }
1272
1260
  export interface ListTagsForResourceResponse {
1273
1261
 
1274
- Tags?: {
1275
- [key: string]: string;
1276
- };
1262
+ Tags?: Record<string, string>;
1277
1263
  }
1278
1264
  export declare namespace ListTagsForResourceResponse {
1279
1265
 
@@ -1325,17 +1311,13 @@ export interface SendApiAssetRequest {
1325
1311
 
1326
1312
  Body?: string;
1327
1313
 
1328
- QueryStringParameters?: {
1329
- [key: string]: string;
1330
- };
1314
+ QueryStringParameters?: Record<string, string>;
1331
1315
 
1332
1316
  AssetId: string | undefined;
1333
1317
 
1334
1318
  DataSetId: string | undefined;
1335
1319
 
1336
- RequestHeaders?: {
1337
- [key: string]: string;
1338
- };
1320
+ RequestHeaders?: Record<string, string>;
1339
1321
 
1340
1322
  Method?: string;
1341
1323
 
@@ -1351,9 +1333,7 @@ export interface SendApiAssetResponse {
1351
1333
 
1352
1334
  Body?: string;
1353
1335
 
1354
- ResponseHeaders?: {
1355
- [key: string]: string;
1356
- };
1336
+ ResponseHeaders?: Record<string, string>;
1357
1337
  }
1358
1338
  export declare namespace SendApiAssetResponse {
1359
1339
 
@@ -1378,9 +1358,7 @@ export interface TagResourceRequest {
1378
1358
 
1379
1359
  ResourceArn: string | undefined;
1380
1360
 
1381
- Tags: {
1382
- [key: string]: string;
1383
- } | undefined;
1361
+ Tags: Record<string, string> | undefined;
1384
1362
  }
1385
1363
  export declare namespace TagResourceRequest {
1386
1364
 
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.95.0",
4
+ "version": "3.105.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,15 +18,16 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.95.0",
21
+ "@aws-sdk/client-sts": "3.105.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.95.0",
23
+ "@aws-sdk/credential-provider-node": "3.105.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
27
27
  "@aws-sdk/middleware-content-length": "3.78.0",
28
28
  "@aws-sdk/middleware-host-header": "3.78.0",
29
29
  "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.105.0",
30
31
  "@aws-sdk/middleware-retry": "3.80.0",
31
32
  "@aws-sdk/middleware-serde": "3.78.0",
32
33
  "@aws-sdk/middleware-signing": "3.78.0",
@@ -35,15 +36,15 @@
35
36
  "@aws-sdk/node-config-provider": "3.80.0",
36
37
  "@aws-sdk/node-http-handler": "3.94.0",
37
38
  "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.85.0",
39
+ "@aws-sdk/smithy-client": "3.99.0",
39
40
  "@aws-sdk/types": "3.78.0",
40
41
  "@aws-sdk/url-parser": "3.78.0",
41
42
  "@aws-sdk/util-base64-browser": "3.58.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.85.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.85.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.99.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
48
  "@aws-sdk/util-user-agent-browser": "3.78.0",
48
49
  "@aws-sdk/util-user-agent-node": "3.80.0",
49
50
  "@aws-sdk/util-utf8-browser": "3.55.0",