@aws-sdk/client-emr-serverless 3.934.0 → 3.936.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
@@ -117,19 +117,6 @@ let EMRServerlessServiceException$1 = class EMRServerlessServiceException extend
117
117
  }
118
118
  };
119
119
 
120
- const Architecture = {
121
- ARM64: "ARM64",
122
- X86_64: "X86_64",
123
- };
124
- const ApplicationState = {
125
- CREATED: "CREATED",
126
- CREATING: "CREATING",
127
- STARTED: "STARTED",
128
- STARTING: "STARTING",
129
- STOPPED: "STOPPED",
130
- STOPPING: "STOPPING",
131
- TERMINATED: "TERMINATED",
132
- };
133
120
  let ConflictException$1 = class ConflictException extends EMRServerlessServiceException$1 {
134
121
  name = "ConflictException";
135
122
  $fault = "client";
@@ -190,21 +177,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
190
177
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
191
178
  }
192
179
  };
193
- const JobRunMode = {
194
- BATCH: "BATCH",
195
- STREAMING: "STREAMING",
196
- };
197
- const JobRunState = {
198
- CANCELLED: "CANCELLED",
199
- CANCELLING: "CANCELLING",
200
- FAILED: "FAILED",
201
- PENDING: "PENDING",
202
- QUEUED: "QUEUED",
203
- RUNNING: "RUNNING",
204
- SCHEDULED: "SCHEDULED",
205
- SUBMITTED: "SUBMITTED",
206
- SUCCESS: "SUCCESS",
207
- };
208
180
 
209
181
  const _A = "Application";
210
182
  const _AL = "ApplicationList";
@@ -1414,8 +1386,6 @@ Object.defineProperty(exports, "__Client", {
1414
1386
  enumerable: true,
1415
1387
  get: function () { return smithyClient.Client; }
1416
1388
  });
1417
- exports.ApplicationState = ApplicationState;
1418
- exports.Architecture = Architecture;
1419
1389
  exports.CancelJobRunCommand = CancelJobRunCommand;
1420
1390
  exports.ConflictException = ConflictException$1;
1421
1391
  exports.CreateApplicationCommand = CreateApplicationCommand;
@@ -1427,8 +1397,6 @@ exports.GetApplicationCommand = GetApplicationCommand;
1427
1397
  exports.GetDashboardForJobRunCommand = GetDashboardForJobRunCommand;
1428
1398
  exports.GetJobRunCommand = GetJobRunCommand;
1429
1399
  exports.InternalServerException = InternalServerException$1;
1430
- exports.JobRunMode = JobRunMode;
1431
- exports.JobRunState = JobRunState;
1432
1400
  exports.ListApplicationsCommand = ListApplicationsCommand;
1433
1401
  exports.ListJobRunAttemptsCommand = ListJobRunAttemptsCommand;
1434
1402
  exports.ListJobRunsCommand = ListJobRunsCommand;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./EMRServerlessClient";
2
2
  export * from "./EMRServerless";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { EMRServerlessServiceException } from "./models/EMRServerlessServiceException";
@@ -0,0 +1,61 @@
1
+ import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
2
+ export class ConflictException extends __BaseException {
3
+ name = "ConflictException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "ConflictException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, ConflictException.prototype);
12
+ }
13
+ }
14
+ export class InternalServerException extends __BaseException {
15
+ name = "InternalServerException";
16
+ $fault = "server";
17
+ constructor(opts) {
18
+ super({
19
+ name: "InternalServerException",
20
+ $fault: "server",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, InternalServerException.prototype);
24
+ }
25
+ }
26
+ export class ResourceNotFoundException extends __BaseException {
27
+ name = "ResourceNotFoundException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "ResourceNotFoundException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
36
+ }
37
+ }
38
+ export class ValidationException extends __BaseException {
39
+ name = "ValidationException";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "ValidationException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, ValidationException.prototype);
48
+ }
49
+ }
50
+ export class ServiceQuotaExceededException extends __BaseException {
51
+ name = "ServiceQuotaExceededException";
52
+ $fault = "client";
53
+ constructor(opts) {
54
+ super({
55
+ name: "ServiceQuotaExceededException",
56
+ $fault: "client",
57
+ ...opts,
58
+ });
59
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
60
+ }
61
+ }
@@ -1,4 +1,3 @@
1
- import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
2
1
  export const Architecture = {
3
2
  ARM64: "ARM64",
4
3
  X86_64: "X86_64",
@@ -12,66 +11,6 @@ export const ApplicationState = {
12
11
  STOPPING: "STOPPING",
13
12
  TERMINATED: "TERMINATED",
14
13
  };
15
- export class ConflictException extends __BaseException {
16
- name = "ConflictException";
17
- $fault = "client";
18
- constructor(opts) {
19
- super({
20
- name: "ConflictException",
21
- $fault: "client",
22
- ...opts,
23
- });
24
- Object.setPrototypeOf(this, ConflictException.prototype);
25
- }
26
- }
27
- export class InternalServerException extends __BaseException {
28
- name = "InternalServerException";
29
- $fault = "server";
30
- constructor(opts) {
31
- super({
32
- name: "InternalServerException",
33
- $fault: "server",
34
- ...opts,
35
- });
36
- Object.setPrototypeOf(this, InternalServerException.prototype);
37
- }
38
- }
39
- export class ResourceNotFoundException extends __BaseException {
40
- name = "ResourceNotFoundException";
41
- $fault = "client";
42
- constructor(opts) {
43
- super({
44
- name: "ResourceNotFoundException",
45
- $fault: "client",
46
- ...opts,
47
- });
48
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
49
- }
50
- }
51
- export class ValidationException extends __BaseException {
52
- name = "ValidationException";
53
- $fault = "client";
54
- constructor(opts) {
55
- super({
56
- name: "ValidationException",
57
- $fault: "client",
58
- ...opts,
59
- });
60
- Object.setPrototypeOf(this, ValidationException.prototype);
61
- }
62
- }
63
- export class ServiceQuotaExceededException extends __BaseException {
64
- name = "ServiceQuotaExceededException";
65
- $fault = "client";
66
- constructor(opts) {
67
- super({
68
- name: "ServiceQuotaExceededException",
69
- $fault: "client",
70
- ...opts,
71
- });
72
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
73
- }
74
- }
75
14
  export const JobRunMode = {
76
15
  BATCH: "BATCH",
77
16
  STREAMING: "STREAMING",
@@ -219,7 +219,7 @@ const _wTS = "workerTypeSpecifications";
219
219
  const n0 = "com.amazonaws.emrserverless";
220
220
  import { TypeRegistry } from "@smithy/core/schema";
221
221
  import { EMRServerlessServiceException as __EMRServerlessServiceException } from "../models/EMRServerlessServiceException";
222
- import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/index";
222
+ import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/errors";
223
223
  export var EntryPointArgument = [0, n0, _EPA, 8, 0];
224
224
  export var EntryPointPath = [0, n0, _EPP, 8, 0];
225
225
  export var HiveCliParameters = [0, n0, _HCP, 8, 0];
@@ -10,5 +10,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { EMRServerlessExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/errors";
14
+ export type * from "./models/models_0";
14
15
  export { EMRServerlessServiceException } from "./models/EMRServerlessServiceException";
@@ -0,0 +1,62 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
3
+ /**
4
+ * <p>The request could not be processed because of conflict in the current state of the resource.</p>
5
+ * @public
6
+ */
7
+ export declare class ConflictException extends __BaseException {
8
+ readonly name: "ConflictException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>Request processing failed because of an error or failure with the service.</p>
17
+ * @public
18
+ */
19
+ export declare class InternalServerException extends __BaseException {
20
+ readonly name: "InternalServerException";
21
+ readonly $fault: "server";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>The specified resource was not found.</p>
29
+ * @public
30
+ */
31
+ export declare class ResourceNotFoundException extends __BaseException {
32
+ readonly name: "ResourceNotFoundException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
41
+ * @public
42
+ */
43
+ export declare class ValidationException extends __BaseException {
44
+ readonly name: "ValidationException";
45
+ readonly $fault: "client";
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
50
+ }
51
+ /**
52
+ * <p>The maximum number of resources per account has been reached.</p>
53
+ * @public
54
+ */
55
+ export declare class ServiceQuotaExceededException extends __BaseException {
56
+ readonly name: "ServiceQuotaExceededException";
57
+ readonly $fault: "client";
58
+ /**
59
+ * @internal
60
+ */
61
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
62
+ }
@@ -1,5 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
3
1
  /**
4
2
  * @public
5
3
  * @enum
@@ -371,18 +369,6 @@ export interface ApplicationSummary {
371
369
  */
372
370
  architecture?: Architecture | undefined;
373
371
  }
374
- /**
375
- * <p>The request could not be processed because of conflict in the current state of the resource.</p>
376
- * @public
377
- */
378
- export declare class ConflictException extends __BaseException {
379
- readonly name: "ConflictException";
380
- readonly $fault: "client";
381
- /**
382
- * @internal
383
- */
384
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
385
- }
386
372
  /**
387
373
  * <p>The IAM Identity Center Configuration accepts the Identity Center instance parameter required to enable trusted identity propagation. This configuration allows identity propagation between integrated services and the Identity Center instance.</p>
388
374
  * @public
@@ -441,42 +427,6 @@ export interface CreateApplicationResponse {
441
427
  */
442
428
  arn: string | undefined;
443
429
  }
444
- /**
445
- * <p>Request processing failed because of an error or failure with the service.</p>
446
- * @public
447
- */
448
- export declare class InternalServerException extends __BaseException {
449
- readonly name: "InternalServerException";
450
- readonly $fault: "server";
451
- /**
452
- * @internal
453
- */
454
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
455
- }
456
- /**
457
- * <p>The specified resource was not found.</p>
458
- * @public
459
- */
460
- export declare class ResourceNotFoundException extends __BaseException {
461
- readonly name: "ResourceNotFoundException";
462
- readonly $fault: "client";
463
- /**
464
- * @internal
465
- */
466
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
467
- }
468
- /**
469
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
470
- * @public
471
- */
472
- export declare class ValidationException extends __BaseException {
473
- readonly name: "ValidationException";
474
- readonly $fault: "client";
475
- /**
476
- * @internal
477
- */
478
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
479
- }
480
430
  /**
481
431
  * @public
482
432
  */
@@ -537,18 +487,6 @@ export interface ListApplicationsResponse {
537
487
  */
538
488
  nextToken?: string | undefined;
539
489
  }
540
- /**
541
- * <p>The maximum number of resources per account has been reached.</p>
542
- * @public
543
- */
544
- export declare class ServiceQuotaExceededException extends __BaseException {
545
- readonly name: "ServiceQuotaExceededException";
546
- readonly $fault: "client";
547
- /**
548
- * @internal
549
- */
550
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
551
- }
552
490
  /**
553
491
  * @public
554
492
  */
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { EMRServerlessExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { EMRServerlessServiceException } from "./models/EMRServerlessServiceException";
@@ -0,0 +1,35 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
3
+ export declare class ConflictException extends __BaseException {
4
+ readonly name: "ConflictException";
5
+ readonly $fault: "client";
6
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
7
+ }
8
+ export declare class InternalServerException extends __BaseException {
9
+ readonly name: "InternalServerException";
10
+ readonly $fault: "server";
11
+ constructor(
12
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
13
+ );
14
+ }
15
+ export declare class ResourceNotFoundException extends __BaseException {
16
+ readonly name: "ResourceNotFoundException";
17
+ readonly $fault: "client";
18
+ constructor(
19
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
20
+ );
21
+ }
22
+ export declare class ValidationException extends __BaseException {
23
+ readonly name: "ValidationException";
24
+ readonly $fault: "client";
25
+ constructor(
26
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
27
+ );
28
+ }
29
+ export declare class ServiceQuotaExceededException extends __BaseException {
30
+ readonly name: "ServiceQuotaExceededException";
31
+ readonly $fault: "client";
32
+ constructor(
33
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
34
+ );
35
+ }
@@ -1,5 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
3
1
  export declare const Architecture: {
4
2
  readonly ARM64: "ARM64";
5
3
  readonly X86_64: "X86_64";
@@ -102,11 +100,6 @@ export interface ApplicationSummary {
102
100
  updatedAt: Date | undefined;
103
101
  architecture?: Architecture | undefined;
104
102
  }
105
- export declare class ConflictException extends __BaseException {
106
- readonly name: "ConflictException";
107
- readonly $fault: "client";
108
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
109
- }
110
103
  export interface IdentityCenterConfigurationInput {
111
104
  identityCenterInstanceArn?: string | undefined;
112
105
  userBackgroundSessionsEnabled?: boolean | undefined;
@@ -122,27 +115,6 @@ export interface CreateApplicationResponse {
122
115
  name?: string | undefined;
123
116
  arn: string | undefined;
124
117
  }
125
- export declare class InternalServerException extends __BaseException {
126
- readonly name: "InternalServerException";
127
- readonly $fault: "server";
128
- constructor(
129
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
130
- );
131
- }
132
- export declare class ResourceNotFoundException extends __BaseException {
133
- readonly name: "ResourceNotFoundException";
134
- readonly $fault: "client";
135
- constructor(
136
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
137
- );
138
- }
139
- export declare class ValidationException extends __BaseException {
140
- readonly name: "ValidationException";
141
- readonly $fault: "client";
142
- constructor(
143
- opts: __ExceptionOptionType<ValidationException, __BaseException>
144
- );
145
- }
146
118
  export interface DeleteApplicationRequest {
147
119
  applicationId: string | undefined;
148
120
  }
@@ -159,13 +131,6 @@ export interface ListApplicationsResponse {
159
131
  applications: ApplicationSummary[] | undefined;
160
132
  nextToken?: string | undefined;
161
133
  }
162
- export declare class ServiceQuotaExceededException extends __BaseException {
163
- readonly name: "ServiceQuotaExceededException";
164
- readonly $fault: "client";
165
- constructor(
166
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
167
- );
168
- }
169
134
  export interface StartApplicationRequest {
170
135
  applicationId: string | undefined;
171
136
  }
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.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-emr-serverless",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";