@aws-sdk/client-emr-serverless 3.301.0 → 3.303.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.
@@ -3,21 +3,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetJobRunResponseFilterSensitiveLog = exports.StartJobRunRequestFilterSensitiveLog = exports.JobRunFilterSensitiveLog = exports.ConfigurationOverridesFilterSensitiveLog = exports.ConfigurationFilterSensitiveLog = exports.JobDriverFilterSensitiveLog = exports.SparkSubmitFilterSensitiveLog = exports.HiveFilterSensitiveLog = exports.JobRunState = exports.JobDriver = exports.ServiceQuotaExceededException = exports.ValidationException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.ApplicationState = exports.Architecture = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const EMRServerlessServiceException_1 = require("./EMRServerlessServiceException");
6
- var Architecture;
7
- (function (Architecture) {
8
- Architecture["ARM64"] = "ARM64";
9
- Architecture["X86_64"] = "X86_64";
10
- })(Architecture = exports.Architecture || (exports.Architecture = {}));
11
- var ApplicationState;
12
- (function (ApplicationState) {
13
- ApplicationState["CREATED"] = "CREATED";
14
- ApplicationState["CREATING"] = "CREATING";
15
- ApplicationState["STARTED"] = "STARTED";
16
- ApplicationState["STARTING"] = "STARTING";
17
- ApplicationState["STOPPED"] = "STOPPED";
18
- ApplicationState["STOPPING"] = "STOPPING";
19
- ApplicationState["TERMINATED"] = "TERMINATED";
20
- })(ApplicationState = exports.ApplicationState || (exports.ApplicationState = {}));
6
+ exports.Architecture = {
7
+ ARM64: "ARM64",
8
+ X86_64: "X86_64",
9
+ };
10
+ exports.ApplicationState = {
11
+ CREATED: "CREATED",
12
+ CREATING: "CREATING",
13
+ STARTED: "STARTED",
14
+ STARTING: "STARTING",
15
+ STOPPED: "STOPPED",
16
+ STOPPING: "STOPPING",
17
+ TERMINATED: "TERMINATED",
18
+ };
21
19
  class ConflictException extends EMRServerlessServiceException_1.EMRServerlessServiceException {
22
20
  constructor(opts) {
23
21
  super({
@@ -93,17 +91,16 @@ var JobDriver;
93
91
  return visitor._(value.$unknown[0], value.$unknown[1]);
94
92
  };
95
93
  })(JobDriver = exports.JobDriver || (exports.JobDriver = {}));
96
- var JobRunState;
97
- (function (JobRunState) {
98
- JobRunState["CANCELLED"] = "CANCELLED";
99
- JobRunState["CANCELLING"] = "CANCELLING";
100
- JobRunState["FAILED"] = "FAILED";
101
- JobRunState["PENDING"] = "PENDING";
102
- JobRunState["RUNNING"] = "RUNNING";
103
- JobRunState["SCHEDULED"] = "SCHEDULED";
104
- JobRunState["SUBMITTED"] = "SUBMITTED";
105
- JobRunState["SUCCESS"] = "SUCCESS";
106
- })(JobRunState = exports.JobRunState || (exports.JobRunState = {}));
94
+ exports.JobRunState = {
95
+ CANCELLED: "CANCELLED",
96
+ CANCELLING: "CANCELLING",
97
+ FAILED: "FAILED",
98
+ PENDING: "PENDING",
99
+ RUNNING: "RUNNING",
100
+ SCHEDULED: "SCHEDULED",
101
+ SUBMITTED: "SUBMITTED",
102
+ SUCCESS: "SUCCESS",
103
+ };
107
104
  const HiveFilterSensitiveLog = (obj) => ({
108
105
  ...obj,
109
106
  ...(obj.query && { query: smithy_client_1.SENSITIVE_STRING }),
@@ -1,20 +1,18 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
3
- export var Architecture;
4
- (function (Architecture) {
5
- Architecture["ARM64"] = "ARM64";
6
- Architecture["X86_64"] = "X86_64";
7
- })(Architecture || (Architecture = {}));
8
- export var ApplicationState;
9
- (function (ApplicationState) {
10
- ApplicationState["CREATED"] = "CREATED";
11
- ApplicationState["CREATING"] = "CREATING";
12
- ApplicationState["STARTED"] = "STARTED";
13
- ApplicationState["STARTING"] = "STARTING";
14
- ApplicationState["STOPPED"] = "STOPPED";
15
- ApplicationState["STOPPING"] = "STOPPING";
16
- ApplicationState["TERMINATED"] = "TERMINATED";
17
- })(ApplicationState || (ApplicationState = {}));
3
+ export const Architecture = {
4
+ ARM64: "ARM64",
5
+ X86_64: "X86_64",
6
+ };
7
+ export const ApplicationState = {
8
+ CREATED: "CREATED",
9
+ CREATING: "CREATING",
10
+ STARTED: "STARTED",
11
+ STARTING: "STARTING",
12
+ STOPPED: "STOPPED",
13
+ STOPPING: "STOPPING",
14
+ TERMINATED: "TERMINATED",
15
+ };
18
16
  export class ConflictException extends __BaseException {
19
17
  constructor(opts) {
20
18
  super({
@@ -85,17 +83,16 @@ export var JobDriver;
85
83
  return visitor._(value.$unknown[0], value.$unknown[1]);
86
84
  };
87
85
  })(JobDriver || (JobDriver = {}));
88
- export var JobRunState;
89
- (function (JobRunState) {
90
- JobRunState["CANCELLED"] = "CANCELLED";
91
- JobRunState["CANCELLING"] = "CANCELLING";
92
- JobRunState["FAILED"] = "FAILED";
93
- JobRunState["PENDING"] = "PENDING";
94
- JobRunState["RUNNING"] = "RUNNING";
95
- JobRunState["SCHEDULED"] = "SCHEDULED";
96
- JobRunState["SUBMITTED"] = "SUBMITTED";
97
- JobRunState["SUCCESS"] = "SUCCESS";
98
- })(JobRunState || (JobRunState = {}));
86
+ export const JobRunState = {
87
+ CANCELLED: "CANCELLED",
88
+ CANCELLING: "CANCELLING",
89
+ FAILED: "FAILED",
90
+ PENDING: "PENDING",
91
+ RUNNING: "RUNNING",
92
+ SCHEDULED: "SCHEDULED",
93
+ SUBMITTED: "SUBMITTED",
94
+ SUCCESS: "SUCCESS",
95
+ };
99
96
  export const HiveFilterSensitiveLog = (obj) => ({
100
97
  ...obj,
101
98
  ...(obj.query && { query: SENSITIVE_STRING }),
@@ -2,11 +2,16 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum Architecture {
7
- ARM64 = "ARM64",
8
- X86_64 = "X86_64"
9
- }
7
+ export declare const Architecture: {
8
+ readonly ARM64: "ARM64";
9
+ readonly X86_64: "X86_64";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type Architecture = (typeof Architecture)[keyof typeof Architecture];
10
15
  /**
11
16
  * @public
12
17
  * <p>The configuration for an application to automatically start on job submission.</p>
@@ -116,18 +121,23 @@ export interface NetworkConfiguration {
116
121
  */
117
122
  securityGroupIds?: string[];
118
123
  }
124
+ /**
125
+ * @public
126
+ * @enum
127
+ */
128
+ export declare const ApplicationState: {
129
+ readonly CREATED: "CREATED";
130
+ readonly CREATING: "CREATING";
131
+ readonly STARTED: "STARTED";
132
+ readonly STARTING: "STARTING";
133
+ readonly STOPPED: "STOPPED";
134
+ readonly STOPPING: "STOPPING";
135
+ readonly TERMINATED: "TERMINATED";
136
+ };
119
137
  /**
120
138
  * @public
121
139
  */
122
- export declare enum ApplicationState {
123
- CREATED = "CREATED",
124
- CREATING = "CREATING",
125
- STARTED = "STARTED",
126
- STARTING = "STARTING",
127
- STOPPED = "STOPPED",
128
- STOPPING = "STOPPING",
129
- TERMINATED = "TERMINATED"
130
- }
140
+ export type ApplicationState = (typeof ApplicationState)[keyof typeof ApplicationState];
131
141
  /**
132
142
  * @public
133
143
  * <p>The specifications for a worker type.</p>
@@ -761,19 +771,24 @@ export declare namespace JobDriver {
761
771
  }
762
772
  const visit: <T>(value: JobDriver, visitor: Visitor<T>) => T;
763
773
  }
774
+ /**
775
+ * @public
776
+ * @enum
777
+ */
778
+ export declare const JobRunState: {
779
+ readonly CANCELLED: "CANCELLED";
780
+ readonly CANCELLING: "CANCELLING";
781
+ readonly FAILED: "FAILED";
782
+ readonly PENDING: "PENDING";
783
+ readonly RUNNING: "RUNNING";
784
+ readonly SCHEDULED: "SCHEDULED";
785
+ readonly SUBMITTED: "SUBMITTED";
786
+ readonly SUCCESS: "SUCCESS";
787
+ };
764
788
  /**
765
789
  * @public
766
790
  */
767
- export declare enum JobRunState {
768
- CANCELLED = "CANCELLED",
769
- CANCELLING = "CANCELLING",
770
- FAILED = "FAILED",
771
- PENDING = "PENDING",
772
- RUNNING = "RUNNING",
773
- SCHEDULED = "SCHEDULED",
774
- SUBMITTED = "SUBMITTED",
775
- SUCCESS = "SUCCESS"
776
- }
791
+ export type JobRunState = (typeof JobRunState)[keyof typeof JobRunState];
777
792
  /**
778
793
  * @public
779
794
  * <p>The aggregate vCPU, memory, and storage resources used from the time job start executing
@@ -1,9 +1,10 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
3
- export declare enum Architecture {
4
- ARM64 = "ARM64",
5
- X86_64 = "X86_64",
6
- }
3
+ export declare const Architecture: {
4
+ readonly ARM64: "ARM64";
5
+ readonly X86_64: "X86_64";
6
+ };
7
+ export type Architecture = (typeof Architecture)[keyof typeof Architecture];
7
8
  export interface AutoStartConfig {
8
9
  enabled?: boolean;
9
10
  }
@@ -33,15 +34,17 @@ export interface NetworkConfiguration {
33
34
  subnetIds?: string[];
34
35
  securityGroupIds?: string[];
35
36
  }
36
- export declare enum ApplicationState {
37
- CREATED = "CREATED",
38
- CREATING = "CREATING",
39
- STARTED = "STARTED",
40
- STARTING = "STARTING",
41
- STOPPED = "STOPPED",
42
- STOPPING = "STOPPING",
43
- TERMINATED = "TERMINATED",
44
- }
37
+ export declare const ApplicationState: {
38
+ readonly CREATED: "CREATED";
39
+ readonly CREATING: "CREATING";
40
+ readonly STARTED: "STARTED";
41
+ readonly STARTING: "STARTING";
42
+ readonly STOPPED: "STOPPED";
43
+ readonly STOPPING: "STOPPING";
44
+ readonly TERMINATED: "TERMINATED";
45
+ };
46
+ export type ApplicationState =
47
+ (typeof ApplicationState)[keyof typeof ApplicationState];
45
48
  export interface WorkerTypeSpecification {
46
49
  imageConfiguration?: ImageConfiguration;
47
50
  }
@@ -246,16 +249,17 @@ export declare namespace JobDriver {
246
249
  }
247
250
  const visit: <T>(value: JobDriver, visitor: Visitor<T>) => T;
248
251
  }
249
- export declare enum JobRunState {
250
- CANCELLED = "CANCELLED",
251
- CANCELLING = "CANCELLING",
252
- FAILED = "FAILED",
253
- PENDING = "PENDING",
254
- RUNNING = "RUNNING",
255
- SCHEDULED = "SCHEDULED",
256
- SUBMITTED = "SUBMITTED",
257
- SUCCESS = "SUCCESS",
258
- }
252
+ export declare const JobRunState: {
253
+ readonly CANCELLED: "CANCELLED";
254
+ readonly CANCELLING: "CANCELLING";
255
+ readonly FAILED: "FAILED";
256
+ readonly PENDING: "PENDING";
257
+ readonly RUNNING: "RUNNING";
258
+ readonly SCHEDULED: "SCHEDULED";
259
+ readonly SUBMITTED: "SUBMITTED";
260
+ readonly SUCCESS: "SUCCESS";
261
+ };
262
+ export type JobRunState = (typeof JobRunState)[keyof typeof JobRunState];
259
263
  export interface TotalResourceUtilization {
260
264
  vCPUHour?: number;
261
265
  memoryGBHour?: number;
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.301.0",
4
+ "version": "3.303.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",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",