@aws-sdk/client-emr-serverless 3.300.0 → 3.303.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/models/models_0.js +23 -26
- package/dist-es/models/models_0.js +23 -26
- package/dist-types/commands/CancelJobRunCommand.d.ts +1 -1
- package/dist-types/commands/CreateApplicationCommand.d.ts +14 -14
- package/dist-types/commands/DeleteApplicationCommand.d.ts +1 -1
- package/dist-types/commands/GetApplicationCommand.d.ts +1 -1
- package/dist-types/commands/GetDashboardForJobRunCommand.d.ts +1 -1
- package/dist-types/commands/GetJobRunCommand.d.ts +1 -1
- package/dist-types/commands/ListApplicationsCommand.d.ts +2 -2
- package/dist-types/commands/ListJobRunsCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartApplicationCommand.d.ts +1 -1
- package/dist-types/commands/StartJobRunCommand.d.ts +14 -16
- package/dist-types/commands/StopApplicationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApplicationCommand.d.ts +13 -13
- package/dist-types/models/models_0.d.ts +38 -23
- package/dist-types/ts3.4/models/models_0.d.ts +27 -23
- package/package.json +34 -34
|
@@ -3,21 +3,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GetJobRunResponseFilterSensitiveLog = exports.StartJobRunRequestFilterSensitiveLog = exports.JobRunFilterSensitiveLog = exports.ConfigurationOverridesFilterSensitiveLog = exports.ConfigurationFilterSensitiveLog = exports.JobDriverFilterSensitiveLog = exports.SparkSubmitFilterSensitiveLog = exports.HiveFilterSensitiveLog = exports.JobRunState = exports.JobDriver = exports.ServiceQuotaExceededException = exports.ValidationException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.ApplicationState = exports.Architecture = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const EMRServerlessServiceException_1 = require("./EMRServerlessServiceException");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
ApplicationState["TERMINATED"] = "TERMINATED";
|
|
20
|
-
})(ApplicationState = exports.ApplicationState || (exports.ApplicationState = {}));
|
|
6
|
+
exports.Architecture = {
|
|
7
|
+
ARM64: "ARM64",
|
|
8
|
+
X86_64: "X86_64",
|
|
9
|
+
};
|
|
10
|
+
exports.ApplicationState = {
|
|
11
|
+
CREATED: "CREATED",
|
|
12
|
+
CREATING: "CREATING",
|
|
13
|
+
STARTED: "STARTED",
|
|
14
|
+
STARTING: "STARTING",
|
|
15
|
+
STOPPED: "STOPPED",
|
|
16
|
+
STOPPING: "STOPPING",
|
|
17
|
+
TERMINATED: "TERMINATED",
|
|
18
|
+
};
|
|
21
19
|
class ConflictException extends EMRServerlessServiceException_1.EMRServerlessServiceException {
|
|
22
20
|
constructor(opts) {
|
|
23
21
|
super({
|
|
@@ -93,17 +91,16 @@ var JobDriver;
|
|
|
93
91
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
94
92
|
};
|
|
95
93
|
})(JobDriver = exports.JobDriver || (exports.JobDriver = {}));
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
})(JobRunState = exports.JobRunState || (exports.JobRunState = {}));
|
|
94
|
+
exports.JobRunState = {
|
|
95
|
+
CANCELLED: "CANCELLED",
|
|
96
|
+
CANCELLING: "CANCELLING",
|
|
97
|
+
FAILED: "FAILED",
|
|
98
|
+
PENDING: "PENDING",
|
|
99
|
+
RUNNING: "RUNNING",
|
|
100
|
+
SCHEDULED: "SCHEDULED",
|
|
101
|
+
SUBMITTED: "SUBMITTED",
|
|
102
|
+
SUCCESS: "SUCCESS",
|
|
103
|
+
};
|
|
107
104
|
const HiveFilterSensitiveLog = (obj) => ({
|
|
108
105
|
...obj,
|
|
109
106
|
...(obj.query && { query: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
ApplicationState["TERMINATED"] = "TERMINATED";
|
|
17
|
-
})(ApplicationState || (ApplicationState = {}));
|
|
3
|
+
export const Architecture = {
|
|
4
|
+
ARM64: "ARM64",
|
|
5
|
+
X86_64: "X86_64",
|
|
6
|
+
};
|
|
7
|
+
export const ApplicationState = {
|
|
8
|
+
CREATED: "CREATED",
|
|
9
|
+
CREATING: "CREATING",
|
|
10
|
+
STARTED: "STARTED",
|
|
11
|
+
STARTING: "STARTING",
|
|
12
|
+
STOPPED: "STOPPED",
|
|
13
|
+
STOPPING: "STOPPING",
|
|
14
|
+
TERMINATED: "TERMINATED",
|
|
15
|
+
};
|
|
18
16
|
export class ConflictException extends __BaseException {
|
|
19
17
|
constructor(opts) {
|
|
20
18
|
super({
|
|
@@ -85,17 +83,16 @@ export var JobDriver;
|
|
|
85
83
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
86
84
|
};
|
|
87
85
|
})(JobDriver || (JobDriver = {}));
|
|
88
|
-
export
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
})(JobRunState || (JobRunState = {}));
|
|
86
|
+
export const JobRunState = {
|
|
87
|
+
CANCELLED: "CANCELLED",
|
|
88
|
+
CANCELLING: "CANCELLING",
|
|
89
|
+
FAILED: "FAILED",
|
|
90
|
+
PENDING: "PENDING",
|
|
91
|
+
RUNNING: "RUNNING",
|
|
92
|
+
SCHEDULED: "SCHEDULED",
|
|
93
|
+
SUBMITTED: "SUBMITTED",
|
|
94
|
+
SUCCESS: "SUCCESS",
|
|
95
|
+
};
|
|
99
96
|
export const HiveFilterSensitiveLog = (obj) => ({
|
|
100
97
|
...obj,
|
|
101
98
|
...(obj.query && { query: SENSITIVE_STRING }),
|
|
@@ -26,7 +26,7 @@ export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __Metad
|
|
|
26
26
|
* import { EMRServerlessClient, CancelJobRunCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
27
27
|
* // const { EMRServerlessClient, CancelJobRunCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
28
28
|
* const client = new EMRServerlessClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CancelJobRunRequest
|
|
30
30
|
* applicationId: "STRING_VALUE", // required
|
|
31
31
|
* jobRunId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,50 +26,50 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
|
|
|
26
26
|
* import { EMRServerlessClient, CreateApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
27
27
|
* // const { EMRServerlessClient, CreateApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
28
28
|
* const client = new EMRServerlessClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateApplicationRequest
|
|
30
30
|
* name: "STRING_VALUE",
|
|
31
31
|
* releaseLabel: "STRING_VALUE", // required
|
|
32
32
|
* type: "STRING_VALUE", // required
|
|
33
33
|
* clientToken: "STRING_VALUE", // required
|
|
34
|
-
* initialCapacity: {
|
|
35
|
-
* "<keys>": {
|
|
34
|
+
* initialCapacity: { // InitialCapacityConfigMap
|
|
35
|
+
* "<keys>": { // InitialCapacityConfig
|
|
36
36
|
* workerCount: Number("long"), // required
|
|
37
|
-
* workerConfiguration: {
|
|
37
|
+
* workerConfiguration: { // WorkerResourceConfig
|
|
38
38
|
* cpu: "STRING_VALUE", // required
|
|
39
39
|
* memory: "STRING_VALUE", // required
|
|
40
40
|
* disk: "STRING_VALUE",
|
|
41
41
|
* },
|
|
42
42
|
* },
|
|
43
43
|
* },
|
|
44
|
-
* maximumCapacity: {
|
|
44
|
+
* maximumCapacity: { // MaximumAllowedResources
|
|
45
45
|
* cpu: "STRING_VALUE", // required
|
|
46
46
|
* memory: "STRING_VALUE", // required
|
|
47
47
|
* disk: "STRING_VALUE",
|
|
48
48
|
* },
|
|
49
|
-
* tags: {
|
|
49
|
+
* tags: { // TagMap
|
|
50
50
|
* "<keys>": "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
|
-
* autoStartConfiguration: {
|
|
52
|
+
* autoStartConfiguration: { // AutoStartConfig
|
|
53
53
|
* enabled: true || false,
|
|
54
54
|
* },
|
|
55
|
-
* autoStopConfiguration: {
|
|
55
|
+
* autoStopConfiguration: { // AutoStopConfig
|
|
56
56
|
* enabled: true || false,
|
|
57
57
|
* idleTimeoutMinutes: Number("int"),
|
|
58
58
|
* },
|
|
59
|
-
* networkConfiguration: {
|
|
60
|
-
* subnetIds: [
|
|
59
|
+
* networkConfiguration: { // NetworkConfiguration
|
|
60
|
+
* subnetIds: [ // SubnetIds
|
|
61
61
|
* "STRING_VALUE",
|
|
62
62
|
* ],
|
|
63
|
-
* securityGroupIds: [
|
|
63
|
+
* securityGroupIds: [ // SecurityGroupIds
|
|
64
64
|
* "STRING_VALUE",
|
|
65
65
|
* ],
|
|
66
66
|
* },
|
|
67
67
|
* architecture: "STRING_VALUE",
|
|
68
|
-
* imageConfiguration: {
|
|
68
|
+
* imageConfiguration: { // ImageConfigurationInput
|
|
69
69
|
* imageUri: "STRING_VALUE",
|
|
70
70
|
* },
|
|
71
|
-
* workerTypeSpecifications: {
|
|
72
|
-
* "<keys>": {
|
|
71
|
+
* workerTypeSpecifications: { // WorkerTypeSpecificationInputMap
|
|
72
|
+
* "<keys>": { // WorkerTypeSpecificationInput
|
|
73
73
|
* imageConfiguration: {
|
|
74
74
|
* imageUri: "STRING_VALUE",
|
|
75
75
|
* },
|
|
@@ -27,7 +27,7 @@ export interface DeleteApplicationCommandOutput extends DeleteApplicationRespons
|
|
|
27
27
|
* import { EMRServerlessClient, DeleteApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
28
28
|
* // const { EMRServerlessClient, DeleteApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
29
29
|
* const client = new EMRServerlessClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteApplicationRequest
|
|
31
31
|
* applicationId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteApplicationCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface GetApplicationCommandOutput extends GetApplicationResponse, __M
|
|
|
26
26
|
* import { EMRServerlessClient, GetApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
27
27
|
* // const { EMRServerlessClient, GetApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
28
28
|
* const client = new EMRServerlessClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetApplicationRequest
|
|
30
30
|
* applicationId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetApplicationCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface GetDashboardForJobRunCommandOutput extends GetDashboardForJobRu
|
|
|
26
26
|
* import { EMRServerlessClient, GetDashboardForJobRunCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
27
27
|
* // const { EMRServerlessClient, GetDashboardForJobRunCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
28
28
|
* const client = new EMRServerlessClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetDashboardForJobRunRequest
|
|
30
30
|
* applicationId: "STRING_VALUE", // required
|
|
31
31
|
* jobRunId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface GetJobRunCommandOutput extends GetJobRunResponse, __MetadataBea
|
|
|
26
26
|
* import { EMRServerlessClient, GetJobRunCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
27
27
|
* // const { EMRServerlessClient, GetJobRunCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
28
28
|
* const client = new EMRServerlessClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetJobRunRequest
|
|
30
30
|
* applicationId: "STRING_VALUE", // required
|
|
31
31
|
* jobRunId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,10 +26,10 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
|
|
|
26
26
|
* import { EMRServerlessClient, ListApplicationsCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
27
27
|
* // const { EMRServerlessClient, ListApplicationsCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
28
28
|
* const client = new EMRServerlessClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListApplicationsRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
|
-
* states: [
|
|
32
|
+
* states: [ // ApplicationStateSet
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
35
|
* };
|
|
@@ -26,13 +26,13 @@ export interface ListJobRunsCommandOutput extends ListJobRunsResponse, __Metadat
|
|
|
26
26
|
* import { EMRServerlessClient, ListJobRunsCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
27
27
|
* // const { EMRServerlessClient, ListJobRunsCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
28
28
|
* const client = new EMRServerlessClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListJobRunsRequest
|
|
30
30
|
* applicationId: "STRING_VALUE", // required
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* maxResults: Number("int"),
|
|
33
33
|
* createdAtAfter: new Date("TIMESTAMP"),
|
|
34
34
|
* createdAtBefore: new Date("TIMESTAMP"),
|
|
35
|
-
* states: [
|
|
35
|
+
* states: [ // JobRunStateSet
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
38
|
* };
|
|
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { EMRServerlessClient, ListTagsForResourceCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
27
27
|
* // const { EMRServerlessClient, ListTagsForResourceCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
28
28
|
* const client = new EMRServerlessClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface StartApplicationCommandOutput extends StartApplicationResponse,
|
|
|
26
26
|
* import { EMRServerlessClient, StartApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
27
27
|
* // const { EMRServerlessClient, StartApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
28
28
|
* const client = new EMRServerlessClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StartApplicationRequest
|
|
30
30
|
* applicationId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new StartApplicationCommand(input);
|
|
@@ -26,29 +26,29 @@ export interface StartJobRunCommandOutput extends StartJobRunResponse, __Metadat
|
|
|
26
26
|
* import { EMRServerlessClient, StartJobRunCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
27
27
|
* // const { EMRServerlessClient, StartJobRunCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
28
28
|
* const client = new EMRServerlessClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StartJobRunRequest
|
|
30
30
|
* applicationId: "STRING_VALUE", // required
|
|
31
31
|
* clientToken: "STRING_VALUE", // required
|
|
32
32
|
* executionRoleArn: "STRING_VALUE", // required
|
|
33
|
-
* jobDriver: { // Union: only one key present
|
|
34
|
-
* sparkSubmit: {
|
|
33
|
+
* jobDriver: { // JobDriver Union: only one key present
|
|
34
|
+
* sparkSubmit: { // SparkSubmit
|
|
35
35
|
* entryPoint: "STRING_VALUE", // required
|
|
36
|
-
* entryPointArguments: [
|
|
36
|
+
* entryPointArguments: [ // EntryPointArguments
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* sparkSubmitParameters: "STRING_VALUE",
|
|
40
40
|
* },
|
|
41
|
-
* hive: {
|
|
41
|
+
* hive: { // Hive
|
|
42
42
|
* query: "STRING_VALUE", // required
|
|
43
43
|
* initQueryFile: "STRING_VALUE",
|
|
44
44
|
* parameters: "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
46
|
* },
|
|
47
|
-
* configurationOverrides: {
|
|
48
|
-
* applicationConfiguration: [
|
|
49
|
-
* {
|
|
47
|
+
* configurationOverrides: { // ConfigurationOverrides
|
|
48
|
+
* applicationConfiguration: [ // ConfigurationList
|
|
49
|
+
* { // Configuration
|
|
50
50
|
* classification: "STRING_VALUE", // required
|
|
51
|
-
* properties: {
|
|
51
|
+
* properties: { // SensitivePropertiesMap
|
|
52
52
|
* "<keys>": "STRING_VALUE",
|
|
53
53
|
* },
|
|
54
54
|
* configurations: [
|
|
@@ -57,25 +57,23 @@ export interface StartJobRunCommandOutput extends StartJobRunResponse, __Metadat
|
|
|
57
57
|
* properties: {
|
|
58
58
|
* "<keys>": "STRING_VALUE",
|
|
59
59
|
* },
|
|
60
|
-
* configurations:
|
|
61
|
-
* "<ConfigurationList>",
|
|
62
|
-
* ],
|
|
60
|
+
* configurations: "<ConfigurationList>",
|
|
63
61
|
* },
|
|
64
62
|
* ],
|
|
65
63
|
* },
|
|
66
64
|
* ],
|
|
67
|
-
* monitoringConfiguration: {
|
|
68
|
-
* s3MonitoringConfiguration: {
|
|
65
|
+
* monitoringConfiguration: { // MonitoringConfiguration
|
|
66
|
+
* s3MonitoringConfiguration: { // S3MonitoringConfiguration
|
|
69
67
|
* logUri: "STRING_VALUE",
|
|
70
68
|
* encryptionKeyArn: "STRING_VALUE",
|
|
71
69
|
* },
|
|
72
|
-
* managedPersistenceMonitoringConfiguration: {
|
|
70
|
+
* managedPersistenceMonitoringConfiguration: { // ManagedPersistenceMonitoringConfiguration
|
|
73
71
|
* enabled: true || false,
|
|
74
72
|
* encryptionKeyArn: "STRING_VALUE",
|
|
75
73
|
* },
|
|
76
74
|
* },
|
|
77
75
|
* },
|
|
78
|
-
* tags: {
|
|
76
|
+
* tags: { // TagMap
|
|
79
77
|
* "<keys>": "STRING_VALUE",
|
|
80
78
|
* },
|
|
81
79
|
* executionTimeoutMinutes: Number("long"),
|
|
@@ -27,7 +27,7 @@ export interface StopApplicationCommandOutput extends StopApplicationResponse, _
|
|
|
27
27
|
* import { EMRServerlessClient, StopApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
28
28
|
* // const { EMRServerlessClient, StopApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
29
29
|
* const client = new EMRServerlessClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // StopApplicationRequest
|
|
31
31
|
* applicationId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new StopApplicationCommand(input);
|
|
@@ -30,9 +30,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
30
30
|
* import { EMRServerlessClient, TagResourceCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
31
31
|
* // const { EMRServerlessClient, TagResourceCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
32
32
|
* const client = new EMRServerlessClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // TagResourceRequest
|
|
34
34
|
* resourceArn: "STRING_VALUE", // required
|
|
35
|
-
* tags: { // required
|
|
35
|
+
* tags: { // TagMap // required
|
|
36
36
|
* "<keys>": "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
38
|
* };
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { EMRServerlessClient, UntagResourceCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
27
27
|
* // const { EMRServerlessClient, UntagResourceCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
28
28
|
* const client = new EMRServerlessClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -27,45 +27,45 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
|
|
|
27
27
|
* import { EMRServerlessClient, UpdateApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
|
|
28
28
|
* // const { EMRServerlessClient, UpdateApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
|
|
29
29
|
* const client = new EMRServerlessClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UpdateApplicationRequest
|
|
31
31
|
* applicationId: "STRING_VALUE", // required
|
|
32
32
|
* clientToken: "STRING_VALUE", // required
|
|
33
|
-
* initialCapacity: {
|
|
34
|
-
* "<keys>": {
|
|
33
|
+
* initialCapacity: { // InitialCapacityConfigMap
|
|
34
|
+
* "<keys>": { // InitialCapacityConfig
|
|
35
35
|
* workerCount: Number("long"), // required
|
|
36
|
-
* workerConfiguration: {
|
|
36
|
+
* workerConfiguration: { // WorkerResourceConfig
|
|
37
37
|
* cpu: "STRING_VALUE", // required
|
|
38
38
|
* memory: "STRING_VALUE", // required
|
|
39
39
|
* disk: "STRING_VALUE",
|
|
40
40
|
* },
|
|
41
41
|
* },
|
|
42
42
|
* },
|
|
43
|
-
* maximumCapacity: {
|
|
43
|
+
* maximumCapacity: { // MaximumAllowedResources
|
|
44
44
|
* cpu: "STRING_VALUE", // required
|
|
45
45
|
* memory: "STRING_VALUE", // required
|
|
46
46
|
* disk: "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
|
-
* autoStartConfiguration: {
|
|
48
|
+
* autoStartConfiguration: { // AutoStartConfig
|
|
49
49
|
* enabled: true || false,
|
|
50
50
|
* },
|
|
51
|
-
* autoStopConfiguration: {
|
|
51
|
+
* autoStopConfiguration: { // AutoStopConfig
|
|
52
52
|
* enabled: true || false,
|
|
53
53
|
* idleTimeoutMinutes: Number("int"),
|
|
54
54
|
* },
|
|
55
|
-
* networkConfiguration: {
|
|
56
|
-
* subnetIds: [
|
|
55
|
+
* networkConfiguration: { // NetworkConfiguration
|
|
56
|
+
* subnetIds: [ // SubnetIds
|
|
57
57
|
* "STRING_VALUE",
|
|
58
58
|
* ],
|
|
59
|
-
* securityGroupIds: [
|
|
59
|
+
* securityGroupIds: [ // SecurityGroupIds
|
|
60
60
|
* "STRING_VALUE",
|
|
61
61
|
* ],
|
|
62
62
|
* },
|
|
63
63
|
* architecture: "STRING_VALUE",
|
|
64
|
-
* imageConfiguration: {
|
|
64
|
+
* imageConfiguration: { // ImageConfigurationInput
|
|
65
65
|
* imageUri: "STRING_VALUE",
|
|
66
66
|
* },
|
|
67
|
-
* workerTypeSpecifications: {
|
|
68
|
-
* "<keys>": {
|
|
67
|
+
* workerTypeSpecifications: { // WorkerTypeSpecificationInputMap
|
|
68
|
+
* "<keys>": { // WorkerTypeSpecificationInput
|
|
69
69
|
* imageConfiguration: {
|
|
70
70
|
* imageUri: "STRING_VALUE",
|
|
71
71
|
* },
|
|
@@ -2,11 +2,16 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
|
|
|
2
2
|
import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
|
+
* @enum
|
|
5
6
|
*/
|
|
6
|
-
export declare
|
|
7
|
-
ARM64
|
|
8
|
-
X86_64
|
|
9
|
-
}
|
|
7
|
+
export declare const Architecture: {
|
|
8
|
+
readonly ARM64: "ARM64";
|
|
9
|
+
readonly X86_64: "X86_64";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type Architecture = (typeof Architecture)[keyof typeof Architecture];
|
|
10
15
|
/**
|
|
11
16
|
* @public
|
|
12
17
|
* <p>The configuration for an application to automatically start on job submission.</p>
|
|
@@ -116,18 +121,23 @@ export interface NetworkConfiguration {
|
|
|
116
121
|
*/
|
|
117
122
|
securityGroupIds?: string[];
|
|
118
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* @public
|
|
126
|
+
* @enum
|
|
127
|
+
*/
|
|
128
|
+
export declare const ApplicationState: {
|
|
129
|
+
readonly CREATED: "CREATED";
|
|
130
|
+
readonly CREATING: "CREATING";
|
|
131
|
+
readonly STARTED: "STARTED";
|
|
132
|
+
readonly STARTING: "STARTING";
|
|
133
|
+
readonly STOPPED: "STOPPED";
|
|
134
|
+
readonly STOPPING: "STOPPING";
|
|
135
|
+
readonly TERMINATED: "TERMINATED";
|
|
136
|
+
};
|
|
119
137
|
/**
|
|
120
138
|
* @public
|
|
121
139
|
*/
|
|
122
|
-
export
|
|
123
|
-
CREATED = "CREATED",
|
|
124
|
-
CREATING = "CREATING",
|
|
125
|
-
STARTED = "STARTED",
|
|
126
|
-
STARTING = "STARTING",
|
|
127
|
-
STOPPED = "STOPPED",
|
|
128
|
-
STOPPING = "STOPPING",
|
|
129
|
-
TERMINATED = "TERMINATED"
|
|
130
|
-
}
|
|
140
|
+
export type ApplicationState = (typeof ApplicationState)[keyof typeof ApplicationState];
|
|
131
141
|
/**
|
|
132
142
|
* @public
|
|
133
143
|
* <p>The specifications for a worker type.</p>
|
|
@@ -761,19 +771,24 @@ export declare namespace JobDriver {
|
|
|
761
771
|
}
|
|
762
772
|
const visit: <T>(value: JobDriver, visitor: Visitor<T>) => T;
|
|
763
773
|
}
|
|
774
|
+
/**
|
|
775
|
+
* @public
|
|
776
|
+
* @enum
|
|
777
|
+
*/
|
|
778
|
+
export declare const JobRunState: {
|
|
779
|
+
readonly CANCELLED: "CANCELLED";
|
|
780
|
+
readonly CANCELLING: "CANCELLING";
|
|
781
|
+
readonly FAILED: "FAILED";
|
|
782
|
+
readonly PENDING: "PENDING";
|
|
783
|
+
readonly RUNNING: "RUNNING";
|
|
784
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
785
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
786
|
+
readonly SUCCESS: "SUCCESS";
|
|
787
|
+
};
|
|
764
788
|
/**
|
|
765
789
|
* @public
|
|
766
790
|
*/
|
|
767
|
-
export
|
|
768
|
-
CANCELLED = "CANCELLED",
|
|
769
|
-
CANCELLING = "CANCELLING",
|
|
770
|
-
FAILED = "FAILED",
|
|
771
|
-
PENDING = "PENDING",
|
|
772
|
-
RUNNING = "RUNNING",
|
|
773
|
-
SCHEDULED = "SCHEDULED",
|
|
774
|
-
SUBMITTED = "SUBMITTED",
|
|
775
|
-
SUCCESS = "SUCCESS"
|
|
776
|
-
}
|
|
791
|
+
export type JobRunState = (typeof JobRunState)[keyof typeof JobRunState];
|
|
777
792
|
/**
|
|
778
793
|
* @public
|
|
779
794
|
* <p>The aggregate vCPU, memory, and storage resources used from the time job start executing
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { EMRServerlessServiceException as __BaseException } from "./EMRServerlessServiceException";
|
|
3
|
-
export declare
|
|
4
|
-
ARM64
|
|
5
|
-
X86_64
|
|
6
|
-
}
|
|
3
|
+
export declare const Architecture: {
|
|
4
|
+
readonly ARM64: "ARM64";
|
|
5
|
+
readonly X86_64: "X86_64";
|
|
6
|
+
};
|
|
7
|
+
export type Architecture = (typeof Architecture)[keyof typeof Architecture];
|
|
7
8
|
export interface AutoStartConfig {
|
|
8
9
|
enabled?: boolean;
|
|
9
10
|
}
|
|
@@ -33,15 +34,17 @@ export interface NetworkConfiguration {
|
|
|
33
34
|
subnetIds?: string[];
|
|
34
35
|
securityGroupIds?: string[];
|
|
35
36
|
}
|
|
36
|
-
export declare
|
|
37
|
-
CREATED
|
|
38
|
-
CREATING
|
|
39
|
-
STARTED
|
|
40
|
-
STARTING
|
|
41
|
-
STOPPED
|
|
42
|
-
STOPPING
|
|
43
|
-
TERMINATED
|
|
44
|
-
}
|
|
37
|
+
export declare const ApplicationState: {
|
|
38
|
+
readonly CREATED: "CREATED";
|
|
39
|
+
readonly CREATING: "CREATING";
|
|
40
|
+
readonly STARTED: "STARTED";
|
|
41
|
+
readonly STARTING: "STARTING";
|
|
42
|
+
readonly STOPPED: "STOPPED";
|
|
43
|
+
readonly STOPPING: "STOPPING";
|
|
44
|
+
readonly TERMINATED: "TERMINATED";
|
|
45
|
+
};
|
|
46
|
+
export type ApplicationState =
|
|
47
|
+
(typeof ApplicationState)[keyof typeof ApplicationState];
|
|
45
48
|
export interface WorkerTypeSpecification {
|
|
46
49
|
imageConfiguration?: ImageConfiguration;
|
|
47
50
|
}
|
|
@@ -246,16 +249,17 @@ export declare namespace JobDriver {
|
|
|
246
249
|
}
|
|
247
250
|
const visit: <T>(value: JobDriver, visitor: Visitor<T>) => T;
|
|
248
251
|
}
|
|
249
|
-
export declare
|
|
250
|
-
CANCELLED
|
|
251
|
-
CANCELLING
|
|
252
|
-
FAILED
|
|
253
|
-
PENDING
|
|
254
|
-
RUNNING
|
|
255
|
-
SCHEDULED
|
|
256
|
-
SUBMITTED
|
|
257
|
-
SUCCESS
|
|
258
|
-
}
|
|
252
|
+
export declare const JobRunState: {
|
|
253
|
+
readonly CANCELLED: "CANCELLED";
|
|
254
|
+
readonly CANCELLING: "CANCELLING";
|
|
255
|
+
readonly FAILED: "FAILED";
|
|
256
|
+
readonly PENDING: "PENDING";
|
|
257
|
+
readonly RUNNING: "RUNNING";
|
|
258
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
259
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
260
|
+
readonly SUCCESS: "SUCCESS";
|
|
261
|
+
};
|
|
262
|
+
export type JobRunState = (typeof JobRunState)[keyof typeof JobRunState];
|
|
259
263
|
export interface TotalResourceUtilization {
|
|
260
264
|
vCPUHour?: number;
|
|
261
265
|
memoryGBHour?: number;
|
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.303.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,43 +21,43 @@
|
|
|
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/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|