@aws-sdk/client-emr-serverless 3.100.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,17 @@
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
+
6
17
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
18
 
8
19
 
@@ -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 EMRServerlessClient 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
  }
@@ -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 EMRServerlessClient = (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;
@@ -164,9 +164,7 @@ export interface Application {
164
164
  /**
165
165
  * <p>The initial capacity of the application.</p>
166
166
  */
167
- initialCapacity?: {
168
- [key: string]: InitialCapacityConfig;
169
- };
167
+ initialCapacity?: Record<string, InitialCapacityConfig>;
170
168
  /**
171
169
  * <p>The maximum capacity of the application. This is cumulative across all workers at any
172
170
  * given point in time during the lifespan of the application is created. No new resources
@@ -184,9 +182,7 @@ export interface Application {
184
182
  /**
185
183
  * <p>The tags assigned to the application.</p>
186
184
  */
187
- tags?: {
188
- [key: string]: string;
189
- };
185
+ tags?: Record<string, string>;
190
186
  /**
191
187
  * <p>The configuration for an application to automatically start on job submission.</p>
192
188
  */
@@ -286,9 +282,7 @@ export interface CreateApplicationRequest {
286
282
  /**
287
283
  * <p>The capacity to initialize when the application is created.</p>
288
284
  */
289
- initialCapacity?: {
290
- [key: string]: InitialCapacityConfig;
291
- };
285
+ initialCapacity?: Record<string, InitialCapacityConfig>;
292
286
  /**
293
287
  * <p>The maximum capacity to allocate when the application is created. This is cumulative
294
288
  * across all workers at any given point in time, not just when an application is created. No
@@ -298,9 +292,7 @@ export interface CreateApplicationRequest {
298
292
  /**
299
293
  * <p>The tags assigned to the application.</p>
300
294
  */
301
- tags?: {
302
- [key: string]: string;
303
- };
295
+ tags?: Record<string, string>;
304
296
  /**
305
297
  * <p>The configuration for an application to automatically start on job submission.</p>
306
298
  */
@@ -518,9 +510,7 @@ export interface UpdateApplicationRequest {
518
510
  /**
519
511
  * <p>The capacity to initialize when the application is updated.</p>
520
512
  */
521
- initialCapacity?: {
522
- [key: string]: InitialCapacityConfig;
523
- };
513
+ initialCapacity?: Record<string, InitialCapacityConfig>;
524
514
  /**
525
515
  * <p>The maximum capacity to allocate when the application is updated. This is cumulative
526
516
  * across all workers at any given point in time during the lifespan of the application. No
@@ -925,9 +915,7 @@ export interface ListTagsForResourceResponse {
925
915
  /**
926
916
  * <p>The tags for the resource.</p>
927
917
  */
928
- tags?: {
929
- [key: string]: string;
930
- };
918
+ tags?: Record<string, string>;
931
919
  }
932
920
  export declare namespace ListTagsForResourceResponse {
933
921
  /**
@@ -943,9 +931,7 @@ export interface TagResourceRequest {
943
931
  /**
944
932
  * <p>The tags to add to the resource. A tag is an array of key-value pairs.</p>
945
933
  */
946
- tags: {
947
- [key: string]: string;
948
- } | undefined;
934
+ tags: Record<string, string> | undefined;
949
935
  }
950
936
  export declare namespace TagResourceRequest {
951
937
  /**
@@ -999,9 +985,7 @@ export interface Configuration {
999
985
  /**
1000
986
  * <p>A set of properties specified within a configuration classification.</p>
1001
987
  */
1002
- properties?: {
1003
- [key: string]: string;
1004
- };
988
+ properties?: Record<string, string>;
1005
989
  /**
1006
990
  * <p>A list of additional configurations to apply within a configuration object.</p>
1007
991
  */
@@ -1092,9 +1076,7 @@ export interface JobRun {
1092
1076
  /**
1093
1077
  * <p>The tags assigned to the job run.</p>
1094
1078
  */
1095
- tags?: {
1096
- [key: string]: string;
1097
- };
1079
+ tags?: Record<string, string>;
1098
1080
  /**
1099
1081
  * <p>The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated,
1100
1082
  * rounded up to the nearest second.</p>
@@ -1140,9 +1122,7 @@ export interface StartJobRunRequest {
1140
1122
  /**
1141
1123
  * <p>The tags assigned to the job run.</p>
1142
1124
  */
1143
- tags?: {
1144
- [key: string]: string;
1145
- };
1125
+ tags?: Record<string, string>;
1146
1126
  /**
1147
1127
  * <p>The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.</p>
1148
1128
  */
@@ -94,9 +94,7 @@ export interface Application {
94
94
 
95
95
  stateDetails?: string;
96
96
 
97
- initialCapacity?: {
98
- [key: string]: InitialCapacityConfig;
99
- };
97
+ initialCapacity?: Record<string, InitialCapacityConfig>;
100
98
 
101
99
  maximumCapacity?: MaximumAllowedResources;
102
100
 
@@ -104,9 +102,7 @@ export interface Application {
104
102
 
105
103
  updatedAt: Date | undefined;
106
104
 
107
- tags?: {
108
- [key: string]: string;
109
- };
105
+ tags?: Record<string, string>;
110
106
 
111
107
  autoStartConfiguration?: AutoStartConfig;
112
108
 
@@ -160,15 +156,11 @@ export interface CreateApplicationRequest {
160
156
 
161
157
  clientToken?: string;
162
158
 
163
- initialCapacity?: {
164
- [key: string]: InitialCapacityConfig;
165
- };
159
+ initialCapacity?: Record<string, InitialCapacityConfig>;
166
160
 
167
161
  maximumCapacity?: MaximumAllowedResources;
168
162
 
169
- tags?: {
170
- [key: string]: string;
171
- };
163
+ tags?: Record<string, string>;
172
164
 
173
165
  autoStartConfiguration?: AutoStartConfig;
174
166
 
@@ -306,9 +298,7 @@ export interface UpdateApplicationRequest {
306
298
 
307
299
  clientToken?: string;
308
300
 
309
- initialCapacity?: {
310
- [key: string]: InitialCapacityConfig;
311
- };
301
+ initialCapacity?: Record<string, InitialCapacityConfig>;
312
302
 
313
303
  maximumCapacity?: MaximumAllowedResources;
314
304
 
@@ -555,9 +545,7 @@ export declare namespace ListTagsForResourceRequest {
555
545
  }
556
546
  export interface ListTagsForResourceResponse {
557
547
 
558
- tags?: {
559
- [key: string]: string;
560
- };
548
+ tags?: Record<string, string>;
561
549
  }
562
550
  export declare namespace ListTagsForResourceResponse {
563
551
 
@@ -567,9 +555,7 @@ export interface TagResourceRequest {
567
555
 
568
556
  resourceArn: string | undefined;
569
557
 
570
- tags: {
571
- [key: string]: string;
572
- } | undefined;
558
+ tags: Record<string, string> | undefined;
573
559
  }
574
560
  export declare namespace TagResourceRequest {
575
561
 
@@ -602,9 +588,7 @@ export interface Configuration {
602
588
 
603
589
  classification: string | undefined;
604
590
 
605
- properties?: {
606
- [key: string]: string;
607
- };
591
+ properties?: Record<string, string>;
608
592
 
609
593
  configurations?: Configuration[];
610
594
  }
@@ -652,9 +636,7 @@ export interface JobRun {
652
636
 
653
637
  jobDriver: JobDriver | undefined;
654
638
 
655
- tags?: {
656
- [key: string]: string;
657
- };
639
+ tags?: Record<string, string>;
658
640
 
659
641
  totalResourceUtilization?: TotalResourceUtilization;
660
642
 
@@ -678,9 +660,7 @@ export interface StartJobRunRequest {
678
660
 
679
661
  configurationOverrides?: ConfigurationOverrides;
680
662
 
681
- tags?: {
682
- [key: string]: string;
683
- };
663
+ tags?: Record<string, string>;
684
664
 
685
665
  executionTimeoutMinutes?: number;
686
666
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr-serverless",
3
3
  "description": "AWS SDK for JavaScript Emr Serverless Client for Node.js, Browser and React Native",
4
- "version": "3.100.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.100.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.100.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",