@aws-sdk/client-cleanrooms 3.920.0 → 3.921.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
@@ -4940,6 +4940,14 @@ const ProtectedJobStatus = {
4940
4940
  SUBMITTED: "SUBMITTED",
4941
4941
  SUCCESS: "SUCCESS",
4942
4942
  };
4943
+ exports.WorkerComputeConfigurationProperties = void 0;
4944
+ (function (WorkerComputeConfigurationProperties) {
4945
+ WorkerComputeConfigurationProperties.visit = (value, visitor) => {
4946
+ if (value.spark !== undefined)
4947
+ return visitor.spark(value.spark);
4948
+ return visitor._(value.$unknown[0], value.$unknown[1]);
4949
+ };
4950
+ })(exports.WorkerComputeConfigurationProperties || (exports.WorkerComputeConfigurationProperties = {}));
4943
4951
  const WorkerComputeType = {
4944
4952
  CR1X: "CR.1X",
4945
4953
  CR4X: "CR.4X",
@@ -60,6 +60,14 @@ export const ProtectedJobStatus = {
60
60
  SUBMITTED: "SUBMITTED",
61
61
  SUCCESS: "SUCCESS",
62
62
  };
63
+ export var WorkerComputeConfigurationProperties;
64
+ (function (WorkerComputeConfigurationProperties) {
65
+ WorkerComputeConfigurationProperties.visit = (value, visitor) => {
66
+ if (value.spark !== undefined)
67
+ return visitor.spark(value.spark);
68
+ return visitor._(value.$unknown[0], value.$unknown[1]);
69
+ };
70
+ })(WorkerComputeConfigurationProperties || (WorkerComputeConfigurationProperties = {}));
63
71
  export const WorkerComputeType = {
64
72
  CR1X: "CR.1X",
65
73
  CR4X: "CR.4X",
@@ -131,6 +131,11 @@ declare const GetProtectedQueryCommand_base: {
131
131
  * // worker: { // WorkerComputeConfiguration
132
132
  * // type: "CR.1X" || "CR.4X",
133
133
  * // number: Number("int"),
134
+ * // properties: { // WorkerComputeConfigurationProperties Union: only one key present
135
+ * // spark: { // SparkProperties
136
+ * // "<keys>": "STRING_VALUE",
137
+ * // },
138
+ * // },
134
139
  * // },
135
140
  * // },
136
141
  * // },
@@ -78,6 +78,11 @@ declare const StartProtectedQueryCommand_base: {
78
78
  * worker: { // WorkerComputeConfiguration
79
79
  * type: "CR.1X" || "CR.4X",
80
80
  * number: Number("int"),
81
+ * properties: { // WorkerComputeConfigurationProperties Union: only one key present
82
+ * spark: { // SparkProperties
83
+ * "<keys>": "STRING_VALUE",
84
+ * },
85
+ * },
81
86
  * },
82
87
  * },
83
88
  * };
@@ -172,6 +177,11 @@ declare const StartProtectedQueryCommand_base: {
172
177
  * // worker: { // WorkerComputeConfiguration
173
178
  * // type: "CR.1X" || "CR.4X",
174
179
  * // number: Number("int"),
180
+ * // properties: { // WorkerComputeConfigurationProperties Union: only one key present
181
+ * // spark: { // SparkProperties
182
+ * // "<keys>": "STRING_VALUE",
183
+ * // },
184
+ * // },
175
185
  * // },
176
186
  * // },
177
187
  * // },
@@ -132,6 +132,11 @@ declare const UpdateProtectedQueryCommand_base: {
132
132
  * // worker: { // WorkerComputeConfiguration
133
133
  * // type: "CR.1X" || "CR.4X",
134
134
  * // number: Number("int"),
135
+ * // properties: { // WorkerComputeConfigurationProperties Union: only one key present
136
+ * // spark: { // SparkProperties
137
+ * // "<keys>": "STRING_VALUE",
138
+ * // },
139
+ * // },
135
140
  * // },
136
141
  * // },
137
142
  * // },
@@ -5614,7 +5614,7 @@ export interface ConfiguredTable {
5614
5614
  */
5615
5615
  analysisMethod: AnalysisMethod | undefined;
5616
5616
  /**
5617
- * <p>The columns within the underlying Glue table that can be utilized within collaborations.</p>
5617
+ * <p>The columns within the underlying Glue table that can be used within collaborations.</p>
5618
5618
  * @public
5619
5619
  */
5620
5620
  allowedColumns: string[] | undefined;
@@ -749,6 +749,36 @@ export interface GetProtectedQueryInput {
749
749
  */
750
750
  protectedQueryIdentifier: string | undefined;
751
751
  }
752
+ /**
753
+ * <p>The configuration properties that define the compute environment settings for workers in Clean Rooms. These properties enable customization of the underlying compute environment to optimize performance for your specific workloads.</p>
754
+ * @public
755
+ */
756
+ export type WorkerComputeConfigurationProperties = WorkerComputeConfigurationProperties.SparkMember | WorkerComputeConfigurationProperties.$UnknownMember;
757
+ /**
758
+ * @public
759
+ */
760
+ export declare namespace WorkerComputeConfigurationProperties {
761
+ /**
762
+ * <p>The Spark configuration properties for SQL workloads. This map contains key-value pairs that configure Apache Spark settings to optimize performance for your data processing jobs. You can specify up to 50 Spark properties, with each key being 1-200 characters and each value being 0-500 characters. These properties allow you to adjust compute capacity for large datasets and complex workloads.</p>
763
+ * @public
764
+ */
765
+ interface SparkMember {
766
+ spark: Record<string, string>;
767
+ $unknown?: never;
768
+ }
769
+ /**
770
+ * @public
771
+ */
772
+ interface $UnknownMember {
773
+ spark?: never;
774
+ $unknown: [string, any];
775
+ }
776
+ interface Visitor<T> {
777
+ spark: (value: Record<string, string>) => T;
778
+ _: (name: string, value: any) => T;
779
+ }
780
+ const visit: <T>(value: WorkerComputeConfigurationProperties, visitor: Visitor<T>) => T;
781
+ }
752
782
  /**
753
783
  * @public
754
784
  * @enum
@@ -776,6 +806,11 @@ export interface WorkerComputeConfiguration {
776
806
  * @public
777
807
  */
778
808
  number?: number | undefined;
809
+ /**
810
+ * <p>The configuration properties for the worker compute environment. These properties allow you to customize the compute settings for your Clean Rooms workloads.</p>
811
+ * @public
812
+ */
813
+ properties?: WorkerComputeConfigurationProperties | undefined;
779
814
  }
780
815
  /**
781
816
  * <p> The configuration of the compute resources for an analysis with the Spark analytics engine.</p>
@@ -287,6 +287,27 @@ export interface GetProtectedQueryInput {
287
287
  membershipIdentifier: string | undefined;
288
288
  protectedQueryIdentifier: string | undefined;
289
289
  }
290
+ export type WorkerComputeConfigurationProperties =
291
+ | WorkerComputeConfigurationProperties.SparkMember
292
+ | WorkerComputeConfigurationProperties.$UnknownMember;
293
+ export declare namespace WorkerComputeConfigurationProperties {
294
+ interface SparkMember {
295
+ spark: Record<string, string>;
296
+ $unknown?: never;
297
+ }
298
+ interface $UnknownMember {
299
+ spark?: never;
300
+ $unknown: [string, any];
301
+ }
302
+ interface Visitor<T> {
303
+ spark: (value: Record<string, string>) => T;
304
+ _: (name: string, value: any) => T;
305
+ }
306
+ const visit: <T>(
307
+ value: WorkerComputeConfigurationProperties,
308
+ visitor: Visitor<T>
309
+ ) => T;
310
+ }
290
311
  export declare const WorkerComputeType: {
291
312
  readonly CR1X: "CR.1X";
292
313
  readonly CR4X: "CR.4X";
@@ -296,6 +317,7 @@ export type WorkerComputeType =
296
317
  export interface WorkerComputeConfiguration {
297
318
  type?: WorkerComputeType | undefined;
298
319
  number?: number | undefined;
320
+ properties?: WorkerComputeConfigurationProperties | undefined;
299
321
  }
300
322
  export type ComputeConfiguration =
301
323
  | ComputeConfiguration.WorkerMember
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cleanrooms",
3
3
  "description": "AWS SDK for JavaScript Cleanrooms Client for Node.js, Browser and React Native",
4
- "version": "3.920.0",
4
+ "version": "3.921.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-cleanrooms",
@@ -20,41 +20,41 @@
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.920.0",
24
- "@aws-sdk/credential-provider-node": "3.920.0",
25
- "@aws-sdk/middleware-host-header": "3.920.0",
26
- "@aws-sdk/middleware-logger": "3.920.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.920.0",
28
- "@aws-sdk/middleware-user-agent": "3.920.0",
29
- "@aws-sdk/region-config-resolver": "3.920.0",
30
- "@aws-sdk/types": "3.920.0",
31
- "@aws-sdk/util-endpoints": "3.920.0",
32
- "@aws-sdk/util-user-agent-browser": "3.920.0",
33
- "@aws-sdk/util-user-agent-node": "3.920.0",
34
- "@smithy/config-resolver": "^4.4.0",
35
- "@smithy/core": "^3.17.1",
36
- "@smithy/fetch-http-handler": "^5.3.4",
37
- "@smithy/hash-node": "^4.2.3",
38
- "@smithy/invalid-dependency": "^4.2.3",
39
- "@smithy/middleware-content-length": "^4.2.3",
40
- "@smithy/middleware-endpoint": "^4.3.5",
41
- "@smithy/middleware-retry": "^4.4.5",
42
- "@smithy/middleware-serde": "^4.2.3",
43
- "@smithy/middleware-stack": "^4.2.3",
44
- "@smithy/node-config-provider": "^4.3.3",
45
- "@smithy/node-http-handler": "^4.4.3",
46
- "@smithy/protocol-http": "^5.3.3",
47
- "@smithy/smithy-client": "^4.9.1",
48
- "@smithy/types": "^4.8.0",
49
- "@smithy/url-parser": "^4.2.3",
23
+ "@aws-sdk/core": "3.921.0",
24
+ "@aws-sdk/credential-provider-node": "3.921.0",
25
+ "@aws-sdk/middleware-host-header": "3.921.0",
26
+ "@aws-sdk/middleware-logger": "3.921.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.921.0",
28
+ "@aws-sdk/middleware-user-agent": "3.921.0",
29
+ "@aws-sdk/region-config-resolver": "3.921.0",
30
+ "@aws-sdk/types": "3.921.0",
31
+ "@aws-sdk/util-endpoints": "3.921.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.921.0",
33
+ "@aws-sdk/util-user-agent-node": "3.921.0",
34
+ "@smithy/config-resolver": "^4.4.1",
35
+ "@smithy/core": "^3.17.2",
36
+ "@smithy/fetch-http-handler": "^5.3.5",
37
+ "@smithy/hash-node": "^4.2.4",
38
+ "@smithy/invalid-dependency": "^4.2.4",
39
+ "@smithy/middleware-content-length": "^4.2.4",
40
+ "@smithy/middleware-endpoint": "^4.3.6",
41
+ "@smithy/middleware-retry": "^4.4.6",
42
+ "@smithy/middleware-serde": "^4.2.4",
43
+ "@smithy/middleware-stack": "^4.2.4",
44
+ "@smithy/node-config-provider": "^4.3.4",
45
+ "@smithy/node-http-handler": "^4.4.4",
46
+ "@smithy/protocol-http": "^5.3.4",
47
+ "@smithy/smithy-client": "^4.9.2",
48
+ "@smithy/types": "^4.8.1",
49
+ "@smithy/url-parser": "^4.2.4",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.4",
54
- "@smithy/util-defaults-mode-node": "^4.2.6",
55
- "@smithy/util-endpoints": "^3.2.3",
56
- "@smithy/util-middleware": "^4.2.3",
57
- "@smithy/util-retry": "^4.2.3",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.5",
54
+ "@smithy/util-defaults-mode-node": "^4.2.7",
55
+ "@smithy/util-endpoints": "^3.2.4",
56
+ "@smithy/util-middleware": "^4.2.4",
57
+ "@smithy/util-retry": "^4.2.4",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },