@aws-sdk/client-emr-serverless 3.490.0 → 3.496.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/EMRServerless.js +1 -41
- package/dist-cjs/EMRServerlessClient.js +1 -43
- package/dist-cjs/commands/CancelJobRunCommand.js +1 -28
- package/dist-cjs/commands/CreateApplicationCommand.js +1 -29
- package/dist-cjs/commands/DeleteApplicationCommand.js +1 -28
- package/dist-cjs/commands/GetApplicationCommand.js +1 -29
- package/dist-cjs/commands/GetDashboardForJobRunCommand.js +1 -28
- package/dist-cjs/commands/GetJobRunCommand.js +1 -29
- package/dist-cjs/commands/ListApplicationsCommand.js +1 -28
- package/dist-cjs/commands/ListJobRunsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/StartApplicationCommand.js +1 -28
- package/dist-cjs/commands/StartJobRunCommand.js +1 -29
- package/dist-cjs/commands/StopApplicationCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateApplicationCommand.js +1 -29
- package/dist-cjs/commands/index.js +1 -18
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1762 -11
- package/dist-cjs/models/EMRServerlessServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -193
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListApplicationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListJobRunsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -6
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1091
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EMRServerlessServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class EMRServerlessServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, EMRServerlessServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.EMRServerlessServiceException = EMRServerlessServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,193 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetJobRunResponseFilterSensitiveLog = exports.UpdateApplicationResponseFilterSensitiveLog = exports.StartJobRunRequestFilterSensitiveLog = exports.JobRunFilterSensitiveLog = exports.GetApplicationResponseFilterSensitiveLog = exports.UpdateApplicationRequestFilterSensitiveLog = exports.CreateApplicationRequestFilterSensitiveLog = exports.ConfigurationOverridesFilterSensitiveLog = exports.ApplicationFilterSensitiveLog = 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
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const EMRServerlessServiceException_1 = require("./EMRServerlessServiceException");
|
|
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
|
-
};
|
|
19
|
-
class ConflictException extends EMRServerlessServiceException_1.EMRServerlessServiceException {
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "ConflictException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
this.name = "ConflictException";
|
|
27
|
-
this.$fault = "client";
|
|
28
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
exports.ConflictException = ConflictException;
|
|
32
|
-
class InternalServerException extends EMRServerlessServiceException_1.EMRServerlessServiceException {
|
|
33
|
-
constructor(opts) {
|
|
34
|
-
super({
|
|
35
|
-
name: "InternalServerException",
|
|
36
|
-
$fault: "server",
|
|
37
|
-
...opts,
|
|
38
|
-
});
|
|
39
|
-
this.name = "InternalServerException";
|
|
40
|
-
this.$fault = "server";
|
|
41
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.InternalServerException = InternalServerException;
|
|
45
|
-
class ResourceNotFoundException extends EMRServerlessServiceException_1.EMRServerlessServiceException {
|
|
46
|
-
constructor(opts) {
|
|
47
|
-
super({
|
|
48
|
-
name: "ResourceNotFoundException",
|
|
49
|
-
$fault: "client",
|
|
50
|
-
...opts,
|
|
51
|
-
});
|
|
52
|
-
this.name = "ResourceNotFoundException";
|
|
53
|
-
this.$fault = "client";
|
|
54
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
58
|
-
class ValidationException extends EMRServerlessServiceException_1.EMRServerlessServiceException {
|
|
59
|
-
constructor(opts) {
|
|
60
|
-
super({
|
|
61
|
-
name: "ValidationException",
|
|
62
|
-
$fault: "client",
|
|
63
|
-
...opts,
|
|
64
|
-
});
|
|
65
|
-
this.name = "ValidationException";
|
|
66
|
-
this.$fault = "client";
|
|
67
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
exports.ValidationException = ValidationException;
|
|
71
|
-
class ServiceQuotaExceededException extends EMRServerlessServiceException_1.EMRServerlessServiceException {
|
|
72
|
-
constructor(opts) {
|
|
73
|
-
super({
|
|
74
|
-
name: "ServiceQuotaExceededException",
|
|
75
|
-
$fault: "client",
|
|
76
|
-
...opts,
|
|
77
|
-
});
|
|
78
|
-
this.name = "ServiceQuotaExceededException";
|
|
79
|
-
this.$fault = "client";
|
|
80
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
84
|
-
var JobDriver;
|
|
85
|
-
(function (JobDriver) {
|
|
86
|
-
JobDriver.visit = (value, visitor) => {
|
|
87
|
-
if (value.sparkSubmit !== undefined)
|
|
88
|
-
return visitor.sparkSubmit(value.sparkSubmit);
|
|
89
|
-
if (value.hive !== undefined)
|
|
90
|
-
return visitor.hive(value.hive);
|
|
91
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
92
|
-
};
|
|
93
|
-
})(JobDriver = exports.JobDriver || (exports.JobDriver = {}));
|
|
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
|
-
};
|
|
104
|
-
const HiveFilterSensitiveLog = (obj) => ({
|
|
105
|
-
...obj,
|
|
106
|
-
...(obj.query && { query: smithy_client_1.SENSITIVE_STRING }),
|
|
107
|
-
...(obj.initQueryFile && { initQueryFile: smithy_client_1.SENSITIVE_STRING }),
|
|
108
|
-
...(obj.parameters && { parameters: smithy_client_1.SENSITIVE_STRING }),
|
|
109
|
-
});
|
|
110
|
-
exports.HiveFilterSensitiveLog = HiveFilterSensitiveLog;
|
|
111
|
-
const SparkSubmitFilterSensitiveLog = (obj) => ({
|
|
112
|
-
...obj,
|
|
113
|
-
...(obj.entryPoint && { entryPoint: smithy_client_1.SENSITIVE_STRING }),
|
|
114
|
-
...(obj.entryPointArguments && { entryPointArguments: smithy_client_1.SENSITIVE_STRING }),
|
|
115
|
-
...(obj.sparkSubmitParameters && { sparkSubmitParameters: smithy_client_1.SENSITIVE_STRING }),
|
|
116
|
-
});
|
|
117
|
-
exports.SparkSubmitFilterSensitiveLog = SparkSubmitFilterSensitiveLog;
|
|
118
|
-
const JobDriverFilterSensitiveLog = (obj) => {
|
|
119
|
-
if (obj.sparkSubmit !== undefined)
|
|
120
|
-
return { sparkSubmit: (0, exports.SparkSubmitFilterSensitiveLog)(obj.sparkSubmit) };
|
|
121
|
-
if (obj.hive !== undefined)
|
|
122
|
-
return { hive: (0, exports.HiveFilterSensitiveLog)(obj.hive) };
|
|
123
|
-
if (obj.$unknown !== undefined)
|
|
124
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
125
|
-
};
|
|
126
|
-
exports.JobDriverFilterSensitiveLog = JobDriverFilterSensitiveLog;
|
|
127
|
-
const ConfigurationFilterSensitiveLog = (obj) => ({
|
|
128
|
-
...obj,
|
|
129
|
-
...(obj.properties && { properties: smithy_client_1.SENSITIVE_STRING }),
|
|
130
|
-
...(obj.configurations && {
|
|
131
|
-
configurations: obj.configurations.map((item) => (0, exports.ConfigurationFilterSensitiveLog)(item)),
|
|
132
|
-
}),
|
|
133
|
-
});
|
|
134
|
-
exports.ConfigurationFilterSensitiveLog = ConfigurationFilterSensitiveLog;
|
|
135
|
-
const ApplicationFilterSensitiveLog = (obj) => ({
|
|
136
|
-
...obj,
|
|
137
|
-
...(obj.runtimeConfiguration && {
|
|
138
|
-
runtimeConfiguration: obj.runtimeConfiguration.map((item) => (0, exports.ConfigurationFilterSensitiveLog)(item)),
|
|
139
|
-
}),
|
|
140
|
-
});
|
|
141
|
-
exports.ApplicationFilterSensitiveLog = ApplicationFilterSensitiveLog;
|
|
142
|
-
const ConfigurationOverridesFilterSensitiveLog = (obj) => ({
|
|
143
|
-
...obj,
|
|
144
|
-
...(obj.applicationConfiguration && {
|
|
145
|
-
applicationConfiguration: obj.applicationConfiguration.map((item) => (0, exports.ConfigurationFilterSensitiveLog)(item)),
|
|
146
|
-
}),
|
|
147
|
-
});
|
|
148
|
-
exports.ConfigurationOverridesFilterSensitiveLog = ConfigurationOverridesFilterSensitiveLog;
|
|
149
|
-
const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
150
|
-
...obj,
|
|
151
|
-
...(obj.runtimeConfiguration && {
|
|
152
|
-
runtimeConfiguration: obj.runtimeConfiguration.map((item) => (0, exports.ConfigurationFilterSensitiveLog)(item)),
|
|
153
|
-
}),
|
|
154
|
-
});
|
|
155
|
-
exports.CreateApplicationRequestFilterSensitiveLog = CreateApplicationRequestFilterSensitiveLog;
|
|
156
|
-
const UpdateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
157
|
-
...obj,
|
|
158
|
-
...(obj.runtimeConfiguration && {
|
|
159
|
-
runtimeConfiguration: obj.runtimeConfiguration.map((item) => (0, exports.ConfigurationFilterSensitiveLog)(item)),
|
|
160
|
-
}),
|
|
161
|
-
});
|
|
162
|
-
exports.UpdateApplicationRequestFilterSensitiveLog = UpdateApplicationRequestFilterSensitiveLog;
|
|
163
|
-
const GetApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
164
|
-
...obj,
|
|
165
|
-
...(obj.application && { application: (0, exports.ApplicationFilterSensitiveLog)(obj.application) }),
|
|
166
|
-
});
|
|
167
|
-
exports.GetApplicationResponseFilterSensitiveLog = GetApplicationResponseFilterSensitiveLog;
|
|
168
|
-
const JobRunFilterSensitiveLog = (obj) => ({
|
|
169
|
-
...obj,
|
|
170
|
-
...(obj.configurationOverrides && {
|
|
171
|
-
configurationOverrides: (0, exports.ConfigurationOverridesFilterSensitiveLog)(obj.configurationOverrides),
|
|
172
|
-
}),
|
|
173
|
-
...(obj.jobDriver && { jobDriver: (0, exports.JobDriverFilterSensitiveLog)(obj.jobDriver) }),
|
|
174
|
-
});
|
|
175
|
-
exports.JobRunFilterSensitiveLog = JobRunFilterSensitiveLog;
|
|
176
|
-
const StartJobRunRequestFilterSensitiveLog = (obj) => ({
|
|
177
|
-
...obj,
|
|
178
|
-
...(obj.jobDriver && { jobDriver: (0, exports.JobDriverFilterSensitiveLog)(obj.jobDriver) }),
|
|
179
|
-
...(obj.configurationOverrides && {
|
|
180
|
-
configurationOverrides: (0, exports.ConfigurationOverridesFilterSensitiveLog)(obj.configurationOverrides),
|
|
181
|
-
}),
|
|
182
|
-
});
|
|
183
|
-
exports.StartJobRunRequestFilterSensitiveLog = StartJobRunRequestFilterSensitiveLog;
|
|
184
|
-
const UpdateApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
185
|
-
...obj,
|
|
186
|
-
...(obj.application && { application: (0, exports.ApplicationFilterSensitiveLog)(obj.application) }),
|
|
187
|
-
});
|
|
188
|
-
exports.UpdateApplicationResponseFilterSensitiveLog = UpdateApplicationResponseFilterSensitiveLog;
|
|
189
|
-
const GetJobRunResponseFilterSensitiveLog = (obj) => ({
|
|
190
|
-
...obj,
|
|
191
|
-
...(obj.jobRun && { jobRun: (0, exports.JobRunFilterSensitiveLog)(obj.jobRun) }),
|
|
192
|
-
});
|
|
193
|
-
exports.GetJobRunResponseFilterSensitiveLog = GetJobRunResponseFilterSensitiveLog;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListApplications = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListApplicationsCommand_1 = require("../commands/ListApplicationsCommand");
|
|
6
|
-
const EMRServerlessClient_1 = require("../EMRServerlessClient");
|
|
7
|
-
exports.paginateListApplications = (0, core_1.createPaginator)(EMRServerlessClient_1.EMRServerlessClient, ListApplicationsCommand_1.ListApplicationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListJobRuns = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListJobRunsCommand_1 = require("../commands/ListJobRunsCommand");
|
|
6
|
-
const EMRServerlessClient_1 = require("../EMRServerlessClient");
|
|
7
|
-
exports.paginateListJobRuns = (0, core_1.createPaginator)(EMRServerlessClient_1.EMRServerlessClient, ListJobRunsCommand_1.ListJobRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ListApplicationsPaginator"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListJobRunsPaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|