@aws-sdk/client-cleanrooms 3.881.0 → 3.882.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 +17 -0
- package/dist-es/models/models_1.js +12 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/GetProtectedJobCommand.d.ts +6 -0
- package/dist-types/commands/StartProtectedJobCommand.d.ts +12 -0
- package/dist-types/commands/UpdateProtectedJobCommand.d.ts +6 -0
- package/dist-types/models/models_1.d.ts +69 -1
- package/dist-types/ts3.4/models/models_1.d.ts +33 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -164,12 +164,14 @@ __export(index_exports, {
|
|
|
164
164
|
PrivacyBudgetType: () => PrivacyBudgetType,
|
|
165
165
|
PrivacyImpact: () => PrivacyImpact,
|
|
166
166
|
ProtectedJobAnalysisType: () => ProtectedJobAnalysisType,
|
|
167
|
+
ProtectedJobComputeConfiguration: () => ProtectedJobComputeConfiguration,
|
|
167
168
|
ProtectedJobConfigurationDetails: () => ProtectedJobConfigurationDetails,
|
|
168
169
|
ProtectedJobOutput: () => ProtectedJobOutput,
|
|
169
170
|
ProtectedJobOutputConfigurationInput: () => ProtectedJobOutputConfigurationInput,
|
|
170
171
|
ProtectedJobOutputConfigurationOutput: () => ProtectedJobOutputConfigurationOutput,
|
|
171
172
|
ProtectedJobStatus: () => ProtectedJobStatus,
|
|
172
173
|
ProtectedJobType: () => ProtectedJobType,
|
|
174
|
+
ProtectedJobWorkerComputeType: () => ProtectedJobWorkerComputeType,
|
|
173
175
|
ProtectedQueryDistributeOutputConfigurationLocation: () => ProtectedQueryDistributeOutputConfigurationLocation,
|
|
174
176
|
ProtectedQueryFilterSensitiveLog: () => ProtectedQueryFilterSensitiveLog,
|
|
175
177
|
ProtectedQueryOutput: () => ProtectedQueryOutput,
|
|
@@ -2039,6 +2041,7 @@ var se_StartProtectedJobCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
2039
2041
|
let body;
|
|
2040
2042
|
body = JSON.stringify(
|
|
2041
2043
|
(0, import_smithy_client.take)(input, {
|
|
2044
|
+
computeConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "computeConfiguration"),
|
|
2042
2045
|
jobParameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "jobParameters"),
|
|
2043
2046
|
resultConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "resultConfiguration"),
|
|
2044
2047
|
type: []
|
|
@@ -4337,6 +4340,7 @@ var de_PrivacyBudgetTemplateSummaryList = /* @__PURE__ */ __name((output, contex
|
|
|
4337
4340
|
}, "de_PrivacyBudgetTemplateSummaryList");
|
|
4338
4341
|
var de_ProtectedJob = /* @__PURE__ */ __name((output, context) => {
|
|
4339
4342
|
return (0, import_smithy_client.take)(output, {
|
|
4343
|
+
computeConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "computeConfiguration"),
|
|
4340
4344
|
createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createTime"),
|
|
4341
4345
|
error: import_smithy_client._json,
|
|
4342
4346
|
id: import_smithy_client.expectString,
|
|
@@ -5146,6 +5150,17 @@ var MembershipStatus = {
|
|
|
5146
5150
|
COLLABORATION_DELETED: "COLLABORATION_DELETED",
|
|
5147
5151
|
REMOVED: "REMOVED"
|
|
5148
5152
|
};
|
|
5153
|
+
var ProtectedJobWorkerComputeType = {
|
|
5154
|
+
CR1X: "CR.1X",
|
|
5155
|
+
CR4X: "CR.4X"
|
|
5156
|
+
};
|
|
5157
|
+
var ProtectedJobComputeConfiguration;
|
|
5158
|
+
((ProtectedJobComputeConfiguration2) => {
|
|
5159
|
+
ProtectedJobComputeConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
5160
|
+
if (value.worker !== void 0) return visitor.worker(value.worker);
|
|
5161
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
5162
|
+
}, "visit");
|
|
5163
|
+
})(ProtectedJobComputeConfiguration || (ProtectedJobComputeConfiguration = {}));
|
|
5149
5164
|
var ProtectedJobOutput;
|
|
5150
5165
|
((ProtectedJobOutput2) => {
|
|
5151
5166
|
ProtectedJobOutput2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -6330,6 +6345,8 @@ var paginateListSchemas = (0, import_core.createPaginator)(CleanRoomsClient, Lis
|
|
|
6330
6345
|
BatchGetCollaborationAnalysisTemplateOutputFilterSensitiveLog,
|
|
6331
6346
|
GetCollaborationAnalysisTemplateOutputFilterSensitiveLog,
|
|
6332
6347
|
MembershipStatus,
|
|
6348
|
+
ProtectedJobWorkerComputeType,
|
|
6349
|
+
ProtectedJobComputeConfiguration,
|
|
6333
6350
|
ProtectedJobOutput,
|
|
6334
6351
|
ProtectedJobOutputConfigurationOutput,
|
|
6335
6352
|
ProtectedJobStatus,
|
|
@@ -4,6 +4,18 @@ export const MembershipStatus = {
|
|
|
4
4
|
COLLABORATION_DELETED: "COLLABORATION_DELETED",
|
|
5
5
|
REMOVED: "REMOVED",
|
|
6
6
|
};
|
|
7
|
+
export const ProtectedJobWorkerComputeType = {
|
|
8
|
+
CR1X: "CR.1X",
|
|
9
|
+
CR4X: "CR.4X",
|
|
10
|
+
};
|
|
11
|
+
export var ProtectedJobComputeConfiguration;
|
|
12
|
+
(function (ProtectedJobComputeConfiguration) {
|
|
13
|
+
ProtectedJobComputeConfiguration.visit = (value, visitor) => {
|
|
14
|
+
if (value.worker !== undefined)
|
|
15
|
+
return visitor.worker(value.worker);
|
|
16
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
17
|
+
};
|
|
18
|
+
})(ProtectedJobComputeConfiguration || (ProtectedJobComputeConfiguration = {}));
|
|
7
19
|
export var ProtectedJobOutput;
|
|
8
20
|
(function (ProtectedJobOutput) {
|
|
9
21
|
ProtectedJobOutput.visit = (value, visitor) => {
|
|
@@ -887,6 +887,7 @@ export const se_StartProtectedJobCommand = async (input, context) => {
|
|
|
887
887
|
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
888
888
|
let body;
|
|
889
889
|
body = JSON.stringify(take(input, {
|
|
890
|
+
computeConfiguration: (_) => _json(_),
|
|
890
891
|
jobParameters: (_) => _json(_),
|
|
891
892
|
resultConfiguration: (_) => _json(_),
|
|
892
893
|
type: [],
|
|
@@ -3165,6 +3166,7 @@ const de_PrivacyBudgetTemplateSummaryList = (output, context) => {
|
|
|
3165
3166
|
};
|
|
3166
3167
|
const de_ProtectedJob = (output, context) => {
|
|
3167
3168
|
return take(output, {
|
|
3169
|
+
computeConfiguration: (_) => _json(__expectUnion(_)),
|
|
3168
3170
|
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3169
3171
|
error: _json,
|
|
3170
3172
|
id: __expectString,
|
|
@@ -83,6 +83,12 @@ declare const GetProtectedJobCommand_base: {
|
|
|
83
83
|
* // message: "STRING_VALUE", // required
|
|
84
84
|
* // code: "STRING_VALUE", // required
|
|
85
85
|
* // },
|
|
86
|
+
* // computeConfiguration: { // ProtectedJobComputeConfiguration Union: only one key present
|
|
87
|
+
* // worker: { // ProtectedJobWorkerComputeConfiguration
|
|
88
|
+
* // type: "CR.1X" || "CR.4X", // required
|
|
89
|
+
* // number: Number("int"), // required
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
86
92
|
* // },
|
|
87
93
|
* // };
|
|
88
94
|
*
|
|
@@ -47,6 +47,12 @@ declare const StartProtectedJobCommand_base: {
|
|
|
47
47
|
* },
|
|
48
48
|
* },
|
|
49
49
|
* },
|
|
50
|
+
* computeConfiguration: { // ProtectedJobComputeConfiguration Union: only one key present
|
|
51
|
+
* worker: { // ProtectedJobWorkerComputeConfiguration
|
|
52
|
+
* type: "CR.1X" || "CR.4X", // required
|
|
53
|
+
* number: Number("int"), // required
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
50
56
|
* };
|
|
51
57
|
* const command = new StartProtectedJobCommand(input);
|
|
52
58
|
* const response = await client.send(command);
|
|
@@ -93,6 +99,12 @@ declare const StartProtectedJobCommand_base: {
|
|
|
93
99
|
* // message: "STRING_VALUE", // required
|
|
94
100
|
* // code: "STRING_VALUE", // required
|
|
95
101
|
* // },
|
|
102
|
+
* // computeConfiguration: { // ProtectedJobComputeConfiguration Union: only one key present
|
|
103
|
+
* // worker: { // ProtectedJobWorkerComputeConfiguration
|
|
104
|
+
* // type: "CR.1X" || "CR.4X", // required
|
|
105
|
+
* // number: Number("int"), // required
|
|
106
|
+
* // },
|
|
107
|
+
* // },
|
|
96
108
|
* // },
|
|
97
109
|
* // };
|
|
98
110
|
*
|
|
@@ -84,6 +84,12 @@ declare const UpdateProtectedJobCommand_base: {
|
|
|
84
84
|
* // message: "STRING_VALUE", // required
|
|
85
85
|
* // code: "STRING_VALUE", // required
|
|
86
86
|
* // },
|
|
87
|
+
* // computeConfiguration: { // ProtectedJobComputeConfiguration Union: only one key present
|
|
88
|
+
* // worker: { // ProtectedJobWorkerComputeConfiguration
|
|
89
|
+
* // type: "CR.1X" || "CR.4X", // required
|
|
90
|
+
* // number: Number("int"), // required
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
87
93
|
* // },
|
|
88
94
|
* // };
|
|
89
95
|
*
|
|
@@ -203,6 +203,64 @@ export interface GetProtectedJobInput {
|
|
|
203
203
|
*/
|
|
204
204
|
protectedJobIdentifier: string | undefined;
|
|
205
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
* @enum
|
|
209
|
+
*/
|
|
210
|
+
export declare const ProtectedJobWorkerComputeType: {
|
|
211
|
+
readonly CR1X: "CR.1X";
|
|
212
|
+
readonly CR4X: "CR.4X";
|
|
213
|
+
};
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
export type ProtectedJobWorkerComputeType = (typeof ProtectedJobWorkerComputeType)[keyof typeof ProtectedJobWorkerComputeType];
|
|
218
|
+
/**
|
|
219
|
+
* <p>The configuration of the compute resources for a PySpark job.</p>
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
export interface ProtectedJobWorkerComputeConfiguration {
|
|
223
|
+
/**
|
|
224
|
+
* <p>The worker compute configuration type.</p>
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
type: ProtectedJobWorkerComputeType | undefined;
|
|
228
|
+
/**
|
|
229
|
+
* <p>The number of workers for a PySpark job.</p>
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
number: number | undefined;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* <p>The configuration of the compute resources for a PySpark job.</p>
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
export type ProtectedJobComputeConfiguration = ProtectedJobComputeConfiguration.WorkerMember | ProtectedJobComputeConfiguration.$UnknownMember;
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
*/
|
|
242
|
+
export declare namespace ProtectedJobComputeConfiguration {
|
|
243
|
+
/**
|
|
244
|
+
* <p>The worker configuration for the compute environment.</p>
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
interface WorkerMember {
|
|
248
|
+
worker: ProtectedJobWorkerComputeConfiguration;
|
|
249
|
+
$unknown?: never;
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
interface $UnknownMember {
|
|
255
|
+
worker?: never;
|
|
256
|
+
$unknown: [string, any];
|
|
257
|
+
}
|
|
258
|
+
interface Visitor<T> {
|
|
259
|
+
worker: (value: ProtectedJobWorkerComputeConfiguration) => T;
|
|
260
|
+
_: (name: string, value: any) => T;
|
|
261
|
+
}
|
|
262
|
+
const visit: <T>(value: ProtectedJobComputeConfiguration, visitor: Visitor<T>) => T;
|
|
263
|
+
}
|
|
206
264
|
/**
|
|
207
265
|
* <p>The protected job error.</p>
|
|
208
266
|
* @public
|
|
@@ -483,6 +541,11 @@ export interface ProtectedJob {
|
|
|
483
541
|
* @public
|
|
484
542
|
*/
|
|
485
543
|
error?: ProtectedJobError | undefined;
|
|
544
|
+
/**
|
|
545
|
+
* <p>The compute configuration for the protected job.</p>
|
|
546
|
+
* @public
|
|
547
|
+
*/
|
|
548
|
+
computeConfiguration?: ProtectedJobComputeConfiguration | undefined;
|
|
486
549
|
}
|
|
487
550
|
/**
|
|
488
551
|
* @public
|
|
@@ -532,7 +595,7 @@ export interface WorkerComputeConfiguration {
|
|
|
532
595
|
*/
|
|
533
596
|
type?: WorkerComputeType | undefined;
|
|
534
597
|
/**
|
|
535
|
-
* <p> The number of workers.</p>
|
|
598
|
+
* <p> The number of workers.</p> <p>SQL queries support a minimum value of 2 and a maximum value of 400. </p> <p>PySpark jobs support a minimum value of 4 and a maximum value of 128.</p>
|
|
536
599
|
* @public
|
|
537
600
|
*/
|
|
538
601
|
number?: number | undefined;
|
|
@@ -1701,6 +1764,11 @@ export interface StartProtectedJobInput {
|
|
|
1701
1764
|
* @public
|
|
1702
1765
|
*/
|
|
1703
1766
|
resultConfiguration?: ProtectedJobResultConfigurationInput | undefined;
|
|
1767
|
+
/**
|
|
1768
|
+
* <p>The compute configuration for the protected job.</p>
|
|
1769
|
+
* @public
|
|
1770
|
+
*/
|
|
1771
|
+
computeConfiguration?: ProtectedJobComputeConfiguration | undefined;
|
|
1704
1772
|
}
|
|
1705
1773
|
/**
|
|
1706
1774
|
* @public
|
|
@@ -74,6 +74,37 @@ export interface GetProtectedJobInput {
|
|
|
74
74
|
membershipIdentifier: string | undefined;
|
|
75
75
|
protectedJobIdentifier: string | undefined;
|
|
76
76
|
}
|
|
77
|
+
export declare const ProtectedJobWorkerComputeType: {
|
|
78
|
+
readonly CR1X: "CR.1X";
|
|
79
|
+
readonly CR4X: "CR.4X";
|
|
80
|
+
};
|
|
81
|
+
export type ProtectedJobWorkerComputeType =
|
|
82
|
+
(typeof ProtectedJobWorkerComputeType)[keyof typeof ProtectedJobWorkerComputeType];
|
|
83
|
+
export interface ProtectedJobWorkerComputeConfiguration {
|
|
84
|
+
type: ProtectedJobWorkerComputeType | undefined;
|
|
85
|
+
number: number | undefined;
|
|
86
|
+
}
|
|
87
|
+
export type ProtectedJobComputeConfiguration =
|
|
88
|
+
| ProtectedJobComputeConfiguration.WorkerMember
|
|
89
|
+
| ProtectedJobComputeConfiguration.$UnknownMember;
|
|
90
|
+
export declare namespace ProtectedJobComputeConfiguration {
|
|
91
|
+
interface WorkerMember {
|
|
92
|
+
worker: ProtectedJobWorkerComputeConfiguration;
|
|
93
|
+
$unknown?: never;
|
|
94
|
+
}
|
|
95
|
+
interface $UnknownMember {
|
|
96
|
+
worker?: never;
|
|
97
|
+
$unknown: [string, any];
|
|
98
|
+
}
|
|
99
|
+
interface Visitor<T> {
|
|
100
|
+
worker: (value: ProtectedJobWorkerComputeConfiguration) => T;
|
|
101
|
+
_: (name: string, value: any) => T;
|
|
102
|
+
}
|
|
103
|
+
const visit: <T>(
|
|
104
|
+
value: ProtectedJobComputeConfiguration,
|
|
105
|
+
visitor: Visitor<T>
|
|
106
|
+
) => T;
|
|
107
|
+
}
|
|
77
108
|
export interface ProtectedJobError {
|
|
78
109
|
message: string | undefined;
|
|
79
110
|
code: string | undefined;
|
|
@@ -185,6 +216,7 @@ export interface ProtectedJob {
|
|
|
185
216
|
statistics?: ProtectedJobStatistics | undefined;
|
|
186
217
|
result?: ProtectedJobResult | undefined;
|
|
187
218
|
error?: ProtectedJobError | undefined;
|
|
219
|
+
computeConfiguration?: ProtectedJobComputeConfiguration | undefined;
|
|
188
220
|
}
|
|
189
221
|
export interface GetProtectedJobOutput {
|
|
190
222
|
protectedJob: ProtectedJob | undefined;
|
|
@@ -647,6 +679,7 @@ export interface StartProtectedJobInput {
|
|
|
647
679
|
membershipIdentifier: string | undefined;
|
|
648
680
|
jobParameters: ProtectedJobParameters | undefined;
|
|
649
681
|
resultConfiguration?: ProtectedJobResultConfigurationInput | undefined;
|
|
682
|
+
computeConfiguration?: ProtectedJobComputeConfiguration | undefined;
|
|
650
683
|
}
|
|
651
684
|
export interface StartProtectedJobOutput {
|
|
652
685
|
protectedJob: ProtectedJob | undefined;
|
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.
|
|
4
|
+
"version": "3.882.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,38 +20,38 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.882.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.882.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.873.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.876.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.873.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.882.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.873.0",
|
|
30
30
|
"@aws-sdk/types": "3.862.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.879.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.873.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.882.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.5",
|
|
35
|
-
"@smithy/core": "^3.9.
|
|
35
|
+
"@smithy/core": "^3.9.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.1.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.21",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.22",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.9",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.1.4",
|
|
45
45
|
"@smithy/node-http-handler": "^4.1.1",
|
|
46
46
|
"@smithy/protocol-http": "^5.1.3",
|
|
47
|
-
"@smithy/smithy-client": "^4.5.
|
|
47
|
+
"@smithy/smithy-client": "^4.5.2",
|
|
48
48
|
"@smithy/types": "^4.3.2",
|
|
49
49
|
"@smithy/url-parser": "^4.0.5",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.29",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.29",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.7",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.5",
|
|
57
57
|
"@smithy/util-retry": "^4.0.7",
|