@aws-sdk/client-cleanroomsml 3.962.0 → 3.963.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 +11 -2
- package/dist-es/schemas/schemas_0.js +11 -2
- package/dist-types/commands/CreateMLInputChannelCommand.d.ts +5 -0
- package/dist-types/commands/GetAudienceGenerationJobCommand.d.ts +5 -0
- package/dist-types/commands/GetMLInputChannelCommand.d.ts +5 -0
- package/dist-types/commands/StartAudienceGenerationJobCommand.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +40 -2
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +19 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -478,6 +478,7 @@ const _URR = "UntagResourceRequest";
|
|
|
478
478
|
const _URRn = "UntagResourceResponse";
|
|
479
479
|
const _VE = "ValidationException";
|
|
480
480
|
const _WCC = "WorkerComputeConfiguration";
|
|
481
|
+
const _WCCP = "WorkerComputeConfigurationProperties";
|
|
481
482
|
const _a = "arguments";
|
|
482
483
|
const _aAI = "allowedAccountIds";
|
|
483
484
|
const _aB = "accessBudgets";
|
|
@@ -602,6 +603,7 @@ const _pPH = "previousPolicyHash";
|
|
|
602
603
|
const _pQI = "protectedQueryIdentifier";
|
|
603
604
|
const _pQIP = "protectedQueryInputParameters";
|
|
604
605
|
const _pa = "parameters";
|
|
606
|
+
const _pr = "properties";
|
|
605
607
|
const _qN = "quotaName";
|
|
606
608
|
const _qS = "queryString";
|
|
607
609
|
const _qV = "quotaValue";
|
|
@@ -635,6 +637,7 @@ const _sc = "schema";
|
|
|
635
637
|
const _sco = "score";
|
|
636
638
|
const _se = "server";
|
|
637
639
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cleanroomsml";
|
|
640
|
+
const _sp = "spark";
|
|
638
641
|
const _t = "type";
|
|
639
642
|
const _tCC = "trainingContainerConfig";
|
|
640
643
|
const _tCID = "trainingContainerImageDigest";
|
|
@@ -1569,8 +1572,8 @@ var ValidationException$ = [-3, n0, _VE,
|
|
|
1569
1572
|
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
1570
1573
|
var WorkerComputeConfiguration$ = [3, n0, _WCC,
|
|
1571
1574
|
0,
|
|
1572
|
-
[_t, _nu],
|
|
1573
|
-
[0, 1]
|
|
1575
|
+
[_t, _nu, _pr],
|
|
1576
|
+
[0, 1, () => WorkerComputeConfigurationProperties$]
|
|
1574
1577
|
];
|
|
1575
1578
|
var __Unit = "unit";
|
|
1576
1579
|
var CleanRoomsMLServiceException$ = [-3, _sm, "CleanRoomsMLServiceException", 0, [], []];
|
|
@@ -1677,6 +1680,11 @@ var PrivacyBudgets$ = [4, n0, _PB,
|
|
|
1677
1680
|
[_aB],
|
|
1678
1681
|
[() => AccessBudgets]
|
|
1679
1682
|
];
|
|
1683
|
+
var WorkerComputeConfigurationProperties$ = [4, n0, _WCCP,
|
|
1684
|
+
0,
|
|
1685
|
+
[_sp],
|
|
1686
|
+
[128 | 0]
|
|
1687
|
+
];
|
|
1680
1688
|
var CancelTrainedModel$ = [9, n0, _CTM,
|
|
1681
1689
|
{ [_ht]: ["PATCH", "/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}", 200] }, () => CancelTrainedModelRequest$, () => __Unit
|
|
1682
1690
|
];
|
|
@@ -3410,6 +3418,7 @@ exports.UpdateConfiguredAudienceModelResponse$ = UpdateConfiguredAudienceModelRe
|
|
|
3410
3418
|
exports.ValidationException = ValidationException;
|
|
3411
3419
|
exports.ValidationException$ = ValidationException$;
|
|
3412
3420
|
exports.WorkerComputeConfiguration$ = WorkerComputeConfiguration$;
|
|
3421
|
+
exports.WorkerComputeConfigurationProperties$ = WorkerComputeConfigurationProperties$;
|
|
3413
3422
|
exports.WorkerComputeType = WorkerComputeType;
|
|
3414
3423
|
exports._InstanceType = _InstanceType;
|
|
3415
3424
|
exports.paginateListAudienceExportJobs = paginateListAudienceExportJobs;
|
|
@@ -270,6 +270,7 @@ const _URR = "UntagResourceRequest";
|
|
|
270
270
|
const _URRn = "UntagResourceResponse";
|
|
271
271
|
const _VE = "ValidationException";
|
|
272
272
|
const _WCC = "WorkerComputeConfiguration";
|
|
273
|
+
const _WCCP = "WorkerComputeConfigurationProperties";
|
|
273
274
|
const _a = "arguments";
|
|
274
275
|
const _aAI = "allowedAccountIds";
|
|
275
276
|
const _aB = "accessBudgets";
|
|
@@ -394,6 +395,7 @@ const _pPH = "previousPolicyHash";
|
|
|
394
395
|
const _pQI = "protectedQueryIdentifier";
|
|
395
396
|
const _pQIP = "protectedQueryInputParameters";
|
|
396
397
|
const _pa = "parameters";
|
|
398
|
+
const _pr = "properties";
|
|
397
399
|
const _qN = "quotaName";
|
|
398
400
|
const _qS = "queryString";
|
|
399
401
|
const _qV = "quotaValue";
|
|
@@ -427,6 +429,7 @@ const _sc = "schema";
|
|
|
427
429
|
const _sco = "score";
|
|
428
430
|
const _se = "server";
|
|
429
431
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.cleanroomsml";
|
|
432
|
+
const _sp = "spark";
|
|
430
433
|
const _t = "type";
|
|
431
434
|
const _tCC = "trainingContainerConfig";
|
|
432
435
|
const _tCID = "trainingContainerImageDigest";
|
|
@@ -1364,8 +1367,8 @@ export var ValidationException$ = [-3, n0, _VE,
|
|
|
1364
1367
|
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
1365
1368
|
export var WorkerComputeConfiguration$ = [3, n0, _WCC,
|
|
1366
1369
|
0,
|
|
1367
|
-
[_t, _nu],
|
|
1368
|
-
[0, 1]
|
|
1370
|
+
[_t, _nu, _pr],
|
|
1371
|
+
[0, 1, () => WorkerComputeConfigurationProperties$]
|
|
1369
1372
|
];
|
|
1370
1373
|
var __Unit = "unit";
|
|
1371
1374
|
export var CleanRoomsMLServiceException$ = [-3, _sm, "CleanRoomsMLServiceException", 0, [], []];
|
|
@@ -1472,6 +1475,7 @@ var Environment = 128 | 0;
|
|
|
1472
1475
|
var HyperParameters = 128 | 0;
|
|
1473
1476
|
var InferenceEnvironmentMap = 128 | 0;
|
|
1474
1477
|
var ParameterMap = 128 | 0;
|
|
1478
|
+
var SparkProperties = 128 | 0;
|
|
1475
1479
|
var TagMap = 128 | 0;
|
|
1476
1480
|
export var ComputeConfiguration$ = [4, n0, _CCo,
|
|
1477
1481
|
0,
|
|
@@ -1488,6 +1492,11 @@ export var PrivacyBudgets$ = [4, n0, _PB,
|
|
|
1488
1492
|
[_aB],
|
|
1489
1493
|
[() => AccessBudgets]
|
|
1490
1494
|
];
|
|
1495
|
+
export var WorkerComputeConfigurationProperties$ = [4, n0, _WCCP,
|
|
1496
|
+
0,
|
|
1497
|
+
[_sp],
|
|
1498
|
+
[128 | 0]
|
|
1499
|
+
];
|
|
1491
1500
|
export var CancelTrainedModel$ = [9, n0, _CTM,
|
|
1492
1501
|
{ [_ht]: ["PATCH", "/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}", 200] }, () => CancelTrainedModelRequest$, () => __Unit
|
|
1493
1502
|
];
|
|
@@ -55,6 +55,11 @@ declare const CreateMLInputChannelCommand_base: {
|
|
|
55
55
|
* worker: { // WorkerComputeConfiguration
|
|
56
56
|
* type: "CR.1X" || "CR.4X",
|
|
57
57
|
* number: Number("int"),
|
|
58
|
+
* properties: { // WorkerComputeConfigurationProperties Union: only one key present
|
|
59
|
+
* spark: { // SparkProperties
|
|
60
|
+
* "<keys>": "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
58
63
|
* },
|
|
59
64
|
* },
|
|
60
65
|
* resultFormat: "CSV" || "PARQUET",
|
|
@@ -69,6 +69,11 @@ declare const GetAudienceGenerationJobCommand_base: {
|
|
|
69
69
|
* // worker: { // WorkerComputeConfiguration
|
|
70
70
|
* // type: "CR.1X" || "CR.4X",
|
|
71
71
|
* // number: Number("int"),
|
|
72
|
+
* // properties: { // WorkerComputeConfigurationProperties Union: only one key present
|
|
73
|
+
* // spark: { // SparkProperties
|
|
74
|
+
* // "<keys>": "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
72
77
|
* // },
|
|
73
78
|
* // },
|
|
74
79
|
* // },
|
|
@@ -117,6 +117,11 @@ declare const GetMLInputChannelCommand_base: {
|
|
|
117
117
|
* // worker: { // WorkerComputeConfiguration
|
|
118
118
|
* // type: "CR.1X" || "CR.4X",
|
|
119
119
|
* // number: Number("int"),
|
|
120
|
+
* // properties: { // WorkerComputeConfigurationProperties Union: only one key present
|
|
121
|
+
* // spark: { // SparkProperties
|
|
122
|
+
* // "<keys>": "STRING_VALUE",
|
|
123
|
+
* // },
|
|
124
|
+
* // },
|
|
120
125
|
* // },
|
|
121
126
|
* // },
|
|
122
127
|
* // resultFormat: "CSV" || "PARQUET",
|
|
@@ -55,6 +55,11 @@ declare const StartAudienceGenerationJobCommand_base: {
|
|
|
55
55
|
* worker: { // WorkerComputeConfiguration
|
|
56
56
|
* type: "CR.1X" || "CR.4X",
|
|
57
57
|
* number: Number("int"),
|
|
58
|
+
* properties: { // WorkerComputeConfigurationProperties Union: only one key present
|
|
59
|
+
* spark: { // SparkProperties
|
|
60
|
+
* "<keys>": "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
58
63
|
* },
|
|
59
64
|
* },
|
|
60
65
|
* },
|
|
@@ -273,6 +273,39 @@ export interface AudienceQualityMetrics {
|
|
|
273
273
|
*/
|
|
274
274
|
recallMetric?: number | undefined;
|
|
275
275
|
}
|
|
276
|
+
/**
|
|
277
|
+
* <p>The configuration properties for the worker compute environment. These properties allow you to customize the compute settings for your Clean Rooms workloads.</p>
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
export type WorkerComputeConfigurationProperties = WorkerComputeConfigurationProperties.SparkMember | WorkerComputeConfigurationProperties.$UnknownMember;
|
|
281
|
+
/**
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
export declare namespace WorkerComputeConfigurationProperties {
|
|
285
|
+
/**
|
|
286
|
+
* <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>
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
289
|
+
interface SparkMember {
|
|
290
|
+
spark: Record<string, string>;
|
|
291
|
+
$unknown?: never;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
interface $UnknownMember {
|
|
297
|
+
spark?: never;
|
|
298
|
+
$unknown: [string, any];
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* @deprecated unused in schema-serde mode.
|
|
302
|
+
*
|
|
303
|
+
*/
|
|
304
|
+
interface Visitor<T> {
|
|
305
|
+
spark: (value: Record<string, string>) => T;
|
|
306
|
+
_: (name: string, value: any) => T;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
276
309
|
/**
|
|
277
310
|
* <p>Configuration information about the compute workers that perform the transform job.</p>
|
|
278
311
|
* @public
|
|
@@ -288,6 +321,11 @@ export interface WorkerComputeConfiguration {
|
|
|
288
321
|
* @public
|
|
289
322
|
*/
|
|
290
323
|
number?: number | undefined;
|
|
324
|
+
/**
|
|
325
|
+
* <p>The configuration properties for the worker compute environment. These properties allow you to customize the compute settings for your Clean Rooms workloads.</p>
|
|
326
|
+
* @public
|
|
327
|
+
*/
|
|
328
|
+
properties?: WorkerComputeConfigurationProperties | undefined;
|
|
291
329
|
}
|
|
292
330
|
/**
|
|
293
331
|
* <p>Provides configuration information for the instances that will perform the compute work.</p>
|
|
@@ -2880,7 +2918,7 @@ export interface MLSyntheticDataParameters {
|
|
|
2880
2918
|
* <p>Classification details for data columns that specify how each column should be treated during synthetic data generation.</p>
|
|
2881
2919
|
* @public
|
|
2882
2920
|
*/
|
|
2883
|
-
columnClassification
|
|
2921
|
+
columnClassification?: ColumnClassificationDetails | undefined;
|
|
2884
2922
|
}
|
|
2885
2923
|
/**
|
|
2886
2924
|
* <p>Configuration settings for synthetic data generation, including the parameters that control data synthesis and the evaluation scores that measure the quality and privacy characteristics of the generated synthetic data.</p>
|
|
@@ -3287,7 +3325,7 @@ export interface ResourceConfig {
|
|
|
3287
3325
|
*/
|
|
3288
3326
|
instanceType: _InstanceType | undefined;
|
|
3289
3327
|
/**
|
|
3290
|
-
* <p>The
|
|
3328
|
+
* <p>The volume size of the instance that is used to train the model. Please see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-volumes.html">EC2 volume limit</a> for volume size limitations on different instance types.</p>
|
|
3291
3329
|
* @public
|
|
3292
3330
|
*/
|
|
3293
3331
|
volumeSizeInGB: number | undefined;
|
|
@@ -184,6 +184,7 @@ export declare var CleanRoomsMLServiceException$: StaticErrorSchema;
|
|
|
184
184
|
export declare var ComputeConfiguration$: StaticUnionSchema;
|
|
185
185
|
export declare var InputChannelDataSource$: StaticUnionSchema;
|
|
186
186
|
export declare var PrivacyBudgets$: StaticUnionSchema;
|
|
187
|
+
export declare var WorkerComputeConfigurationProperties$: StaticUnionSchema;
|
|
187
188
|
export declare var CancelTrainedModel$: StaticOperationSchema;
|
|
188
189
|
export declare var CancelTrainedModelInferenceJob$: StaticOperationSchema;
|
|
189
190
|
export declare var CreateAudienceModel$: StaticOperationSchema;
|
|
@@ -101,9 +101,27 @@ export interface AudienceQualityMetrics {
|
|
|
101
101
|
relevanceMetrics: RelevanceMetric[] | undefined;
|
|
102
102
|
recallMetric?: number | undefined;
|
|
103
103
|
}
|
|
104
|
+
export type WorkerComputeConfigurationProperties =
|
|
105
|
+
| WorkerComputeConfigurationProperties.SparkMember
|
|
106
|
+
| WorkerComputeConfigurationProperties.$UnknownMember;
|
|
107
|
+
export declare namespace WorkerComputeConfigurationProperties {
|
|
108
|
+
interface SparkMember {
|
|
109
|
+
spark: Record<string, string>;
|
|
110
|
+
$unknown?: never;
|
|
111
|
+
}
|
|
112
|
+
interface $UnknownMember {
|
|
113
|
+
spark?: never;
|
|
114
|
+
$unknown: [string, any];
|
|
115
|
+
}
|
|
116
|
+
interface Visitor<T> {
|
|
117
|
+
spark: (value: Record<string, string>) => T;
|
|
118
|
+
_: (name: string, value: any) => T;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
104
121
|
export interface WorkerComputeConfiguration {
|
|
105
122
|
type?: WorkerComputeType | undefined;
|
|
106
123
|
number?: number | undefined;
|
|
124
|
+
properties?: WorkerComputeConfigurationProperties | undefined;
|
|
107
125
|
}
|
|
108
126
|
export type ComputeConfiguration =
|
|
109
127
|
| ComputeConfiguration.WorkerMember
|
|
@@ -764,7 +782,7 @@ export interface ColumnClassificationDetails {
|
|
|
764
782
|
export interface MLSyntheticDataParameters {
|
|
765
783
|
epsilon: number | undefined;
|
|
766
784
|
maxMembershipInferenceAttackScore: number | undefined;
|
|
767
|
-
columnClassification
|
|
785
|
+
columnClassification?: ColumnClassificationDetails | undefined;
|
|
768
786
|
}
|
|
769
787
|
export interface SyntheticDataConfiguration {
|
|
770
788
|
syntheticDataParameters: MLSyntheticDataParameters | undefined;
|
|
@@ -189,6 +189,7 @@ export declare var CleanRoomsMLServiceException$: StaticErrorSchema;
|
|
|
189
189
|
export declare var ComputeConfiguration$: StaticUnionSchema;
|
|
190
190
|
export declare var InputChannelDataSource$: StaticUnionSchema;
|
|
191
191
|
export declare var PrivacyBudgets$: StaticUnionSchema;
|
|
192
|
+
export declare var WorkerComputeConfigurationProperties$: StaticUnionSchema;
|
|
192
193
|
export declare var CancelTrainedModel$: StaticOperationSchema;
|
|
193
194
|
export declare var CancelTrainedModelInferenceJob$: StaticOperationSchema;
|
|
194
195
|
export declare var CreateAudienceModel$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cleanroomsml",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cleanroomsml Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.963.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cleanroomsml",
|