@aws-sdk/client-emr-containers 3.540.0 → 3.552.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
@@ -10,7 +10,7 @@ AWS SDK for JavaScript EMRContainers Client for Node.js, Browser and React Nativ
10
10
  you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS).
11
11
  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.
12
12
  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
13
- shared id="EMR-EKS"/></a>.</p>
13
+ Amazon EMR on EKS</a>.</p>
14
14
  <p>
15
15
  <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The <code>emr-containers</code> prefix is used in the following
16
16
  scenarios: </p>
package/dist-cjs/index.js CHANGED
@@ -43,6 +43,7 @@ __export(src_exports, {
43
43
  DescribeManagedEndpointCommand: () => DescribeManagedEndpointCommand,
44
44
  DescribeManagedEndpointResponseFilterSensitiveLog: () => DescribeManagedEndpointResponseFilterSensitiveLog,
45
45
  DescribeVirtualClusterCommand: () => DescribeVirtualClusterCommand,
46
+ EKSRequestThrottledException: () => EKSRequestThrottledException,
46
47
  EMRContainers: () => EMRContainers,
47
48
  EMRContainersClient: () => EMRContainersClient,
48
49
  EMRContainersServiceException: () => EMRContainersServiceException,
@@ -330,6 +331,23 @@ var ContainerInfo;
330
331
  var ContainerProviderType = {
331
332
  EKS: "EKS"
332
333
  };
334
+ var _EKSRequestThrottledException = class _EKSRequestThrottledException extends EMRContainersServiceException {
335
+ /**
336
+ * @internal
337
+ */
338
+ constructor(opts) {
339
+ super({
340
+ name: "EKSRequestThrottledException",
341
+ $fault: "client",
342
+ ...opts
343
+ });
344
+ this.name = "EKSRequestThrottledException";
345
+ this.$fault = "client";
346
+ Object.setPrototypeOf(this, _EKSRequestThrottledException.prototype);
347
+ }
348
+ };
349
+ __name(_EKSRequestThrottledException, "EKSRequestThrottledException");
350
+ var EKSRequestThrottledException = _EKSRequestThrottledException;
333
351
  var FailureReason = {
334
352
  CLUSTER_UNAVAILABLE: "CLUSTER_UNAVAILABLE",
335
353
  INTERNAL_ERROR: "INTERNAL_ERROR",
@@ -721,7 +739,8 @@ var se_ListVirtualClustersCommand = /* @__PURE__ */ __name(async (input, context
721
739
  [_cB]: [() => input.createdBefore !== void 0, () => (input[_cB].toISOString().split(".")[0] + "Z").toString()],
722
740
  [_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
723
741
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
724
- [_nT]: [, input[_nT]]
742
+ [_nT]: [, input[_nT]],
743
+ [_eAEI]: [() => input.eksAccessEntryIntegrated !== void 0, () => input[_eAEI].toString()]
725
744
  });
726
745
  let body;
727
746
  b.m("GET").h(headers).q(query).b(body);
@@ -1090,6 +1109,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1090
1109
  case "ResourceNotFoundException":
1091
1110
  case "com.amazonaws.emrcontainers#ResourceNotFoundException":
1092
1111
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1112
+ case "EKSRequestThrottledException":
1113
+ case "com.amazonaws.emrcontainers#EKSRequestThrottledException":
1114
+ throw await de_EKSRequestThrottledExceptionRes(parsedOutput, context);
1093
1115
  case "RequestThrottledException":
1094
1116
  case "com.amazonaws.emrcontainers#RequestThrottledException":
1095
1117
  throw await de_RequestThrottledExceptionRes(parsedOutput, context);
@@ -1103,6 +1125,19 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1103
1125
  }
1104
1126
  }, "de_CommandError");
1105
1127
  var throwDefaultError = (0, import_smithy_client.withBaseException)(EMRContainersServiceException);
1128
+ var de_EKSRequestThrottledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1129
+ const contents = (0, import_smithy_client.map)({});
1130
+ const data = parsedOutput.body;
1131
+ const doc = (0, import_smithy_client.take)(data, {
1132
+ message: import_smithy_client.expectString
1133
+ });
1134
+ Object.assign(contents, doc);
1135
+ const exception = new EKSRequestThrottledException({
1136
+ $metadata: deserializeMetadata(parsedOutput),
1137
+ ...contents
1138
+ });
1139
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1140
+ }, "de_EKSRequestThrottledExceptionRes");
1106
1141
  var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1107
1142
  const contents = (0, import_smithy_client.map)({});
1108
1143
  const data = parsedOutput.body;
@@ -1326,6 +1361,7 @@ var _cA = "createdAfter";
1326
1361
  var _cB = "createdBefore";
1327
1362
  var _cPI = "containerProviderId";
1328
1363
  var _cPT = "containerProviderType";
1364
+ var _eAEI = "eksAccessEntryIntegrated";
1329
1365
  var _mR = "maxResults";
1330
1366
  var _n = "name";
1331
1367
  var _nT = "nextToken";
@@ -1752,6 +1788,7 @@ var paginateListVirtualClusters = (0, import_core.createPaginator)(EMRContainers
1752
1788
  PersistentAppUI,
1753
1789
  ContainerInfo,
1754
1790
  ContainerProviderType,
1791
+ EKSRequestThrottledException,
1755
1792
  FailureReason,
1756
1793
  JobRunState,
1757
1794
  EndpointState,
@@ -55,6 +55,18 @@ export var ContainerInfo;
55
55
  export const ContainerProviderType = {
56
56
  EKS: "EKS",
57
57
  };
58
+ export class EKSRequestThrottledException extends __BaseException {
59
+ constructor(opts) {
60
+ super({
61
+ name: "EKSRequestThrottledException",
62
+ $fault: "client",
63
+ ...opts,
64
+ });
65
+ this.name = "EKSRequestThrottledException";
66
+ this.$fault = "client";
67
+ Object.setPrototypeOf(this, EKSRequestThrottledException.prototype);
68
+ }
69
+ }
58
70
  export const FailureReason = {
59
71
  CLUSTER_UNAVAILABLE: "CLUSTER_UNAVAILABLE",
60
72
  INTERNAL_ERROR: "INTERNAL_ERROR",
@@ -3,7 +3,7 @@ import { requestBuilder as rb } from "@smithy/core";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { EMRContainersServiceException as __BaseException } from "../models/EMRContainersServiceException";
6
- import { InternalServerException, RequestThrottledException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
6
+ import { EKSRequestThrottledException, InternalServerException, RequestThrottledException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
7
7
  export const se_CancelJobRunCommand = async (input, context) => {
8
8
  const b = rb(input, context);
9
9
  const headers = {};
@@ -222,6 +222,7 @@ export const se_ListVirtualClustersCommand = async (input, context) => {
222
222
  [_s]: [() => input.states !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
223
223
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
224
224
  [_nT]: [, input[_nT]],
225
+ [_eAEI]: [() => input.eksAccessEntryIntegrated !== void 0, () => input[_eAEI].toString()],
225
226
  });
226
227
  let body;
227
228
  b.m("GET").h(headers).q(query).b(body);
@@ -586,6 +587,9 @@ const de_CommandError = async (output, context) => {
586
587
  case "ResourceNotFoundException":
587
588
  case "com.amazonaws.emrcontainers#ResourceNotFoundException":
588
589
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
590
+ case "EKSRequestThrottledException":
591
+ case "com.amazonaws.emrcontainers#EKSRequestThrottledException":
592
+ throw await de_EKSRequestThrottledExceptionRes(parsedOutput, context);
589
593
  case "RequestThrottledException":
590
594
  case "com.amazonaws.emrcontainers#RequestThrottledException":
591
595
  throw await de_RequestThrottledExceptionRes(parsedOutput, context);
@@ -599,6 +603,19 @@ const de_CommandError = async (output, context) => {
599
603
  }
600
604
  };
601
605
  const throwDefaultError = withBaseException(__BaseException);
606
+ const de_EKSRequestThrottledExceptionRes = async (parsedOutput, context) => {
607
+ const contents = map({});
608
+ const data = parsedOutput.body;
609
+ const doc = take(data, {
610
+ message: __expectString,
611
+ });
612
+ Object.assign(contents, doc);
613
+ const exception = new EKSRequestThrottledException({
614
+ $metadata: deserializeMetadata(parsedOutput),
615
+ ...contents,
616
+ });
617
+ return __decorateServiceException(exception, parsedOutput.body);
618
+ };
602
619
  const de_InternalServerExceptionRes = async (parsedOutput, context) => {
603
620
  const contents = map({});
604
621
  const data = parsedOutput.body;
@@ -840,6 +857,7 @@ const _cA = "createdAfter";
840
857
  const _cB = "createdBefore";
841
858
  const _cPI = "containerProviderId";
842
859
  const _cPT = "containerProviderType";
860
+ const _eAEI = "eksAccessEntryIntegrated";
843
861
  const _mR = "maxResults";
844
862
  const _n = "name";
845
863
  const _nT = "nextToken";
@@ -149,7 +149,7 @@ export interface EMRContainers {
149
149
  * you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS).
150
150
  * 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.
151
151
  * 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
152
- * shared id="EMR-EKS"/></a>.</p>
152
+ * Amazon EMR on EKS</a>.</p>
153
153
  * <p>
154
154
  * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The <code>emr-containers</code> prefix is used in the following
155
155
  * scenarios: </p>
@@ -175,7 +175,7 @@ export interface EMRContainersClientResolvedConfig extends EMRContainersClientRe
175
175
  * you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS).
176
176
  * 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.
177
177
  * 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
178
- * shared id="EMR-EKS"/></a>.</p>
178
+ * Amazon EMR on EKS</a>.</p>
179
179
  * <p>
180
180
  * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The <code>emr-containers</code> prefix is used in the following
181
181
  * scenarios: </p>
@@ -68,6 +68,9 @@ declare const CreateVirtualClusterCommand_base: {
68
68
  * @see {@link CreateVirtualClusterCommandOutput} for command's `response` shape.
69
69
  * @see {@link EMRContainersClientResolvedConfig | config} for EMRContainersClient's `config` shape.
70
70
  *
71
+ * @throws {@link EKSRequestThrottledException} (client fault)
72
+ * <p>The request exceeded the Amazon EKS API operation limits.</p>
73
+ *
71
74
  * @throws {@link InternalServerException} (server fault)
72
75
  * <p>This is an internal server exception.</p>
73
76
  *
@@ -48,6 +48,7 @@ declare const ListVirtualClustersCommand_base: {
48
48
  * ],
49
49
  * maxResults: Number("int"),
50
50
  * nextToken: "STRING_VALUE",
51
+ * eksAccessEntryIntegrated: true || false,
51
52
  * };
52
53
  * const command = new ListVirtualClustersCommand(input);
53
54
  * const response = await client.send(command);
@@ -3,7 +3,7 @@
3
3
  * you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS).
4
4
  * 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.
5
5
  * 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
6
- * shared id="EMR-EKS"/></a>.</p>
6
+ * Amazon EMR on EKS</a>.</p>
7
7
  * <p>
8
8
  * <i>Amazon EMR containers</i> is the API name for Amazon EMR on EKS. The <code>emr-containers</code> prefix is used in the following
9
9
  * scenarios: </p>
@@ -453,6 +453,18 @@ export interface CreateVirtualClusterResponse {
453
453
  */
454
454
  arn?: string;
455
455
  }
456
+ /**
457
+ * <p>The request exceeded the Amazon EKS API operation limits.</p>
458
+ * @public
459
+ */
460
+ export declare class EKSRequestThrottledException extends __BaseException {
461
+ readonly name: "EKSRequestThrottledException";
462
+ readonly $fault: "client";
463
+ /**
464
+ * @internal
465
+ */
466
+ constructor(opts: __ExceptionOptionType<EKSRequestThrottledException, __BaseException>);
467
+ }
456
468
  /**
457
469
  * @public
458
470
  */
@@ -996,6 +1008,13 @@ export interface ListVirtualClustersRequest {
996
1008
  * @public
997
1009
  */
998
1010
  nextToken?: string;
1011
+ /**
1012
+ * <p>Optional Boolean that specifies whether the operation should return the
1013
+ * virtual clusters that have the access entry integration enabled or disabled. If not specified,
1014
+ * the operation returns all applicable virtual clusters.</p>
1015
+ * @public
1016
+ */
1017
+ eksAccessEntryIntegrated?: boolean;
999
1018
  }
1000
1019
  /**
1001
1020
  * @public
@@ -141,6 +141,13 @@ export interface CreateVirtualClusterResponse {
141
141
  name?: string;
142
142
  arn?: string;
143
143
  }
144
+ export declare class EKSRequestThrottledException extends __BaseException {
145
+ readonly name: "EKSRequestThrottledException";
146
+ readonly $fault: "client";
147
+ constructor(
148
+ opts: __ExceptionOptionType<EKSRequestThrottledException, __BaseException>
149
+ );
150
+ }
144
151
  export interface DeleteJobTemplateRequest {
145
152
  id: string | undefined;
146
153
  }
@@ -305,6 +312,7 @@ export interface ListVirtualClustersRequest {
305
312
  states?: VirtualClusterState[];
306
313
  maxResults?: number;
307
314
  nextToken?: string;
315
+ eksAccessEntryIntegrated?: boolean;
308
316
  }
309
317
  export interface ListVirtualClustersResponse {
310
318
  virtualClusters?: VirtualCluster[];
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.540.0",
4
+ "version": "3.552.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-emr-containers",
@@ -20,9 +20,9 @@
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.540.0",
24
- "@aws-sdk/core": "3.535.0",
25
- "@aws-sdk/credential-provider-node": "3.540.0",
23
+ "@aws-sdk/client-sts": "3.552.0",
24
+ "@aws-sdk/core": "3.552.0",
25
+ "@aws-sdk/credential-provider-node": "3.552.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
@@ -33,26 +33,26 @@
33
33
  "@aws-sdk/util-user-agent-browser": "3.535.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.535.0",
35
35
  "@smithy/config-resolver": "^2.2.0",
36
- "@smithy/core": "^1.4.0",
36
+ "@smithy/core": "^1.4.2",
37
37
  "@smithy/fetch-http-handler": "^2.5.0",
38
38
  "@smithy/hash-node": "^2.2.0",
39
39
  "@smithy/invalid-dependency": "^2.2.0",
40
40
  "@smithy/middleware-content-length": "^2.2.0",
41
- "@smithy/middleware-endpoint": "^2.5.0",
42
- "@smithy/middleware-retry": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.1",
42
+ "@smithy/middleware-retry": "^2.3.1",
43
43
  "@smithy/middleware-serde": "^2.3.0",
44
44
  "@smithy/middleware-stack": "^2.2.0",
45
45
  "@smithy/node-config-provider": "^2.3.0",
46
46
  "@smithy/node-http-handler": "^2.5.0",
47
47
  "@smithy/protocol-http": "^3.3.0",
48
- "@smithy/smithy-client": "^2.5.0",
48
+ "@smithy/smithy-client": "^2.5.1",
49
49
  "@smithy/types": "^2.12.0",
50
50
  "@smithy/url-parser": "^2.2.0",
51
51
  "@smithy/util-base64": "^2.3.0",
52
52
  "@smithy/util-body-length-browser": "^2.2.0",
53
53
  "@smithy/util-body-length-node": "^2.3.0",
54
- "@smithy/util-defaults-mode-browser": "^2.2.0",
55
- "@smithy/util-defaults-mode-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.1",
55
+ "@smithy/util-defaults-mode-node": "^2.3.1",
56
56
  "@smithy/util-endpoints": "^1.2.0",
57
57
  "@smithy/util-middleware": "^2.2.0",
58
58
  "@smithy/util-retry": "^2.2.0",