@aws-sdk/client-emr-serverless 3.1147.0 → 3.1149.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1146.0";
72
+ var version = "3.1148.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
132
132
  customEndpointFunctions.aws = awsEndpointFunctions;
133
133
 
134
134
  class EMRServerlessServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.emrserverless#EMRServerlessServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, EMRServerlessServiceException.prototype);
@@ -139,6 +140,7 @@ class EMRServerlessServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class ConflictException extends EMRServerlessServiceException {
143
+ static shapeId = "com.amazonaws.emrserverless#ConflictException";
142
144
  name = "ConflictException";
143
145
  $fault = "client";
144
146
  constructor(opts) {
@@ -151,6 +153,7 @@ class ConflictException extends EMRServerlessServiceException {
151
153
  }
152
154
  }
153
155
  class InternalServerException extends EMRServerlessServiceException {
156
+ static shapeId = "com.amazonaws.emrserverless#InternalServerException";
154
157
  name = "InternalServerException";
155
158
  $fault = "server";
156
159
  constructor(opts) {
@@ -163,6 +166,7 @@ class InternalServerException extends EMRServerlessServiceException {
163
166
  }
164
167
  }
165
168
  class ResourceNotFoundException extends EMRServerlessServiceException {
169
+ static shapeId = "com.amazonaws.emrserverless#ResourceNotFoundException";
166
170
  name = "ResourceNotFoundException";
167
171
  $fault = "client";
168
172
  constructor(opts) {
@@ -175,6 +179,7 @@ class ResourceNotFoundException extends EMRServerlessServiceException {
175
179
  }
176
180
  }
177
181
  class ValidationException extends EMRServerlessServiceException {
182
+ static shapeId = "com.amazonaws.emrserverless#ValidationException";
178
183
  name = "ValidationException";
179
184
  $fault = "client";
180
185
  constructor(opts) {
@@ -187,6 +192,7 @@ class ValidationException extends EMRServerlessServiceException {
187
192
  }
188
193
  }
189
194
  class ServiceQuotaExceededException extends EMRServerlessServiceException {
195
+ static shapeId = "com.amazonaws.emrserverless#ServiceQuotaExceededException";
190
196
  name = "ServiceQuotaExceededException";
191
197
  $fault = "client";
192
198
  constructor(opts) {
@@ -604,8 +610,8 @@ var GetJobRunResponse$ = [3, n0, _GJRRe,
604
610
  ];
605
611
  var GetResourceDashboardRequest$ = [3, n0, _GRDR,
606
612
  0,
607
- [_aI, _rI, _rT],
608
- [[0, 1], [0, { [_hQ]: _rI }], [0, { [_hQ]: _rT }]], 3
613
+ [_aI, _rI, _rT, _aSPL],
614
+ [[0, 1], [0, { [_hQ]: _rI }], [0, { [_hQ]: _rT }], [2, { [_hQ]: _aSPL }]], 3
609
615
  ];
610
616
  var GetResourceDashboardResponse$ = [3, n0, _GRDRe,
611
617
  0,
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class EMRServerlessServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.emrserverless#EMRServerlessServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, EMRServerlessServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
2
2
  export class ConflictException extends __BaseException {
3
+ static shapeId = "com.amazonaws.emrserverless#ConflictException";
3
4
  name = "ConflictException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class ConflictException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class InternalServerException extends __BaseException {
16
+ static shapeId = "com.amazonaws.emrserverless#InternalServerException";
15
17
  name = "InternalServerException";
16
18
  $fault = "server";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class InternalServerException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class ResourceNotFoundException extends __BaseException {
29
+ static shapeId = "com.amazonaws.emrserverless#ResourceNotFoundException";
27
30
  name = "ResourceNotFoundException";
28
31
  $fault = "client";
29
32
  constructor(opts) {
@@ -36,6 +39,7 @@ export class ResourceNotFoundException extends __BaseException {
36
39
  }
37
40
  }
38
41
  export class ValidationException extends __BaseException {
42
+ static shapeId = "com.amazonaws.emrserverless#ValidationException";
39
43
  name = "ValidationException";
40
44
  $fault = "client";
41
45
  constructor(opts) {
@@ -48,6 +52,7 @@ export class ValidationException extends __BaseException {
48
52
  }
49
53
  }
50
54
  export class ServiceQuotaExceededException extends __BaseException {
55
+ static shapeId = "com.amazonaws.emrserverless#ServiceQuotaExceededException";
51
56
  name = "ServiceQuotaExceededException";
52
57
  $fault = "client";
53
58
  constructor(opts) {
@@ -406,8 +406,8 @@ export var GetJobRunResponse$ = [3, n0, _GJRRe,
406
406
  ];
407
407
  export var GetResourceDashboardRequest$ = [3, n0, _GRDR,
408
408
  0,
409
- [_aI, _rI, _rT],
410
- [[0, 1], [0, { [_hQ]: _rI }], [0, { [_hQ]: _rT }]], 3
409
+ [_aI, _rI, _rT, _aSPL],
410
+ [[0, 1], [0, { [_hQ]: _rI }], [0, { [_hQ]: _rT }], [2, { [_hQ]: _aSPL }]], 3
411
411
  ];
412
412
  export var GetResourceDashboardResponse$ = [3, n0, _GRDRe,
413
413
  0,
@@ -37,6 +37,7 @@ declare const GetResourceDashboardCommand_base: {
37
37
  * applicationId: "STRING_VALUE", // required
38
38
  * resourceId: "STRING_VALUE", // required
39
39
  * resourceType: "STRING_VALUE", // required
40
+ * accessSystemProfileLogs: true || false,
40
41
  * };
41
42
  * const command = new GetResourceDashboardCommand(input);
42
43
  * const response = await client.send(command);
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from EMRServerless service.
8
8
  */
9
9
  export declare class EMRServerlessServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { EMRServerlessServiceException as __BaseException } from "./EMRServerles
5
5
  * @public
6
6
  */
7
7
  export declare class ConflictException extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "ConflictException";
9
10
  readonly $fault: "client";
10
11
  /**
@@ -17,6 +18,7 @@ export declare class ConflictException extends __BaseException {
17
18
  * @public
18
19
  */
19
20
  export declare class InternalServerException extends __BaseException {
21
+ static readonly shapeId: string;
20
22
  readonly name: "InternalServerException";
21
23
  readonly $fault: "server";
22
24
  /**
@@ -29,6 +31,7 @@ export declare class InternalServerException extends __BaseException {
29
31
  * @public
30
32
  */
31
33
  export declare class ResourceNotFoundException extends __BaseException {
34
+ static readonly shapeId: string;
32
35
  readonly name: "ResourceNotFoundException";
33
36
  readonly $fault: "client";
34
37
  /**
@@ -41,6 +44,7 @@ export declare class ResourceNotFoundException extends __BaseException {
41
44
  * @public
42
45
  */
43
46
  export declare class ValidationException extends __BaseException {
47
+ static readonly shapeId: string;
44
48
  readonly name: "ValidationException";
45
49
  readonly $fault: "client";
46
50
  /**
@@ -53,6 +57,7 @@ export declare class ValidationException extends __BaseException {
53
57
  * @public
54
58
  */
55
59
  export declare class ServiceQuotaExceededException extends __BaseException {
60
+ static readonly shapeId: string;
56
61
  readonly name: "ServiceQuotaExceededException";
57
62
  readonly $fault: "client";
58
63
  /**
@@ -485,6 +485,11 @@ export interface GetResourceDashboardRequest {
485
485
  * @public
486
486
  */
487
487
  resourceType: ResourceType | undefined;
488
+ /**
489
+ * <p>Allows access to system profile logs for Lake Formation-enabled sessions. Default is false.</p>
490
+ * @public
491
+ */
492
+ accessSystemProfileLogs?: boolean | undefined;
488
493
  }
489
494
  /**
490
495
  * @public
@@ -1865,7 +1870,7 @@ export interface JobRun {
1865
1870
  */
1866
1871
  totalExecutionDurationSeconds?: number | undefined;
1867
1872
  /**
1868
- * <p>Returns the job run timeout value from the <code>StartJobRun</code> call. If no timeout was specified, then it returns the default timeout of 720 minutes.</p>
1873
+ * <p>Returns the job run timeout value from the <code>StartJobRun</code> call. If you didn't specify a timeout, this value defaults to 720 minutes.</p> <p>For BATCH mode job runs, the maximum value is 10080 minutes (7 days) starting with Amazon EMR release 7.11.</p>
1869
1874
  * @public
1870
1875
  */
1871
1876
  executionTimeoutMinutes?: number | undefined;
@@ -2076,7 +2081,7 @@ export interface StartJobRunRequest {
2076
2081
  */
2077
2082
  tags?: Record<string, string> | undefined;
2078
2083
  /**
2079
- * <p>The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.</p>
2084
+ * <p>The maximum duration, in minutes, for the job run. If the job run exceeds this duration, Amazon EMR Serverless cancels it automatically.</p> <p>For BATCH mode job runs, the maximum value is 10080 minutes (7 days) starting with Amazon EMR release 7.11. Setting a value of 0 to disable the timeout is no longer supported for BATCH mode job runs.</p>
2080
2085
  * @public
2081
2086
  */
2082
2087
  executionTimeoutMinutes?: number | undefined;
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class EMRServerlessServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,26 +1,31 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
3
3
  export declare class ConflictException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "ConflictException";
5
6
  readonly $fault: "client";
6
7
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
7
8
  }
8
9
  export declare class InternalServerException extends __BaseException {
10
+ static readonly shapeId: string;
9
11
  readonly name: "InternalServerException";
10
12
  readonly $fault: "server";
11
13
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
12
14
  }
13
15
  export declare class ResourceNotFoundException extends __BaseException {
16
+ static readonly shapeId: string;
14
17
  readonly name: "ResourceNotFoundException";
15
18
  readonly $fault: "client";
16
19
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
17
20
  }
18
21
  export declare class ValidationException extends __BaseException {
22
+ static readonly shapeId: string;
19
23
  readonly name: "ValidationException";
20
24
  readonly $fault: "client";
21
25
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
22
26
  }
23
27
  export declare class ServiceQuotaExceededException extends __BaseException {
28
+ static readonly shapeId: string;
24
29
  readonly name: "ServiceQuotaExceededException";
25
30
  readonly $fault: "client";
26
31
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
@@ -124,6 +124,7 @@ export interface GetResourceDashboardRequest {
124
124
  applicationId: string | undefined;
125
125
  resourceId: string | undefined;
126
126
  resourceType: ResourceType | undefined;
127
+ accessSystemProfileLogs?: boolean | undefined;
127
128
  }
128
129
  export interface GetResourceDashboardResponse {
129
130
  url?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr-serverless",
3
- "version": "3.1147.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Emr Serverless Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-emr-serverless",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.2",
50
+ "@aws-sdk/credential-provider-node": "^3.972.85",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",