@aws-sdk/client-emr-serverless 3.418.0 → 3.421.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/README.md +7 -7
- package/dist-cjs/commands/CreateApplicationCommand.js +2 -1
- package/dist-cjs/commands/GetApplicationCommand.js +2 -1
- package/dist-cjs/commands/UpdateApplicationCommand.js +3 -2
- package/dist-cjs/models/models_0.js +32 -1
- package/dist-cjs/protocols/Aws_restJson1.js +6 -0
- package/dist-es/commands/CreateApplicationCommand.js +2 -1
- package/dist-es/commands/GetApplicationCommand.js +2 -1
- package/dist-es/commands/UpdateApplicationCommand.js +3 -2
- package/dist-es/models/models_0.js +26 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +38 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +38 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +76 -0
- package/dist-types/models/models_0.d.ts +619 -562
- package/dist-types/ts3.4/models/models_0.d.ts +93 -74
- package/package.json +3 -3
|
@@ -30,6 +30,26 @@ export interface MaximumAllowedResources {
|
|
|
30
30
|
memory: string | undefined;
|
|
31
31
|
disk?: string;
|
|
32
32
|
}
|
|
33
|
+
export interface CloudWatchLoggingConfiguration {
|
|
34
|
+
enabled: boolean | undefined;
|
|
35
|
+
logGroupName?: string;
|
|
36
|
+
logStreamNamePrefix?: string;
|
|
37
|
+
encryptionKeyArn?: string;
|
|
38
|
+
logTypes?: Record<string, string[]>;
|
|
39
|
+
}
|
|
40
|
+
export interface ManagedPersistenceMonitoringConfiguration {
|
|
41
|
+
enabled?: boolean;
|
|
42
|
+
encryptionKeyArn?: string;
|
|
43
|
+
}
|
|
44
|
+
export interface S3MonitoringConfiguration {
|
|
45
|
+
logUri?: string;
|
|
46
|
+
encryptionKeyArn?: string;
|
|
47
|
+
}
|
|
48
|
+
export interface MonitoringConfiguration {
|
|
49
|
+
s3MonitoringConfiguration?: S3MonitoringConfiguration;
|
|
50
|
+
managedPersistenceMonitoringConfiguration?: ManagedPersistenceMonitoringConfiguration;
|
|
51
|
+
cloudWatchLoggingConfiguration?: CloudWatchLoggingConfiguration;
|
|
52
|
+
}
|
|
33
53
|
export interface NetworkConfiguration {
|
|
34
54
|
subnetIds?: string[];
|
|
35
55
|
securityGroupIds?: string[];
|
|
@@ -48,26 +68,6 @@ export type ApplicationState =
|
|
|
48
68
|
export interface WorkerTypeSpecification {
|
|
49
69
|
imageConfiguration?: ImageConfiguration;
|
|
50
70
|
}
|
|
51
|
-
export interface Application {
|
|
52
|
-
applicationId: string | undefined;
|
|
53
|
-
name?: string;
|
|
54
|
-
arn: string | undefined;
|
|
55
|
-
releaseLabel: string | undefined;
|
|
56
|
-
type: string | undefined;
|
|
57
|
-
state: ApplicationState | string | undefined;
|
|
58
|
-
stateDetails?: string;
|
|
59
|
-
initialCapacity?: Record<string, InitialCapacityConfig>;
|
|
60
|
-
maximumCapacity?: MaximumAllowedResources;
|
|
61
|
-
createdAt: Date | undefined;
|
|
62
|
-
updatedAt: Date | undefined;
|
|
63
|
-
tags?: Record<string, string>;
|
|
64
|
-
autoStartConfiguration?: AutoStartConfig;
|
|
65
|
-
autoStopConfiguration?: AutoStopConfig;
|
|
66
|
-
networkConfiguration?: NetworkConfiguration;
|
|
67
|
-
architecture?: Architecture | string;
|
|
68
|
-
imageConfiguration?: ImageConfiguration;
|
|
69
|
-
workerTypeSpecifications?: Record<string, WorkerTypeSpecification>;
|
|
70
|
-
}
|
|
71
71
|
export interface ApplicationSummary {
|
|
72
72
|
id: string | undefined;
|
|
73
73
|
name?: string;
|
|
@@ -91,21 +91,6 @@ export interface ImageConfigurationInput {
|
|
|
91
91
|
export interface WorkerTypeSpecificationInput {
|
|
92
92
|
imageConfiguration?: ImageConfigurationInput;
|
|
93
93
|
}
|
|
94
|
-
export interface CreateApplicationRequest {
|
|
95
|
-
name?: string;
|
|
96
|
-
releaseLabel: string | undefined;
|
|
97
|
-
type: string | undefined;
|
|
98
|
-
clientToken?: string;
|
|
99
|
-
initialCapacity?: Record<string, InitialCapacityConfig>;
|
|
100
|
-
maximumCapacity?: MaximumAllowedResources;
|
|
101
|
-
tags?: Record<string, string>;
|
|
102
|
-
autoStartConfiguration?: AutoStartConfig;
|
|
103
|
-
autoStopConfiguration?: AutoStopConfig;
|
|
104
|
-
networkConfiguration?: NetworkConfiguration;
|
|
105
|
-
architecture?: Architecture | string;
|
|
106
|
-
imageConfiguration?: ImageConfigurationInput;
|
|
107
|
-
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
108
|
-
}
|
|
109
94
|
export interface CreateApplicationResponse {
|
|
110
95
|
applicationId: string | undefined;
|
|
111
96
|
name?: string;
|
|
@@ -139,9 +124,6 @@ export interface DeleteApplicationResponse {}
|
|
|
139
124
|
export interface GetApplicationRequest {
|
|
140
125
|
applicationId: string | undefined;
|
|
141
126
|
}
|
|
142
|
-
export interface GetApplicationResponse {
|
|
143
|
-
application: Application | undefined;
|
|
144
|
-
}
|
|
145
127
|
export interface ListApplicationsRequest {
|
|
146
128
|
nextToken?: string;
|
|
147
129
|
maxResults?: number;
|
|
@@ -166,22 +148,6 @@ export interface StopApplicationRequest {
|
|
|
166
148
|
applicationId: string | undefined;
|
|
167
149
|
}
|
|
168
150
|
export interface StopApplicationResponse {}
|
|
169
|
-
export interface UpdateApplicationRequest {
|
|
170
|
-
applicationId: string | undefined;
|
|
171
|
-
clientToken?: string;
|
|
172
|
-
initialCapacity?: Record<string, InitialCapacityConfig>;
|
|
173
|
-
maximumCapacity?: MaximumAllowedResources;
|
|
174
|
-
autoStartConfiguration?: AutoStartConfig;
|
|
175
|
-
autoStopConfiguration?: AutoStopConfig;
|
|
176
|
-
networkConfiguration?: NetworkConfiguration;
|
|
177
|
-
architecture?: Architecture | string;
|
|
178
|
-
imageConfiguration?: ImageConfigurationInput;
|
|
179
|
-
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
180
|
-
releaseLabel?: string;
|
|
181
|
-
}
|
|
182
|
-
export interface UpdateApplicationResponse {
|
|
183
|
-
application: Application | undefined;
|
|
184
|
-
}
|
|
185
151
|
export interface CancelJobRunRequest {
|
|
186
152
|
applicationId: string | undefined;
|
|
187
153
|
jobRunId: string | undefined;
|
|
@@ -206,26 +172,6 @@ export interface ResourceUtilization {
|
|
|
206
172
|
memoryGBHour?: number;
|
|
207
173
|
storageGBHour?: number;
|
|
208
174
|
}
|
|
209
|
-
export interface CloudWatchLoggingConfiguration {
|
|
210
|
-
enabled: boolean | undefined;
|
|
211
|
-
logGroupName?: string;
|
|
212
|
-
logStreamNamePrefix?: string;
|
|
213
|
-
encryptionKeyArn?: string;
|
|
214
|
-
logTypes?: Record<string, string[]>;
|
|
215
|
-
}
|
|
216
|
-
export interface ManagedPersistenceMonitoringConfiguration {
|
|
217
|
-
enabled?: boolean;
|
|
218
|
-
encryptionKeyArn?: string;
|
|
219
|
-
}
|
|
220
|
-
export interface S3MonitoringConfiguration {
|
|
221
|
-
logUri?: string;
|
|
222
|
-
encryptionKeyArn?: string;
|
|
223
|
-
}
|
|
224
|
-
export interface MonitoringConfiguration {
|
|
225
|
-
s3MonitoringConfiguration?: S3MonitoringConfiguration;
|
|
226
|
-
managedPersistenceMonitoringConfiguration?: ManagedPersistenceMonitoringConfiguration;
|
|
227
|
-
cloudWatchLoggingConfiguration?: CloudWatchLoggingConfiguration;
|
|
228
|
-
}
|
|
229
175
|
export interface Hive {
|
|
230
176
|
query: string | undefined;
|
|
231
177
|
initQueryFile?: string;
|
|
@@ -331,10 +277,67 @@ export interface Configuration {
|
|
|
331
277
|
properties?: Record<string, string>;
|
|
332
278
|
configurations?: Configuration[];
|
|
333
279
|
}
|
|
280
|
+
export interface Application {
|
|
281
|
+
applicationId: string | undefined;
|
|
282
|
+
name?: string;
|
|
283
|
+
arn: string | undefined;
|
|
284
|
+
releaseLabel: string | undefined;
|
|
285
|
+
type: string | undefined;
|
|
286
|
+
state: ApplicationState | string | undefined;
|
|
287
|
+
stateDetails?: string;
|
|
288
|
+
initialCapacity?: Record<string, InitialCapacityConfig>;
|
|
289
|
+
maximumCapacity?: MaximumAllowedResources;
|
|
290
|
+
createdAt: Date | undefined;
|
|
291
|
+
updatedAt: Date | undefined;
|
|
292
|
+
tags?: Record<string, string>;
|
|
293
|
+
autoStartConfiguration?: AutoStartConfig;
|
|
294
|
+
autoStopConfiguration?: AutoStopConfig;
|
|
295
|
+
networkConfiguration?: NetworkConfiguration;
|
|
296
|
+
architecture?: Architecture | string;
|
|
297
|
+
imageConfiguration?: ImageConfiguration;
|
|
298
|
+
workerTypeSpecifications?: Record<string, WorkerTypeSpecification>;
|
|
299
|
+
runtimeConfiguration?: Configuration[];
|
|
300
|
+
monitoringConfiguration?: MonitoringConfiguration;
|
|
301
|
+
}
|
|
334
302
|
export interface ConfigurationOverrides {
|
|
335
303
|
applicationConfiguration?: Configuration[];
|
|
336
304
|
monitoringConfiguration?: MonitoringConfiguration;
|
|
337
305
|
}
|
|
306
|
+
export interface CreateApplicationRequest {
|
|
307
|
+
name?: string;
|
|
308
|
+
releaseLabel: string | undefined;
|
|
309
|
+
type: string | undefined;
|
|
310
|
+
clientToken?: string;
|
|
311
|
+
initialCapacity?: Record<string, InitialCapacityConfig>;
|
|
312
|
+
maximumCapacity?: MaximumAllowedResources;
|
|
313
|
+
tags?: Record<string, string>;
|
|
314
|
+
autoStartConfiguration?: AutoStartConfig;
|
|
315
|
+
autoStopConfiguration?: AutoStopConfig;
|
|
316
|
+
networkConfiguration?: NetworkConfiguration;
|
|
317
|
+
architecture?: Architecture | string;
|
|
318
|
+
imageConfiguration?: ImageConfigurationInput;
|
|
319
|
+
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
320
|
+
runtimeConfiguration?: Configuration[];
|
|
321
|
+
monitoringConfiguration?: MonitoringConfiguration;
|
|
322
|
+
}
|
|
323
|
+
export interface UpdateApplicationRequest {
|
|
324
|
+
applicationId: string | undefined;
|
|
325
|
+
clientToken?: string;
|
|
326
|
+
initialCapacity?: Record<string, InitialCapacityConfig>;
|
|
327
|
+
maximumCapacity?: MaximumAllowedResources;
|
|
328
|
+
autoStartConfiguration?: AutoStartConfig;
|
|
329
|
+
autoStopConfiguration?: AutoStopConfig;
|
|
330
|
+
networkConfiguration?: NetworkConfiguration;
|
|
331
|
+
architecture?: Architecture | string;
|
|
332
|
+
imageConfiguration?: ImageConfigurationInput;
|
|
333
|
+
workerTypeSpecifications?: Record<string, WorkerTypeSpecificationInput>;
|
|
334
|
+
releaseLabel?: string;
|
|
335
|
+
runtimeConfiguration?: Configuration[];
|
|
336
|
+
monitoringConfiguration?: MonitoringConfiguration;
|
|
337
|
+
}
|
|
338
|
+
export interface GetApplicationResponse {
|
|
339
|
+
application: Application | undefined;
|
|
340
|
+
}
|
|
338
341
|
export interface JobRun {
|
|
339
342
|
applicationId: string | undefined;
|
|
340
343
|
jobRunId: string | undefined;
|
|
@@ -366,6 +369,9 @@ export interface StartJobRunRequest {
|
|
|
366
369
|
executionTimeoutMinutes?: number;
|
|
367
370
|
name?: string;
|
|
368
371
|
}
|
|
372
|
+
export interface UpdateApplicationResponse {
|
|
373
|
+
application: Application | undefined;
|
|
374
|
+
}
|
|
369
375
|
export interface GetJobRunResponse {
|
|
370
376
|
jobRun: JobRun | undefined;
|
|
371
377
|
}
|
|
@@ -375,13 +381,26 @@ export declare const JobDriverFilterSensitiveLog: (obj: JobDriver) => any;
|
|
|
375
381
|
export declare const ConfigurationFilterSensitiveLog: (
|
|
376
382
|
obj: Configuration
|
|
377
383
|
) => any;
|
|
384
|
+
export declare const ApplicationFilterSensitiveLog: (obj: Application) => any;
|
|
378
385
|
export declare const ConfigurationOverridesFilterSensitiveLog: (
|
|
379
386
|
obj: ConfigurationOverrides
|
|
380
387
|
) => any;
|
|
388
|
+
export declare const CreateApplicationRequestFilterSensitiveLog: (
|
|
389
|
+
obj: CreateApplicationRequest
|
|
390
|
+
) => any;
|
|
391
|
+
export declare const UpdateApplicationRequestFilterSensitiveLog: (
|
|
392
|
+
obj: UpdateApplicationRequest
|
|
393
|
+
) => any;
|
|
394
|
+
export declare const GetApplicationResponseFilterSensitiveLog: (
|
|
395
|
+
obj: GetApplicationResponse
|
|
396
|
+
) => any;
|
|
381
397
|
export declare const JobRunFilterSensitiveLog: (obj: JobRun) => any;
|
|
382
398
|
export declare const StartJobRunRequestFilterSensitiveLog: (
|
|
383
399
|
obj: StartJobRunRequest
|
|
384
400
|
) => any;
|
|
401
|
+
export declare const UpdateApplicationResponseFilterSensitiveLog: (
|
|
402
|
+
obj: UpdateApplicationResponse
|
|
403
|
+
) => any;
|
|
385
404
|
export declare const GetJobRunResponseFilterSensitiveLog: (
|
|
386
405
|
obj: GetJobRunResponse
|
|
387
406
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-emr-serverless",
|
|
3
3
|
"description": "AWS SDK for JavaScript Emr Serverless Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.421.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.421.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.421.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.418.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.418.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.418.0",
|