@aws-sdk/client-emr-serverless 3.100.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/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +226 -0
- package/dist-cjs/EMRServerless.js +217 -0
- package/dist-cjs/EMRServerlessClient.js +35 -0
- package/dist-cjs/commands/CancelJobRunCommand.js +36 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +36 -0
- package/dist-cjs/commands/DeleteApplicationCommand.js +36 -0
- package/dist-cjs/commands/GetApplicationCommand.js +36 -0
- package/dist-cjs/commands/GetJobRunCommand.js +36 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +36 -0
- package/dist-cjs/commands/ListJobRunsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/StartApplicationCommand.js +36 -0
- package/dist-cjs/commands/StartJobRunCommand.js +36 -0
- package/dist-cjs/commands/StopApplicationCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateApplicationCommand.js +36 -0
- package/dist-cjs/commands/index.js +17 -0
- package/dist-cjs/endpoints.js +150 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/EMRServerlessServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +408 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +36 -0
- package/dist-cjs/pagination/ListJobRunsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1724 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/EMRServerless.js +220 -0
- package/dist-es/EMRServerlessClient.js +37 -0
- package/dist-es/commands/CancelJobRunCommand.js +39 -0
- package/dist-es/commands/CreateApplicationCommand.js +39 -0
- package/dist-es/commands/DeleteApplicationCommand.js +39 -0
- package/dist-es/commands/GetApplicationCommand.js +39 -0
- package/dist-es/commands/GetJobRunCommand.js +39 -0
- package/dist-es/commands/ListApplicationsCommand.js +39 -0
- package/dist-es/commands/ListJobRunsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/StartApplicationCommand.js +39 -0
- package/dist-es/commands/StartJobRunCommand.js +39 -0
- package/dist-es/commands/StopApplicationCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateApplicationCommand.js +39 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/endpoints.js +146 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/EMRServerlessServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +295 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +75 -0
- package/dist-es/pagination/ListJobRunsPaginator.js +75 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1994 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +30 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/EMRServerless.d.ts +133 -0
- package/dist-types/EMRServerlessClient.d.ts +179 -0
- package/dist-types/commands/CancelJobRunCommand.d.ts +35 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +35 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +36 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +35 -0
- package/dist-types/commands/GetJobRunCommand.d.ts +35 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +35 -0
- package/dist-types/commands/ListJobRunsCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/StartApplicationCommand.d.ts +35 -0
- package/dist-types/commands/StartJobRunCommand.d.ts +35 -0
- package/dist-types/commands/StopApplicationCommand.d.ts +36 -0
- package/dist-types/commands/TagResourceCommand.d.ts +39 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +36 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/EMRServerlessServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1172 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListJobRunsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +44 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/EMRServerless.d.ts +75 -0
- package/dist-types/ts3.4/EMRServerlessClient.d.ts +87 -0
- package/dist-types/ts3.4/commands/CancelJobRunCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetJobRunCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListJobRunsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartJobRunCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/EMRServerlessServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +700 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListJobRunsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +44 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +95 -0
|
@@ -0,0 +1,1172 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
5
|
+
*/
|
|
6
|
+
export interface AutoStartConfig {
|
|
7
|
+
/**
|
|
8
|
+
* <p>Enables the application to automatically start on job submission. Defaults to true.</p>
|
|
9
|
+
*/
|
|
10
|
+
enabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace AutoStartConfig {
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
const filterSensitiveLog: (obj: AutoStartConfig) => any;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* <p>The configuration for an application to automatically stop after a certain amount of time being idle.</p>
|
|
20
|
+
*/
|
|
21
|
+
export interface AutoStopConfig {
|
|
22
|
+
/**
|
|
23
|
+
* <p>Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.</p>
|
|
24
|
+
*/
|
|
25
|
+
enabled?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.</p>
|
|
28
|
+
*/
|
|
29
|
+
idleTimeoutMinutes?: number;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace AutoStopConfig {
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
const filterSensitiveLog: (obj: AutoStopConfig) => any;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* <p>The cumulative configuration requirements for every worker instance of the worker
|
|
39
|
+
* type.</p>
|
|
40
|
+
*/
|
|
41
|
+
export interface WorkerResourceConfig {
|
|
42
|
+
/**
|
|
43
|
+
* <p>The CPU requirements for every worker instance of the worker type.</p>
|
|
44
|
+
*/
|
|
45
|
+
cpu: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The memory requirements for every worker instance of the worker type.</p>
|
|
48
|
+
*/
|
|
49
|
+
memory: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* <p>The disk requirements for every worker instance of the worker type.</p>
|
|
52
|
+
*/
|
|
53
|
+
disk?: string;
|
|
54
|
+
}
|
|
55
|
+
export declare namespace WorkerResourceConfig {
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
const filterSensitiveLog: (obj: WorkerResourceConfig) => any;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* <p>The initial capacity configuration per worker.</p>
|
|
63
|
+
*/
|
|
64
|
+
export interface InitialCapacityConfig {
|
|
65
|
+
/**
|
|
66
|
+
* <p>The number of workers in the initial capacity configuration.</p>
|
|
67
|
+
*/
|
|
68
|
+
workerCount: number | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The resource configuration of the initial capacity configuration.</p>
|
|
71
|
+
*/
|
|
72
|
+
workerConfiguration?: WorkerResourceConfig;
|
|
73
|
+
}
|
|
74
|
+
export declare namespace InitialCapacityConfig {
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
const filterSensitiveLog: (obj: InitialCapacityConfig) => any;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* <p>The maximum allowed cumulative resources for an application. No new resources will be
|
|
82
|
+
* created once the limit is hit.</p>
|
|
83
|
+
*/
|
|
84
|
+
export interface MaximumAllowedResources {
|
|
85
|
+
/**
|
|
86
|
+
* <p>The maximum allowed CPU for an application.</p>
|
|
87
|
+
*/
|
|
88
|
+
cpu: string | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The maximum allowed resources for an application.</p>
|
|
91
|
+
*/
|
|
92
|
+
memory: string | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* <p>The maximum allowed disk for an application.</p>
|
|
95
|
+
*/
|
|
96
|
+
disk?: string;
|
|
97
|
+
}
|
|
98
|
+
export declare namespace MaximumAllowedResources {
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
const filterSensitiveLog: (obj: MaximumAllowedResources) => any;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* <p>The network configuration for customer VPC connectivity.</p>
|
|
106
|
+
*/
|
|
107
|
+
export interface NetworkConfiguration {
|
|
108
|
+
/**
|
|
109
|
+
* <p>The array of subnet Ids for customer VPC connectivity.</p>
|
|
110
|
+
*/
|
|
111
|
+
subnetIds?: string[];
|
|
112
|
+
/**
|
|
113
|
+
* <p>The array of security group Ids for customer VPC connectivity.</p>
|
|
114
|
+
*/
|
|
115
|
+
securityGroupIds?: string[];
|
|
116
|
+
}
|
|
117
|
+
export declare namespace NetworkConfiguration {
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
const filterSensitiveLog: (obj: NetworkConfiguration) => any;
|
|
122
|
+
}
|
|
123
|
+
export declare enum ApplicationState {
|
|
124
|
+
CREATED = "CREATED",
|
|
125
|
+
CREATING = "CREATING",
|
|
126
|
+
STARTED = "STARTED",
|
|
127
|
+
STARTING = "STARTING",
|
|
128
|
+
STOPPED = "STOPPED",
|
|
129
|
+
STOPPING = "STOPPING",
|
|
130
|
+
TERMINATED = "TERMINATED"
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* <p>Information about an application. EMR Serverless uses applications to run jobs.</p>
|
|
134
|
+
*/
|
|
135
|
+
export interface Application {
|
|
136
|
+
/**
|
|
137
|
+
* <p>The ID of the application.</p>
|
|
138
|
+
*/
|
|
139
|
+
applicationId: string | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* <p>The name of the application.</p>
|
|
142
|
+
*/
|
|
143
|
+
name?: string;
|
|
144
|
+
/**
|
|
145
|
+
* <p>The ARN of the application.</p>
|
|
146
|
+
*/
|
|
147
|
+
arn: string | undefined;
|
|
148
|
+
/**
|
|
149
|
+
* <p>The EMR release version associated with the application.</p>
|
|
150
|
+
*/
|
|
151
|
+
releaseLabel: string | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* <p>The type of application, such as Spark or Hive.</p>
|
|
154
|
+
*/
|
|
155
|
+
type: string | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* <p>The state of the application.</p>
|
|
158
|
+
*/
|
|
159
|
+
state: ApplicationState | string | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* <p>The state details of the application.</p>
|
|
162
|
+
*/
|
|
163
|
+
stateDetails?: string;
|
|
164
|
+
/**
|
|
165
|
+
* <p>The initial capacity of the application.</p>
|
|
166
|
+
*/
|
|
167
|
+
initialCapacity?: {
|
|
168
|
+
[key: string]: InitialCapacityConfig;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* <p>The maximum capacity of the application. This is cumulative across all workers at any
|
|
172
|
+
* given point in time during the lifespan of the application is created. No new resources
|
|
173
|
+
* will be created once any one of the defined limits is hit.</p>
|
|
174
|
+
*/
|
|
175
|
+
maximumCapacity?: MaximumAllowedResources;
|
|
176
|
+
/**
|
|
177
|
+
* <p>The date and time when the application run was created.</p>
|
|
178
|
+
*/
|
|
179
|
+
createdAt: Date | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* <p>The date and time when the application run was last updated.</p>
|
|
182
|
+
*/
|
|
183
|
+
updatedAt: Date | undefined;
|
|
184
|
+
/**
|
|
185
|
+
* <p>The tags assigned to the application.</p>
|
|
186
|
+
*/
|
|
187
|
+
tags?: {
|
|
188
|
+
[key: string]: string;
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
192
|
+
*/
|
|
193
|
+
autoStartConfiguration?: AutoStartConfig;
|
|
194
|
+
/**
|
|
195
|
+
* <p>The configuration for an application to automatically stop after a certain amount of time being idle.</p>
|
|
196
|
+
*/
|
|
197
|
+
autoStopConfiguration?: AutoStopConfig;
|
|
198
|
+
/**
|
|
199
|
+
* <p>The network configuration for customer VPC connectivity for the application.</p>
|
|
200
|
+
*/
|
|
201
|
+
networkConfiguration?: NetworkConfiguration;
|
|
202
|
+
}
|
|
203
|
+
export declare namespace Application {
|
|
204
|
+
/**
|
|
205
|
+
* @internal
|
|
206
|
+
*/
|
|
207
|
+
const filterSensitiveLog: (obj: Application) => any;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* <p>The summary of attributes associated with an application.</p>
|
|
211
|
+
*/
|
|
212
|
+
export interface ApplicationSummary {
|
|
213
|
+
/**
|
|
214
|
+
* <p>The ID of the application.</p>
|
|
215
|
+
*/
|
|
216
|
+
id: string | undefined;
|
|
217
|
+
/**
|
|
218
|
+
* <p>The name of the application.</p>
|
|
219
|
+
*/
|
|
220
|
+
name?: string;
|
|
221
|
+
/**
|
|
222
|
+
* <p>The ARN of the application.</p>
|
|
223
|
+
*/
|
|
224
|
+
arn: string | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* <p>The EMR release version associated with the application.</p>
|
|
227
|
+
*/
|
|
228
|
+
releaseLabel: string | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* <p>The type of application, such as Spark or Hive.</p>
|
|
231
|
+
*/
|
|
232
|
+
type: string | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* <p>The state of the application.</p>
|
|
235
|
+
*/
|
|
236
|
+
state: ApplicationState | string | undefined;
|
|
237
|
+
/**
|
|
238
|
+
* <p>The state details of the application.</p>
|
|
239
|
+
*/
|
|
240
|
+
stateDetails?: string;
|
|
241
|
+
/**
|
|
242
|
+
* <p>The date and time when the application was created.</p>
|
|
243
|
+
*/
|
|
244
|
+
createdAt: Date | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* <p>The date and time when the application was last updated.</p>
|
|
247
|
+
*/
|
|
248
|
+
updatedAt: Date | undefined;
|
|
249
|
+
}
|
|
250
|
+
export declare namespace ApplicationSummary {
|
|
251
|
+
/**
|
|
252
|
+
* @internal
|
|
253
|
+
*/
|
|
254
|
+
const filterSensitiveLog: (obj: ApplicationSummary) => any;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* <p>The request could not be processed because of conflict in the current state of the
|
|
258
|
+
* resource.</p>
|
|
259
|
+
*/
|
|
260
|
+
export declare class ConflictException extends __BaseException {
|
|
261
|
+
readonly name: "ConflictException";
|
|
262
|
+
readonly $fault: "client";
|
|
263
|
+
/**
|
|
264
|
+
* @internal
|
|
265
|
+
*/
|
|
266
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
267
|
+
}
|
|
268
|
+
export interface CreateApplicationRequest {
|
|
269
|
+
/**
|
|
270
|
+
* <p>The name of the application.</p>
|
|
271
|
+
*/
|
|
272
|
+
name?: string;
|
|
273
|
+
/**
|
|
274
|
+
* <p>The EMR release version associated with the application.</p>
|
|
275
|
+
*/
|
|
276
|
+
releaseLabel: string | undefined;
|
|
277
|
+
/**
|
|
278
|
+
* <p>The type of application you want to start, such as Spark or Hive.</p>
|
|
279
|
+
*/
|
|
280
|
+
type: string | undefined;
|
|
281
|
+
/**
|
|
282
|
+
* <p>The client idempotency token of the application to create. Its value must be unique for
|
|
283
|
+
* each request.</p>
|
|
284
|
+
*/
|
|
285
|
+
clientToken?: string;
|
|
286
|
+
/**
|
|
287
|
+
* <p>The capacity to initialize when the application is created.</p>
|
|
288
|
+
*/
|
|
289
|
+
initialCapacity?: {
|
|
290
|
+
[key: string]: InitialCapacityConfig;
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* <p>The maximum capacity to allocate when the application is created. This is cumulative
|
|
294
|
+
* across all workers at any given point in time, not just when an application is created. No
|
|
295
|
+
* new resources will be created once any one of the defined limits is hit.</p>
|
|
296
|
+
*/
|
|
297
|
+
maximumCapacity?: MaximumAllowedResources;
|
|
298
|
+
/**
|
|
299
|
+
* <p>The tags assigned to the application.</p>
|
|
300
|
+
*/
|
|
301
|
+
tags?: {
|
|
302
|
+
[key: string]: string;
|
|
303
|
+
};
|
|
304
|
+
/**
|
|
305
|
+
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
306
|
+
*/
|
|
307
|
+
autoStartConfiguration?: AutoStartConfig;
|
|
308
|
+
/**
|
|
309
|
+
* <p>The configuration for an application to automatically stop after a certain amount of time being idle.</p>
|
|
310
|
+
*/
|
|
311
|
+
autoStopConfiguration?: AutoStopConfig;
|
|
312
|
+
/**
|
|
313
|
+
* <p>The network configuration for customer VPC connectivity.</p>
|
|
314
|
+
*/
|
|
315
|
+
networkConfiguration?: NetworkConfiguration;
|
|
316
|
+
}
|
|
317
|
+
export declare namespace CreateApplicationRequest {
|
|
318
|
+
/**
|
|
319
|
+
* @internal
|
|
320
|
+
*/
|
|
321
|
+
const filterSensitiveLog: (obj: CreateApplicationRequest) => any;
|
|
322
|
+
}
|
|
323
|
+
export interface CreateApplicationResponse {
|
|
324
|
+
/**
|
|
325
|
+
* <p>The output contains the application ID.</p>
|
|
326
|
+
*/
|
|
327
|
+
applicationId: string | undefined;
|
|
328
|
+
/**
|
|
329
|
+
* <p>The output contains the name of the application.</p>
|
|
330
|
+
*/
|
|
331
|
+
name?: string;
|
|
332
|
+
/**
|
|
333
|
+
* <p>The output contains the ARN of the application.</p>
|
|
334
|
+
*/
|
|
335
|
+
arn: string | undefined;
|
|
336
|
+
}
|
|
337
|
+
export declare namespace CreateApplicationResponse {
|
|
338
|
+
/**
|
|
339
|
+
* @internal
|
|
340
|
+
*/
|
|
341
|
+
const filterSensitiveLog: (obj: CreateApplicationResponse) => any;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
345
|
+
*/
|
|
346
|
+
export declare class InternalServerException extends __BaseException {
|
|
347
|
+
readonly name: "InternalServerException";
|
|
348
|
+
readonly $fault: "server";
|
|
349
|
+
/**
|
|
350
|
+
* @internal
|
|
351
|
+
*/
|
|
352
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
353
|
+
}
|
|
354
|
+
/**
|
|
355
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
356
|
+
*/
|
|
357
|
+
export declare class ValidationException extends __BaseException {
|
|
358
|
+
readonly name: "ValidationException";
|
|
359
|
+
readonly $fault: "client";
|
|
360
|
+
/**
|
|
361
|
+
* @internal
|
|
362
|
+
*/
|
|
363
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
364
|
+
}
|
|
365
|
+
export interface DeleteApplicationRequest {
|
|
366
|
+
/**
|
|
367
|
+
* <p>The ID of the application that will be deleted.</p>
|
|
368
|
+
*/
|
|
369
|
+
applicationId: string | undefined;
|
|
370
|
+
}
|
|
371
|
+
export declare namespace DeleteApplicationRequest {
|
|
372
|
+
/**
|
|
373
|
+
* @internal
|
|
374
|
+
*/
|
|
375
|
+
const filterSensitiveLog: (obj: DeleteApplicationRequest) => any;
|
|
376
|
+
}
|
|
377
|
+
export interface DeleteApplicationResponse {
|
|
378
|
+
}
|
|
379
|
+
export declare namespace DeleteApplicationResponse {
|
|
380
|
+
/**
|
|
381
|
+
* @internal
|
|
382
|
+
*/
|
|
383
|
+
const filterSensitiveLog: (obj: DeleteApplicationResponse) => any;
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* <p>The specified resource was not found.</p>
|
|
387
|
+
*/
|
|
388
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
389
|
+
readonly name: "ResourceNotFoundException";
|
|
390
|
+
readonly $fault: "client";
|
|
391
|
+
/**
|
|
392
|
+
* @internal
|
|
393
|
+
*/
|
|
394
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
395
|
+
}
|
|
396
|
+
export interface GetApplicationRequest {
|
|
397
|
+
/**
|
|
398
|
+
* <p>The ID of the application that will be described.</p>
|
|
399
|
+
*/
|
|
400
|
+
applicationId: string | undefined;
|
|
401
|
+
}
|
|
402
|
+
export declare namespace GetApplicationRequest {
|
|
403
|
+
/**
|
|
404
|
+
* @internal
|
|
405
|
+
*/
|
|
406
|
+
const filterSensitiveLog: (obj: GetApplicationRequest) => any;
|
|
407
|
+
}
|
|
408
|
+
export interface GetApplicationResponse {
|
|
409
|
+
/**
|
|
410
|
+
* <p>The output displays information about the specified application.</p>
|
|
411
|
+
*/
|
|
412
|
+
application: Application | undefined;
|
|
413
|
+
}
|
|
414
|
+
export declare namespace GetApplicationResponse {
|
|
415
|
+
/**
|
|
416
|
+
* @internal
|
|
417
|
+
*/
|
|
418
|
+
const filterSensitiveLog: (obj: GetApplicationResponse) => any;
|
|
419
|
+
}
|
|
420
|
+
export interface ListApplicationsRequest {
|
|
421
|
+
/**
|
|
422
|
+
* <p>The token for the next set of application results.</p>
|
|
423
|
+
*/
|
|
424
|
+
nextToken?: string;
|
|
425
|
+
/**
|
|
426
|
+
* <p>The maximum number of applications that can be listed.</p>
|
|
427
|
+
*/
|
|
428
|
+
maxResults?: number;
|
|
429
|
+
/**
|
|
430
|
+
* <p>An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.</p>
|
|
431
|
+
*/
|
|
432
|
+
states?: (ApplicationState | string)[];
|
|
433
|
+
}
|
|
434
|
+
export declare namespace ListApplicationsRequest {
|
|
435
|
+
/**
|
|
436
|
+
* @internal
|
|
437
|
+
*/
|
|
438
|
+
const filterSensitiveLog: (obj: ListApplicationsRequest) => any;
|
|
439
|
+
}
|
|
440
|
+
export interface ListApplicationsResponse {
|
|
441
|
+
/**
|
|
442
|
+
* <p>The output lists the specified applications.</p>
|
|
443
|
+
*/
|
|
444
|
+
applications: ApplicationSummary[] | undefined;
|
|
445
|
+
/**
|
|
446
|
+
* <p>The output displays the token for the next set of application results. This is required
|
|
447
|
+
* for pagination and is available as a response of the previous request.</p>
|
|
448
|
+
*/
|
|
449
|
+
nextToken?: string;
|
|
450
|
+
}
|
|
451
|
+
export declare namespace ListApplicationsResponse {
|
|
452
|
+
/**
|
|
453
|
+
* @internal
|
|
454
|
+
*/
|
|
455
|
+
const filterSensitiveLog: (obj: ListApplicationsResponse) => any;
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* <p>The maximum number of resources per account has been reached.</p>
|
|
459
|
+
*/
|
|
460
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
461
|
+
readonly name: "ServiceQuotaExceededException";
|
|
462
|
+
readonly $fault: "client";
|
|
463
|
+
/**
|
|
464
|
+
* @internal
|
|
465
|
+
*/
|
|
466
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
467
|
+
}
|
|
468
|
+
export interface StartApplicationRequest {
|
|
469
|
+
/**
|
|
470
|
+
* <p>The ID of the application to start.</p>
|
|
471
|
+
*/
|
|
472
|
+
applicationId: string | undefined;
|
|
473
|
+
}
|
|
474
|
+
export declare namespace StartApplicationRequest {
|
|
475
|
+
/**
|
|
476
|
+
* @internal
|
|
477
|
+
*/
|
|
478
|
+
const filterSensitiveLog: (obj: StartApplicationRequest) => any;
|
|
479
|
+
}
|
|
480
|
+
export interface StartApplicationResponse {
|
|
481
|
+
}
|
|
482
|
+
export declare namespace StartApplicationResponse {
|
|
483
|
+
/**
|
|
484
|
+
* @internal
|
|
485
|
+
*/
|
|
486
|
+
const filterSensitiveLog: (obj: StartApplicationResponse) => any;
|
|
487
|
+
}
|
|
488
|
+
export interface StopApplicationRequest {
|
|
489
|
+
/**
|
|
490
|
+
* <p>The ID of the application to stop.</p>
|
|
491
|
+
*/
|
|
492
|
+
applicationId: string | undefined;
|
|
493
|
+
}
|
|
494
|
+
export declare namespace StopApplicationRequest {
|
|
495
|
+
/**
|
|
496
|
+
* @internal
|
|
497
|
+
*/
|
|
498
|
+
const filterSensitiveLog: (obj: StopApplicationRequest) => any;
|
|
499
|
+
}
|
|
500
|
+
export interface StopApplicationResponse {
|
|
501
|
+
}
|
|
502
|
+
export declare namespace StopApplicationResponse {
|
|
503
|
+
/**
|
|
504
|
+
* @internal
|
|
505
|
+
*/
|
|
506
|
+
const filterSensitiveLog: (obj: StopApplicationResponse) => any;
|
|
507
|
+
}
|
|
508
|
+
export interface UpdateApplicationRequest {
|
|
509
|
+
/**
|
|
510
|
+
* <p>The ID of the application to update.</p>
|
|
511
|
+
*/
|
|
512
|
+
applicationId: string | undefined;
|
|
513
|
+
/**
|
|
514
|
+
* <p>The client idempotency token of the application to update. Its value must be unique for
|
|
515
|
+
* each request.</p>
|
|
516
|
+
*/
|
|
517
|
+
clientToken?: string;
|
|
518
|
+
/**
|
|
519
|
+
* <p>The capacity to initialize when the application is updated.</p>
|
|
520
|
+
*/
|
|
521
|
+
initialCapacity?: {
|
|
522
|
+
[key: string]: InitialCapacityConfig;
|
|
523
|
+
};
|
|
524
|
+
/**
|
|
525
|
+
* <p>The maximum capacity to allocate when the application is updated. This is cumulative
|
|
526
|
+
* across all workers at any given point in time during the lifespan of the application. No
|
|
527
|
+
* new resources will be created once any one of the defined limits is hit.</p>
|
|
528
|
+
*/
|
|
529
|
+
maximumCapacity?: MaximumAllowedResources;
|
|
530
|
+
/**
|
|
531
|
+
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
532
|
+
*/
|
|
533
|
+
autoStartConfiguration?: AutoStartConfig;
|
|
534
|
+
/**
|
|
535
|
+
* <p>The configuration for an application to automatically stop after a certain amount of time being idle.</p>
|
|
536
|
+
*/
|
|
537
|
+
autoStopConfiguration?: AutoStopConfig;
|
|
538
|
+
/**
|
|
539
|
+
* <p>The network configuration for customer VPC connectivity.</p>
|
|
540
|
+
*/
|
|
541
|
+
networkConfiguration?: NetworkConfiguration;
|
|
542
|
+
}
|
|
543
|
+
export declare namespace UpdateApplicationRequest {
|
|
544
|
+
/**
|
|
545
|
+
* @internal
|
|
546
|
+
*/
|
|
547
|
+
const filterSensitiveLog: (obj: UpdateApplicationRequest) => any;
|
|
548
|
+
}
|
|
549
|
+
export interface UpdateApplicationResponse {
|
|
550
|
+
/**
|
|
551
|
+
* <p>Information about the updated application.</p>
|
|
552
|
+
*/
|
|
553
|
+
application: Application | undefined;
|
|
554
|
+
}
|
|
555
|
+
export declare namespace UpdateApplicationResponse {
|
|
556
|
+
/**
|
|
557
|
+
* @internal
|
|
558
|
+
*/
|
|
559
|
+
const filterSensitiveLog: (obj: UpdateApplicationResponse) => any;
|
|
560
|
+
}
|
|
561
|
+
export interface CancelJobRunRequest {
|
|
562
|
+
/**
|
|
563
|
+
* <p>The ID of the application on which the job run will be canceled.</p>
|
|
564
|
+
*/
|
|
565
|
+
applicationId: string | undefined;
|
|
566
|
+
/**
|
|
567
|
+
* <p>The ID of the job run to cancel.</p>
|
|
568
|
+
*/
|
|
569
|
+
jobRunId: string | undefined;
|
|
570
|
+
}
|
|
571
|
+
export declare namespace CancelJobRunRequest {
|
|
572
|
+
/**
|
|
573
|
+
* @internal
|
|
574
|
+
*/
|
|
575
|
+
const filterSensitiveLog: (obj: CancelJobRunRequest) => any;
|
|
576
|
+
}
|
|
577
|
+
export interface CancelJobRunResponse {
|
|
578
|
+
/**
|
|
579
|
+
* <p>The output contains the application ID on which the job run is cancelled.</p>
|
|
580
|
+
*/
|
|
581
|
+
applicationId: string | undefined;
|
|
582
|
+
/**
|
|
583
|
+
* <p>The output contains the ID of the cancelled job run.</p>
|
|
584
|
+
*/
|
|
585
|
+
jobRunId: string | undefined;
|
|
586
|
+
}
|
|
587
|
+
export declare namespace CancelJobRunResponse {
|
|
588
|
+
/**
|
|
589
|
+
* @internal
|
|
590
|
+
*/
|
|
591
|
+
const filterSensitiveLog: (obj: CancelJobRunResponse) => any;
|
|
592
|
+
}
|
|
593
|
+
export interface GetJobRunRequest {
|
|
594
|
+
/**
|
|
595
|
+
* <p>The ID of the application on which the job run is submitted.</p>
|
|
596
|
+
*/
|
|
597
|
+
applicationId: string | undefined;
|
|
598
|
+
/**
|
|
599
|
+
* <p>The ID of the job run.</p>
|
|
600
|
+
*/
|
|
601
|
+
jobRunId: string | undefined;
|
|
602
|
+
}
|
|
603
|
+
export declare namespace GetJobRunRequest {
|
|
604
|
+
/**
|
|
605
|
+
* @internal
|
|
606
|
+
*/
|
|
607
|
+
const filterSensitiveLog: (obj: GetJobRunRequest) => any;
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* <p>The managed log persistence configuration for a job run.</p>
|
|
611
|
+
*/
|
|
612
|
+
export interface ManagedPersistenceMonitoringConfiguration {
|
|
613
|
+
/**
|
|
614
|
+
* <p>Enables managed logging and defaults to true. If set to false, managed logging will be turned off.</p>
|
|
615
|
+
*/
|
|
616
|
+
enabled?: boolean;
|
|
617
|
+
/**
|
|
618
|
+
* <p>The KMS key ARN to encrypt the logs stored in managed log persistence.</p>
|
|
619
|
+
*/
|
|
620
|
+
encryptionKeyArn?: string;
|
|
621
|
+
}
|
|
622
|
+
export declare namespace ManagedPersistenceMonitoringConfiguration {
|
|
623
|
+
/**
|
|
624
|
+
* @internal
|
|
625
|
+
*/
|
|
626
|
+
const filterSensitiveLog: (obj: ManagedPersistenceMonitoringConfiguration) => any;
|
|
627
|
+
}
|
|
628
|
+
/**
|
|
629
|
+
* <p>The Amazon S3 configuration for monitoring log publishing. You can configure your jobs
|
|
630
|
+
* to send log information to Amazon S3.</p>
|
|
631
|
+
*/
|
|
632
|
+
export interface S3MonitoringConfiguration {
|
|
633
|
+
/**
|
|
634
|
+
* <p>The Amazon S3 destination URI for log publishing.</p>
|
|
635
|
+
*/
|
|
636
|
+
logUri?: string;
|
|
637
|
+
/**
|
|
638
|
+
* <p>The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.</p>
|
|
639
|
+
*/
|
|
640
|
+
encryptionKeyArn?: string;
|
|
641
|
+
}
|
|
642
|
+
export declare namespace S3MonitoringConfiguration {
|
|
643
|
+
/**
|
|
644
|
+
* @internal
|
|
645
|
+
*/
|
|
646
|
+
const filterSensitiveLog: (obj: S3MonitoringConfiguration) => any;
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* <p>The configuration setting for monitoring.</p>
|
|
650
|
+
*/
|
|
651
|
+
export interface MonitoringConfiguration {
|
|
652
|
+
/**
|
|
653
|
+
* <p>The Amazon S3 configuration for monitoring log publishing.</p>
|
|
654
|
+
*/
|
|
655
|
+
s3MonitoringConfiguration?: S3MonitoringConfiguration;
|
|
656
|
+
/**
|
|
657
|
+
* <p>The managed log persistence configuration for a job run.</p>
|
|
658
|
+
*/
|
|
659
|
+
managedPersistenceMonitoringConfiguration?: ManagedPersistenceMonitoringConfiguration;
|
|
660
|
+
}
|
|
661
|
+
export declare namespace MonitoringConfiguration {
|
|
662
|
+
/**
|
|
663
|
+
* @internal
|
|
664
|
+
*/
|
|
665
|
+
const filterSensitiveLog: (obj: MonitoringConfiguration) => any;
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* <p>The configurations for the Hive job driver.</p>
|
|
669
|
+
*/
|
|
670
|
+
export interface Hive {
|
|
671
|
+
/**
|
|
672
|
+
* <p>The query for the Hive job run.</p>
|
|
673
|
+
*/
|
|
674
|
+
query: string | undefined;
|
|
675
|
+
/**
|
|
676
|
+
* <p>The query file for the Hive job run.</p>
|
|
677
|
+
*/
|
|
678
|
+
initQueryFile?: string;
|
|
679
|
+
/**
|
|
680
|
+
* <p>The parameters for the Hive job run.</p>
|
|
681
|
+
*/
|
|
682
|
+
parameters?: string;
|
|
683
|
+
}
|
|
684
|
+
export declare namespace Hive {
|
|
685
|
+
/**
|
|
686
|
+
* @internal
|
|
687
|
+
*/
|
|
688
|
+
const filterSensitiveLog: (obj: Hive) => any;
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* <p>The configurations for the Spark submit job driver.</p>
|
|
692
|
+
*/
|
|
693
|
+
export interface SparkSubmit {
|
|
694
|
+
/**
|
|
695
|
+
* <p>The entry point for the Spark submit job run.</p>
|
|
696
|
+
*/
|
|
697
|
+
entryPoint: string | undefined;
|
|
698
|
+
/**
|
|
699
|
+
* <p>The arguments for the Spark submit job run.</p>
|
|
700
|
+
*/
|
|
701
|
+
entryPointArguments?: string[];
|
|
702
|
+
/**
|
|
703
|
+
* <p>The parameters for the Spark submit job run.</p>
|
|
704
|
+
*/
|
|
705
|
+
sparkSubmitParameters?: string;
|
|
706
|
+
}
|
|
707
|
+
export declare namespace SparkSubmit {
|
|
708
|
+
/**
|
|
709
|
+
* @internal
|
|
710
|
+
*/
|
|
711
|
+
const filterSensitiveLog: (obj: SparkSubmit) => any;
|
|
712
|
+
}
|
|
713
|
+
/**
|
|
714
|
+
* <p>The driver that the job runs on.</p>
|
|
715
|
+
*/
|
|
716
|
+
export declare type JobDriver = JobDriver.HiveMember | JobDriver.SparkSubmitMember | JobDriver.$UnknownMember;
|
|
717
|
+
export declare namespace JobDriver {
|
|
718
|
+
/**
|
|
719
|
+
* <p>The job driver parameters specified for Spark.</p>
|
|
720
|
+
*/
|
|
721
|
+
interface SparkSubmitMember {
|
|
722
|
+
sparkSubmit: SparkSubmit;
|
|
723
|
+
hive?: never;
|
|
724
|
+
$unknown?: never;
|
|
725
|
+
}
|
|
726
|
+
/**
|
|
727
|
+
* <p>The job driver parameters specified for Hive.</p>
|
|
728
|
+
*/
|
|
729
|
+
interface HiveMember {
|
|
730
|
+
sparkSubmit?: never;
|
|
731
|
+
hive: Hive;
|
|
732
|
+
$unknown?: never;
|
|
733
|
+
}
|
|
734
|
+
interface $UnknownMember {
|
|
735
|
+
sparkSubmit?: never;
|
|
736
|
+
hive?: never;
|
|
737
|
+
$unknown: [string, any];
|
|
738
|
+
}
|
|
739
|
+
interface Visitor<T> {
|
|
740
|
+
sparkSubmit: (value: SparkSubmit) => T;
|
|
741
|
+
hive: (value: Hive) => T;
|
|
742
|
+
_: (name: string, value: any) => T;
|
|
743
|
+
}
|
|
744
|
+
const visit: <T>(value: JobDriver, visitor: Visitor<T>) => T;
|
|
745
|
+
/**
|
|
746
|
+
* @internal
|
|
747
|
+
*/
|
|
748
|
+
const filterSensitiveLog: (obj: JobDriver) => any;
|
|
749
|
+
}
|
|
750
|
+
export declare enum JobRunState {
|
|
751
|
+
CANCELLED = "CANCELLED",
|
|
752
|
+
CANCELLING = "CANCELLING",
|
|
753
|
+
FAILED = "FAILED",
|
|
754
|
+
PENDING = "PENDING",
|
|
755
|
+
RUNNING = "RUNNING",
|
|
756
|
+
SCHEDULED = "SCHEDULED",
|
|
757
|
+
SUBMITTED = "SUBMITTED",
|
|
758
|
+
SUCCESS = "SUCCESS"
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* <p>The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated,
|
|
762
|
+
* rounded up to the nearest second.</p>
|
|
763
|
+
*/
|
|
764
|
+
export interface TotalResourceUtilization {
|
|
765
|
+
/**
|
|
766
|
+
* <p>The aggregated vCPU used per hour from the time job start executing till the time job is terminated.</p>
|
|
767
|
+
*/
|
|
768
|
+
vCPUHour?: number;
|
|
769
|
+
/**
|
|
770
|
+
* <p>The aggregated memory used per hour from the time job start executing till the time job is terminated.</p>
|
|
771
|
+
*/
|
|
772
|
+
memoryGBHour?: number;
|
|
773
|
+
/**
|
|
774
|
+
* <p>The aggregated storage used per hour from the time job start executing till the time job is terminated.</p>
|
|
775
|
+
*/
|
|
776
|
+
storageGBHour?: number;
|
|
777
|
+
}
|
|
778
|
+
export declare namespace TotalResourceUtilization {
|
|
779
|
+
/**
|
|
780
|
+
* @internal
|
|
781
|
+
*/
|
|
782
|
+
const filterSensitiveLog: (obj: TotalResourceUtilization) => any;
|
|
783
|
+
}
|
|
784
|
+
export interface ListJobRunsRequest {
|
|
785
|
+
/**
|
|
786
|
+
* <p>The ID of the application for which to list the job run.</p>
|
|
787
|
+
*/
|
|
788
|
+
applicationId: string | undefined;
|
|
789
|
+
/**
|
|
790
|
+
* <p>The token for the next set of job run results.</p>
|
|
791
|
+
*/
|
|
792
|
+
nextToken?: string;
|
|
793
|
+
/**
|
|
794
|
+
* <p>The maximum number of job runs that can be listed.</p>
|
|
795
|
+
*/
|
|
796
|
+
maxResults?: number;
|
|
797
|
+
/**
|
|
798
|
+
* <p>The lower bound of the option to filter by creation date and time.</p>
|
|
799
|
+
*/
|
|
800
|
+
createdAtAfter?: Date;
|
|
801
|
+
/**
|
|
802
|
+
* <p>The upper bound of the option to filter by creation date and time.</p>
|
|
803
|
+
*/
|
|
804
|
+
createdAtBefore?: Date;
|
|
805
|
+
/**
|
|
806
|
+
* <p>An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.</p>
|
|
807
|
+
*/
|
|
808
|
+
states?: (JobRunState | string)[];
|
|
809
|
+
}
|
|
810
|
+
export declare namespace ListJobRunsRequest {
|
|
811
|
+
/**
|
|
812
|
+
* @internal
|
|
813
|
+
*/
|
|
814
|
+
const filterSensitiveLog: (obj: ListJobRunsRequest) => any;
|
|
815
|
+
}
|
|
816
|
+
/**
|
|
817
|
+
* <p>The summary of attributes associated with a job run.</p>
|
|
818
|
+
*/
|
|
819
|
+
export interface JobRunSummary {
|
|
820
|
+
/**
|
|
821
|
+
* <p>The ID of the application the job is running on.</p>
|
|
822
|
+
*/
|
|
823
|
+
applicationId: string | undefined;
|
|
824
|
+
/**
|
|
825
|
+
* <p>The ID of the job run.</p>
|
|
826
|
+
*/
|
|
827
|
+
id: string | undefined;
|
|
828
|
+
/**
|
|
829
|
+
* <p>The optional job run name. This doesn't have to be unique.</p>
|
|
830
|
+
*/
|
|
831
|
+
name?: string;
|
|
832
|
+
/**
|
|
833
|
+
* <p>The ARN of the job run.</p>
|
|
834
|
+
*/
|
|
835
|
+
arn: string | undefined;
|
|
836
|
+
/**
|
|
837
|
+
* <p>The user who created the job run.</p>
|
|
838
|
+
*/
|
|
839
|
+
createdBy: string | undefined;
|
|
840
|
+
/**
|
|
841
|
+
* <p>The date and time when the job run was created.</p>
|
|
842
|
+
*/
|
|
843
|
+
createdAt: Date | undefined;
|
|
844
|
+
/**
|
|
845
|
+
* <p>The date and time when the job run was last updated.</p>
|
|
846
|
+
*/
|
|
847
|
+
updatedAt: Date | undefined;
|
|
848
|
+
/**
|
|
849
|
+
* <p>The execution role ARN of the job run.</p>
|
|
850
|
+
*/
|
|
851
|
+
executionRole: string | undefined;
|
|
852
|
+
/**
|
|
853
|
+
* <p>The state of the job run.</p>
|
|
854
|
+
*/
|
|
855
|
+
state: JobRunState | string | undefined;
|
|
856
|
+
/**
|
|
857
|
+
* <p>The state details of the job run.</p>
|
|
858
|
+
*/
|
|
859
|
+
stateDetails: string | undefined;
|
|
860
|
+
/**
|
|
861
|
+
* <p>The EMR release version associated with the application your job is running on.</p>
|
|
862
|
+
*/
|
|
863
|
+
releaseLabel: string | undefined;
|
|
864
|
+
/**
|
|
865
|
+
* <p>The type of job run, such as Spark or Hive.</p>
|
|
866
|
+
*/
|
|
867
|
+
type?: string;
|
|
868
|
+
}
|
|
869
|
+
export declare namespace JobRunSummary {
|
|
870
|
+
/**
|
|
871
|
+
* @internal
|
|
872
|
+
*/
|
|
873
|
+
const filterSensitiveLog: (obj: JobRunSummary) => any;
|
|
874
|
+
}
|
|
875
|
+
export interface ListJobRunsResponse {
|
|
876
|
+
/**
|
|
877
|
+
* <p>The output lists information about the specified job runs.</p>
|
|
878
|
+
*/
|
|
879
|
+
jobRuns: JobRunSummary[] | undefined;
|
|
880
|
+
/**
|
|
881
|
+
* <p>The output displays the token for the next set of job run results. This is required for
|
|
882
|
+
* pagination and is available as a response of the previous request.</p>
|
|
883
|
+
*/
|
|
884
|
+
nextToken?: string;
|
|
885
|
+
}
|
|
886
|
+
export declare namespace ListJobRunsResponse {
|
|
887
|
+
/**
|
|
888
|
+
* @internal
|
|
889
|
+
*/
|
|
890
|
+
const filterSensitiveLog: (obj: ListJobRunsResponse) => any;
|
|
891
|
+
}
|
|
892
|
+
export interface StartJobRunResponse {
|
|
893
|
+
/**
|
|
894
|
+
* <p>This output displays the application ID on which the job run was submitted.</p>
|
|
895
|
+
*/
|
|
896
|
+
applicationId: string | undefined;
|
|
897
|
+
/**
|
|
898
|
+
* <p>The output contains the ID of the started job run.</p>
|
|
899
|
+
*/
|
|
900
|
+
jobRunId: string | undefined;
|
|
901
|
+
/**
|
|
902
|
+
* <p>The output lists the execution role ARN of the job run.</p>
|
|
903
|
+
*/
|
|
904
|
+
arn: string | undefined;
|
|
905
|
+
}
|
|
906
|
+
export declare namespace StartJobRunResponse {
|
|
907
|
+
/**
|
|
908
|
+
* @internal
|
|
909
|
+
*/
|
|
910
|
+
const filterSensitiveLog: (obj: StartJobRunResponse) => any;
|
|
911
|
+
}
|
|
912
|
+
export interface ListTagsForResourceRequest {
|
|
913
|
+
/**
|
|
914
|
+
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.</p>
|
|
915
|
+
*/
|
|
916
|
+
resourceArn: string | undefined;
|
|
917
|
+
}
|
|
918
|
+
export declare namespace ListTagsForResourceRequest {
|
|
919
|
+
/**
|
|
920
|
+
* @internal
|
|
921
|
+
*/
|
|
922
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
923
|
+
}
|
|
924
|
+
export interface ListTagsForResourceResponse {
|
|
925
|
+
/**
|
|
926
|
+
* <p>The tags for the resource.</p>
|
|
927
|
+
*/
|
|
928
|
+
tags?: {
|
|
929
|
+
[key: string]: string;
|
|
930
|
+
};
|
|
931
|
+
}
|
|
932
|
+
export declare namespace ListTagsForResourceResponse {
|
|
933
|
+
/**
|
|
934
|
+
* @internal
|
|
935
|
+
*/
|
|
936
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
937
|
+
}
|
|
938
|
+
export interface TagResourceRequest {
|
|
939
|
+
/**
|
|
940
|
+
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.</p>
|
|
941
|
+
*/
|
|
942
|
+
resourceArn: string | undefined;
|
|
943
|
+
/**
|
|
944
|
+
* <p>The tags to add to the resource. A tag is an array of key-value pairs.</p>
|
|
945
|
+
*/
|
|
946
|
+
tags: {
|
|
947
|
+
[key: string]: string;
|
|
948
|
+
} | undefined;
|
|
949
|
+
}
|
|
950
|
+
export declare namespace TagResourceRequest {
|
|
951
|
+
/**
|
|
952
|
+
* @internal
|
|
953
|
+
*/
|
|
954
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
955
|
+
}
|
|
956
|
+
export interface TagResourceResponse {
|
|
957
|
+
}
|
|
958
|
+
export declare namespace TagResourceResponse {
|
|
959
|
+
/**
|
|
960
|
+
* @internal
|
|
961
|
+
*/
|
|
962
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
963
|
+
}
|
|
964
|
+
export interface UntagResourceRequest {
|
|
965
|
+
/**
|
|
966
|
+
* <p>The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.</p>
|
|
967
|
+
*/
|
|
968
|
+
resourceArn: string | undefined;
|
|
969
|
+
/**
|
|
970
|
+
* <p>The keys of the tags to be removed.</p>
|
|
971
|
+
*/
|
|
972
|
+
tagKeys: string[] | undefined;
|
|
973
|
+
}
|
|
974
|
+
export declare namespace UntagResourceRequest {
|
|
975
|
+
/**
|
|
976
|
+
* @internal
|
|
977
|
+
*/
|
|
978
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
979
|
+
}
|
|
980
|
+
export interface UntagResourceResponse {
|
|
981
|
+
}
|
|
982
|
+
export declare namespace UntagResourceResponse {
|
|
983
|
+
/**
|
|
984
|
+
* @internal
|
|
985
|
+
*/
|
|
986
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* <p>A configuration specification to be used when provisioning an application. A
|
|
990
|
+
* configuration consists of a classification, properties, and optional nested configurations.
|
|
991
|
+
* A classification refers to an application-specific configuration file. Properties are the
|
|
992
|
+
* settings you want to change in that file.</p>
|
|
993
|
+
*/
|
|
994
|
+
export interface Configuration {
|
|
995
|
+
/**
|
|
996
|
+
* <p>The classification within a configuration.</p>
|
|
997
|
+
*/
|
|
998
|
+
classification: string | undefined;
|
|
999
|
+
/**
|
|
1000
|
+
* <p>A set of properties specified within a configuration classification.</p>
|
|
1001
|
+
*/
|
|
1002
|
+
properties?: {
|
|
1003
|
+
[key: string]: string;
|
|
1004
|
+
};
|
|
1005
|
+
/**
|
|
1006
|
+
* <p>A list of additional configurations to apply within a configuration object.</p>
|
|
1007
|
+
*/
|
|
1008
|
+
configurations?: Configuration[];
|
|
1009
|
+
}
|
|
1010
|
+
export declare namespace Configuration {
|
|
1011
|
+
/**
|
|
1012
|
+
* @internal
|
|
1013
|
+
*/
|
|
1014
|
+
const filterSensitiveLog: (obj: Configuration) => any;
|
|
1015
|
+
}
|
|
1016
|
+
/**
|
|
1017
|
+
* <p>A configuration specification to be used to override existing configurations.</p>
|
|
1018
|
+
*/
|
|
1019
|
+
export interface ConfigurationOverrides {
|
|
1020
|
+
/**
|
|
1021
|
+
* <p>The override configurations for the application.</p>
|
|
1022
|
+
*/
|
|
1023
|
+
applicationConfiguration?: Configuration[];
|
|
1024
|
+
/**
|
|
1025
|
+
* <p>The override configurations for monitoring.</p>
|
|
1026
|
+
*/
|
|
1027
|
+
monitoringConfiguration?: MonitoringConfiguration;
|
|
1028
|
+
}
|
|
1029
|
+
export declare namespace ConfigurationOverrides {
|
|
1030
|
+
/**
|
|
1031
|
+
* @internal
|
|
1032
|
+
*/
|
|
1033
|
+
const filterSensitiveLog: (obj: ConfigurationOverrides) => any;
|
|
1034
|
+
}
|
|
1035
|
+
/**
|
|
1036
|
+
* <p>Information about a job run. A job run is a unit of work, such as a Spark JAR, Hive
|
|
1037
|
+
* query, or SparkSQL query, that you submit to an EMR Serverless application.</p>
|
|
1038
|
+
*/
|
|
1039
|
+
export interface JobRun {
|
|
1040
|
+
/**
|
|
1041
|
+
* <p>The ID of the application the job is running on.</p>
|
|
1042
|
+
*/
|
|
1043
|
+
applicationId: string | undefined;
|
|
1044
|
+
/**
|
|
1045
|
+
* <p>The ID of the job run.</p>
|
|
1046
|
+
*/
|
|
1047
|
+
jobRunId: string | undefined;
|
|
1048
|
+
/**
|
|
1049
|
+
* <p>The optional job run name. This doesn't have to be unique.</p>
|
|
1050
|
+
*/
|
|
1051
|
+
name?: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* <p>The execution role ARN of the job run.</p>
|
|
1054
|
+
*/
|
|
1055
|
+
arn: string | undefined;
|
|
1056
|
+
/**
|
|
1057
|
+
* <p>The user who created the job run.</p>
|
|
1058
|
+
*/
|
|
1059
|
+
createdBy: string | undefined;
|
|
1060
|
+
/**
|
|
1061
|
+
* <p>The date and time when the job run was created.</p>
|
|
1062
|
+
*/
|
|
1063
|
+
createdAt: Date | undefined;
|
|
1064
|
+
/**
|
|
1065
|
+
* <p>The date and time when the job run was updated.</p>
|
|
1066
|
+
*/
|
|
1067
|
+
updatedAt: Date | undefined;
|
|
1068
|
+
/**
|
|
1069
|
+
* <p>The execution role ARN of the job run.</p>
|
|
1070
|
+
*/
|
|
1071
|
+
executionRole: string | undefined;
|
|
1072
|
+
/**
|
|
1073
|
+
* <p>The state of the job run.</p>
|
|
1074
|
+
*/
|
|
1075
|
+
state: JobRunState | string | undefined;
|
|
1076
|
+
/**
|
|
1077
|
+
* <p>The state details of the job run.</p>
|
|
1078
|
+
*/
|
|
1079
|
+
stateDetails: string | undefined;
|
|
1080
|
+
/**
|
|
1081
|
+
* <p>The EMR release version associated with the application your job is running on.</p>
|
|
1082
|
+
*/
|
|
1083
|
+
releaseLabel: string | undefined;
|
|
1084
|
+
/**
|
|
1085
|
+
* <p>The configuration settings that are used to override default configuration.</p>
|
|
1086
|
+
*/
|
|
1087
|
+
configurationOverrides?: ConfigurationOverrides;
|
|
1088
|
+
/**
|
|
1089
|
+
* <p>The job driver for the job run.</p>
|
|
1090
|
+
*/
|
|
1091
|
+
jobDriver: JobDriver | undefined;
|
|
1092
|
+
/**
|
|
1093
|
+
* <p>The tags assigned to the job run.</p>
|
|
1094
|
+
*/
|
|
1095
|
+
tags?: {
|
|
1096
|
+
[key: string]: string;
|
|
1097
|
+
};
|
|
1098
|
+
/**
|
|
1099
|
+
* <p>The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated,
|
|
1100
|
+
* rounded up to the nearest second.</p>
|
|
1101
|
+
*/
|
|
1102
|
+
totalResourceUtilization?: TotalResourceUtilization;
|
|
1103
|
+
/**
|
|
1104
|
+
* <p>The network configuration for customer VPC connectivity.</p>
|
|
1105
|
+
*/
|
|
1106
|
+
networkConfiguration?: NetworkConfiguration;
|
|
1107
|
+
/**
|
|
1108
|
+
* <p>The job run total execution duration in seconds. This field is only available for job runs in a <code>COMPLETED</code>, <code>FAILED</code>, or <code>CANCELLED</code> state.</p>
|
|
1109
|
+
*/
|
|
1110
|
+
totalExecutionDurationSeconds?: number;
|
|
1111
|
+
}
|
|
1112
|
+
export declare namespace JobRun {
|
|
1113
|
+
/**
|
|
1114
|
+
* @internal
|
|
1115
|
+
*/
|
|
1116
|
+
const filterSensitiveLog: (obj: JobRun) => any;
|
|
1117
|
+
}
|
|
1118
|
+
export interface StartJobRunRequest {
|
|
1119
|
+
/**
|
|
1120
|
+
* <p>The ID of the application on which to run the job.</p>
|
|
1121
|
+
*/
|
|
1122
|
+
applicationId: string | undefined;
|
|
1123
|
+
/**
|
|
1124
|
+
* <p>The client idempotency token of the job run to start. Its value must be unique for each
|
|
1125
|
+
* request.</p>
|
|
1126
|
+
*/
|
|
1127
|
+
clientToken?: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* <p>The execution role ARN for the job run.</p>
|
|
1130
|
+
*/
|
|
1131
|
+
executionRoleArn: string | undefined;
|
|
1132
|
+
/**
|
|
1133
|
+
* <p>The job driver for the job run.</p>
|
|
1134
|
+
*/
|
|
1135
|
+
jobDriver?: JobDriver;
|
|
1136
|
+
/**
|
|
1137
|
+
* <p>The configuration overrides for the job run.</p>
|
|
1138
|
+
*/
|
|
1139
|
+
configurationOverrides?: ConfigurationOverrides;
|
|
1140
|
+
/**
|
|
1141
|
+
* <p>The tags assigned to the job run.</p>
|
|
1142
|
+
*/
|
|
1143
|
+
tags?: {
|
|
1144
|
+
[key: string]: string;
|
|
1145
|
+
};
|
|
1146
|
+
/**
|
|
1147
|
+
* <p>The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.</p>
|
|
1148
|
+
*/
|
|
1149
|
+
executionTimeoutMinutes?: number;
|
|
1150
|
+
/**
|
|
1151
|
+
* <p>The optional job run name. This doesn't have to be unique.</p>
|
|
1152
|
+
*/
|
|
1153
|
+
name?: string;
|
|
1154
|
+
}
|
|
1155
|
+
export declare namespace StartJobRunRequest {
|
|
1156
|
+
/**
|
|
1157
|
+
* @internal
|
|
1158
|
+
*/
|
|
1159
|
+
const filterSensitiveLog: (obj: StartJobRunRequest) => any;
|
|
1160
|
+
}
|
|
1161
|
+
export interface GetJobRunResponse {
|
|
1162
|
+
/**
|
|
1163
|
+
* <p>The output displays information about the job run.</p>
|
|
1164
|
+
*/
|
|
1165
|
+
jobRun: JobRun | undefined;
|
|
1166
|
+
}
|
|
1167
|
+
export declare namespace GetJobRunResponse {
|
|
1168
|
+
/**
|
|
1169
|
+
* @internal
|
|
1170
|
+
*/
|
|
1171
|
+
const filterSensitiveLog: (obj: GetJobRunResponse) => any;
|
|
1172
|
+
}
|