@aws-sdk/client-emr-containers 3.162.0 → 3.167.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 +27 -0
- package/README.md +8 -5
- package/dist-cjs/models/models_0.js +9 -2
- package/dist-cjs/protocols/Aws_restJson1.js +21 -0
- package/dist-es/models/models_0.js +3 -2
- package/dist-es/protocols/Aws_restJson1.js +18 -1
- package/dist-types/EMRContainers.d.ts +55 -18
- package/dist-types/EMRContainersClient.d.ts +8 -5
- package/dist-types/commands/CancelJobRunCommand.d.ts +2 -1
- package/dist-types/commands/CreateManagedEndpointCommand.d.ts +2 -1
- package/dist-types/commands/CreateVirtualClusterCommand.d.ts +5 -1
- package/dist-types/commands/DeleteManagedEndpointCommand.d.ts +2 -1
- package/dist-types/commands/DeleteVirtualClusterCommand.d.ts +5 -1
- package/dist-types/commands/DescribeJobRunCommand.d.ts +2 -1
- package/dist-types/commands/DescribeManagedEndpointCommand.d.ts +3 -1
- package/dist-types/commands/DescribeVirtualClusterCommand.d.ts +6 -1
- package/dist-types/commands/ListJobRunsCommand.d.ts +2 -1
- package/dist-types/commands/ListManagedEndpointsCommand.d.ts +3 -1
- package/dist-types/commands/ListVirtualClustersCommand.d.ts +5 -1
- package/dist-types/commands/StartJobRunCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +8 -1
- package/dist-types/models/models_0.d.ts +52 -23
- package/dist-types/ts3.4/models/models_0.d.ts +11 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.167.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.166.0...v3.167.0) (2022-09-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-emr-containers:** EMR on EKS now allows running Spark SQL using the newly introduced Spark SQL Job Driver in the Start Job Run API ([3d46a39](https://github.com/aws/aws-sdk-js-v3/commit/3d46a3908bfae300d310fd7c8bc413f5b2e2f97a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.165.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.164.0...v3.165.0) (2022-09-06)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-emr-containers
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.163.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.162.0...v3.163.0) (2022-09-01)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-emr-containers
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.162.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.161.0...v3.162.0) (2022-08-31)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-emr-containers
|
package/README.md
CHANGED
|
@@ -13,7 +13,8 @@ AWS SDK for JavaScript EMRContainers Client for Node.js, Browser and React Nativ
|
|
|
13
13
|
open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With
|
|
14
14
|
this deployment option, you can focus on running analytics workloads while Amazon EMR on
|
|
15
15
|
EKS builds, configures, and manages containers for open-source applications. For more
|
|
16
|
-
information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is Amazon EMR on
|
|
16
|
+
information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is Amazon EMR on
|
|
17
|
+
EKS</a>.</p>
|
|
17
18
|
<p>
|
|
18
19
|
<i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The
|
|
19
20
|
<code>emr-containers</code> prefix is used in the following scenarios: </p>
|
|
@@ -23,12 +24,14 @@ information about Amazon EMR on EKS concepts and tasks, see <a href="https://doc
|
|
|
23
24
|
emr-containers start-job-run</code>.</p>
|
|
24
25
|
</li>
|
|
25
26
|
<li>
|
|
26
|
-
<p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For example,
|
|
27
|
-
"emr-containers:StartJobRun"]</code>. For more information, see
|
|
27
|
+
<p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For example,
|
|
28
|
+
<code>"Action": [ "emr-containers:StartJobRun"]</code>. For more information, see
|
|
29
|
+
<a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions">Policy actions for Amazon EMR on EKS</a>.</p>
|
|
28
30
|
</li>
|
|
29
31
|
<li>
|
|
30
|
-
<p>It is the prefix used in Amazon EMR on EKS service endpoints. For example,
|
|
31
|
-
|
|
32
|
+
<p>It is the prefix used in Amazon EMR on EKS service endpoints. For example,
|
|
33
|
+
<code>emr-containers.us-east-2.amazonaws.com</code>. For more information, see
|
|
34
|
+
<a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/service-quotas.html#service-endpoints">Amazon EMR on EKS Service Endpoints</a>.</p>
|
|
32
35
|
</li>
|
|
33
36
|
</ul>
|
|
34
37
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.ListManagedEndpointsResponseFilterSensitiveLog = exports.ListJobRunsResponseFilterSensitiveLog = exports.DescribeManagedEndpointResponseFilterSensitiveLog = exports.DescribeJobRunResponseFilterSensitiveLog = void 0;
|
|
3
|
+
exports.JobRunFilterSensitiveLog = exports.EndpointFilterSensitiveLog = exports.CreateManagedEndpointRequestFilterSensitiveLog = exports.ConfigurationOverridesFilterSensitiveLog = exports.ConfigurationFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StartJobRunResponseFilterSensitiveLog = exports.ListVirtualClustersResponseFilterSensitiveLog = exports.ListVirtualClustersRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListManagedEndpointsRequestFilterSensitiveLog = exports.ListJobRunsRequestFilterSensitiveLog = exports.DescribeVirtualClusterResponseFilterSensitiveLog = exports.VirtualClusterFilterSensitiveLog = exports.DescribeVirtualClusterRequestFilterSensitiveLog = exports.CertificateFilterSensitiveLog = exports.DescribeManagedEndpointRequestFilterSensitiveLog = exports.JobDriverFilterSensitiveLog = exports.SparkSubmitJobDriverFilterSensitiveLog = exports.SparkSqlJobDriverFilterSensitiveLog = exports.DescribeJobRunRequestFilterSensitiveLog = exports.DeleteVirtualClusterResponseFilterSensitiveLog = exports.DeleteVirtualClusterRequestFilterSensitiveLog = exports.DeleteManagedEndpointResponseFilterSensitiveLog = exports.DeleteManagedEndpointRequestFilterSensitiveLog = exports.CreateVirtualClusterResponseFilterSensitiveLog = exports.CreateVirtualClusterRequestFilterSensitiveLog = exports.ContainerProviderFilterSensitiveLog = exports.ContainerInfoFilterSensitiveLog = exports.EksInfoFilterSensitiveLog = exports.CreateManagedEndpointResponseFilterSensitiveLog = exports.MonitoringConfigurationFilterSensitiveLog = exports.S3MonitoringConfigurationFilterSensitiveLog = exports.CloudWatchMonitoringConfigurationFilterSensitiveLog = exports.CancelJobRunResponseFilterSensitiveLog = exports.CancelJobRunRequestFilterSensitiveLog = exports.VirtualClusterState = exports.EndpointState = exports.JobRunState = exports.FailureReason = exports.ContainerProviderType = exports.ContainerInfo = exports.ResourceNotFoundException = exports.PersistentAppUI = exports.ValidationException = exports.InternalServerException = void 0;
|
|
4
|
+
exports.ListManagedEndpointsResponseFilterSensitiveLog = exports.ListJobRunsResponseFilterSensitiveLog = exports.DescribeManagedEndpointResponseFilterSensitiveLog = exports.DescribeJobRunResponseFilterSensitiveLog = exports.StartJobRunRequestFilterSensitiveLog = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const EMRContainersServiceException_1 = require("./EMRContainersServiceException");
|
|
7
7
|
class InternalServerException extends EMRContainersServiceException_1.EMRContainersServiceException {
|
|
@@ -161,6 +161,12 @@ const DescribeJobRunRequestFilterSensitiveLog = (obj) => ({
|
|
|
161
161
|
...obj,
|
|
162
162
|
});
|
|
163
163
|
exports.DescribeJobRunRequestFilterSensitiveLog = DescribeJobRunRequestFilterSensitiveLog;
|
|
164
|
+
const SparkSqlJobDriverFilterSensitiveLog = (obj) => ({
|
|
165
|
+
...obj,
|
|
166
|
+
...(obj.entryPoint && { entryPoint: smithy_client_1.SENSITIVE_STRING }),
|
|
167
|
+
...(obj.sparkSqlParameters && { sparkSqlParameters: smithy_client_1.SENSITIVE_STRING }),
|
|
168
|
+
});
|
|
169
|
+
exports.SparkSqlJobDriverFilterSensitiveLog = SparkSqlJobDriverFilterSensitiveLog;
|
|
164
170
|
const SparkSubmitJobDriverFilterSensitiveLog = (obj) => ({
|
|
165
171
|
...obj,
|
|
166
172
|
...(obj.entryPoint && { entryPoint: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -173,6 +179,7 @@ const JobDriverFilterSensitiveLog = (obj) => ({
|
|
|
173
179
|
...(obj.sparkSubmitJobDriver && {
|
|
174
180
|
sparkSubmitJobDriver: (0, exports.SparkSubmitJobDriverFilterSensitiveLog)(obj.sparkSubmitJobDriver),
|
|
175
181
|
}),
|
|
182
|
+
...(obj.sparkSqlJobDriver && { sparkSqlJobDriver: (0, exports.SparkSqlJobDriverFilterSensitiveLog)(obj.sparkSqlJobDriver) }),
|
|
176
183
|
});
|
|
177
184
|
exports.JobDriverFilterSensitiveLog = JobDriverFilterSensitiveLog;
|
|
178
185
|
const DescribeManagedEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -1079,6 +1079,9 @@ const serializeAws_restJson1EntryPointArguments = (input, context) => {
|
|
|
1079
1079
|
};
|
|
1080
1080
|
const serializeAws_restJson1JobDriver = (input, context) => {
|
|
1081
1081
|
return {
|
|
1082
|
+
...(input.sparkSqlJobDriver != null && {
|
|
1083
|
+
sparkSqlJobDriver: serializeAws_restJson1SparkSqlJobDriver(input.sparkSqlJobDriver, context),
|
|
1084
|
+
}),
|
|
1082
1085
|
...(input.sparkSubmitJobDriver != null && {
|
|
1083
1086
|
sparkSubmitJobDriver: serializeAws_restJson1SparkSubmitJobDriver(input.sparkSubmitJobDriver, context),
|
|
1084
1087
|
}),
|
|
@@ -1111,6 +1114,12 @@ const serializeAws_restJson1SensitivePropertiesMap = (input, context) => {
|
|
|
1111
1114
|
};
|
|
1112
1115
|
}, {});
|
|
1113
1116
|
};
|
|
1117
|
+
const serializeAws_restJson1SparkSqlJobDriver = (input, context) => {
|
|
1118
|
+
return {
|
|
1119
|
+
...(input.entryPoint != null && { entryPoint: input.entryPoint }),
|
|
1120
|
+
...(input.sparkSqlParameters != null && { sparkSqlParameters: input.sparkSqlParameters }),
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1114
1123
|
const serializeAws_restJson1SparkSubmitJobDriver = (input, context) => {
|
|
1115
1124
|
return {
|
|
1116
1125
|
...(input.entryPoint != null && { entryPoint: input.entryPoint }),
|
|
@@ -1245,6 +1254,9 @@ const deserializeAws_restJson1EntryPointArguments = (output, context) => {
|
|
|
1245
1254
|
};
|
|
1246
1255
|
const deserializeAws_restJson1JobDriver = (output, context) => {
|
|
1247
1256
|
return {
|
|
1257
|
+
sparkSqlJobDriver: output.sparkSqlJobDriver != null
|
|
1258
|
+
? deserializeAws_restJson1SparkSqlJobDriver(output.sparkSqlJobDriver, context)
|
|
1259
|
+
: undefined,
|
|
1248
1260
|
sparkSubmitJobDriver: output.sparkSubmitJobDriver != null
|
|
1249
1261
|
? deserializeAws_restJson1SparkSubmitJobDriver(output.sparkSubmitJobDriver, context)
|
|
1250
1262
|
: undefined,
|
|
@@ -1310,6 +1322,12 @@ const deserializeAws_restJson1SensitivePropertiesMap = (output, context) => {
|
|
|
1310
1322
|
};
|
|
1311
1323
|
}, {});
|
|
1312
1324
|
};
|
|
1325
|
+
const deserializeAws_restJson1SparkSqlJobDriver = (output, context) => {
|
|
1326
|
+
return {
|
|
1327
|
+
entryPoint: (0, smithy_client_1.expectString)(output.entryPoint),
|
|
1328
|
+
sparkSqlParameters: (0, smithy_client_1.expectString)(output.sparkSqlParameters),
|
|
1329
|
+
};
|
|
1330
|
+
};
|
|
1313
1331
|
const deserializeAws_restJson1SparkSubmitJobDriver = (output, context) => {
|
|
1314
1332
|
return {
|
|
1315
1333
|
entryPoint: (0, smithy_client_1.expectString)(output.entryPoint),
|
|
@@ -1399,6 +1417,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
1399
1417
|
if (typeof cleanValue === "number") {
|
|
1400
1418
|
cleanValue = cleanValue.toString();
|
|
1401
1419
|
}
|
|
1420
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1421
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1422
|
+
}
|
|
1402
1423
|
if (cleanValue.indexOf(":") >= 0) {
|
|
1403
1424
|
cleanValue = cleanValue.split(":")[0];
|
|
1404
1425
|
}
|
|
@@ -108,10 +108,11 @@ export var DeleteManagedEndpointResponseFilterSensitiveLog = function (obj) { re
|
|
|
108
108
|
export var DeleteVirtualClusterRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
109
109
|
export var DeleteVirtualClusterResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
110
110
|
export var DescribeJobRunRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
111
|
+
export var SparkSqlJobDriverFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.entryPoint && { entryPoint: SENSITIVE_STRING })), (obj.sparkSqlParameters && { sparkSqlParameters: SENSITIVE_STRING }))); };
|
|
111
112
|
export var SparkSubmitJobDriverFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.entryPoint && { entryPoint: SENSITIVE_STRING })), (obj.entryPointArguments && { entryPointArguments: SENSITIVE_STRING })), (obj.sparkSubmitParameters && { sparkSubmitParameters: SENSITIVE_STRING }))); };
|
|
112
|
-
export var JobDriverFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.sparkSubmitJobDriver && {
|
|
113
|
+
export var JobDriverFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.sparkSubmitJobDriver && {
|
|
113
114
|
sparkSubmitJobDriver: SparkSubmitJobDriverFilterSensitiveLog(obj.sparkSubmitJobDriver),
|
|
114
|
-
}))); };
|
|
115
|
+
})), (obj.sparkSqlJobDriver && { sparkSqlJobDriver: SparkSqlJobDriverFilterSensitiveLog(obj.sparkSqlJobDriver) }))); };
|
|
115
116
|
export var DescribeManagedEndpointRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
116
117
|
export var CertificateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
117
118
|
export var DescribeVirtualClusterRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1461,7 +1461,9 @@ var serializeAws_restJson1EntryPointArguments = function (input, context) {
|
|
|
1461
1461
|
});
|
|
1462
1462
|
};
|
|
1463
1463
|
var serializeAws_restJson1JobDriver = function (input, context) {
|
|
1464
|
-
return __assign({}, (input.
|
|
1464
|
+
return __assign(__assign({}, (input.sparkSqlJobDriver != null && {
|
|
1465
|
+
sparkSqlJobDriver: serializeAws_restJson1SparkSqlJobDriver(input.sparkSqlJobDriver, context),
|
|
1466
|
+
})), (input.sparkSubmitJobDriver != null && {
|
|
1465
1467
|
sparkSubmitJobDriver: serializeAws_restJson1SparkSubmitJobDriver(input.sparkSubmitJobDriver, context),
|
|
1466
1468
|
}));
|
|
1467
1469
|
};
|
|
@@ -1485,6 +1487,9 @@ var serializeAws_restJson1SensitivePropertiesMap = function (input, context) {
|
|
|
1485
1487
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
1486
1488
|
}, {});
|
|
1487
1489
|
};
|
|
1490
|
+
var serializeAws_restJson1SparkSqlJobDriver = function (input, context) {
|
|
1491
|
+
return __assign(__assign({}, (input.entryPoint != null && { entryPoint: input.entryPoint })), (input.sparkSqlParameters != null && { sparkSqlParameters: input.sparkSqlParameters }));
|
|
1492
|
+
};
|
|
1488
1493
|
var serializeAws_restJson1SparkSubmitJobDriver = function (input, context) {
|
|
1489
1494
|
return __assign(__assign(__assign({}, (input.entryPoint != null && { entryPoint: input.entryPoint })), (input.entryPointArguments != null && {
|
|
1490
1495
|
entryPointArguments: serializeAws_restJson1EntryPointArguments(input.entryPointArguments, context),
|
|
@@ -1614,6 +1619,9 @@ var deserializeAws_restJson1EntryPointArguments = function (output, context) {
|
|
|
1614
1619
|
};
|
|
1615
1620
|
var deserializeAws_restJson1JobDriver = function (output, context) {
|
|
1616
1621
|
return {
|
|
1622
|
+
sparkSqlJobDriver: output.sparkSqlJobDriver != null
|
|
1623
|
+
? deserializeAws_restJson1SparkSqlJobDriver(output.sparkSqlJobDriver, context)
|
|
1624
|
+
: undefined,
|
|
1617
1625
|
sparkSubmitJobDriver: output.sparkSubmitJobDriver != null
|
|
1618
1626
|
? deserializeAws_restJson1SparkSubmitJobDriver(output.sparkSubmitJobDriver, context)
|
|
1619
1627
|
: undefined,
|
|
@@ -1678,6 +1686,12 @@ var deserializeAws_restJson1SensitivePropertiesMap = function (output, context)
|
|
|
1678
1686
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
1679
1687
|
}, {});
|
|
1680
1688
|
};
|
|
1689
|
+
var deserializeAws_restJson1SparkSqlJobDriver = function (output, context) {
|
|
1690
|
+
return {
|
|
1691
|
+
entryPoint: __expectString(output.entryPoint),
|
|
1692
|
+
sparkSqlParameters: __expectString(output.sparkSqlParameters),
|
|
1693
|
+
};
|
|
1694
|
+
};
|
|
1681
1695
|
var deserializeAws_restJson1SparkSubmitJobDriver = function (output, context) {
|
|
1682
1696
|
return {
|
|
1683
1697
|
entryPoint: __expectString(output.entryPoint),
|
|
@@ -1773,6 +1787,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
1773
1787
|
if (typeof cleanValue === "number") {
|
|
1774
1788
|
cleanValue = cleanValue.toString();
|
|
1775
1789
|
}
|
|
1790
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1791
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1792
|
+
}
|
|
1776
1793
|
if (cleanValue.indexOf(":") >= 0) {
|
|
1777
1794
|
cleanValue = cleanValue.split(":")[0];
|
|
1778
1795
|
}
|
|
@@ -20,7 +20,8 @@ import { EMRContainersClient } from "./EMRContainersClient";
|
|
|
20
20
|
* open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With
|
|
21
21
|
* this deployment option, you can focus on running analytics workloads while Amazon EMR on
|
|
22
22
|
* EKS builds, configures, and manages containers for open-source applications. For more
|
|
23
|
-
* information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is Amazon EMR on
|
|
23
|
+
* information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is Amazon EMR on
|
|
24
|
+
* EKS</a>.</p>
|
|
24
25
|
* <p>
|
|
25
26
|
* <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The
|
|
26
27
|
* <code>emr-containers</code> prefix is used in the following scenarios: </p>
|
|
@@ -30,72 +31,96 @@ import { EMRContainersClient } from "./EMRContainersClient";
|
|
|
30
31
|
* emr-containers start-job-run</code>.</p>
|
|
31
32
|
* </li>
|
|
32
33
|
* <li>
|
|
33
|
-
* <p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For example,
|
|
34
|
-
*
|
|
34
|
+
* <p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For example,
|
|
35
|
+
* <code>"Action": [ "emr-containers:StartJobRun"]</code>. For more information, see
|
|
36
|
+
* <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions">Policy actions for Amazon EMR on EKS</a>.</p>
|
|
35
37
|
* </li>
|
|
36
38
|
* <li>
|
|
37
|
-
* <p>It is the prefix used in Amazon EMR on EKS service endpoints. For example,
|
|
38
|
-
*
|
|
39
|
+
* <p>It is the prefix used in Amazon EMR on EKS service endpoints. For example,
|
|
40
|
+
* <code>emr-containers.us-east-2.amazonaws.com</code>. For more information, see
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/service-quotas.html#service-endpoints">Amazon EMR on EKS Service Endpoints</a>.</p>
|
|
39
42
|
* </li>
|
|
40
43
|
* </ul>
|
|
41
44
|
*/
|
|
42
45
|
export declare class EMRContainers extends EMRContainersClient {
|
|
43
46
|
/**
|
|
44
|
-
* <p>Cancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or
|
|
47
|
+
* <p>Cancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or
|
|
48
|
+
* SparkSQL query, that you submit to Amazon EMR on EKS.</p>
|
|
45
49
|
*/
|
|
46
50
|
cancelJobRun(args: CancelJobRunCommandInput, options?: __HttpHandlerOptions): Promise<CancelJobRunCommandOutput>;
|
|
47
51
|
cancelJobRun(args: CancelJobRunCommandInput, cb: (err: any, data?: CancelJobRunCommandOutput) => void): void;
|
|
48
52
|
cancelJobRun(args: CancelJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelJobRunCommandOutput) => void): void;
|
|
49
53
|
/**
|
|
50
|
-
* <p>Creates a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to
|
|
54
|
+
* <p>Creates a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to
|
|
55
|
+
* Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.</p>
|
|
51
56
|
*/
|
|
52
57
|
createManagedEndpoint(args: CreateManagedEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateManagedEndpointCommandOutput>;
|
|
53
58
|
createManagedEndpoint(args: CreateManagedEndpointCommandInput, cb: (err: any, data?: CreateManagedEndpointCommandOutput) => void): void;
|
|
54
59
|
createManagedEndpoint(args: CreateManagedEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateManagedEndpointCommandOutput) => void): void;
|
|
55
60
|
/**
|
|
56
|
-
* <p>Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You
|
|
61
|
+
* <p>Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You
|
|
62
|
+
* can create, describe, list and delete virtual clusters. They do not consume any additional
|
|
63
|
+
* resource in your system. A single virtual cluster maps to a single Kubernetes namespace.
|
|
64
|
+
* Given this relationship, you can model virtual clusters the same way you model Kubernetes
|
|
65
|
+
* namespaces to meet your requirements.</p>
|
|
57
66
|
*/
|
|
58
67
|
createVirtualCluster(args: CreateVirtualClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateVirtualClusterCommandOutput>;
|
|
59
68
|
createVirtualCluster(args: CreateVirtualClusterCommandInput, cb: (err: any, data?: CreateVirtualClusterCommandOutput) => void): void;
|
|
60
69
|
createVirtualCluster(args: CreateVirtualClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVirtualClusterCommandOutput) => void): void;
|
|
61
70
|
/**
|
|
62
|
-
* <p>Deletes a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to
|
|
71
|
+
* <p>Deletes a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to
|
|
72
|
+
* Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.</p>
|
|
63
73
|
*/
|
|
64
74
|
deleteManagedEndpoint(args: DeleteManagedEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteManagedEndpointCommandOutput>;
|
|
65
75
|
deleteManagedEndpoint(args: DeleteManagedEndpointCommandInput, cb: (err: any, data?: DeleteManagedEndpointCommandOutput) => void): void;
|
|
66
76
|
deleteManagedEndpoint(args: DeleteManagedEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteManagedEndpointCommandOutput) => void): void;
|
|
67
77
|
/**
|
|
68
|
-
* <p>Deletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You
|
|
78
|
+
* <p>Deletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You
|
|
79
|
+
* can create, describe, list and delete virtual clusters. They do not consume any additional
|
|
80
|
+
* resource in your system. A single virtual cluster maps to a single Kubernetes namespace.
|
|
81
|
+
* Given this relationship, you can model virtual clusters the same way you model Kubernetes
|
|
82
|
+
* namespaces to meet your requirements.</p>
|
|
69
83
|
*/
|
|
70
84
|
deleteVirtualCluster(args: DeleteVirtualClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVirtualClusterCommandOutput>;
|
|
71
85
|
deleteVirtualCluster(args: DeleteVirtualClusterCommandInput, cb: (err: any, data?: DeleteVirtualClusterCommandOutput) => void): void;
|
|
72
86
|
deleteVirtualCluster(args: DeleteVirtualClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVirtualClusterCommandOutput) => void): void;
|
|
73
87
|
/**
|
|
74
|
-
* <p>Displays detailed information about a job run. A job run is a unit of work, such as a
|
|
88
|
+
* <p>Displays detailed information about a job run. A job run is a unit of work, such as a
|
|
89
|
+
* Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.</p>
|
|
75
90
|
*/
|
|
76
91
|
describeJobRun(args: DescribeJobRunCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobRunCommandOutput>;
|
|
77
92
|
describeJobRun(args: DescribeJobRunCommandInput, cb: (err: any, data?: DescribeJobRunCommandOutput) => void): void;
|
|
78
93
|
describeJobRun(args: DescribeJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobRunCommandOutput) => void): void;
|
|
79
94
|
/**
|
|
80
|
-
* <p>Displays detailed information about a managed endpoint. A managed endpoint is a gateway
|
|
95
|
+
* <p>Displays detailed information about a managed endpoint. A managed endpoint is a gateway
|
|
96
|
+
* that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your
|
|
97
|
+
* virtual cluster.</p>
|
|
81
98
|
*/
|
|
82
99
|
describeManagedEndpoint(args: DescribeManagedEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DescribeManagedEndpointCommandOutput>;
|
|
83
100
|
describeManagedEndpoint(args: DescribeManagedEndpointCommandInput, cb: (err: any, data?: DescribeManagedEndpointCommandOutput) => void): void;
|
|
84
101
|
describeManagedEndpoint(args: DescribeManagedEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeManagedEndpointCommandOutput) => void): void;
|
|
85
102
|
/**
|
|
86
|
-
* <p>Displays detailed information about a specified virtual cluster. Virtual cluster is a
|
|
103
|
+
* <p>Displays detailed information about a specified virtual cluster. Virtual cluster is a
|
|
104
|
+
* managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual
|
|
105
|
+
* clusters. They do not consume any additional resource in your system. A single virtual
|
|
106
|
+
* cluster maps to a single Kubernetes namespace. Given this relationship, you can model
|
|
107
|
+
* virtual clusters the same way you model Kubernetes namespaces to meet your
|
|
108
|
+
* requirements.</p>
|
|
87
109
|
*/
|
|
88
110
|
describeVirtualCluster(args: DescribeVirtualClusterCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVirtualClusterCommandOutput>;
|
|
89
111
|
describeVirtualCluster(args: DescribeVirtualClusterCommandInput, cb: (err: any, data?: DescribeVirtualClusterCommandOutput) => void): void;
|
|
90
112
|
describeVirtualCluster(args: DescribeVirtualClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVirtualClusterCommandOutput) => void): void;
|
|
91
113
|
/**
|
|
92
|
-
* <p>Lists job runs based on a set of parameters. A job run is a unit of work, such as a
|
|
114
|
+
* <p>Lists job runs based on a set of parameters. A job run is a unit of work, such as a
|
|
115
|
+
* Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.</p>
|
|
93
116
|
*/
|
|
94
117
|
listJobRuns(args: ListJobRunsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobRunsCommandOutput>;
|
|
95
118
|
listJobRuns(args: ListJobRunsCommandInput, cb: (err: any, data?: ListJobRunsCommandOutput) => void): void;
|
|
96
119
|
listJobRuns(args: ListJobRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobRunsCommandOutput) => void): void;
|
|
97
120
|
/**
|
|
98
|
-
* <p>Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway
|
|
121
|
+
* <p>Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway
|
|
122
|
+
* that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your
|
|
123
|
+
* virtual cluster.</p>
|
|
99
124
|
*/
|
|
100
125
|
listManagedEndpoints(args: ListManagedEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedEndpointsCommandOutput>;
|
|
101
126
|
listManagedEndpoints(args: ListManagedEndpointsCommandInput, cb: (err: any, data?: ListManagedEndpointsCommandOutput) => void): void;
|
|
@@ -107,19 +132,31 @@ export declare class EMRContainers extends EMRContainersClient {
|
|
|
107
132
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
108
133
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
109
134
|
/**
|
|
110
|
-
* <p>Lists information about the specified virtual cluster. Virtual cluster is a managed
|
|
135
|
+
* <p>Lists information about the specified virtual cluster. Virtual cluster is a managed
|
|
136
|
+
* entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters.
|
|
137
|
+
* They do not consume any additional resource in your system. A single virtual cluster maps
|
|
138
|
+
* to a single Kubernetes namespace. Given this relationship, you can model virtual clusters
|
|
139
|
+
* the same way you model Kubernetes namespaces to meet your requirements.</p>
|
|
111
140
|
*/
|
|
112
141
|
listVirtualClusters(args: ListVirtualClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListVirtualClustersCommandOutput>;
|
|
113
142
|
listVirtualClusters(args: ListVirtualClustersCommandInput, cb: (err: any, data?: ListVirtualClustersCommandOutput) => void): void;
|
|
114
143
|
listVirtualClusters(args: ListVirtualClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVirtualClustersCommandOutput) => void): void;
|
|
115
144
|
/**
|
|
116
|
-
* <p>Starts a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or
|
|
145
|
+
* <p>Starts a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or
|
|
146
|
+
* SparkSQL query, that you submit to Amazon EMR on EKS.</p>
|
|
117
147
|
*/
|
|
118
148
|
startJobRun(args: StartJobRunCommandInput, options?: __HttpHandlerOptions): Promise<StartJobRunCommandOutput>;
|
|
119
149
|
startJobRun(args: StartJobRunCommandInput, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
|
|
120
150
|
startJobRun(args: StartJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
|
|
121
151
|
/**
|
|
122
|
-
* <p>Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag
|
|
152
|
+
* <p>Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag
|
|
153
|
+
* consists of a key and an optional value, both of which you define. Tags enable you to
|
|
154
|
+
* categorize your AWS resources by attributes such as purpose, owner, or environment. When
|
|
155
|
+
* you have many resources of the same type, you can quickly identify a specific resource
|
|
156
|
+
* based on the tags you've assigned to it. For example, you can define a set of tags for your
|
|
157
|
+
* Amazon EMR on EKS clusters to help you track each cluster's owner and stack level. We
|
|
158
|
+
* recommend that you devise a consistent set of tag keys for each resource type. You can then
|
|
159
|
+
* search and filter the resources based on the tags that you add.</p>
|
|
123
160
|
*/
|
|
124
161
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
125
162
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
@@ -145,7 +145,8 @@ export interface EMRContainersClientResolvedConfig extends EMRContainersClientRe
|
|
|
145
145
|
* open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With
|
|
146
146
|
* this deployment option, you can focus on running analytics workloads while Amazon EMR on
|
|
147
147
|
* EKS builds, configures, and manages containers for open-source applications. For more
|
|
148
|
-
* information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is Amazon EMR on
|
|
148
|
+
* information about Amazon EMR on EKS concepts and tasks, see <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html">What is Amazon EMR on
|
|
149
|
+
* EKS</a>.</p>
|
|
149
150
|
* <p>
|
|
150
151
|
* <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The
|
|
151
152
|
* <code>emr-containers</code> prefix is used in the following scenarios: </p>
|
|
@@ -155,12 +156,14 @@ export interface EMRContainersClientResolvedConfig extends EMRContainersClientRe
|
|
|
155
156
|
* emr-containers start-job-run</code>.</p>
|
|
156
157
|
* </li>
|
|
157
158
|
* <li>
|
|
158
|
-
* <p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For example,
|
|
159
|
-
*
|
|
159
|
+
* <p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For example,
|
|
160
|
+
* <code>"Action": [ "emr-containers:StartJobRun"]</code>. For more information, see
|
|
161
|
+
* <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions">Policy actions for Amazon EMR on EKS</a>.</p>
|
|
160
162
|
* </li>
|
|
161
163
|
* <li>
|
|
162
|
-
* <p>It is the prefix used in Amazon EMR on EKS service endpoints. For example,
|
|
163
|
-
*
|
|
164
|
+
* <p>It is the prefix used in Amazon EMR on EKS service endpoints. For example,
|
|
165
|
+
* <code>emr-containers.us-east-2.amazonaws.com</code>. For more information, see
|
|
166
|
+
* <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/service-quotas.html#service-endpoints">Amazon EMR on EKS Service Endpoints</a>.</p>
|
|
164
167
|
* </li>
|
|
165
168
|
* </ul>
|
|
166
169
|
*/
|
|
@@ -7,7 +7,8 @@ export interface CancelJobRunCommandInput extends CancelJobRunRequest {
|
|
|
7
7
|
export interface CancelJobRunCommandOutput extends CancelJobRunResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Cancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or
|
|
10
|
+
* <p>Cancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or
|
|
11
|
+
* SparkSQL query, that you submit to Amazon EMR on EKS.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface CreateManagedEndpointCommandInput extends CreateManagedEndpoint
|
|
|
7
7
|
export interface CreateManagedEndpointCommandOutput extends CreateManagedEndpointResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to
|
|
10
|
+
* <p>Creates a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to
|
|
11
|
+
* Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -7,7 +7,11 @@ export interface CreateVirtualClusterCommandInput extends CreateVirtualClusterRe
|
|
|
7
7
|
export interface CreateVirtualClusterCommandOutput extends CreateVirtualClusterResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You
|
|
10
|
+
* <p>Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You
|
|
11
|
+
* can create, describe, list and delete virtual clusters. They do not consume any additional
|
|
12
|
+
* resource in your system. A single virtual cluster maps to a single Kubernetes namespace.
|
|
13
|
+
* Given this relationship, you can model virtual clusters the same way you model Kubernetes
|
|
14
|
+
* namespaces to meet your requirements.</p>
|
|
11
15
|
* @example
|
|
12
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
17
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface DeleteManagedEndpointCommandInput extends DeleteManagedEndpoint
|
|
|
7
7
|
export interface DeleteManagedEndpointCommandOutput extends DeleteManagedEndpointResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to
|
|
10
|
+
* <p>Deletes a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to
|
|
11
|
+
* Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -7,7 +7,11 @@ export interface DeleteVirtualClusterCommandInput extends DeleteVirtualClusterRe
|
|
|
7
7
|
export interface DeleteVirtualClusterCommandOutput extends DeleteVirtualClusterResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You
|
|
10
|
+
* <p>Deletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You
|
|
11
|
+
* can create, describe, list and delete virtual clusters. They do not consume any additional
|
|
12
|
+
* resource in your system. A single virtual cluster maps to a single Kubernetes namespace.
|
|
13
|
+
* Given this relationship, you can model virtual clusters the same way you model Kubernetes
|
|
14
|
+
* namespaces to meet your requirements.</p>
|
|
11
15
|
* @example
|
|
12
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
17
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface DescribeJobRunCommandInput extends DescribeJobRunRequest {
|
|
|
7
7
|
export interface DescribeJobRunCommandOutput extends DescribeJobRunResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Displays detailed information about a job run. A job run is a unit of work, such as a
|
|
10
|
+
* <p>Displays detailed information about a job run. A job run is a unit of work, such as a
|
|
11
|
+
* Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -7,7 +7,9 @@ export interface DescribeManagedEndpointCommandInput extends DescribeManagedEndp
|
|
|
7
7
|
export interface DescribeManagedEndpointCommandOutput extends DescribeManagedEndpointResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Displays detailed information about a managed endpoint. A managed endpoint is a gateway
|
|
10
|
+
* <p>Displays detailed information about a managed endpoint. A managed endpoint is a gateway
|
|
11
|
+
* that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your
|
|
12
|
+
* virtual cluster.</p>
|
|
11
13
|
* @example
|
|
12
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
15
|
* ```javascript
|
|
@@ -7,7 +7,12 @@ export interface DescribeVirtualClusterCommandInput extends DescribeVirtualClust
|
|
|
7
7
|
export interface DescribeVirtualClusterCommandOutput extends DescribeVirtualClusterResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Displays detailed information about a specified virtual cluster. Virtual cluster is a
|
|
10
|
+
* <p>Displays detailed information about a specified virtual cluster. Virtual cluster is a
|
|
11
|
+
* managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual
|
|
12
|
+
* clusters. They do not consume any additional resource in your system. A single virtual
|
|
13
|
+
* cluster maps to a single Kubernetes namespace. Given this relationship, you can model
|
|
14
|
+
* virtual clusters the same way you model Kubernetes namespaces to meet your
|
|
15
|
+
* requirements.</p>
|
|
11
16
|
* @example
|
|
12
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
18
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface ListJobRunsCommandInput extends ListJobRunsRequest {
|
|
|
7
7
|
export interface ListJobRunsCommandOutput extends ListJobRunsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists job runs based on a set of parameters. A job run is a unit of work, such as a
|
|
10
|
+
* <p>Lists job runs based on a set of parameters. A job run is a unit of work, such as a
|
|
11
|
+
* Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -7,7 +7,9 @@ export interface ListManagedEndpointsCommandInput extends ListManagedEndpointsRe
|
|
|
7
7
|
export interface ListManagedEndpointsCommandOutput extends ListManagedEndpointsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway
|
|
10
|
+
* <p>Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway
|
|
11
|
+
* that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your
|
|
12
|
+
* virtual cluster.</p>
|
|
11
13
|
* @example
|
|
12
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
15
|
* ```javascript
|
|
@@ -7,7 +7,11 @@ export interface ListVirtualClustersCommandInput extends ListVirtualClustersRequ
|
|
|
7
7
|
export interface ListVirtualClustersCommandOutput extends ListVirtualClustersResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Lists information about the specified virtual cluster. Virtual cluster is a managed
|
|
10
|
+
* <p>Lists information about the specified virtual cluster. Virtual cluster is a managed
|
|
11
|
+
* entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters.
|
|
12
|
+
* They do not consume any additional resource in your system. A single virtual cluster maps
|
|
13
|
+
* to a single Kubernetes namespace. Given this relationship, you can model virtual clusters
|
|
14
|
+
* the same way you model Kubernetes namespaces to meet your requirements.</p>
|
|
11
15
|
* @example
|
|
12
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
17
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface StartJobRunCommandInput extends StartJobRunRequest {
|
|
|
7
7
|
export interface StartJobRunCommandOutput extends StartJobRunResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Starts a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or
|
|
10
|
+
* <p>Starts a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or
|
|
11
|
+
* SparkSQL query, that you submit to Amazon EMR on EKS.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -7,7 +7,14 @@ export interface TagResourceCommandInput extends TagResourceRequest {
|
|
|
7
7
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag
|
|
10
|
+
* <p>Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag
|
|
11
|
+
* consists of a key and an optional value, both of which you define. Tags enable you to
|
|
12
|
+
* categorize your AWS resources by attributes such as purpose, owner, or environment. When
|
|
13
|
+
* you have many resources of the same type, you can quickly identify a specific resource
|
|
14
|
+
* based on the tags you've assigned to it. For example, you can define a set of tags for your
|
|
15
|
+
* Amazon EMR on EKS clusters to help you track each cluster's owner and stack level. We
|
|
16
|
+
* recommend that you devise a consistent set of tag keys for each resource type. You can then
|
|
17
|
+
* search and filter the resources based on the tags that you add.</p>
|
|
11
18
|
* @example
|
|
12
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
20
|
* ```javascript
|
|
@@ -43,7 +43,8 @@ export declare class ValidationException extends __BaseException {
|
|
|
43
43
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
* <p>A configuration for CloudWatch monitoring. You can configure your jobs to send log
|
|
46
|
+
* <p>A configuration for CloudWatch monitoring. You can configure your jobs to send log
|
|
47
|
+
* information to CloudWatch Logs.</p>
|
|
47
48
|
*/
|
|
48
49
|
export interface CloudWatchMonitoringConfiguration {
|
|
49
50
|
/**
|
|
@@ -60,7 +61,8 @@ export declare enum PersistentAppUI {
|
|
|
60
61
|
ENABLED = "ENABLED"
|
|
61
62
|
}
|
|
62
63
|
/**
|
|
63
|
-
* <p> Amazon S3 configuration for monitoring log publishing. You can configure your jobs to
|
|
64
|
+
* <p> Amazon S3 configuration for monitoring log publishing. You can configure your jobs to
|
|
65
|
+
* send log information to Amazon S3.</p>
|
|
64
66
|
*/
|
|
65
67
|
export interface S3MonitoringConfiguration {
|
|
66
68
|
/**
|
|
@@ -245,6 +247,19 @@ export declare enum FailureReason {
|
|
|
245
247
|
USER_ERROR = "USER_ERROR",
|
|
246
248
|
VALIDATION_ERROR = "VALIDATION_ERROR"
|
|
247
249
|
}
|
|
250
|
+
/**
|
|
251
|
+
* <p>The job driver for job type.</p>
|
|
252
|
+
*/
|
|
253
|
+
export interface SparkSqlJobDriver {
|
|
254
|
+
/**
|
|
255
|
+
* <p>The SQL file to be executed.</p>
|
|
256
|
+
*/
|
|
257
|
+
entryPoint?: string;
|
|
258
|
+
/**
|
|
259
|
+
* <p>The Spark parameters to be included in the Spark SQL command.</p>
|
|
260
|
+
*/
|
|
261
|
+
sparkSqlParameters?: string;
|
|
262
|
+
}
|
|
248
263
|
/**
|
|
249
264
|
* <p>The information about job driver for Spark submit.</p>
|
|
250
265
|
*/
|
|
@@ -270,6 +285,10 @@ export interface JobDriver {
|
|
|
270
285
|
* <p>The job driver parameters specified for spark submit.</p>
|
|
271
286
|
*/
|
|
272
287
|
sparkSubmitJobDriver?: SparkSubmitJobDriver;
|
|
288
|
+
/**
|
|
289
|
+
* <p>The job driver for job type.</p>
|
|
290
|
+
*/
|
|
291
|
+
sparkSqlJobDriver?: SparkSqlJobDriver;
|
|
273
292
|
}
|
|
274
293
|
export declare enum JobRunState {
|
|
275
294
|
CANCELLED = "CANCELLED",
|
|
@@ -323,7 +342,12 @@ export declare enum VirtualClusterState {
|
|
|
323
342
|
TERMINATING = "TERMINATING"
|
|
324
343
|
}
|
|
325
344
|
/**
|
|
326
|
-
* <p>This entity describes a virtual cluster. A virtual cluster is a Kubernetes namespace
|
|
345
|
+
* <p>This entity describes a virtual cluster. A virtual cluster is a Kubernetes namespace
|
|
346
|
+
* that Amazon EMR is registered with. Amazon EMR uses virtual clusters to run jobs and host
|
|
347
|
+
* endpoints. Multiple virtual clusters can be backed by the same physical cluster. However,
|
|
348
|
+
* each virtual cluster maps to one namespace on an EKS cluster. Virtual clusters do not
|
|
349
|
+
* create any active resources that contribute to your bill or that require lifecycle
|
|
350
|
+
* management outside the service.</p>
|
|
327
351
|
*/
|
|
328
352
|
export interface VirtualCluster {
|
|
329
353
|
/**
|
|
@@ -439,7 +463,8 @@ export interface ListVirtualClustersRequest {
|
|
|
439
463
|
*/
|
|
440
464
|
containerProviderId?: string;
|
|
441
465
|
/**
|
|
442
|
-
* <p>The container provider type of the virtual cluster. EKS is the only supported type as of
|
|
466
|
+
* <p>The container provider type of the virtual cluster. EKS is the only supported type as of
|
|
467
|
+
* now.</p>
|
|
443
468
|
*/
|
|
444
469
|
containerProviderType?: ContainerProviderType | string;
|
|
445
470
|
/**
|
|
@@ -516,7 +541,11 @@ export interface UntagResourceRequest {
|
|
|
516
541
|
export interface UntagResourceResponse {
|
|
517
542
|
}
|
|
518
543
|
/**
|
|
519
|
-
* <p>A configuration specification to be used when provisioning virtual clusters, which can
|
|
544
|
+
* <p>A configuration specification to be used when provisioning virtual clusters, which can
|
|
545
|
+
* include configurations for applications and software bundled with Amazon EMR on EKS. A
|
|
546
|
+
* configuration consists of a classification, properties, and optional nested configurations.
|
|
547
|
+
* A classification refers to an application-specific configuration file. Properties are the
|
|
548
|
+
* settings you want to change in that file.</p>
|
|
520
549
|
*/
|
|
521
550
|
export interface Configuration {
|
|
522
551
|
/**
|
|
@@ -569,7 +598,8 @@ export interface CreateManagedEndpointRequest {
|
|
|
569
598
|
/**
|
|
570
599
|
* @deprecated
|
|
571
600
|
*
|
|
572
|
-
* <p>The certificate ARN provided by users for the managed endpoint. This
|
|
601
|
+
* <p>The certificate ARN provided by users for the managed endpoint. This field is under
|
|
602
|
+
* deprecation and will be removed in future releases.</p>
|
|
573
603
|
*/
|
|
574
604
|
certificateArn?: string;
|
|
575
605
|
/**
|
|
@@ -581,8 +611,7 @@ export interface CreateManagedEndpointRequest {
|
|
|
581
611
|
*/
|
|
582
612
|
clientToken?: string;
|
|
583
613
|
/**
|
|
584
|
-
* <p>The tags of the managed endpoint.
|
|
585
|
-
* </p>
|
|
614
|
+
* <p>The tags of the managed endpoint. </p>
|
|
586
615
|
*/
|
|
587
616
|
tags?: Record<string, string>;
|
|
588
617
|
}
|
|
@@ -625,7 +654,8 @@ export interface Endpoint {
|
|
|
625
654
|
/**
|
|
626
655
|
* @deprecated
|
|
627
656
|
*
|
|
628
|
-
* <p>The certificate ARN of the endpoint. This field is under deprecation and will be removed
|
|
657
|
+
* <p>The certificate ARN of the endpoint. This field is under deprecation and will be removed
|
|
658
|
+
* in future.</p>
|
|
629
659
|
*/
|
|
630
660
|
certificateArn?: string;
|
|
631
661
|
/**
|
|
@@ -633,7 +663,8 @@ export interface Endpoint {
|
|
|
633
663
|
*/
|
|
634
664
|
certificateAuthority?: Certificate;
|
|
635
665
|
/**
|
|
636
|
-
* <p>The configuration settings that are used to override existing configurations for
|
|
666
|
+
* <p>The configuration settings that are used to override existing configurations for
|
|
667
|
+
* endpoints.</p>
|
|
637
668
|
*/
|
|
638
669
|
configurationOverrides?: ConfigurationOverrides;
|
|
639
670
|
/**
|
|
@@ -645,35 +676,29 @@ export interface Endpoint {
|
|
|
645
676
|
*/
|
|
646
677
|
createdAt?: Date;
|
|
647
678
|
/**
|
|
648
|
-
* <p>The security group configuration of the endpoint.
|
|
649
|
-
* </p>
|
|
679
|
+
* <p>The security group configuration of the endpoint. </p>
|
|
650
680
|
*/
|
|
651
681
|
securityGroup?: string;
|
|
652
682
|
/**
|
|
653
|
-
* <p>The subnet IDs of the endpoint.
|
|
654
|
-
* </p>
|
|
683
|
+
* <p>The subnet IDs of the endpoint. </p>
|
|
655
684
|
*/
|
|
656
685
|
subnetIds?: string[];
|
|
657
686
|
/**
|
|
658
|
-
* <p>
|
|
659
|
-
* Additional details of the endpoint state.
|
|
660
|
-
* </p>
|
|
687
|
+
* <p> Additional details of the endpoint state. </p>
|
|
661
688
|
*/
|
|
662
689
|
stateDetails?: string;
|
|
663
690
|
/**
|
|
664
|
-
* <p>
|
|
665
|
-
* The reasons why the endpoint has failed.
|
|
666
|
-
* </p>
|
|
691
|
+
* <p> The reasons why the endpoint has failed. </p>
|
|
667
692
|
*/
|
|
668
693
|
failureReason?: FailureReason | string;
|
|
669
694
|
/**
|
|
670
|
-
* <p>The tags of the endpoint.
|
|
671
|
-
* </p>
|
|
695
|
+
* <p>The tags of the endpoint. </p>
|
|
672
696
|
*/
|
|
673
697
|
tags?: Record<string, string>;
|
|
674
698
|
}
|
|
675
699
|
/**
|
|
676
|
-
* <p>This entity describes a job run. A job run is a unit of work, such as a Spark jar,
|
|
700
|
+
* <p>This entity describes a job run. A job run is a unit of work, such as a Spark jar,
|
|
701
|
+
* PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS. </p>
|
|
677
702
|
*/
|
|
678
703
|
export interface JobRun {
|
|
679
704
|
/**
|
|
@@ -871,6 +896,10 @@ export declare const DeleteVirtualClusterResponseFilterSensitiveLog: (obj: Delet
|
|
|
871
896
|
* @internal
|
|
872
897
|
*/
|
|
873
898
|
export declare const DescribeJobRunRequestFilterSensitiveLog: (obj: DescribeJobRunRequest) => any;
|
|
899
|
+
/**
|
|
900
|
+
* @internal
|
|
901
|
+
*/
|
|
902
|
+
export declare const SparkSqlJobDriverFilterSensitiveLog: (obj: SparkSqlJobDriver) => any;
|
|
874
903
|
/**
|
|
875
904
|
* @internal
|
|
876
905
|
*/
|
|
@@ -157,6 +157,13 @@ export declare enum FailureReason {
|
|
|
157
157
|
VALIDATION_ERROR = "VALIDATION_ERROR"
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
+
export interface SparkSqlJobDriver {
|
|
161
|
+
|
|
162
|
+
entryPoint?: string;
|
|
163
|
+
|
|
164
|
+
sparkSqlParameters?: string;
|
|
165
|
+
}
|
|
166
|
+
|
|
160
167
|
export interface SparkSubmitJobDriver {
|
|
161
168
|
|
|
162
169
|
entryPoint: string | undefined;
|
|
@@ -169,6 +176,8 @@ export interface SparkSubmitJobDriver {
|
|
|
169
176
|
export interface JobDriver {
|
|
170
177
|
|
|
171
178
|
sparkSubmitJobDriver?: SparkSubmitJobDriver;
|
|
179
|
+
|
|
180
|
+
sparkSqlJobDriver?: SparkSqlJobDriver;
|
|
172
181
|
}
|
|
173
182
|
export declare enum JobRunState {
|
|
174
183
|
CANCELLED = "CANCELLED",
|
|
@@ -499,6 +508,8 @@ export declare const DeleteVirtualClusterResponseFilterSensitiveLog: (obj: Delet
|
|
|
499
508
|
|
|
500
509
|
export declare const DescribeJobRunRequestFilterSensitiveLog: (obj: DescribeJobRunRequest) => any;
|
|
501
510
|
|
|
511
|
+
export declare const SparkSqlJobDriverFilterSensitiveLog: (obj: SparkSqlJobDriver) => any;
|
|
512
|
+
|
|
502
513
|
export declare const SparkSubmitJobDriverFilterSensitiveLog: (obj: SparkSubmitJobDriver) => any;
|
|
503
514
|
|
|
504
515
|
export declare const JobDriverFilterSensitiveLog: (obj: JobDriver) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-emr-containers",
|
|
3
3
|
"description": "AWS SDK for JavaScript Emr Containers Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.167.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.165.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.163.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.165.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.162.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.162.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.162.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.162.0",
|
|
31
31
|
"@aws-sdk/middleware-retry": "3.162.0",
|
|
32
32
|
"@aws-sdk/middleware-serde": "3.162.0",
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.163.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.162.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.162.0",
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.162.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.154.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
46
|
"@aws-sdk/util-defaults-mode-browser": "3.162.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.163.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.162.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.162.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|