@aws-sdk/client-emr-serverless 3.312.0 → 3.315.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/protocols/Aws_restJson1.js +236 -614
- package/dist-es/protocols/Aws_restJson1.js +215 -593
- package/dist-types/EMRServerless.d.ts +7 -6
- package/dist-types/commands/CancelJobRunCommand.d.ts +2 -1
- package/dist-types/commands/CreateApplicationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteApplicationCommand.d.ts +2 -1
- package/dist-types/commands/GetApplicationCommand.d.ts +2 -1
- package/dist-types/commands/GetDashboardForJobRunCommand.d.ts +4 -2
- package/dist-types/commands/GetJobRunCommand.d.ts +2 -1
- package/dist-types/commands/ListApplicationsCommand.d.ts +2 -1
- package/dist-types/commands/ListJobRunsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/StartApplicationCommand.d.ts +2 -1
- package/dist-types/commands/StartJobRunCommand.d.ts +2 -1
- package/dist-types/commands/StopApplicationCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +7 -6
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +34 -4
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/package.json +6 -6
|
@@ -72,7 +72,8 @@ export declare class EMRServerless extends EMRServerlessClient {
|
|
|
72
72
|
getApplication(args: GetApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void;
|
|
73
73
|
/**
|
|
74
74
|
* @public
|
|
75
|
-
* <p>Returns a URL to access the job run dashboard
|
|
75
|
+
* <p>Returns a URL to access the job run dashboard. The generated URL is valid for one hour,
|
|
76
|
+
* after which you must invoke the API again to generate a new URL.</p>
|
|
76
77
|
*/
|
|
77
78
|
getDashboardForJobRun(args: GetDashboardForJobRunCommandInput, options?: __HttpHandlerOptions): Promise<GetDashboardForJobRunCommandOutput>;
|
|
78
79
|
getDashboardForJobRun(args: GetDashboardForJobRunCommandInput, cb: (err: any, data?: GetDashboardForJobRunCommandOutput) => void): void;
|
|
@@ -129,11 +130,11 @@ export declare class EMRServerless extends EMRServerlessClient {
|
|
|
129
130
|
stopApplication(args: StopApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopApplicationCommandOutput) => void): void;
|
|
130
131
|
/**
|
|
131
132
|
* @public
|
|
132
|
-
* <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services
|
|
133
|
-
* consists of a key and an optional value, both of which you define. Tags
|
|
134
|
-
* categorize your Amazon Web Services resources by attributes such as purpose,
|
|
135
|
-
* you have many resources of the same type, you can quickly
|
|
136
|
-
* based on the tags you've assigned to it. </p>
|
|
133
|
+
* <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services
|
|
134
|
+
* resource. Each tag consists of a key and an optional value, both of which you define. Tags
|
|
135
|
+
* enable you to categorize your Amazon Web Services resources by attributes such as purpose,
|
|
136
|
+
* owner, or environment. When you have many resources of the same type, you can quickly
|
|
137
|
+
* identify a specific resource based on the tags you've assigned to it. </p>
|
|
137
138
|
*/
|
|
138
139
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
139
140
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
@@ -47,7 +47,8 @@ export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __Metad
|
|
|
47
47
|
* <p>The specified resource was not found.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link ValidationException} (client fault)
|
|
50
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
50
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
51
|
+
* service.</p>
|
|
51
52
|
*
|
|
52
53
|
*
|
|
53
54
|
*/
|
|
@@ -97,7 +97,8 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
|
|
|
97
97
|
* <p>The specified resource was not found.</p>
|
|
98
98
|
*
|
|
99
99
|
* @throws {@link ValidationException} (client fault)
|
|
100
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
100
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
101
|
+
* service.</p>
|
|
101
102
|
*
|
|
102
103
|
*
|
|
103
104
|
*/
|
|
@@ -47,7 +47,8 @@ export interface DeleteApplicationCommandOutput extends DeleteApplicationRespons
|
|
|
47
47
|
* <p>The specified resource was not found.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link ValidationException} (client fault)
|
|
50
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
50
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
51
|
+
* service.</p>
|
|
51
52
|
*
|
|
52
53
|
*
|
|
53
54
|
*/
|
|
@@ -46,7 +46,8 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
|
|
|
46
46
|
* <p>The specified resource was not found.</p>
|
|
47
47
|
*
|
|
48
48
|
* @throws {@link ValidationException} (client fault)
|
|
49
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
49
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
50
|
+
* service.</p>
|
|
50
51
|
*
|
|
51
52
|
*
|
|
52
53
|
*/
|
|
@@ -19,7 +19,8 @@ export interface GetDashboardForJobRunCommandOutput extends GetDashboardForJobRu
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Returns a URL to access the job run dashboard
|
|
22
|
+
* <p>Returns a URL to access the job run dashboard. The generated URL is valid for one hour,
|
|
23
|
+
* after which you must invoke the API again to generate a new URL.</p>
|
|
23
24
|
* @example
|
|
24
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
26
|
* ```javascript
|
|
@@ -47,7 +48,8 @@ export interface GetDashboardForJobRunCommandOutput extends GetDashboardForJobRu
|
|
|
47
48
|
* <p>The specified resource was not found.</p>
|
|
48
49
|
*
|
|
49
50
|
* @throws {@link ValidationException} (client fault)
|
|
50
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
51
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
52
|
+
* service.</p>
|
|
51
53
|
*
|
|
52
54
|
*
|
|
53
55
|
*/
|
|
@@ -47,7 +47,8 @@ export interface GetJobRunCommandOutput extends GetJobRunResponse, __MetadataBea
|
|
|
47
47
|
* <p>The specified resource was not found.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link ValidationException} (client fault)
|
|
50
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
50
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
51
|
+
* service.</p>
|
|
51
52
|
*
|
|
52
53
|
*
|
|
53
54
|
*/
|
|
@@ -47,7 +47,8 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
|
|
|
47
47
|
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link ValidationException} (client fault)
|
|
50
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
50
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
51
|
+
* service.</p>
|
|
51
52
|
*
|
|
52
53
|
*
|
|
53
54
|
*/
|
|
@@ -50,7 +50,8 @@ export interface ListJobRunsCommandOutput extends ListJobRunsResponse, __Metadat
|
|
|
50
50
|
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
51
51
|
*
|
|
52
52
|
* @throws {@link ValidationException} (client fault)
|
|
53
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
53
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
54
|
+
* service.</p>
|
|
54
55
|
*
|
|
55
56
|
*
|
|
56
57
|
*/
|
|
@@ -46,7 +46,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
46
46
|
* <p>The specified resource was not found.</p>
|
|
47
47
|
*
|
|
48
48
|
* @throws {@link ValidationException} (client fault)
|
|
49
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
49
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
50
|
+
* service.</p>
|
|
50
51
|
*
|
|
51
52
|
*
|
|
52
53
|
*/
|
|
@@ -49,7 +49,8 @@ export interface StartApplicationCommandOutput extends StartApplicationResponse,
|
|
|
49
49
|
* <p>The maximum number of resources per account has been reached.</p>
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link ValidationException} (client fault)
|
|
52
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
52
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
53
|
+
* service.</p>
|
|
53
54
|
*
|
|
54
55
|
*
|
|
55
56
|
*/
|
|
@@ -100,7 +100,8 @@ export interface StartJobRunCommandOutput extends StartJobRunResponse, __Metadat
|
|
|
100
100
|
* <p>The specified resource was not found.</p>
|
|
101
101
|
*
|
|
102
102
|
* @throws {@link ValidationException} (client fault)
|
|
103
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
103
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
104
|
+
* service.</p>
|
|
104
105
|
*
|
|
105
106
|
*
|
|
106
107
|
*/
|
|
@@ -47,7 +47,8 @@ export interface StopApplicationCommandOutput extends StopApplicationResponse, _
|
|
|
47
47
|
* <p>The specified resource was not found.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link ValidationException} (client fault)
|
|
50
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
50
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
51
|
+
* service.</p>
|
|
51
52
|
*
|
|
52
53
|
*
|
|
53
54
|
*/
|
|
@@ -19,11 +19,11 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services
|
|
23
|
-
* consists of a key and an optional value, both of which you define. Tags
|
|
24
|
-
* categorize your Amazon Web Services resources by attributes such as purpose,
|
|
25
|
-
* you have many resources of the same type, you can quickly
|
|
26
|
-
* based on the tags you've assigned to it. </p>
|
|
22
|
+
* <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services
|
|
23
|
+
* resource. Each tag consists of a key and an optional value, both of which you define. Tags
|
|
24
|
+
* enable you to categorize your Amazon Web Services resources by attributes such as purpose,
|
|
25
|
+
* owner, or environment. When you have many resources of the same type, you can quickly
|
|
26
|
+
* identify a specific resource based on the tags you've assigned to it. </p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -53,7 +53,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
53
53
|
* <p>The specified resource was not found.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ValidationException} (client fault)
|
|
56
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
56
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
57
|
+
* service.</p>
|
|
57
58
|
*
|
|
58
59
|
*
|
|
59
60
|
*/
|
|
@@ -49,7 +49,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
49
49
|
* <p>The specified resource was not found.</p>
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link ValidationException} (client fault)
|
|
52
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
52
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
53
|
+
* service.</p>
|
|
53
54
|
*
|
|
54
55
|
*
|
|
55
56
|
*/
|
|
@@ -89,7 +89,8 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
|
|
|
89
89
|
* <p>The specified resource was not found.</p>
|
|
90
90
|
*
|
|
91
91
|
* @throws {@link ValidationException} (client fault)
|
|
92
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
92
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
93
|
+
* service.</p>
|
|
93
94
|
*
|
|
94
95
|
*
|
|
95
96
|
*/
|
|
@@ -422,7 +422,8 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
422
422
|
}
|
|
423
423
|
/**
|
|
424
424
|
* @public
|
|
425
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
425
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
426
|
+
* service.</p>
|
|
426
427
|
*/
|
|
427
428
|
export declare class ValidationException extends __BaseException {
|
|
428
429
|
readonly name: "ValidationException";
|
|
@@ -663,6 +664,27 @@ export interface GetJobRunRequest {
|
|
|
663
664
|
*/
|
|
664
665
|
jobRunId: string | undefined;
|
|
665
666
|
}
|
|
667
|
+
/**
|
|
668
|
+
* @public
|
|
669
|
+
* <p>The resource utilization for memory, storage, and vCPU for jobs.</p>
|
|
670
|
+
*/
|
|
671
|
+
export interface ResourceUtilization {
|
|
672
|
+
/**
|
|
673
|
+
* <p>The aggregated vCPU used per hour from the time the job starts executing until the job
|
|
674
|
+
* is terminated.</p>
|
|
675
|
+
*/
|
|
676
|
+
vCPUHour?: number;
|
|
677
|
+
/**
|
|
678
|
+
* <p>The aggregated memory used per hour from the time the job starts executing until the job
|
|
679
|
+
* is terminated.</p>
|
|
680
|
+
*/
|
|
681
|
+
memoryGBHour?: number;
|
|
682
|
+
/**
|
|
683
|
+
* <p>The aggregated storage used per hour from the time the job starts executing until the
|
|
684
|
+
* job is terminated.</p>
|
|
685
|
+
*/
|
|
686
|
+
storageGBHour?: number;
|
|
687
|
+
}
|
|
666
688
|
/**
|
|
667
689
|
* @public
|
|
668
690
|
* <p>The managed log persistence configuration for a job run.</p>
|
|
@@ -1093,8 +1115,8 @@ export interface JobRun {
|
|
|
1093
1115
|
*/
|
|
1094
1116
|
tags?: Record<string, string>;
|
|
1095
1117
|
/**
|
|
1096
|
-
* <p>The aggregate vCPU, memory, and storage resources used from the time job
|
|
1097
|
-
*
|
|
1118
|
+
* <p>The aggregate vCPU, memory, and storage resources used from the time the job starts to
|
|
1119
|
+
* execute, until the time the job terminates, rounded up to the nearest second.</p>
|
|
1098
1120
|
*/
|
|
1099
1121
|
totalResourceUtilization?: TotalResourceUtilization;
|
|
1100
1122
|
/**
|
|
@@ -1108,9 +1130,17 @@ export interface JobRun {
|
|
|
1108
1130
|
*/
|
|
1109
1131
|
totalExecutionDurationSeconds?: number;
|
|
1110
1132
|
/**
|
|
1111
|
-
*
|
|
1133
|
+
* <p>Returns the job run timeout value from the <code>StartJobRun</code> call. If no timeout
|
|
1134
|
+
* was specified, then it returns the default timeout of 720 minutes.</p>
|
|
1112
1135
|
*/
|
|
1113
1136
|
executionTimeoutMinutes?: number;
|
|
1137
|
+
/**
|
|
1138
|
+
* <p>The aggregate vCPU, memory, and storage that AWS has billed for the job run. The billed
|
|
1139
|
+
* resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB
|
|
1140
|
+
* per worker. Note that billed resources do not include usage for idle pre-initialized
|
|
1141
|
+
* workers.</p>
|
|
1142
|
+
*/
|
|
1143
|
+
billedResourceUtilization?: ResourceUtilization;
|
|
1114
1144
|
}
|
|
1115
1145
|
/**
|
|
1116
1146
|
* @public
|
|
@@ -200,6 +200,11 @@ export interface GetJobRunRequest {
|
|
|
200
200
|
applicationId: string | undefined;
|
|
201
201
|
jobRunId: string | undefined;
|
|
202
202
|
}
|
|
203
|
+
export interface ResourceUtilization {
|
|
204
|
+
vCPUHour?: number;
|
|
205
|
+
memoryGBHour?: number;
|
|
206
|
+
storageGBHour?: number;
|
|
207
|
+
}
|
|
203
208
|
export interface ManagedPersistenceMonitoringConfiguration {
|
|
204
209
|
enabled?: boolean;
|
|
205
210
|
encryptionKeyArn?: string;
|
|
@@ -340,6 +345,7 @@ export interface JobRun {
|
|
|
340
345
|
networkConfiguration?: NetworkConfiguration;
|
|
341
346
|
totalExecutionDurationSeconds?: number;
|
|
342
347
|
executionTimeoutMinutes?: number;
|
|
348
|
+
billedResourceUtilization?: ResourceUtilization;
|
|
343
349
|
}
|
|
344
350
|
export interface StartJobRunRequest {
|
|
345
351
|
applicationId: string | undefined;
|
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.315.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,9 +21,9 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.315.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.315.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.315.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.315.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.315.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|