@aws-sdk/client-emr-containers 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-emr-containers
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-emr-containers
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-emr-containers
@@ -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 EMRContainersClient 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 EMRContainersClient = (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);
@@ -233,9 +233,7 @@ export interface CreateVirtualClusterRequest {
233
233
  /**
234
234
  * <p>The tags assigned to the virtual cluster.</p>
235
235
  */
236
- tags?: {
237
- [key: string]: string;
238
- };
236
+ tags?: Record<string, string>;
239
237
  }
240
238
  export declare namespace CreateVirtualClusterRequest {
241
239
  /**
@@ -479,9 +477,7 @@ export interface VirtualCluster {
479
477
  /**
480
478
  * <p>The assigned tags of the virtual cluster.</p>
481
479
  */
482
- tags?: {
483
- [key: string]: string;
484
- };
480
+ tags?: Record<string, string>;
485
481
  }
486
482
  export declare namespace VirtualCluster {
487
483
  /**
@@ -589,9 +585,7 @@ export interface ListTagsForResourceResponse {
589
585
  /**
590
586
  * <p>The tags assigned to resources.</p>
591
587
  */
592
- tags?: {
593
- [key: string]: string;
594
- };
588
+ tags?: Record<string, string>;
595
589
  }
596
590
  export declare namespace ListTagsForResourceResponse {
597
591
  /**
@@ -683,9 +677,7 @@ export interface TagResourceRequest {
683
677
  /**
684
678
  * <p>The tags assigned to resources.</p>
685
679
  */
686
- tags: {
687
- [key: string]: string;
688
- } | undefined;
680
+ tags: Record<string, string> | undefined;
689
681
  }
690
682
  export declare namespace TagResourceRequest {
691
683
  /**
@@ -736,9 +728,7 @@ export interface Configuration {
736
728
  /**
737
729
  * <p>A set of properties specified within a configuration classification.</p>
738
730
  */
739
- properties?: {
740
- [key: string]: string;
741
- };
731
+ properties?: Record<string, string>;
742
732
  /**
743
733
  * <p>A list of additional configurations to apply within a configuration object.</p>
744
734
  */
@@ -808,9 +798,7 @@ export interface CreateManagedEndpointRequest {
808
798
  * <p>The tags of the managed endpoint.
809
799
  * </p>
810
800
  */
811
- tags?: {
812
- [key: string]: string;
813
- };
801
+ tags?: Record<string, string>;
814
802
  }
815
803
  export declare namespace CreateManagedEndpointRequest {
816
804
  /**
@@ -902,9 +890,7 @@ export interface Endpoint {
902
890
  * <p>The tags of the endpoint.
903
891
  * </p>
904
892
  */
905
- tags?: {
906
- [key: string]: string;
907
- };
893
+ tags?: Record<string, string>;
908
894
  }
909
895
  export declare namespace Endpoint {
910
896
  /**
@@ -979,9 +965,7 @@ export interface JobRun {
979
965
  /**
980
966
  * <p>The assigned tags of the job run.</p>
981
967
  */
982
- tags?: {
983
- [key: string]: string;
984
- };
968
+ tags?: Record<string, string>;
985
969
  }
986
970
  export declare namespace JobRun {
987
971
  /**
@@ -1021,9 +1005,7 @@ export interface StartJobRunRequest {
1021
1005
  /**
1022
1006
  * <p>The tags assigned to job runs.</p>
1023
1007
  */
1024
- tags?: {
1025
- [key: string]: string;
1026
- };
1008
+ tags?: Record<string, string>;
1027
1009
  }
1028
1010
  export declare namespace StartJobRunRequest {
1029
1011
  /**
@@ -148,9 +148,7 @@ export interface CreateVirtualClusterRequest {
148
148
 
149
149
  clientToken?: string;
150
150
 
151
- tags?: {
152
- [key: string]: string;
153
- };
151
+ tags?: Record<string, string>;
154
152
  }
155
153
  export declare namespace CreateVirtualClusterRequest {
156
154
 
@@ -308,9 +306,7 @@ export interface VirtualCluster {
308
306
 
309
307
  createdAt?: Date;
310
308
 
311
- tags?: {
312
- [key: string]: string;
313
- };
309
+ tags?: Record<string, string>;
314
310
  }
315
311
  export declare namespace VirtualCluster {
316
312
 
@@ -374,9 +370,7 @@ export declare namespace ListTagsForResourceRequest {
374
370
  }
375
371
  export interface ListTagsForResourceResponse {
376
372
 
377
- tags?: {
378
- [key: string]: string;
379
- };
373
+ tags?: Record<string, string>;
380
374
  }
381
375
  export declare namespace ListTagsForResourceResponse {
382
376
 
@@ -430,9 +424,7 @@ export interface TagResourceRequest {
430
424
 
431
425
  resourceArn: string | undefined;
432
426
 
433
- tags: {
434
- [key: string]: string;
435
- } | undefined;
427
+ tags: Record<string, string> | undefined;
436
428
  }
437
429
  export declare namespace TagResourceRequest {
438
430
 
@@ -465,9 +457,7 @@ export interface Configuration {
465
457
 
466
458
  classification: string | undefined;
467
459
 
468
- properties?: {
469
- [key: string]: string;
470
- };
460
+ properties?: Record<string, string>;
471
461
 
472
462
  configurations?: Configuration[];
473
463
  }
@@ -504,9 +494,7 @@ export interface CreateManagedEndpointRequest {
504
494
 
505
495
  clientToken?: string;
506
496
 
507
- tags?: {
508
- [key: string]: string;
509
- };
497
+ tags?: Record<string, string>;
510
498
  }
511
499
  export declare namespace CreateManagedEndpointRequest {
512
500
 
@@ -549,9 +537,7 @@ export interface Endpoint {
549
537
 
550
538
  failureReason?: FailureReason | string;
551
539
 
552
- tags?: {
553
- [key: string]: string;
554
- };
540
+ tags?: Record<string, string>;
555
541
  }
556
542
  export declare namespace Endpoint {
557
543
 
@@ -590,9 +576,7 @@ export interface JobRun {
590
576
 
591
577
  failureReason?: FailureReason | string;
592
578
 
593
- tags?: {
594
- [key: string]: string;
595
- };
579
+ tags?: Record<string, string>;
596
580
  }
597
581
  export declare namespace JobRun {
598
582
 
@@ -614,9 +598,7 @@ export interface StartJobRunRequest {
614
598
 
615
599
  configurationOverrides?: ConfigurationOverrides;
616
600
 
617
- tags?: {
618
- [key: string]: string;
619
- };
601
+ tags?: Record<string, string>;
620
602
  }
621
603
  export declare namespace StartJobRunRequest {
622
604
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr-containers",
3
3
  "description": "AWS SDK for JavaScript Emr Containers 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",