@aws-sdk/client-emr-serverless 3.296.0 → 3.298.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/commands/CancelJobRunCommand.js +2 -3
- package/dist-cjs/commands/CreateApplicationCommand.js +2 -3
- package/dist-cjs/commands/DeleteApplicationCommand.js +2 -3
- package/dist-cjs/commands/GetApplicationCommand.js +2 -3
- package/dist-cjs/commands/GetDashboardForJobRunCommand.js +2 -3
- package/dist-cjs/commands/GetJobRunCommand.js +1 -1
- package/dist-cjs/commands/ListApplicationsCommand.js +2 -3
- package/dist-cjs/commands/ListJobRunsCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-cjs/commands/StartApplicationCommand.js +2 -3
- package/dist-cjs/commands/StartJobRunCommand.js +1 -1
- package/dist-cjs/commands/StopApplicationCommand.js +2 -3
- package/dist-cjs/commands/TagResourceCommand.js +2 -3
- package/dist-cjs/commands/UntagResourceCommand.js +2 -3
- package/dist-cjs/commands/UpdateApplicationCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -182
- package/dist-es/commands/CancelJobRunCommand.js +2 -3
- package/dist-es/commands/CreateApplicationCommand.js +2 -3
- package/dist-es/commands/DeleteApplicationCommand.js +2 -3
- package/dist-es/commands/GetApplicationCommand.js +2 -3
- package/dist-es/commands/GetDashboardForJobRunCommand.js +2 -3
- package/dist-es/commands/GetJobRunCommand.js +2 -2
- package/dist-es/commands/ListApplicationsCommand.js +2 -3
- package/dist-es/commands/ListJobRunsCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-es/commands/StartApplicationCommand.js +2 -3
- package/dist-es/commands/StartJobRunCommand.js +2 -2
- package/dist-es/commands/StopApplicationCommand.js +2 -3
- package/dist-es/commands/TagResourceCommand.js +2 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -3
- package/dist-es/commands/UpdateApplicationCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -135
- package/dist-types/EMRServerless.d.ts +16 -0
- package/dist-types/EMRServerlessClient.d.ts +24 -4
- package/dist-types/commands/CancelJobRunCommand.d.ts +16 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +16 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +16 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +16 -0
- package/dist-types/commands/GetDashboardForJobRunCommand.d.ts +16 -0
- package/dist-types/commands/GetJobRunCommand.d.ts +16 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +16 -0
- package/dist-types/commands/ListJobRunsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/StartApplicationCommand.d.ts +16 -0
- package/dist-types/commands/StartJobRunCommand.d.ts +16 -0
- package/dist-types/commands/StopApplicationCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +16 -0
- package/dist-types/models/EMRServerlessServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +130 -180
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListJobRunsPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -133
- package/package.json +4 -3
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class ListTagsForResourceCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { StartApplicationRequestFilterSensitiveLog, StartApplicationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1StartApplicationCommand, serializeAws_restJson1StartApplicationCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class StartApplicationCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class StartApplicationCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { StartJobRunRequestFilterSensitiveLog
|
|
4
|
+
import { StartJobRunRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1StartJobRunCommand, serializeAws_restJson1StartJobRunCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class StartJobRunCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -28,7 +28,7 @@ export class StartJobRunCommand extends $Command {
|
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
30
|
inputFilterSensitiveLog: StartJobRunRequestFilterSensitiveLog,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { StopApplicationRequestFilterSensitiveLog, StopApplicationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1StopApplicationCommand, serializeAws_restJson1StopApplicationCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class StopApplicationCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class StopApplicationCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class TagResourceCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class TagResourceCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class UntagResourceCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class UntagResourceCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateApplicationRequestFilterSensitiveLog, UpdateApplicationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateApplicationCommand, serializeAws_restJson1UpdateApplicationCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class UpdateApplicationCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class UpdateApplicationCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -96,108 +96,6 @@ export var JobRunState;
|
|
|
96
96
|
JobRunState["SUBMITTED"] = "SUBMITTED";
|
|
97
97
|
JobRunState["SUCCESS"] = "SUCCESS";
|
|
98
98
|
})(JobRunState || (JobRunState = {}));
|
|
99
|
-
export const AutoStartConfigFilterSensitiveLog = (obj) => ({
|
|
100
|
-
...obj,
|
|
101
|
-
});
|
|
102
|
-
export const AutoStopConfigFilterSensitiveLog = (obj) => ({
|
|
103
|
-
...obj,
|
|
104
|
-
});
|
|
105
|
-
export const ImageConfigurationFilterSensitiveLog = (obj) => ({
|
|
106
|
-
...obj,
|
|
107
|
-
});
|
|
108
|
-
export const WorkerResourceConfigFilterSensitiveLog = (obj) => ({
|
|
109
|
-
...obj,
|
|
110
|
-
});
|
|
111
|
-
export const InitialCapacityConfigFilterSensitiveLog = (obj) => ({
|
|
112
|
-
...obj,
|
|
113
|
-
});
|
|
114
|
-
export const MaximumAllowedResourcesFilterSensitiveLog = (obj) => ({
|
|
115
|
-
...obj,
|
|
116
|
-
});
|
|
117
|
-
export const NetworkConfigurationFilterSensitiveLog = (obj) => ({
|
|
118
|
-
...obj,
|
|
119
|
-
});
|
|
120
|
-
export const WorkerTypeSpecificationFilterSensitiveLog = (obj) => ({
|
|
121
|
-
...obj,
|
|
122
|
-
});
|
|
123
|
-
export const ApplicationFilterSensitiveLog = (obj) => ({
|
|
124
|
-
...obj,
|
|
125
|
-
});
|
|
126
|
-
export const ApplicationSummaryFilterSensitiveLog = (obj) => ({
|
|
127
|
-
...obj,
|
|
128
|
-
});
|
|
129
|
-
export const ImageConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
130
|
-
...obj,
|
|
131
|
-
});
|
|
132
|
-
export const WorkerTypeSpecificationInputFilterSensitiveLog = (obj) => ({
|
|
133
|
-
...obj,
|
|
134
|
-
});
|
|
135
|
-
export const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
136
|
-
...obj,
|
|
137
|
-
});
|
|
138
|
-
export const CreateApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
139
|
-
...obj,
|
|
140
|
-
});
|
|
141
|
-
export const DeleteApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
142
|
-
...obj,
|
|
143
|
-
});
|
|
144
|
-
export const DeleteApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
145
|
-
...obj,
|
|
146
|
-
});
|
|
147
|
-
export const GetApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
148
|
-
...obj,
|
|
149
|
-
});
|
|
150
|
-
export const GetApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
151
|
-
...obj,
|
|
152
|
-
});
|
|
153
|
-
export const ListApplicationsRequestFilterSensitiveLog = (obj) => ({
|
|
154
|
-
...obj,
|
|
155
|
-
});
|
|
156
|
-
export const ListApplicationsResponseFilterSensitiveLog = (obj) => ({
|
|
157
|
-
...obj,
|
|
158
|
-
});
|
|
159
|
-
export const StartApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
160
|
-
...obj,
|
|
161
|
-
});
|
|
162
|
-
export const StartApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
163
|
-
...obj,
|
|
164
|
-
});
|
|
165
|
-
export const StopApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
166
|
-
...obj,
|
|
167
|
-
});
|
|
168
|
-
export const StopApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
169
|
-
...obj,
|
|
170
|
-
});
|
|
171
|
-
export const UpdateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
172
|
-
...obj,
|
|
173
|
-
});
|
|
174
|
-
export const UpdateApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
175
|
-
...obj,
|
|
176
|
-
});
|
|
177
|
-
export const CancelJobRunRequestFilterSensitiveLog = (obj) => ({
|
|
178
|
-
...obj,
|
|
179
|
-
});
|
|
180
|
-
export const CancelJobRunResponseFilterSensitiveLog = (obj) => ({
|
|
181
|
-
...obj,
|
|
182
|
-
});
|
|
183
|
-
export const GetDashboardForJobRunRequestFilterSensitiveLog = (obj) => ({
|
|
184
|
-
...obj,
|
|
185
|
-
});
|
|
186
|
-
export const GetDashboardForJobRunResponseFilterSensitiveLog = (obj) => ({
|
|
187
|
-
...obj,
|
|
188
|
-
});
|
|
189
|
-
export const GetJobRunRequestFilterSensitiveLog = (obj) => ({
|
|
190
|
-
...obj,
|
|
191
|
-
});
|
|
192
|
-
export const ManagedPersistenceMonitoringConfigurationFilterSensitiveLog = (obj) => ({
|
|
193
|
-
...obj,
|
|
194
|
-
});
|
|
195
|
-
export const S3MonitoringConfigurationFilterSensitiveLog = (obj) => ({
|
|
196
|
-
...obj,
|
|
197
|
-
});
|
|
198
|
-
export const MonitoringConfigurationFilterSensitiveLog = (obj) => ({
|
|
199
|
-
...obj,
|
|
200
|
-
});
|
|
201
99
|
export const HiveFilterSensitiveLog = (obj) => ({
|
|
202
100
|
...obj,
|
|
203
101
|
...(obj.query && { query: SENSITIVE_STRING }),
|
|
@@ -218,39 +116,6 @@ export const JobDriverFilterSensitiveLog = (obj) => {
|
|
|
218
116
|
if (obj.$unknown !== undefined)
|
|
219
117
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
220
118
|
};
|
|
221
|
-
export const TotalResourceUtilizationFilterSensitiveLog = (obj) => ({
|
|
222
|
-
...obj,
|
|
223
|
-
});
|
|
224
|
-
export const ListJobRunsRequestFilterSensitiveLog = (obj) => ({
|
|
225
|
-
...obj,
|
|
226
|
-
});
|
|
227
|
-
export const JobRunSummaryFilterSensitiveLog = (obj) => ({
|
|
228
|
-
...obj,
|
|
229
|
-
});
|
|
230
|
-
export const ListJobRunsResponseFilterSensitiveLog = (obj) => ({
|
|
231
|
-
...obj,
|
|
232
|
-
});
|
|
233
|
-
export const StartJobRunResponseFilterSensitiveLog = (obj) => ({
|
|
234
|
-
...obj,
|
|
235
|
-
});
|
|
236
|
-
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
237
|
-
...obj,
|
|
238
|
-
});
|
|
239
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
240
|
-
...obj,
|
|
241
|
-
});
|
|
242
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
243
|
-
...obj,
|
|
244
|
-
});
|
|
245
|
-
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
246
|
-
...obj,
|
|
247
|
-
});
|
|
248
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
249
|
-
...obj,
|
|
250
|
-
});
|
|
251
|
-
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
252
|
-
...obj,
|
|
253
|
-
});
|
|
254
119
|
export const ConfigurationFilterSensitiveLog = (obj) => ({
|
|
255
120
|
...obj,
|
|
256
121
|
...(obj.properties && { properties: SENSITIVE_STRING }),
|
|
@@ -16,6 +16,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
16
16
|
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
17
17
|
import { EMRServerlessClient } from "./EMRServerlessClient";
|
|
18
18
|
/**
|
|
19
|
+
* @public
|
|
19
20
|
* <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. EMR Serverless provides
|
|
20
21
|
* a serverless runtime environment that simplifies running analytics applications using the
|
|
21
22
|
* latest open source frameworks such as Apache Spark and Apache Hive. With EMR Serverless,
|
|
@@ -41,18 +42,21 @@ import { EMRServerlessClient } from "./EMRServerlessClient";
|
|
|
41
42
|
*/
|
|
42
43
|
export declare class EMRServerless extends EMRServerlessClient {
|
|
43
44
|
/**
|
|
45
|
+
* @public
|
|
44
46
|
* <p>Cancels a job run.</p>
|
|
45
47
|
*/
|
|
46
48
|
cancelJobRun(args: CancelJobRunCommandInput, options?: __HttpHandlerOptions): Promise<CancelJobRunCommandOutput>;
|
|
47
49
|
cancelJobRun(args: CancelJobRunCommandInput, cb: (err: any, data?: CancelJobRunCommandOutput) => void): void;
|
|
48
50
|
cancelJobRun(args: CancelJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelJobRunCommandOutput) => void): void;
|
|
49
51
|
/**
|
|
52
|
+
* @public
|
|
50
53
|
* <p>Creates an application.</p>
|
|
51
54
|
*/
|
|
52
55
|
createApplication(args: CreateApplicationCommandInput, options?: __HttpHandlerOptions): Promise<CreateApplicationCommandOutput>;
|
|
53
56
|
createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
54
57
|
createApplication(args: CreateApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void;
|
|
55
58
|
/**
|
|
59
|
+
* @public
|
|
56
60
|
* <p>Deletes an application. An application has to be in a stopped or created state in order
|
|
57
61
|
* to be deleted.</p>
|
|
58
62
|
*/
|
|
@@ -60,54 +64,63 @@ export declare class EMRServerless extends EMRServerlessClient {
|
|
|
60
64
|
deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
61
65
|
deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
62
66
|
/**
|
|
67
|
+
* @public
|
|
63
68
|
* <p>Displays detailed information about a specified application.</p>
|
|
64
69
|
*/
|
|
65
70
|
getApplication(args: GetApplicationCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationCommandOutput>;
|
|
66
71
|
getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
|
|
67
72
|
getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
|
|
68
73
|
/**
|
|
74
|
+
* @public
|
|
69
75
|
* <p>Returns a URL to access the job run dashboard.</p>
|
|
70
76
|
*/
|
|
71
77
|
getDashboardForJobRun(args: GetDashboardForJobRunCommandInput, options?: __HttpHandlerOptions): Promise<GetDashboardForJobRunCommandOutput>;
|
|
72
78
|
getDashboardForJobRun(args: GetDashboardForJobRunCommandInput, cb: (err: any, data?: GetDashboardForJobRunCommandOutput) => void): void;
|
|
73
79
|
getDashboardForJobRun(args: GetDashboardForJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDashboardForJobRunCommandOutput) => void): void;
|
|
74
80
|
/**
|
|
81
|
+
* @public
|
|
75
82
|
* <p>Displays detailed information about a job run.</p>
|
|
76
83
|
*/
|
|
77
84
|
getJobRun(args: GetJobRunCommandInput, options?: __HttpHandlerOptions): Promise<GetJobRunCommandOutput>;
|
|
78
85
|
getJobRun(args: GetJobRunCommandInput, cb: (err: any, data?: GetJobRunCommandOutput) => void): void;
|
|
79
86
|
getJobRun(args: GetJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetJobRunCommandOutput) => void): void;
|
|
80
87
|
/**
|
|
88
|
+
* @public
|
|
81
89
|
* <p>Lists applications based on a set of parameters.</p>
|
|
82
90
|
*/
|
|
83
91
|
listApplications(args: ListApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationsCommandOutput>;
|
|
84
92
|
listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
85
93
|
listApplications(args: ListApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void;
|
|
86
94
|
/**
|
|
95
|
+
* @public
|
|
87
96
|
* <p>Lists job runs based on a set of parameters.</p>
|
|
88
97
|
*/
|
|
89
98
|
listJobRuns(args: ListJobRunsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobRunsCommandOutput>;
|
|
90
99
|
listJobRuns(args: ListJobRunsCommandInput, cb: (err: any, data?: ListJobRunsCommandOutput) => void): void;
|
|
91
100
|
listJobRuns(args: ListJobRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobRunsCommandOutput) => void): void;
|
|
92
101
|
/**
|
|
102
|
+
* @public
|
|
93
103
|
* <p>Lists the tags assigned to the resources.</p>
|
|
94
104
|
*/
|
|
95
105
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
96
106
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
97
107
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
98
108
|
/**
|
|
109
|
+
* @public
|
|
99
110
|
* <p>Starts a specified application and initializes initial capacity if configured.</p>
|
|
100
111
|
*/
|
|
101
112
|
startApplication(args: StartApplicationCommandInput, options?: __HttpHandlerOptions): Promise<StartApplicationCommandOutput>;
|
|
102
113
|
startApplication(args: StartApplicationCommandInput, cb: (err: any, data?: StartApplicationCommandOutput) => void): void;
|
|
103
114
|
startApplication(args: StartApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartApplicationCommandOutput) => void): void;
|
|
104
115
|
/**
|
|
116
|
+
* @public
|
|
105
117
|
* <p>Starts a job run.</p>
|
|
106
118
|
*/
|
|
107
119
|
startJobRun(args: StartJobRunCommandInput, options?: __HttpHandlerOptions): Promise<StartJobRunCommandOutput>;
|
|
108
120
|
startJobRun(args: StartJobRunCommandInput, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
|
|
109
121
|
startJobRun(args: StartJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
|
|
110
122
|
/**
|
|
123
|
+
* @public
|
|
111
124
|
* <p>Stops a specified application and releases initial capacity if configured. All scheduled
|
|
112
125
|
* and running jobs must be completed or cancelled before stopping an application.</p>
|
|
113
126
|
*/
|
|
@@ -115,6 +128,7 @@ export declare class EMRServerless extends EMRServerlessClient {
|
|
|
115
128
|
stopApplication(args: StopApplicationCommandInput, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
|
|
116
129
|
stopApplication(args: StopApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
|
|
117
130
|
/**
|
|
131
|
+
* @public
|
|
118
132
|
* <p>Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag
|
|
119
133
|
* consists of a key and an optional value, both of which you define. Tags enable you to
|
|
120
134
|
* categorize your AWS resources by attributes such as purpose, owner, or environment. When
|
|
@@ -125,12 +139,14 @@ export declare class EMRServerless extends EMRServerlessClient {
|
|
|
125
139
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
126
140
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
127
141
|
/**
|
|
142
|
+
* @public
|
|
128
143
|
* <p>Removes tags from resources.</p>
|
|
129
144
|
*/
|
|
130
145
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
131
146
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
132
147
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
133
148
|
/**
|
|
149
|
+
* @public
|
|
134
150
|
* <p>Updates a specified application. An application has to be in a stopped or created state
|
|
135
151
|
* in order to be updated.</p>
|
|
136
152
|
*/
|
|
@@ -23,15 +23,24 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
23
23
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
24
24
|
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
25
25
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
26
29
|
export type ServiceInputTypes = CancelJobRunCommandInput | CreateApplicationCommandInput | DeleteApplicationCommandInput | GetApplicationCommandInput | GetDashboardForJobRunCommandInput | GetJobRunCommandInput | ListApplicationsCommandInput | ListJobRunsCommandInput | ListTagsForResourceCommandInput | StartApplicationCommandInput | StartJobRunCommandInput | StopApplicationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput;
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
27
33
|
export type ServiceOutputTypes = CancelJobRunCommandOutput | CreateApplicationCommandOutput | DeleteApplicationCommandOutput | GetApplicationCommandOutput | GetDashboardForJobRunCommandOutput | GetJobRunCommandOutput | ListApplicationsCommandOutput | ListJobRunsCommandOutput | ListTagsForResourceCommandOutput | StartApplicationCommandOutput | StartJobRunCommandOutput | StopApplicationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
28
37
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
29
38
|
/**
|
|
30
39
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
31
40
|
*/
|
|
32
41
|
requestHandler?: __HttpHandler;
|
|
33
42
|
/**
|
|
34
|
-
* A constructor for a class implementing the {@link
|
|
43
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
35
44
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
36
45
|
* @internal
|
|
37
46
|
*/
|
|
@@ -121,23 +130,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
121
130
|
*/
|
|
122
131
|
logger?: __Logger;
|
|
123
132
|
/**
|
|
124
|
-
* The {@link
|
|
133
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
125
134
|
*/
|
|
126
135
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
127
136
|
}
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
128
140
|
type EMRServerlessClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
129
141
|
/**
|
|
130
|
-
*
|
|
142
|
+
* @public
|
|
143
|
+
*
|
|
144
|
+
* The configuration interface of EMRServerlessClient class constructor that set the region, credentials and other options.
|
|
131
145
|
*/
|
|
132
146
|
export interface EMRServerlessClientConfig extends EMRServerlessClientConfigType {
|
|
133
147
|
}
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
134
151
|
type EMRServerlessClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
135
152
|
/**
|
|
136
|
-
*
|
|
153
|
+
* @public
|
|
154
|
+
*
|
|
155
|
+
* The resolved configuration interface of EMRServerlessClient class. This is resolved and normalized from the {@link EMRServerlessClientConfig | constructor configuration interface}.
|
|
137
156
|
*/
|
|
138
157
|
export interface EMRServerlessClientResolvedConfig extends EMRServerlessClientResolvedConfigType {
|
|
139
158
|
}
|
|
140
159
|
/**
|
|
160
|
+
* @public
|
|
141
161
|
* <p>Amazon EMR Serverless is a new deployment option for Amazon EMR. EMR Serverless provides
|
|
142
162
|
* a serverless runtime environment that simplifies running analytics applications using the
|
|
143
163
|
* latest open source frameworks such as Apache Spark and Apache Hive. With EMR Serverless,
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRServerlessClient";
|
|
5
5
|
import { CancelJobRunRequest, CancelJobRunResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CancelJobRunCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CancelJobRunCommandInput extends CancelJobRunRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CancelJobRunCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Cancels a job run.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __Metad
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param CancelJobRunCommandInput - {@link CancelJobRunCommandInput}
|
|
34
|
+
* @returns {@link CancelJobRunCommandOutput}
|
|
28
35
|
* @see {@link CancelJobRunCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link CancelJobRunCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __Metad
|
|
|
43
50
|
export declare class CancelJobRunCommand extends $Command<CancelJobRunCommandInput, CancelJobRunCommandOutput, EMRServerlessClientResolvedConfig> {
|
|
44
51
|
readonly input: CancelJobRunCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: CancelJobRunCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelJobRunCommandInput, CancelJobRunCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRServerlessClient";
|
|
5
5
|
import { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateApplicationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateApplicationCommandInput extends CreateApplicationRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateApplicationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates an application.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param CreateApplicationCommandInput - {@link CreateApplicationCommandInput}
|
|
34
|
+
* @returns {@link CreateApplicationCommandOutput}
|
|
28
35
|
* @see {@link CreateApplicationCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link CreateApplicationCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
|
|
@@ -47,11 +54,20 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
|
|
|
47
54
|
export declare class CreateApplicationCommand extends $Command<CreateApplicationCommandInput, CreateApplicationCommandOutput, EMRServerlessClientResolvedConfig> {
|
|
48
55
|
readonly input: CreateApplicationCommandInput;
|
|
49
56
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
50
60
|
constructor(input: CreateApplicationCommandInput);
|
|
51
61
|
/**
|
|
52
62
|
* @internal
|
|
53
63
|
*/
|
|
54
64
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApplicationCommandInput, CreateApplicationCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
55
68
|
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
56
72
|
private deserialize;
|
|
57
73
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { EMRServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EMRServerlessClient";
|
|
5
5
|
import { DeleteApplicationRequest, DeleteApplicationResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteApplicationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteApplicationCommandInput extends DeleteApplicationRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteApplicationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteApplicationCommandOutput extends DeleteApplicationResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes an application. An application has to be in a stopped or created state in order
|
|
18
23
|
* to be deleted.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface DeleteApplicationCommandOutput extends DeleteApplicationRespons
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param DeleteApplicationCommandInput - {@link DeleteApplicationCommandInput}
|
|
35
|
+
* @returns {@link DeleteApplicationCommandOutput}
|
|
29
36
|
* @see {@link DeleteApplicationCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link EMRServerlessClientResolvedConfig | config} for EMRServerlessClient's `config` shape.
|
|
@@ -44,11 +51,20 @@ export interface DeleteApplicationCommandOutput extends DeleteApplicationRespons
|
|
|
44
51
|
export declare class DeleteApplicationCommand extends $Command<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, EMRServerlessClientResolvedConfig> {
|
|
45
52
|
readonly input: DeleteApplicationCommandInput;
|
|
46
53
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
47
57
|
constructor(input: DeleteApplicationCommandInput);
|
|
48
58
|
/**
|
|
49
59
|
* @internal
|
|
50
60
|
*/
|
|
51
61
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EMRServerlessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteApplicationCommandInput, DeleteApplicationCommandOutput>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
52
65
|
private serialize;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
53
69
|
private deserialize;
|
|
54
70
|
}
|