@aws-sdk/client-emr-containers 3.266.1 → 3.268.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,29 +9,28 @@
9
9
 
10
10
  AWS SDK for JavaScript EMRContainers Client for Node.js, Browser and React Native.
11
11
 
12
- <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run
13
- open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With
14
- this deployment option, you can focus on running analytics workloads while Amazon EMR on
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
17
- EKS</a>.</p>
12
+ <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows
13
+ you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS).
14
+ With this deployment option, you can focus on running analytics workloads while Amazon EMR on EKS builds, configures, and manages containers for open-source applications.
15
+ For more 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
16
+ shared id="EMR-EKS"/></a>.</p>
18
17
  <p>
19
- <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The
20
- <code>emr-containers</code> prefix is used in the following scenarios: </p>
18
+ <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS.
19
+ The <code>emr-containers</code> prefix is used in the following scenarios: </p>
21
20
  <ul>
22
21
  <li>
23
- <p>It is the prefix in the CLI commands for Amazon EMR on EKS. For example, <code>aws
24
- emr-containers start-job-run</code>.</p>
22
+ <p>It is the prefix in the CLI commands for Amazon EMR on EKS. For example,
23
+ <code>aws emr-containers start-job-run</code>.</p>
25
24
  </li>
26
25
  <li>
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>
26
+ <p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For
27
+ example, <code>"Action": [ "emr-containers:StartJobRun"]</code>. For more
28
+ information, see <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>
30
29
  </li>
31
30
  <li>
32
31
  <p>It is the prefix used in Amazon EMR on EKS service endpoints. For example,
33
32
  <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>
33
+ <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/service-quotas.html#service-endpoints">Amazon EMR on EKSService Endpoints</a>.</p>
35
34
  </li>
36
35
  </ul>
37
36
 
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://emr-containers-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://emr-containers.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "fn", r = "argv", s = "ref";
5
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
6
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://emr-containers-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://emr-containers.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListVirtualClustersResponseFilterSensitiveLog = exports.ListVirtualClustersRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListManagedEndpointsRequestFilterSensitiveLog = exports.ListJobTemplatesRequestFilterSensitiveLog = exports.ListJobRunsRequestFilterSensitiveLog = exports.DescribeVirtualClusterResponseFilterSensitiveLog = exports.VirtualClusterFilterSensitiveLog = exports.DescribeVirtualClusterRequestFilterSensitiveLog = exports.CertificateFilterSensitiveLog = exports.DescribeManagedEndpointRequestFilterSensitiveLog = exports.DescribeJobTemplateRequestFilterSensitiveLog = exports.DescribeJobRunRequestFilterSensitiveLog = exports.DeleteVirtualClusterResponseFilterSensitiveLog = exports.DeleteVirtualClusterRequestFilterSensitiveLog = exports.DeleteManagedEndpointResponseFilterSensitiveLog = exports.DeleteManagedEndpointRequestFilterSensitiveLog = exports.DeleteJobTemplateResponseFilterSensitiveLog = exports.DeleteJobTemplateRequestFilterSensitiveLog = exports.CreateVirtualClusterResponseFilterSensitiveLog = exports.CreateVirtualClusterRequestFilterSensitiveLog = exports.ContainerProviderFilterSensitiveLog = exports.ContainerInfoFilterSensitiveLog = exports.EksInfoFilterSensitiveLog = exports.CreateManagedEndpointResponseFilterSensitiveLog = exports.MonitoringConfigurationFilterSensitiveLog = exports.S3MonitoringConfigurationFilterSensitiveLog = exports.CloudWatchMonitoringConfigurationFilterSensitiveLog = exports.CreateJobTemplateResponseFilterSensitiveLog = exports.TemplateParameterConfigurationFilterSensitiveLog = exports.JobDriverFilterSensitiveLog = exports.SparkSubmitJobDriverFilterSensitiveLog = exports.SparkSqlJobDriverFilterSensitiveLog = exports.ParametricMonitoringConfigurationFilterSensitiveLog = exports.ParametricS3MonitoringConfigurationFilterSensitiveLog = exports.ParametricCloudWatchMonitoringConfigurationFilterSensitiveLog = exports.CancelJobRunResponseFilterSensitiveLog = exports.CancelJobRunRequestFilterSensitiveLog = exports.VirtualClusterState = exports.EndpointState = exports.JobRunState = exports.FailureReason = exports.ContainerProviderType = exports.ContainerInfo = exports.PersistentAppUI = exports.ResourceNotFoundException = exports.TemplateParameterDataType = exports.ValidationException = exports.InternalServerException = void 0;
4
- exports.ListJobTemplatesResponseFilterSensitiveLog = exports.ListManagedEndpointsResponseFilterSensitiveLog = exports.ListJobRunsResponseFilterSensitiveLog = exports.DescribeJobTemplateResponseFilterSensitiveLog = exports.JobTemplateFilterSensitiveLog = exports.DescribeManagedEndpointResponseFilterSensitiveLog = exports.DescribeJobRunResponseFilterSensitiveLog = exports.CreateJobTemplateRequestFilterSensitiveLog = exports.StartJobRunRequestFilterSensitiveLog = exports.JobTemplateDataFilterSensitiveLog = exports.JobRunFilterSensitiveLog = exports.EndpointFilterSensitiveLog = exports.CreateManagedEndpointRequestFilterSensitiveLog = exports.ParametricConfigurationOverridesFilterSensitiveLog = exports.ConfigurationOverridesFilterSensitiveLog = exports.ConfigurationFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StartJobRunResponseFilterSensitiveLog = void 0;
3
+ exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListManagedEndpointsRequestFilterSensitiveLog = exports.ListJobTemplatesRequestFilterSensitiveLog = exports.ListJobRunsRequestFilterSensitiveLog = exports.DescribeVirtualClusterResponseFilterSensitiveLog = exports.VirtualClusterFilterSensitiveLog = exports.DescribeVirtualClusterRequestFilterSensitiveLog = exports.CertificateFilterSensitiveLog = exports.DescribeManagedEndpointRequestFilterSensitiveLog = exports.DescribeJobTemplateRequestFilterSensitiveLog = exports.RetryPolicyExecutionFilterSensitiveLog = exports.RetryPolicyConfigurationFilterSensitiveLog = exports.DescribeJobRunRequestFilterSensitiveLog = exports.DeleteVirtualClusterResponseFilterSensitiveLog = exports.DeleteVirtualClusterRequestFilterSensitiveLog = exports.DeleteManagedEndpointResponseFilterSensitiveLog = exports.DeleteManagedEndpointRequestFilterSensitiveLog = exports.DeleteJobTemplateResponseFilterSensitiveLog = exports.DeleteJobTemplateRequestFilterSensitiveLog = exports.CreateVirtualClusterResponseFilterSensitiveLog = exports.CreateVirtualClusterRequestFilterSensitiveLog = exports.ContainerProviderFilterSensitiveLog = exports.ContainerInfoFilterSensitiveLog = exports.EksInfoFilterSensitiveLog = exports.CreateManagedEndpointResponseFilterSensitiveLog = exports.MonitoringConfigurationFilterSensitiveLog = exports.S3MonitoringConfigurationFilterSensitiveLog = exports.CloudWatchMonitoringConfigurationFilterSensitiveLog = exports.CreateJobTemplateResponseFilterSensitiveLog = exports.TemplateParameterConfigurationFilterSensitiveLog = exports.JobDriverFilterSensitiveLog = exports.SparkSubmitJobDriverFilterSensitiveLog = exports.SparkSqlJobDriverFilterSensitiveLog = exports.ParametricMonitoringConfigurationFilterSensitiveLog = exports.ParametricS3MonitoringConfigurationFilterSensitiveLog = exports.ParametricCloudWatchMonitoringConfigurationFilterSensitiveLog = exports.CancelJobRunResponseFilterSensitiveLog = exports.CancelJobRunRequestFilterSensitiveLog = exports.VirtualClusterState = exports.EndpointState = exports.JobRunState = exports.FailureReason = exports.ContainerProviderType = exports.ContainerInfo = exports.PersistentAppUI = exports.ResourceNotFoundException = exports.TemplateParameterDataType = exports.ValidationException = exports.InternalServerException = void 0;
4
+ exports.ListJobTemplatesResponseFilterSensitiveLog = exports.ListManagedEndpointsResponseFilterSensitiveLog = exports.ListJobRunsResponseFilterSensitiveLog = exports.DescribeJobTemplateResponseFilterSensitiveLog = exports.JobTemplateFilterSensitiveLog = exports.DescribeManagedEndpointResponseFilterSensitiveLog = exports.DescribeJobRunResponseFilterSensitiveLog = exports.CreateJobTemplateRequestFilterSensitiveLog = exports.StartJobRunRequestFilterSensitiveLog = exports.JobTemplateDataFilterSensitiveLog = exports.JobRunFilterSensitiveLog = exports.EndpointFilterSensitiveLog = exports.CreateManagedEndpointRequestFilterSensitiveLog = exports.ParametricConfigurationOverridesFilterSensitiveLog = exports.ConfigurationOverridesFilterSensitiveLog = exports.ConfigurationFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StartJobRunResponseFilterSensitiveLog = exports.ListVirtualClustersResponseFilterSensitiveLog = exports.ListVirtualClustersRequestFilterSensitiveLog = 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 {
@@ -215,6 +215,14 @@ const DescribeJobRunRequestFilterSensitiveLog = (obj) => ({
215
215
  ...obj,
216
216
  });
217
217
  exports.DescribeJobRunRequestFilterSensitiveLog = DescribeJobRunRequestFilterSensitiveLog;
218
+ const RetryPolicyConfigurationFilterSensitiveLog = (obj) => ({
219
+ ...obj,
220
+ });
221
+ exports.RetryPolicyConfigurationFilterSensitiveLog = RetryPolicyConfigurationFilterSensitiveLog;
222
+ const RetryPolicyExecutionFilterSensitiveLog = (obj) => ({
223
+ ...obj,
224
+ });
225
+ exports.RetryPolicyExecutionFilterSensitiveLog = RetryPolicyExecutionFilterSensitiveLog;
218
226
  const DescribeJobTemplateRequestFilterSensitiveLog = (obj) => ({
219
227
  ...obj,
220
228
  });
@@ -401,6 +401,9 @@ const serializeAws_restJson1StartJobRunCommand = async (input, context) => {
401
401
  }),
402
402
  ...(input.name != null && { name: input.name }),
403
403
  ...(input.releaseLabel != null && { releaseLabel: input.releaseLabel }),
404
+ ...(input.retryPolicyConfiguration != null && {
405
+ retryPolicyConfiguration: serializeAws_restJson1RetryPolicyConfiguration(input.retryPolicyConfiguration, context),
406
+ }),
404
407
  ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
405
408
  });
406
409
  return new protocol_http_1.HttpRequest({
@@ -1404,6 +1407,11 @@ const serializeAws_restJson1ParametricS3MonitoringConfiguration = (input, contex
1404
1407
  ...(input.logUri != null && { logUri: input.logUri }),
1405
1408
  };
1406
1409
  };
1410
+ const serializeAws_restJson1RetryPolicyConfiguration = (input, context) => {
1411
+ return {
1412
+ ...(input.maxAttempts != null && { maxAttempts: input.maxAttempts }),
1413
+ };
1414
+ };
1407
1415
  const serializeAws_restJson1S3MonitoringConfiguration = (input, context) => {
1408
1416
  return {
1409
1417
  ...(input.logUri != null && { logUri: input.logUri }),
@@ -1604,6 +1612,12 @@ const deserializeAws_restJson1JobRun = (output, context) => {
1604
1612
  jobDriver: output.jobDriver != null ? deserializeAws_restJson1JobDriver(output.jobDriver, context) : undefined,
1605
1613
  name: (0, smithy_client_1.expectString)(output.name),
1606
1614
  releaseLabel: (0, smithy_client_1.expectString)(output.releaseLabel),
1615
+ retryPolicyConfiguration: output.retryPolicyConfiguration != null
1616
+ ? deserializeAws_restJson1RetryPolicyConfiguration(output.retryPolicyConfiguration, context)
1617
+ : undefined,
1618
+ retryPolicyExecution: output.retryPolicyExecution != null
1619
+ ? deserializeAws_restJson1RetryPolicyExecution(output.retryPolicyExecution, context)
1620
+ : undefined,
1607
1621
  state: (0, smithy_client_1.expectString)(output.state),
1608
1622
  stateDetails: (0, smithy_client_1.expectString)(output.stateDetails),
1609
1623
  tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
@@ -1704,6 +1718,16 @@ const deserializeAws_restJson1ParametricS3MonitoringConfiguration = (output, con
1704
1718
  logUri: (0, smithy_client_1.expectString)(output.logUri),
1705
1719
  };
1706
1720
  };
1721
+ const deserializeAws_restJson1RetryPolicyConfiguration = (output, context) => {
1722
+ return {
1723
+ maxAttempts: (0, smithy_client_1.expectInt32)(output.maxAttempts),
1724
+ };
1725
+ };
1726
+ const deserializeAws_restJson1RetryPolicyExecution = (output, context) => {
1727
+ return {
1728
+ currentAttemptCount: (0, smithy_client_1.expectInt32)(output.currentAttemptCount),
1729
+ };
1730
+ };
1707
1731
  const deserializeAws_restJson1S3MonitoringConfiguration = (output, context) => {
1708
1732
  return {
1709
1733
  logUri: (0, smithy_client_1.expectString)(output.logUri),
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://emr-containers-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://emr-containers.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "fn", r = "argv", s = "ref";
2
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://emr-containers-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://emr-containers.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
4
4
  export const ruleSet = _data;
@@ -182,6 +182,12 @@ export const DeleteVirtualClusterResponseFilterSensitiveLog = (obj) => ({
182
182
  export const DescribeJobRunRequestFilterSensitiveLog = (obj) => ({
183
183
  ...obj,
184
184
  });
185
+ export const RetryPolicyConfigurationFilterSensitiveLog = (obj) => ({
186
+ ...obj,
187
+ });
188
+ export const RetryPolicyExecutionFilterSensitiveLog = (obj) => ({
189
+ ...obj,
190
+ });
185
191
  export const DescribeJobTemplateRequestFilterSensitiveLog = (obj) => ({
186
192
  ...obj,
187
193
  });
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { EMRContainersServiceException as __BaseException } from "../models/EMRContainersServiceException";
5
5
  import { ContainerInfo, InternalServerException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
@@ -382,6 +382,9 @@ export const serializeAws_restJson1StartJobRunCommand = async (input, context) =
382
382
  }),
383
383
  ...(input.name != null && { name: input.name }),
384
384
  ...(input.releaseLabel != null && { releaseLabel: input.releaseLabel }),
385
+ ...(input.retryPolicyConfiguration != null && {
386
+ retryPolicyConfiguration: serializeAws_restJson1RetryPolicyConfiguration(input.retryPolicyConfiguration, context),
387
+ }),
385
388
  ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
386
389
  });
387
390
  return new __HttpRequest({
@@ -1363,6 +1366,11 @@ const serializeAws_restJson1ParametricS3MonitoringConfiguration = (input, contex
1363
1366
  ...(input.logUri != null && { logUri: input.logUri }),
1364
1367
  };
1365
1368
  };
1369
+ const serializeAws_restJson1RetryPolicyConfiguration = (input, context) => {
1370
+ return {
1371
+ ...(input.maxAttempts != null && { maxAttempts: input.maxAttempts }),
1372
+ };
1373
+ };
1366
1374
  const serializeAws_restJson1S3MonitoringConfiguration = (input, context) => {
1367
1375
  return {
1368
1376
  ...(input.logUri != null && { logUri: input.logUri }),
@@ -1563,6 +1571,12 @@ const deserializeAws_restJson1JobRun = (output, context) => {
1563
1571
  jobDriver: output.jobDriver != null ? deserializeAws_restJson1JobDriver(output.jobDriver, context) : undefined,
1564
1572
  name: __expectString(output.name),
1565
1573
  releaseLabel: __expectString(output.releaseLabel),
1574
+ retryPolicyConfiguration: output.retryPolicyConfiguration != null
1575
+ ? deserializeAws_restJson1RetryPolicyConfiguration(output.retryPolicyConfiguration, context)
1576
+ : undefined,
1577
+ retryPolicyExecution: output.retryPolicyExecution != null
1578
+ ? deserializeAws_restJson1RetryPolicyExecution(output.retryPolicyExecution, context)
1579
+ : undefined,
1566
1580
  state: __expectString(output.state),
1567
1581
  stateDetails: __expectString(output.stateDetails),
1568
1582
  tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
@@ -1663,6 +1677,16 @@ const deserializeAws_restJson1ParametricS3MonitoringConfiguration = (output, con
1663
1677
  logUri: __expectString(output.logUri),
1664
1678
  };
1665
1679
  };
1680
+ const deserializeAws_restJson1RetryPolicyConfiguration = (output, context) => {
1681
+ return {
1682
+ maxAttempts: __expectInt32(output.maxAttempts),
1683
+ };
1684
+ };
1685
+ const deserializeAws_restJson1RetryPolicyExecution = (output, context) => {
1686
+ return {
1687
+ currentAttemptCount: __expectInt32(output.currentAttemptCount),
1688
+ };
1689
+ };
1666
1690
  const deserializeAws_restJson1S3MonitoringConfiguration = (output, context) => {
1667
1691
  return {
1668
1692
  logUri: __expectString(output.logUri),
@@ -20,29 +20,28 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
20
20
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
21
21
  import { EMRContainersClient } from "./EMRContainersClient";
22
22
  /**
23
- * <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run
24
- * open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With
25
- * this deployment option, you can focus on running analytics workloads while Amazon EMR on
26
- * EKS builds, configures, and manages containers for open-source applications. For more
27
- * 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
28
- * EKS</a>.</p>
23
+ * <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows
24
+ * you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS).
25
+ * With this deployment option, you can focus on running analytics workloads while Amazon EMR on EKS builds, configures, and manages containers for open-source applications.
26
+ * For more 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
27
+ * shared id="EMR-EKS"/></a>.</p>
29
28
  * <p>
30
- * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The
31
- * <code>emr-containers</code> prefix is used in the following scenarios: </p>
29
+ * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS.
30
+ * The <code>emr-containers</code> prefix is used in the following scenarios: </p>
32
31
  * <ul>
33
32
  * <li>
34
- * <p>It is the prefix in the CLI commands for Amazon EMR on EKS. For example, <code>aws
35
- * emr-containers start-job-run</code>.</p>
33
+ * <p>It is the prefix in the CLI commands for Amazon EMR on EKS. For example,
34
+ * <code>aws emr-containers start-job-run</code>.</p>
36
35
  * </li>
37
36
  * <li>
38
- * <p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For example,
39
- * <code>"Action": [ "emr-containers:StartJobRun"]</code>. For more information, see
40
- * <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>
37
+ * <p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For
38
+ * example, <code>"Action": [ "emr-containers:StartJobRun"]</code>. For more
39
+ * information, see <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>
41
40
  * </li>
42
41
  * <li>
43
42
  * <p>It is the prefix used in Amazon EMR on EKS service endpoints. For example,
44
43
  * <code>emr-containers.us-east-2.amazonaws.com</code>. For more information, see
45
- * <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>
44
+ * <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/service-quotas.html#service-endpoints">Amazon EMR on EKSService Endpoints</a>.</p>
46
45
  * </li>
47
46
  * </ul>
48
47
  */
@@ -64,18 +63,18 @@ export declare class EMRContainers extends EMRContainersClient {
64
63
  createJobTemplate(args: CreateJobTemplateCommandInput, cb: (err: any, data?: CreateJobTemplateCommandOutput) => void): void;
65
64
  createJobTemplate(args: CreateJobTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateJobTemplateCommandOutput) => void): void;
66
65
  /**
67
- * <p>Creates a managed endpoint. A managed endpoint is a gateway that connects EMR Studio
68
- * to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.</p>
66
+ * <p>Creates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to
67
+ * Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual
68
+ * cluster.</p>
69
69
  */
70
70
  createManagedEndpoint(args: CreateManagedEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateManagedEndpointCommandOutput>;
71
71
  createManagedEndpoint(args: CreateManagedEndpointCommandInput, cb: (err: any, data?: CreateManagedEndpointCommandOutput) => void): void;
72
72
  createManagedEndpoint(args: CreateManagedEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateManagedEndpointCommandOutput) => void): void;
73
73
  /**
74
- * <p>Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You
75
- * can create, describe, list and delete virtual clusters. They do not consume any additional
76
- * resource in your system. A single virtual cluster maps to a single Kubernetes namespace.
77
- * Given this relationship, you can model virtual clusters the same way you model Kubernetes
78
- * namespaces to meet your requirements.</p>
74
+ * <p>Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any
75
+ * additional resource in your system. A single virtual cluster maps to a single Kubernetes
76
+ * namespace. Given this relationship, you can model virtual clusters the same way you model
77
+ * Kubernetes namespaces to meet your requirements.</p>
79
78
  */
80
79
  createVirtualCluster(args: CreateVirtualClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateVirtualClusterCommandOutput>;
81
80
  createVirtualCluster(args: CreateVirtualClusterCommandInput, cb: (err: any, data?: CreateVirtualClusterCommandOutput) => void): void;
@@ -90,19 +89,18 @@ export declare class EMRContainers extends EMRContainersClient {
90
89
  deleteJobTemplate(args: DeleteJobTemplateCommandInput, cb: (err: any, data?: DeleteJobTemplateCommandOutput) => void): void;
91
90
  deleteJobTemplate(args: DeleteJobTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteJobTemplateCommandOutput) => void): void;
92
91
  /**
93
- * <p>Deletes a managed endpoint. A managed endpoint is a gateway
94
- * that connects EMR Studio to Amazon EMR on EKS so that EMR Studio
95
- * can communicate with your virtual cluster.</p>
92
+ * <p>Deletes a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to
93
+ * Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual
94
+ * cluster.</p>
96
95
  */
97
96
  deleteManagedEndpoint(args: DeleteManagedEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteManagedEndpointCommandOutput>;
98
97
  deleteManagedEndpoint(args: DeleteManagedEndpointCommandInput, cb: (err: any, data?: DeleteManagedEndpointCommandOutput) => void): void;
99
98
  deleteManagedEndpoint(args: DeleteManagedEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteManagedEndpointCommandOutput) => void): void;
100
99
  /**
101
- * <p>Deletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You
102
- * can create, describe, list and delete virtual clusters. They do not consume any additional
103
- * resource in your system. A single virtual cluster maps to a single Kubernetes namespace.
104
- * Given this relationship, you can model virtual clusters the same way you model Kubernetes
105
- * namespaces to meet your requirements.</p>
100
+ * <p>Deletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any
101
+ * additional resource in your system. A single virtual cluster maps to a single Kubernetes
102
+ * namespace. Given this relationship, you can model virtual clusters the same way you model
103
+ * Kubernetes namespaces to meet your requirements.</p>
106
104
  */
107
105
  deleteVirtualCluster(args: DeleteVirtualClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVirtualClusterCommandOutput>;
108
106
  deleteVirtualCluster(args: DeleteVirtualClusterCommandInput, cb: (err: any, data?: DeleteVirtualClusterCommandOutput) => void): void;
@@ -124,9 +122,9 @@ export declare class EMRContainers extends EMRContainersClient {
124
122
  describeJobTemplate(args: DescribeJobTemplateCommandInput, cb: (err: any, data?: DescribeJobTemplateCommandOutput) => void): void;
125
123
  describeJobTemplate(args: DescribeJobTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobTemplateCommandOutput) => void): void;
126
124
  /**
127
- * <p>Displays detailed information about a managed endpoint. A managed endpoint is
128
- * a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can
129
- * communicate with your virtual cluster.</p>
125
+ * <p>Displays detailed information about a managed endpoint. A managed endpoint is a gateway
126
+ * that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with
127
+ * your virtual cluster.</p>
130
128
  */
131
129
  describeManagedEndpoint(args: DescribeManagedEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DescribeManagedEndpointCommandOutput>;
132
130
  describeManagedEndpoint(args: DescribeManagedEndpointCommandInput, cb: (err: any, data?: DescribeManagedEndpointCommandOutput) => void): void;
@@ -159,9 +157,9 @@ export declare class EMRContainers extends EMRContainersClient {
159
157
  listJobTemplates(args: ListJobTemplatesCommandInput, cb: (err: any, data?: ListJobTemplatesCommandOutput) => void): void;
160
158
  listJobTemplates(args: ListJobTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobTemplatesCommandOutput) => void): void;
161
159
  /**
162
- * <p>Lists managed endpoints based on a set of parameters. A managed endpoint
163
- * is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio
164
- * can communicate with your virtual cluster.</p>
160
+ * <p>Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway
161
+ * that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with
162
+ * your virtual cluster.</p>
165
163
  */
166
164
  listManagedEndpoints(args: ListManagedEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListManagedEndpointsCommandOutput>;
167
165
  listManagedEndpoints(args: ListManagedEndpointsCommandInput, cb: (err: any, data?: ListManagedEndpointsCommandOutput) => void): void;
@@ -174,10 +172,11 @@ export declare class EMRContainers extends EMRContainersClient {
174
172
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
175
173
  /**
176
174
  * <p>Lists information about the specified virtual cluster. Virtual cluster is a managed
177
- * entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters.
178
- * They do not consume any additional resource in your system. A single virtual cluster maps
179
- * to a single Kubernetes namespace. Given this relationship, you can model virtual clusters
180
- * the same way you model Kubernetes namespaces to meet your requirements.</p>
175
+ * entity on Amazon EMR on EKS. You can create, describe, list and delete virtual
176
+ * clusters. They do not consume any additional resource in your system. A single virtual
177
+ * cluster maps to a single Kubernetes namespace. Given this relationship, you can model
178
+ * virtual clusters the same way you model Kubernetes namespaces to meet your
179
+ * requirements.</p>
181
180
  */
182
181
  listVirtualClusters(args: ListVirtualClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListVirtualClustersCommandOutput>;
183
182
  listVirtualClusters(args: ListVirtualClustersCommandInput, cb: (err: any, data?: ListVirtualClustersCommandOutput) => void): void;
@@ -190,14 +189,14 @@ export declare class EMRContainers extends EMRContainersClient {
190
189
  startJobRun(args: StartJobRunCommandInput, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
191
190
  startJobRun(args: StartJobRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartJobRunCommandOutput) => void): void;
192
191
  /**
193
- * <p>Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag
192
+ * <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag
194
193
  * consists of a key and an optional value, both of which you define. Tags enable you to
195
- * categorize your AWS resources by attributes such as purpose, owner, or environment. When
194
+ * categorize your Amazon Web Services resources by attributes such as purpose, owner, or environment. When
196
195
  * you have many resources of the same type, you can quickly identify a specific resource
197
196
  * based on the tags you've assigned to it. For example, you can define a set of tags for your
198
- * Amazon EMR on EKS clusters to help you track each cluster's owner and stack level. We
199
- * recommend that you devise a consistent set of tag keys for each resource type. You can then
200
- * search and filter the resources based on the tags that you add.</p>
197
+ * Amazon EMR on EKS clusters to help you track each cluster's owner and stack level.
198
+ * We recommend that you devise a consistent set of tag keys for each resource type. You can
199
+ * then search and filter the resources based on the tags that you add.</p>
201
200
  */
202
201
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
203
202
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
@@ -142,29 +142,28 @@ declare type EMRContainersClientResolvedConfigType = __SmithyResolvedConfigurati
142
142
  export interface EMRContainersClientResolvedConfig extends EMRContainersClientResolvedConfigType {
143
143
  }
144
144
  /**
145
- * <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run
146
- * open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With
147
- * this deployment option, you can focus on running analytics workloads while Amazon EMR on
148
- * EKS builds, configures, and manages containers for open-source applications. For more
149
- * 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
150
- * EKS</a>.</p>
145
+ * <p>Amazon EMR on EKS provides a deployment option for Amazon EMR that allows
146
+ * you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS).
147
+ * With this deployment option, you can focus on running analytics workloads while Amazon EMR on EKS builds, configures, and manages containers for open-source applications.
148
+ * For more 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
149
+ * shared id="EMR-EKS"/></a>.</p>
151
150
  * <p>
152
- * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The
153
- * <code>emr-containers</code> prefix is used in the following scenarios: </p>
151
+ * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS.
152
+ * The <code>emr-containers</code> prefix is used in the following scenarios: </p>
154
153
  * <ul>
155
154
  * <li>
156
- * <p>It is the prefix in the CLI commands for Amazon EMR on EKS. For example, <code>aws
157
- * emr-containers start-job-run</code>.</p>
155
+ * <p>It is the prefix in the CLI commands for Amazon EMR on EKS. For example,
156
+ * <code>aws emr-containers start-job-run</code>.</p>
158
157
  * </li>
159
158
  * <li>
160
- * <p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For example,
161
- * <code>"Action": [ "emr-containers:StartJobRun"]</code>. For more information, see
162
- * <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>
159
+ * <p>It is the prefix before IAM policy actions for Amazon EMR on EKS. For
160
+ * example, <code>"Action": [ "emr-containers:StartJobRun"]</code>. For more
161
+ * information, see <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>
163
162
  * </li>
164
163
  * <li>
165
164
  * <p>It is the prefix used in Amazon EMR on EKS service endpoints. For example,
166
165
  * <code>emr-containers.us-east-2.amazonaws.com</code>. For more information, see
167
- * <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>
166
+ * <a href="https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/service-quotas.html#service-endpoints">Amazon EMR on EKSService Endpoints</a>.</p>
168
167
  * </li>
169
168
  * </ul>
170
169
  */
@@ -8,8 +8,9 @@ export interface CreateManagedEndpointCommandInput extends CreateManagedEndpoint
8
8
  export interface CreateManagedEndpointCommandOutput extends CreateManagedEndpointResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates a managed endpoint. A managed endpoint is a gateway that connects EMR Studio
12
- * to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.</p>
11
+ * <p>Creates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to
12
+ * Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual
13
+ * cluster.</p>
13
14
  * @example
14
15
  * Use a bare-bones client and the command you need to make an API call.
15
16
  * ```javascript
@@ -8,11 +8,10 @@ export interface CreateVirtualClusterCommandInput extends CreateVirtualClusterRe
8
8
  export interface CreateVirtualClusterCommandOutput extends CreateVirtualClusterResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You
12
- * can create, describe, list and delete virtual clusters. They do not consume any additional
13
- * resource in your system. A single virtual cluster maps to a single Kubernetes namespace.
14
- * Given this relationship, you can model virtual clusters the same way you model Kubernetes
15
- * namespaces to meet your requirements.</p>
11
+ * <p>Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any
12
+ * additional resource in your system. A single virtual cluster maps to a single Kubernetes
13
+ * namespace. Given this relationship, you can model virtual clusters the same way you model
14
+ * Kubernetes namespaces to meet your requirements.</p>
16
15
  * @example
17
16
  * Use a bare-bones client and the command you need to make an API call.
18
17
  * ```javascript
@@ -8,9 +8,9 @@ export interface DeleteManagedEndpointCommandInput extends DeleteManagedEndpoint
8
8
  export interface DeleteManagedEndpointCommandOutput extends DeleteManagedEndpointResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Deletes a managed endpoint. A managed endpoint is a gateway
12
- * that connects EMR Studio to Amazon EMR on EKS so that EMR Studio
13
- * can communicate with your virtual cluster.</p>
11
+ * <p>Deletes a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to
12
+ * Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual
13
+ * cluster.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -8,11 +8,10 @@ export interface DeleteVirtualClusterCommandInput extends DeleteVirtualClusterRe
8
8
  export interface DeleteVirtualClusterCommandOutput extends DeleteVirtualClusterResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Deletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You
12
- * can create, describe, list and delete virtual clusters. They do not consume any additional
13
- * resource in your system. A single virtual cluster maps to a single Kubernetes namespace.
14
- * Given this relationship, you can model virtual clusters the same way you model Kubernetes
15
- * namespaces to meet your requirements.</p>
11
+ * <p>Deletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any
12
+ * additional resource in your system. A single virtual cluster maps to a single Kubernetes
13
+ * namespace. Given this relationship, you can model virtual clusters the same way you model
14
+ * Kubernetes namespaces to meet your requirements.</p>
16
15
  * @example
17
16
  * Use a bare-bones client and the command you need to make an API call.
18
17
  * ```javascript
@@ -8,9 +8,9 @@ export interface DescribeManagedEndpointCommandInput extends DescribeManagedEndp
8
8
  export interface DescribeManagedEndpointCommandOutput extends DescribeManagedEndpointResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Displays detailed information about a managed endpoint. A managed endpoint is
12
- * a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can
13
- * communicate with your virtual cluster.</p>
11
+ * <p>Displays detailed information about a managed endpoint. A managed endpoint is a gateway
12
+ * that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with
13
+ * your virtual cluster.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -8,9 +8,9 @@ export interface ListManagedEndpointsCommandInput extends ListManagedEndpointsRe
8
8
  export interface ListManagedEndpointsCommandOutput extends ListManagedEndpointsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Lists managed endpoints based on a set of parameters. A managed endpoint
12
- * is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio
13
- * can communicate with your virtual cluster.</p>
11
+ * <p>Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway
12
+ * that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with
13
+ * your virtual cluster.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -9,10 +9,11 @@ export interface ListVirtualClustersCommandOutput extends ListVirtualClustersRes
9
9
  }
10
10
  /**
11
11
  * <p>Lists information about the specified virtual cluster. Virtual cluster is a managed
12
- * entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters.
13
- * They do not consume any additional resource in your system. A single virtual cluster maps
14
- * to a single Kubernetes namespace. Given this relationship, you can model virtual clusters
15
- * the same way you model Kubernetes namespaces to meet your requirements.</p>
12
+ * entity on Amazon EMR on EKS. You can create, describe, list and delete virtual
13
+ * clusters. They do not consume any additional resource in your system. A single virtual
14
+ * cluster maps to a single Kubernetes namespace. Given this relationship, you can model
15
+ * virtual clusters the same way you model Kubernetes namespaces to meet your
16
+ * requirements.</p>
16
17
  * @example
17
18
  * Use a bare-bones client and the command you need to make an API call.
18
19
  * ```javascript
@@ -8,14 +8,14 @@ export interface TagResourceCommandInput extends TagResourceRequest {
8
8
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag
11
+ * <p>Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag
12
12
  * consists of a key and an optional value, both of which you define. Tags enable you to
13
- * categorize your AWS resources by attributes such as purpose, owner, or environment. When
13
+ * categorize your Amazon Web Services resources by attributes such as purpose, owner, or environment. When
14
14
  * you have many resources of the same type, you can quickly identify a specific resource
15
15
  * based on the tags you've assigned to it. For example, you can define a set of tags for your
16
- * Amazon EMR on EKS clusters to help you track each cluster's owner and stack level. We
17
- * recommend that you devise a consistent set of tag keys for each resource type. You can then
18
- * search and filter the resources based on the tags that you add.</p>
16
+ * Amazon EMR on EKS clusters to help you track each cluster's owner and stack level.
17
+ * We recommend that you devise a consistent set of tag keys for each resource type. You can
18
+ * then search and filter the resources based on the tags that you add.</p>
19
19
  * @example
20
20
  * Use a bare-bones client and the command you need to make an API call.
21
21
  * ```javascript
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region?: string;
15
+ Region: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -139,7 +139,7 @@ export declare enum TemplateParameterDataType {
139
139
  */
140
140
  export interface TemplateParameterConfiguration {
141
141
  /**
142
- * <p>The type of the job template parameter. Allowed values are: ‘String’, ‘Number’.</p>
142
+ * <p>The type of the job template parameter. Allowed values are: ‘STRING’, ‘NUMBER’.</p>
143
143
  */
144
144
  type?: TemplateParameterDataType | string;
145
145
  /**
@@ -240,11 +240,11 @@ export interface CreateManagedEndpointResponse {
240
240
  virtualClusterId?: string;
241
241
  }
242
242
  /**
243
- * <p>The information about the EKS cluster.</p>
243
+ * <p>The information about the Amazon EKS cluster.</p>
244
244
  */
245
245
  export interface EksInfo {
246
246
  /**
247
- * <p>The namespaces of the EKS cluster.</p>
247
+ * <p>The namespaces of the Amazon EKS cluster.</p>
248
248
  */
249
249
  namespace?: string;
250
250
  }
@@ -254,7 +254,7 @@ export interface EksInfo {
254
254
  export declare type ContainerInfo = ContainerInfo.EksInfoMember | ContainerInfo.$UnknownMember;
255
255
  export declare namespace ContainerInfo {
256
256
  /**
257
- * <p>The information about the EKS cluster.</p>
257
+ * <p>The information about the Amazon EKS cluster.</p>
258
258
  */
259
259
  interface EksInfoMember {
260
260
  eksInfo: EksInfo;
@@ -278,7 +278,7 @@ export declare enum ContainerProviderType {
278
278
  */
279
279
  export interface ContainerProvider {
280
280
  /**
281
- * <p>The type of the container provider. EKS is the only supported type as of now.</p>
281
+ * <p>The type of the container provider. Amazon EKS is the only supported type as of now.</p>
282
282
  */
283
283
  type: ContainerProviderType | string | undefined;
284
284
  /**
@@ -382,6 +382,24 @@ export declare enum FailureReason {
382
382
  USER_ERROR = "USER_ERROR",
383
383
  VALIDATION_ERROR = "VALIDATION_ERROR"
384
384
  }
385
+ /**
386
+ * <p>The configuration of the retry policy that the job runs on.</p>
387
+ */
388
+ export interface RetryPolicyConfiguration {
389
+ /**
390
+ * <p>The maximum number of attempts on the job's driver.</p>
391
+ */
392
+ maxAttempts: number | undefined;
393
+ }
394
+ /**
395
+ * <p>The current status of the retry policy executed on the job.</p>
396
+ */
397
+ export interface RetryPolicyExecution {
398
+ /**
399
+ * <p>The current number of attempts made on the driver of the job.</p>
400
+ */
401
+ currentAttemptCount: number | undefined;
402
+ }
385
403
  export declare enum JobRunState {
386
404
  CANCELLED = "CANCELLED",
387
405
  CANCEL_PENDING = "CANCEL_PENDING",
@@ -443,7 +461,7 @@ export declare enum VirtualClusterState {
443
461
  * <p>This entity describes a virtual cluster. A virtual cluster is a Kubernetes namespace
444
462
  * that Amazon EMR is registered with. Amazon EMR uses virtual clusters to run jobs and host
445
463
  * endpoints. Multiple virtual clusters can be backed by the same physical cluster. However,
446
- * each virtual cluster maps to one namespace on an EKS cluster. Virtual clusters do not
464
+ * each virtual cluster maps to one namespace on an Amazon EKS cluster. Virtual clusters do not
447
465
  * create any active resources that contribute to your bill or that require lifecycle
448
466
  * management outside the service.</p>
449
467
  */
@@ -579,7 +597,7 @@ export interface ListVirtualClustersRequest {
579
597
  */
580
598
  containerProviderId?: string;
581
599
  /**
582
- * <p>The container provider type of the virtual cluster. EKS is the only supported type as of
600
+ * <p>The container provider type of the virtual cluster. Amazon EKS is the only supported type as of
583
601
  * now.</p>
584
602
  */
585
603
  containerProviderType?: ContainerProviderType | string;
@@ -728,8 +746,8 @@ export interface CreateManagedEndpointRequest {
728
746
  /**
729
747
  * @deprecated
730
748
  *
731
- * <p>The certificate ARN provided by users for the managed endpoint. This field
732
- * is under deprecation and will be removed in future releases.</p>
749
+ * <p>The certificate ARN provided by users for the managed endpoint. This field is under
750
+ * deprecation and will be removed in future releases.</p>
733
751
  */
734
752
  certificateArn?: string;
735
753
  /**
@@ -741,8 +759,7 @@ export interface CreateManagedEndpointRequest {
741
759
  */
742
760
  clientToken?: string;
743
761
  /**
744
- * <p>The tags of the managed endpoint.
745
- * </p>
762
+ * <p>The tags of the managed endpoint. </p>
746
763
  */
747
764
  tags?: Record<string, string>;
748
765
  }
@@ -897,6 +914,14 @@ export interface JobRun {
897
914
  * <p>The assigned tags of the job run.</p>
898
915
  */
899
916
  tags?: Record<string, string>;
917
+ /**
918
+ * <p>The configuration of the retry policy that the job runs on.</p>
919
+ */
920
+ retryPolicyConfiguration?: RetryPolicyConfiguration;
921
+ /**
922
+ * <p>The current status of the retry policy executed on the job.</p>
923
+ */
924
+ retryPolicyExecution?: RetryPolicyExecution;
900
925
  }
901
926
  /**
902
927
  * <p>The values of StartJobRun API requests used in job runs started using the job
@@ -970,6 +995,10 @@ export interface StartJobRunRequest {
970
995
  * <p>The values of job template parameters to start a job run.</p>
971
996
  */
972
997
  jobTemplateParameters?: Record<string, string>;
998
+ /**
999
+ * <p>The retry policy configuration for the job run.</p>
1000
+ */
1001
+ retryPolicyConfiguration?: RetryPolicyConfiguration;
973
1002
  }
974
1003
  export interface CreateJobTemplateRequest {
975
1004
  /**
@@ -1189,6 +1218,14 @@ export declare const DeleteVirtualClusterResponseFilterSensitiveLog: (obj: Delet
1189
1218
  * @internal
1190
1219
  */
1191
1220
  export declare const DescribeJobRunRequestFilterSensitiveLog: (obj: DescribeJobRunRequest) => any;
1221
+ /**
1222
+ * @internal
1223
+ */
1224
+ export declare const RetryPolicyConfigurationFilterSensitiveLog: (obj: RetryPolicyConfiguration) => any;
1225
+ /**
1226
+ * @internal
1227
+ */
1228
+ export declare const RetryPolicyExecutionFilterSensitiveLog: (obj: RetryPolicyExecution) => any;
1192
1229
  /**
1193
1230
  * @internal
1194
1231
  */
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -160,6 +160,12 @@ export declare enum FailureReason {
160
160
  USER_ERROR = "USER_ERROR",
161
161
  VALIDATION_ERROR = "VALIDATION_ERROR",
162
162
  }
163
+ export interface RetryPolicyConfiguration {
164
+ maxAttempts: number | undefined;
165
+ }
166
+ export interface RetryPolicyExecution {
167
+ currentAttemptCount: number | undefined;
168
+ }
163
169
  export declare enum JobRunState {
164
170
  CANCELLED = "CANCELLED",
165
171
  CANCEL_PENDING = "CANCEL_PENDING",
@@ -328,6 +334,8 @@ export interface JobRun {
328
334
  stateDetails?: string;
329
335
  failureReason?: FailureReason | string;
330
336
  tags?: Record<string, string>;
337
+ retryPolicyConfiguration?: RetryPolicyConfiguration;
338
+ retryPolicyExecution?: RetryPolicyExecution;
331
339
  }
332
340
  export interface JobTemplateData {
333
341
  executionRoleArn: string | undefined;
@@ -348,6 +356,7 @@ export interface StartJobRunRequest {
348
356
  tags?: Record<string, string>;
349
357
  jobTemplateId?: string;
350
358
  jobTemplateParameters?: Record<string, string>;
359
+ retryPolicyConfiguration?: RetryPolicyConfiguration;
351
360
  }
352
361
  export interface CreateJobTemplateRequest {
353
362
  name: string | undefined;
@@ -462,6 +471,12 @@ export declare const DeleteVirtualClusterResponseFilterSensitiveLog: (
462
471
  export declare const DescribeJobRunRequestFilterSensitiveLog: (
463
472
  obj: DescribeJobRunRequest
464
473
  ) => any;
474
+ export declare const RetryPolicyConfigurationFilterSensitiveLog: (
475
+ obj: RetryPolicyConfiguration
476
+ ) => any;
477
+ export declare const RetryPolicyExecutionFilterSensitiveLog: (
478
+ obj: RetryPolicyExecution
479
+ ) => any;
465
480
  export declare const DescribeJobTemplateRequestFilterSensitiveLog: (
466
481
  obj: DescribeJobTemplateRequest
467
482
  ) => 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.266.1",
4
+ "version": "3.268.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",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.266.1",
24
- "@aws-sdk/config-resolver": "3.266.1",
25
- "@aws-sdk/credential-provider-node": "3.266.1",
26
- "@aws-sdk/fetch-http-handler": "3.266.1",
27
- "@aws-sdk/hash-node": "3.266.1",
28
- "@aws-sdk/invalid-dependency": "3.266.1",
29
- "@aws-sdk/middleware-content-length": "3.266.1",
30
- "@aws-sdk/middleware-endpoint": "3.266.1",
31
- "@aws-sdk/middleware-host-header": "3.266.1",
32
- "@aws-sdk/middleware-logger": "3.266.1",
33
- "@aws-sdk/middleware-recursion-detection": "3.266.1",
34
- "@aws-sdk/middleware-retry": "3.266.1",
35
- "@aws-sdk/middleware-serde": "3.266.1",
36
- "@aws-sdk/middleware-signing": "3.266.1",
37
- "@aws-sdk/middleware-stack": "3.266.1",
38
- "@aws-sdk/middleware-user-agent": "3.266.1",
39
- "@aws-sdk/node-config-provider": "3.266.1",
40
- "@aws-sdk/node-http-handler": "3.266.1",
41
- "@aws-sdk/protocol-http": "3.266.1",
42
- "@aws-sdk/smithy-client": "3.266.1",
43
- "@aws-sdk/types": "3.266.1",
44
- "@aws-sdk/url-parser": "3.266.1",
23
+ "@aws-sdk/client-sts": "3.267.0",
24
+ "@aws-sdk/config-resolver": "3.267.0",
25
+ "@aws-sdk/credential-provider-node": "3.267.0",
26
+ "@aws-sdk/fetch-http-handler": "3.267.0",
27
+ "@aws-sdk/hash-node": "3.267.0",
28
+ "@aws-sdk/invalid-dependency": "3.267.0",
29
+ "@aws-sdk/middleware-content-length": "3.267.0",
30
+ "@aws-sdk/middleware-endpoint": "3.267.0",
31
+ "@aws-sdk/middleware-host-header": "3.267.0",
32
+ "@aws-sdk/middleware-logger": "3.267.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.267.0",
34
+ "@aws-sdk/middleware-retry": "3.267.0",
35
+ "@aws-sdk/middleware-serde": "3.267.0",
36
+ "@aws-sdk/middleware-signing": "3.267.0",
37
+ "@aws-sdk/middleware-stack": "3.267.0",
38
+ "@aws-sdk/middleware-user-agent": "3.267.0",
39
+ "@aws-sdk/node-config-provider": "3.267.0",
40
+ "@aws-sdk/node-http-handler": "3.267.0",
41
+ "@aws-sdk/protocol-http": "3.267.0",
42
+ "@aws-sdk/smithy-client": "3.267.0",
43
+ "@aws-sdk/types": "3.267.0",
44
+ "@aws-sdk/url-parser": "3.267.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.266.1",
49
- "@aws-sdk/util-defaults-mode-node": "3.266.1",
50
- "@aws-sdk/util-endpoints": "3.266.1",
51
- "@aws-sdk/util-retry": "3.266.1",
52
- "@aws-sdk/util-user-agent-browser": "3.266.1",
53
- "@aws-sdk/util-user-agent-node": "3.266.1",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.267.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.267.0",
50
+ "@aws-sdk/util-endpoints": "3.267.0",
51
+ "@aws-sdk/util-retry": "3.267.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.267.0",
53
+ "@aws-sdk/util-user-agent-node": "3.267.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1",
56
56
  "uuid": "^8.3.2"