@aws-sdk/client-emr-containers 3.886.0 → 3.888.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -588,6 +588,7 @@ var se_CreateSecurityConfigurationCommand = /* @__PURE__ */ __name(async (input,
588
588
  body = JSON.stringify(
589
589
  (0, import_smithy_client.take)(input, {
590
590
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
591
+ containerProvider: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "containerProvider"),
591
592
  name: [],
592
593
  securityConfigurationData: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "securityConfigurationData"),
593
594
  tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
@@ -61,6 +61,7 @@ export const se_CreateSecurityConfigurationCommand = async (input, context) => {
61
61
  let body;
62
62
  body = JSON.stringify(take(input, {
63
63
  clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
64
+ containerProvider: (_) => _json(_),
64
65
  name: [],
65
66
  securityConfigurationData: (_) => _json(_),
66
67
  tags: (_) => _json(_),
@@ -40,6 +40,16 @@ declare const CreateSecurityConfigurationCommand_base: {
40
40
  * const input = { // CreateSecurityConfigurationRequest
41
41
  * clientToken: "STRING_VALUE", // required
42
42
  * name: "STRING_VALUE", // required
43
+ * containerProvider: { // ContainerProvider
44
+ * type: "EKS", // required
45
+ * id: "STRING_VALUE", // required
46
+ * info: { // ContainerInfo Union: only one key present
47
+ * eksInfo: { // EksInfo
48
+ * namespace: "STRING_VALUE",
49
+ * nodeLabel: "STRING_VALUE",
50
+ * },
51
+ * },
52
+ * },
43
53
  * securityConfigurationData: { // SecurityConfigurationData
44
54
  * authorizationConfiguration: { // AuthorizationConfiguration
45
55
  * lakeFormationConfiguration: { // LakeFormationConfiguration
@@ -45,6 +45,7 @@ declare const CreateVirtualClusterCommand_base: {
45
45
  * info: { // ContainerInfo Union: only one key present
46
46
  * eksInfo: { // EksInfo
47
47
  * namespace: "STRING_VALUE",
48
+ * nodeLabel: "STRING_VALUE",
48
49
  * },
49
50
  * },
50
51
  * },
@@ -56,6 +56,7 @@ declare const DescribeVirtualClusterCommand_base: {
56
56
  * // info: { // ContainerInfo Union: only one key present
57
57
  * // eksInfo: { // EksInfo
58
58
  * // namespace: "STRING_VALUE",
59
+ * // nodeLabel: "STRING_VALUE",
59
60
  * // },
60
61
  * // },
61
62
  * // },
@@ -66,6 +66,7 @@ declare const ListVirtualClustersCommand_base: {
66
66
  * // info: { // ContainerInfo Union: only one key present
67
67
  * // eksInfo: { // EksInfo
68
68
  * // namespace: "STRING_VALUE",
69
+ * // nodeLabel: "STRING_VALUE",
69
70
  * // },
70
71
  * // },
71
72
  * // },
@@ -481,62 +481,6 @@ export interface CreateManagedEndpointResponse {
481
481
  */
482
482
  virtualClusterId?: string | undefined;
483
483
  }
484
- /**
485
- * <p>Configurations related to the security configuration for the request.</p>
486
- * @public
487
- */
488
- export interface SecurityConfigurationData {
489
- /**
490
- * <p>Authorization-related configuration input for the security configuration.</p>
491
- * @public
492
- */
493
- authorizationConfiguration?: AuthorizationConfiguration | undefined;
494
- }
495
- /**
496
- * @public
497
- */
498
- export interface CreateSecurityConfigurationRequest {
499
- /**
500
- * <p>The client idempotency token to use when creating the security configuration.</p>
501
- * @public
502
- */
503
- clientToken?: string | undefined;
504
- /**
505
- * <p>The name of the security configuration.</p>
506
- * @public
507
- */
508
- name: string | undefined;
509
- /**
510
- * <p>Security configuration input for the request.</p>
511
- * @public
512
- */
513
- securityConfigurationData: SecurityConfigurationData | undefined;
514
- /**
515
- * <p>The tags to add to the security configuration.</p>
516
- * @public
517
- */
518
- tags?: Record<string, string> | undefined;
519
- }
520
- /**
521
- * @public
522
- */
523
- export interface CreateSecurityConfigurationResponse {
524
- /**
525
- * <p>The ID of the security configuration.</p>
526
- * @public
527
- */
528
- id?: string | undefined;
529
- /**
530
- * <p>The name of the security configuration.</p>
531
- * @public
532
- */
533
- name?: string | undefined;
534
- /**
535
- * <p>The ARN (Amazon Resource Name) of the security configuration.</p>
536
- * @public
537
- */
538
- arn?: string | undefined;
539
- }
540
484
  /**
541
485
  * <p>The information about the Amazon EKS cluster.</p>
542
486
  * @public
@@ -547,6 +491,11 @@ export interface EksInfo {
547
491
  * @public
548
492
  */
549
493
  namespace?: string | undefined;
494
+ /**
495
+ * <p>The nodeLabel of the nodes where the resources of this virtual cluster can get scheduled. It requires relevant scaling and policy engine addons.</p>
496
+ * @public
497
+ */
498
+ nodeLabel?: string | undefined;
550
499
  }
551
500
  /**
552
501
  * <p>The information about the container used for a job run or a managed endpoint.</p>
@@ -611,6 +560,67 @@ export interface ContainerProvider {
611
560
  */
612
561
  info?: ContainerInfo | undefined;
613
562
  }
563
+ /**
564
+ * <p>Configurations related to the security configuration for the request.</p>
565
+ * @public
566
+ */
567
+ export interface SecurityConfigurationData {
568
+ /**
569
+ * <p>Authorization-related configuration input for the security configuration.</p>
570
+ * @public
571
+ */
572
+ authorizationConfiguration?: AuthorizationConfiguration | undefined;
573
+ }
574
+ /**
575
+ * @public
576
+ */
577
+ export interface CreateSecurityConfigurationRequest {
578
+ /**
579
+ * <p>The client idempotency token to use when creating the security configuration.</p>
580
+ * @public
581
+ */
582
+ clientToken?: string | undefined;
583
+ /**
584
+ * <p>The name of the security configuration.</p>
585
+ * @public
586
+ */
587
+ name: string | undefined;
588
+ /**
589
+ * <p>The container provider associated with the security configuration.</p>
590
+ * @public
591
+ */
592
+ containerProvider?: ContainerProvider | undefined;
593
+ /**
594
+ * <p>Security configuration input for the request.</p>
595
+ * @public
596
+ */
597
+ securityConfigurationData: SecurityConfigurationData | undefined;
598
+ /**
599
+ * <p>The tags to add to the security configuration.</p>
600
+ * @public
601
+ */
602
+ tags?: Record<string, string> | undefined;
603
+ }
604
+ /**
605
+ * @public
606
+ */
607
+ export interface CreateSecurityConfigurationResponse {
608
+ /**
609
+ * <p>The ID of the security configuration.</p>
610
+ * @public
611
+ */
612
+ id?: string | undefined;
613
+ /**
614
+ * <p>The name of the security configuration.</p>
615
+ * @public
616
+ */
617
+ name?: string | undefined;
618
+ /**
619
+ * <p>The ARN (Amazon Resource Name) of the security configuration.</p>
620
+ * @public
621
+ */
622
+ arn?: string | undefined;
623
+ }
614
624
  /**
615
625
  * @public
616
626
  */
@@ -147,22 +147,9 @@ export interface CreateManagedEndpointResponse {
147
147
  arn?: string | undefined;
148
148
  virtualClusterId?: string | undefined;
149
149
  }
150
- export interface SecurityConfigurationData {
151
- authorizationConfiguration?: AuthorizationConfiguration | undefined;
152
- }
153
- export interface CreateSecurityConfigurationRequest {
154
- clientToken?: string | undefined;
155
- name: string | undefined;
156
- securityConfigurationData: SecurityConfigurationData | undefined;
157
- tags?: Record<string, string> | undefined;
158
- }
159
- export interface CreateSecurityConfigurationResponse {
160
- id?: string | undefined;
161
- name?: string | undefined;
162
- arn?: string | undefined;
163
- }
164
150
  export interface EksInfo {
165
151
  namespace?: string | undefined;
152
+ nodeLabel?: string | undefined;
166
153
  }
167
154
  export type ContainerInfo =
168
155
  | ContainerInfo.EksInfoMember
@@ -192,6 +179,21 @@ export interface ContainerProvider {
192
179
  id: string | undefined;
193
180
  info?: ContainerInfo | undefined;
194
181
  }
182
+ export interface SecurityConfigurationData {
183
+ authorizationConfiguration?: AuthorizationConfiguration | undefined;
184
+ }
185
+ export interface CreateSecurityConfigurationRequest {
186
+ clientToken?: string | undefined;
187
+ name: string | undefined;
188
+ containerProvider?: ContainerProvider | undefined;
189
+ securityConfigurationData: SecurityConfigurationData | undefined;
190
+ tags?: Record<string, string> | undefined;
191
+ }
192
+ export interface CreateSecurityConfigurationResponse {
193
+ id?: string | undefined;
194
+ name?: string | undefined;
195
+ arn?: string | undefined;
196
+ }
195
197
  export interface CreateVirtualClusterRequest {
196
198
  name: string | undefined;
197
199
  containerProvider: ContainerProvider | undefined;
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.886.0",
4
+ "version": "3.888.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,42 +20,42 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.883.0",
24
- "@aws-sdk/credential-provider-node": "3.886.0",
25
- "@aws-sdk/middleware-host-header": "3.873.0",
26
- "@aws-sdk/middleware-logger": "3.876.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.886.0",
28
- "@aws-sdk/middleware-user-agent": "3.883.0",
29
- "@aws-sdk/region-config-resolver": "3.873.0",
30
- "@aws-sdk/types": "3.862.0",
31
- "@aws-sdk/util-endpoints": "3.879.0",
32
- "@aws-sdk/util-user-agent-browser": "3.873.0",
33
- "@aws-sdk/util-user-agent-node": "3.883.0",
34
- "@smithy/config-resolver": "^4.1.5",
35
- "@smithy/core": "^3.9.2",
36
- "@smithy/fetch-http-handler": "^5.1.1",
37
- "@smithy/hash-node": "^4.0.5",
38
- "@smithy/invalid-dependency": "^4.0.5",
39
- "@smithy/middleware-content-length": "^4.0.5",
40
- "@smithy/middleware-endpoint": "^4.1.21",
41
- "@smithy/middleware-retry": "^4.1.22",
42
- "@smithy/middleware-serde": "^4.0.9",
43
- "@smithy/middleware-stack": "^4.0.5",
44
- "@smithy/node-config-provider": "^4.1.4",
45
- "@smithy/node-http-handler": "^4.1.1",
46
- "@smithy/protocol-http": "^5.1.3",
47
- "@smithy/smithy-client": "^4.5.2",
48
- "@smithy/types": "^4.3.2",
49
- "@smithy/url-parser": "^4.0.5",
50
- "@smithy/util-base64": "^4.0.0",
51
- "@smithy/util-body-length-browser": "^4.0.0",
52
- "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.29",
54
- "@smithy/util-defaults-mode-node": "^4.0.29",
55
- "@smithy/util-endpoints": "^3.0.7",
56
- "@smithy/util-middleware": "^4.0.5",
57
- "@smithy/util-retry": "^4.0.7",
58
- "@smithy/util-utf8": "^4.0.0",
23
+ "@aws-sdk/core": "3.888.0",
24
+ "@aws-sdk/credential-provider-node": "3.888.0",
25
+ "@aws-sdk/middleware-host-header": "3.887.0",
26
+ "@aws-sdk/middleware-logger": "3.887.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.887.0",
28
+ "@aws-sdk/middleware-user-agent": "3.888.0",
29
+ "@aws-sdk/region-config-resolver": "3.887.0",
30
+ "@aws-sdk/types": "3.887.0",
31
+ "@aws-sdk/util-endpoints": "3.887.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.887.0",
33
+ "@aws-sdk/util-user-agent-node": "3.888.0",
34
+ "@smithy/config-resolver": "^4.2.1",
35
+ "@smithy/core": "^3.11.0",
36
+ "@smithy/fetch-http-handler": "^5.2.1",
37
+ "@smithy/hash-node": "^4.1.1",
38
+ "@smithy/invalid-dependency": "^4.1.1",
39
+ "@smithy/middleware-content-length": "^4.1.1",
40
+ "@smithy/middleware-endpoint": "^4.2.1",
41
+ "@smithy/middleware-retry": "^4.2.1",
42
+ "@smithy/middleware-serde": "^4.1.1",
43
+ "@smithy/middleware-stack": "^4.1.1",
44
+ "@smithy/node-config-provider": "^4.2.1",
45
+ "@smithy/node-http-handler": "^4.2.1",
46
+ "@smithy/protocol-http": "^5.2.1",
47
+ "@smithy/smithy-client": "^4.6.1",
48
+ "@smithy/types": "^4.5.0",
49
+ "@smithy/url-parser": "^4.1.1",
50
+ "@smithy/util-base64": "^4.1.0",
51
+ "@smithy/util-body-length-browser": "^4.1.0",
52
+ "@smithy/util-body-length-node": "^4.1.0",
53
+ "@smithy/util-defaults-mode-browser": "^4.1.1",
54
+ "@smithy/util-defaults-mode-node": "^4.1.1",
55
+ "@smithy/util-endpoints": "^3.1.1",
56
+ "@smithy/util-middleware": "^4.1.1",
57
+ "@smithy/util-retry": "^4.1.1",
58
+ "@smithy/util-utf8": "^4.1.0",
59
59
  "@types/uuid": "^9.0.1",
60
60
  "tslib": "^2.6.2",
61
61
  "uuid": "^9.0.1"