@aws-sdk/client-cleanroomsml 3.540.0 → 3.549.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 +1 -22
- package/dist-es/models/models_0.js +0 -6
- package/dist-es/protocols/Aws_restJson1.js +1 -16
- package/dist-types/commands/CreateAudienceModelCommand.d.ts +1 -1
- package/dist-types/commands/CreateConfiguredAudienceModelCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrainingDatasetCommand.d.ts +2 -2
- package/dist-types/commands/DeleteAudienceGenerationJobCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAudienceModelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteConfiguredAudienceModelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrainingDatasetCommand.d.ts +1 -1
- package/dist-types/commands/GetAudienceGenerationJobCommand.d.ts +1 -0
- package/dist-types/commands/GetAudienceModelCommand.d.ts +0 -7
- package/dist-types/commands/StartAudienceExportJobCommand.d.ts +1 -1
- package/dist-types/commands/StartAudienceGenerationJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConfiguredAudienceModelCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +24 -49
- package/dist-types/ts3.4/models/models_0.d.ts +1 -14
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -24,7 +24,6 @@ __export(src_exports, {
|
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
AudienceExportJobStatus: () => AudienceExportJobStatus,
|
|
26
26
|
AudienceGenerationJobStatus: () => AudienceGenerationJobStatus,
|
|
27
|
-
AudienceModelMetricType: () => AudienceModelMetricType,
|
|
28
27
|
AudienceModelStatus: () => AudienceModelStatus,
|
|
29
28
|
AudienceSizeType: () => AudienceSizeType,
|
|
30
29
|
CleanRoomsML: () => CleanRoomsML,
|
|
@@ -351,12 +350,6 @@ var AudienceGenerationJobStatus = {
|
|
|
351
350
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
352
351
|
DELETE_PENDING: "DELETE_PENDING"
|
|
353
352
|
};
|
|
354
|
-
var AudienceModelMetricType = {
|
|
355
|
-
MEAN_RECIPROCAL_RANK: "MEAN_RECIPROCAL_RANK",
|
|
356
|
-
NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN: "NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN",
|
|
357
|
-
PRECISION: "PRECISION",
|
|
358
|
-
RECALL: "RECALL"
|
|
359
|
-
};
|
|
360
353
|
var AudienceModelStatus = {
|
|
361
354
|
ACTIVE: "ACTIVE",
|
|
362
355
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -862,7 +855,6 @@ var de_GetAudienceModelCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
862
855
|
createTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
863
856
|
description: import_smithy_client.expectString,
|
|
864
857
|
kmsKeyArn: import_smithy_client.expectString,
|
|
865
|
-
metrics: (_) => de_AudienceModelMetrics(_, context),
|
|
866
858
|
name: import_smithy_client.expectString,
|
|
867
859
|
status: import_smithy_client.expectString,
|
|
868
860
|
statusDetails: import_smithy_client._json,
|
|
@@ -1242,19 +1234,6 @@ var de_AudienceModelList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1242
1234
|
});
|
|
1243
1235
|
return retVal;
|
|
1244
1236
|
}, "de_AudienceModelList");
|
|
1245
|
-
var de_AudienceModelMetric = /* @__PURE__ */ __name((output, context) => {
|
|
1246
|
-
return (0, import_smithy_client.take)(output, {
|
|
1247
|
-
forTopKItemPredictions: import_smithy_client.expectInt32,
|
|
1248
|
-
type: import_smithy_client.expectString,
|
|
1249
|
-
value: import_smithy_client.limitedParseDouble
|
|
1250
|
-
});
|
|
1251
|
-
}, "de_AudienceModelMetric");
|
|
1252
|
-
var de_AudienceModelMetrics = /* @__PURE__ */ __name((output, context) => {
|
|
1253
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1254
|
-
return de_AudienceModelMetric(entry, context);
|
|
1255
|
-
});
|
|
1256
|
-
return retVal;
|
|
1257
|
-
}, "de_AudienceModelMetrics");
|
|
1258
1237
|
var de_AudienceModelSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1259
1238
|
return (0, import_smithy_client.take)(output, {
|
|
1260
1239
|
audienceModelArn: import_smithy_client.expectString,
|
|
@@ -1268,6 +1247,7 @@ var de_AudienceModelSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1268
1247
|
}, "de_AudienceModelSummary");
|
|
1269
1248
|
var de_AudienceQualityMetrics = /* @__PURE__ */ __name((output, context) => {
|
|
1270
1249
|
return (0, import_smithy_client.take)(output, {
|
|
1250
|
+
recallMetric: import_smithy_client.limitedParseDouble,
|
|
1271
1251
|
relevanceMetrics: (_) => de_RelevanceMetrics(_, context)
|
|
1272
1252
|
});
|
|
1273
1253
|
}, "de_AudienceQualityMetrics");
|
|
@@ -1850,7 +1830,6 @@ var paginateListTrainingDatasets = (0, import_core.createPaginator)(CleanRoomsML
|
|
|
1850
1830
|
ResourceNotFoundException,
|
|
1851
1831
|
ServiceQuotaExceededException,
|
|
1852
1832
|
AudienceGenerationJobStatus,
|
|
1853
|
-
AudienceModelMetricType,
|
|
1854
1833
|
AudienceModelStatus,
|
|
1855
1834
|
TagOnCreatePolicy,
|
|
1856
1835
|
SharedAudienceMetrics,
|
|
@@ -78,12 +78,6 @@ export const AudienceGenerationJobStatus = {
|
|
|
78
78
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
79
79
|
DELETE_PENDING: "DELETE_PENDING",
|
|
80
80
|
};
|
|
81
|
-
export const AudienceModelMetricType = {
|
|
82
|
-
MEAN_RECIPROCAL_RANK: "MEAN_RECIPROCAL_RANK",
|
|
83
|
-
NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN: "NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN",
|
|
84
|
-
PRECISION: "PRECISION",
|
|
85
|
-
RECALL: "RECALL",
|
|
86
|
-
};
|
|
87
81
|
export const AudienceModelStatus = {
|
|
88
82
|
ACTIVE: "ACTIVE",
|
|
89
83
|
CREATE_FAILED: "CREATE_FAILED",
|
|
@@ -453,7 +453,6 @@ export const de_GetAudienceModelCommand = async (output, context) => {
|
|
|
453
453
|
createTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
454
454
|
description: __expectString,
|
|
455
455
|
kmsKeyArn: __expectString,
|
|
456
|
-
metrics: (_) => de_AudienceModelMetrics(_, context),
|
|
457
456
|
name: __expectString,
|
|
458
457
|
status: __expectString,
|
|
459
458
|
statusDetails: _json,
|
|
@@ -839,21 +838,6 @@ const de_AudienceModelList = (output, context) => {
|
|
|
839
838
|
});
|
|
840
839
|
return retVal;
|
|
841
840
|
};
|
|
842
|
-
const de_AudienceModelMetric = (output, context) => {
|
|
843
|
-
return take(output, {
|
|
844
|
-
forTopKItemPredictions: __expectInt32,
|
|
845
|
-
type: __expectString,
|
|
846
|
-
value: __limitedParseDouble,
|
|
847
|
-
});
|
|
848
|
-
};
|
|
849
|
-
const de_AudienceModelMetrics = (output, context) => {
|
|
850
|
-
const retVal = (output || [])
|
|
851
|
-
.filter((e) => e != null)
|
|
852
|
-
.map((entry) => {
|
|
853
|
-
return de_AudienceModelMetric(entry, context);
|
|
854
|
-
});
|
|
855
|
-
return retVal;
|
|
856
|
-
};
|
|
857
841
|
const de_AudienceModelSummary = (output, context) => {
|
|
858
842
|
return take(output, {
|
|
859
843
|
audienceModelArn: __expectString,
|
|
@@ -867,6 +851,7 @@ const de_AudienceModelSummary = (output, context) => {
|
|
|
867
851
|
};
|
|
868
852
|
const de_AudienceQualityMetrics = (output, context) => {
|
|
869
853
|
return take(output, {
|
|
854
|
+
recallMetric: __limitedParseDouble,
|
|
870
855
|
relevanceMetrics: (_) => de_RelevanceMetrics(_, context),
|
|
871
856
|
});
|
|
872
857
|
};
|
|
@@ -62,7 +62,7 @@ declare const CreateAudienceModelCommand_base: {
|
|
|
62
62
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link ConflictException} (client fault)
|
|
65
|
-
* <p>
|
|
65
|
+
* <p>You can't complete this action because another resource depends on this resource.</p>
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
68
|
* <p>The resource you are requesting does not exist.</p>
|
|
@@ -78,7 +78,7 @@ declare const CreateConfiguredAudienceModelCommand_base: {
|
|
|
78
78
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link ConflictException} (client fault)
|
|
81
|
-
* <p>
|
|
81
|
+
* <p>You can't complete this action because another resource depends on this resource.</p>
|
|
82
82
|
*
|
|
83
83
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
84
|
* <p>The resource you are requesting does not exist.</p>
|
|
@@ -26,7 +26,7 @@ declare const CreateTrainingDatasetCommand_base: {
|
|
|
26
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* <p>Defines the information necessary to create a training dataset
|
|
29
|
+
* <p>Defines the information necessary to create a training dataset. In Clean Rooms ML, the <code>TrainingDataset</code> is metadata that points to a Glue table, which is read only during <code>AudienceModel</code> creation.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -81,7 +81,7 @@ declare const CreateTrainingDatasetCommand_base: {
|
|
|
81
81
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
82
82
|
*
|
|
83
83
|
* @throws {@link ConflictException} (client fault)
|
|
84
|
-
* <p>
|
|
84
|
+
* <p>You can't complete this action because another resource depends on this resource.</p>
|
|
85
85
|
*
|
|
86
86
|
* @throws {@link ValidationException} (client fault)
|
|
87
87
|
* <p>The request parameters for this request are incorrect.</p>
|
|
@@ -52,7 +52,7 @@ declare const DeleteAudienceGenerationJobCommand_base: {
|
|
|
52
52
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ConflictException} (client fault)
|
|
55
|
-
* <p>
|
|
55
|
+
* <p>You can't complete this action because another resource depends on this resource.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
58
|
* <p>The resource you are requesting does not exist.</p>
|
|
@@ -52,7 +52,7 @@ declare const DeleteAudienceModelCommand_base: {
|
|
|
52
52
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ConflictException} (client fault)
|
|
55
|
-
* <p>
|
|
55
|
+
* <p>You can't complete this action because another resource depends on this resource.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
58
|
* <p>The resource you are requesting does not exist.</p>
|
|
@@ -52,7 +52,7 @@ declare const DeleteConfiguredAudienceModelCommand_base: {
|
|
|
52
52
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ConflictException} (client fault)
|
|
55
|
-
* <p>
|
|
55
|
+
* <p>You can't complete this action because another resource depends on this resource.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
58
|
* <p>The resource you are requesting does not exist.</p>
|
|
@@ -52,7 +52,7 @@ declare const DeleteTrainingDatasetCommand_base: {
|
|
|
52
52
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ConflictException} (client fault)
|
|
55
|
-
* <p>
|
|
55
|
+
* <p>You can't complete this action because another resource depends on this resource.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
58
|
* <p>The resource you are requesting does not exist.</p>
|
|
@@ -51,13 +51,6 @@ declare const GetAudienceModelCommand_base: {
|
|
|
51
51
|
* // statusCode: "STRING_VALUE",
|
|
52
52
|
* // message: "STRING_VALUE",
|
|
53
53
|
* // },
|
|
54
|
-
* // metrics: [ // AudienceModelMetrics
|
|
55
|
-
* // { // AudienceModelMetric
|
|
56
|
-
* // type: "NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN" || "MEAN_RECIPROCAL_RANK" || "PRECISION" || "RECALL", // required
|
|
57
|
-
* // forTopKItemPredictions: Number("int"), // required
|
|
58
|
-
* // value: Number("double"), // required
|
|
59
|
-
* // },
|
|
60
|
-
* // ],
|
|
61
54
|
* // kmsKeyArn: "STRING_VALUE",
|
|
62
55
|
* // tags: { // TagMap
|
|
63
56
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -58,7 +58,7 @@ declare const StartAudienceExportJobCommand_base: {
|
|
|
58
58
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ConflictException} (client fault)
|
|
61
|
-
* <p>
|
|
61
|
+
* <p>You can't complete this action because another resource depends on this resource.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
64
|
* <p>The resource you are requesting does not exist.</p>
|
|
@@ -67,7 +67,7 @@ declare const StartAudienceGenerationJobCommand_base: {
|
|
|
67
67
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ConflictException} (client fault)
|
|
70
|
-
* <p>
|
|
70
|
+
* <p>You can't complete this action because another resource depends on this resource.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
73
|
* <p>The resource you are requesting does not exist.</p>
|
|
@@ -74,7 +74,7 @@ declare const UpdateConfiguredAudienceModelCommand_base: {
|
|
|
74
74
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ConflictException} (client fault)
|
|
77
|
-
* <p>
|
|
77
|
+
* <p>You can't complete this action because another resource depends on this resource.</p>
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
80
|
* <p>The resource you are requesting does not exist.</p>
|
|
@@ -193,7 +193,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
193
193
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
194
194
|
}
|
|
195
195
|
/**
|
|
196
|
-
* <p>
|
|
196
|
+
* <p>You can't complete this action because another resource depends on this resource.</p>
|
|
197
197
|
* @public
|
|
198
198
|
*/
|
|
199
199
|
export declare class ConflictException extends __BaseException {
|
|
@@ -299,14 +299,29 @@ export interface AudienceQualityMetrics {
|
|
|
299
299
|
* @public
|
|
300
300
|
*/
|
|
301
301
|
relevanceMetrics: RelevanceMetric[] | undefined;
|
|
302
|
+
/**
|
|
303
|
+
* <p>The recall score of the generated audience. Recall is the percentage of the most similar users (by default, the most similar 20%) from a sample of the training data that are included in the seed audience by the audience generation job. Values range from 0-1, larger values indicate a better audience. A recall value approximately equal to the maximum bin size indicates that the audience model is equivalent to random selection.
|
|
304
|
+
* </p>
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
recallMetric?: number;
|
|
302
308
|
}
|
|
303
309
|
/**
|
|
304
|
-
* <p>Defines the Amazon S3 bucket where the
|
|
310
|
+
* <p>Defines the Amazon S3 bucket where the seed audience for the generating audience is stored.</p>
|
|
305
311
|
* @public
|
|
306
312
|
*/
|
|
307
313
|
export interface AudienceGenerationJobDataSource {
|
|
308
314
|
/**
|
|
309
|
-
* <p>
|
|
315
|
+
* <p>Defines the Amazon S3 bucket where the seed audience for the generating audience is stored. A valid data source is a JSON line file in the following format:</p>
|
|
316
|
+
* <p>
|
|
317
|
+
* <code>\{"user_id": "111111"\}</code>
|
|
318
|
+
* </p>
|
|
319
|
+
* <p>
|
|
320
|
+
* <code>\{"user_id": "222222"\}</code>
|
|
321
|
+
* </p>
|
|
322
|
+
* <p>
|
|
323
|
+
* <code>...</code>
|
|
324
|
+
* </p>
|
|
310
325
|
* @public
|
|
311
326
|
*/
|
|
312
327
|
dataSource: S3ConfigMap | undefined;
|
|
@@ -393,7 +408,7 @@ export interface GetAudienceGenerationJobResponse {
|
|
|
393
408
|
*/
|
|
394
409
|
collaborationId?: string;
|
|
395
410
|
/**
|
|
396
|
-
* <p>The relevance scores for different audience sizes. </p>
|
|
411
|
+
* <p>The relevance scores for different audience sizes and the recall score of the generated audience. </p>
|
|
397
412
|
* @public
|
|
398
413
|
*/
|
|
399
414
|
metrics?: AudienceQualityMetrics;
|
|
@@ -556,7 +571,7 @@ export interface StartAudienceGenerationJobRequest {
|
|
|
556
571
|
* <p>Tag keys and values are case sensitive.</p>
|
|
557
572
|
* </li>
|
|
558
573
|
* <li>
|
|
559
|
-
* <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then
|
|
574
|
+
* <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms ML considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p>
|
|
560
575
|
* </li>
|
|
561
576
|
* </ul>
|
|
562
577
|
* @public
|
|
@@ -625,7 +640,7 @@ export interface CreateAudienceModelRequest {
|
|
|
625
640
|
* <p>Tag keys and values are case sensitive.</p>
|
|
626
641
|
* </li>
|
|
627
642
|
* <li>
|
|
628
|
-
* <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then
|
|
643
|
+
* <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms ML considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p>
|
|
629
644
|
* </li>
|
|
630
645
|
* </ul>
|
|
631
646
|
* @public
|
|
@@ -667,41 +682,6 @@ export interface GetAudienceModelRequest {
|
|
|
667
682
|
*/
|
|
668
683
|
audienceModelArn: string | undefined;
|
|
669
684
|
}
|
|
670
|
-
/**
|
|
671
|
-
* @public
|
|
672
|
-
* @enum
|
|
673
|
-
*/
|
|
674
|
-
export declare const AudienceModelMetricType: {
|
|
675
|
-
readonly MEAN_RECIPROCAL_RANK: "MEAN_RECIPROCAL_RANK";
|
|
676
|
-
readonly NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN: "NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN";
|
|
677
|
-
readonly PRECISION: "PRECISION";
|
|
678
|
-
readonly RECALL: "RECALL";
|
|
679
|
-
};
|
|
680
|
-
/**
|
|
681
|
-
* @public
|
|
682
|
-
*/
|
|
683
|
-
export type AudienceModelMetricType = (typeof AudienceModelMetricType)[keyof typeof AudienceModelMetricType];
|
|
684
|
-
/**
|
|
685
|
-
* <p>The audience model metrics.</p>
|
|
686
|
-
* @public
|
|
687
|
-
*/
|
|
688
|
-
export interface AudienceModelMetric {
|
|
689
|
-
/**
|
|
690
|
-
* <p>The audience model metric.</p>
|
|
691
|
-
* @public
|
|
692
|
-
*/
|
|
693
|
-
type: AudienceModelMetricType | undefined;
|
|
694
|
-
/**
|
|
695
|
-
* <p>The number of users that were used to generate these model metrics.</p>
|
|
696
|
-
* @public
|
|
697
|
-
*/
|
|
698
|
-
forTopKItemPredictions: number | undefined;
|
|
699
|
-
/**
|
|
700
|
-
* <p>The value of the audience model metric</p>
|
|
701
|
-
* @public
|
|
702
|
-
*/
|
|
703
|
-
value: number | undefined;
|
|
704
|
-
}
|
|
705
685
|
/**
|
|
706
686
|
* @public
|
|
707
687
|
* @enum
|
|
@@ -768,11 +748,6 @@ export interface GetAudienceModelResponse {
|
|
|
768
748
|
* @public
|
|
769
749
|
*/
|
|
770
750
|
statusDetails?: StatusDetails;
|
|
771
|
-
/**
|
|
772
|
-
* <p>Accuracy metrics for the model.</p>
|
|
773
|
-
* @public
|
|
774
|
-
*/
|
|
775
|
-
metrics?: AudienceModelMetric[];
|
|
776
751
|
/**
|
|
777
752
|
* <p>The KMS key ARN used for the audience model.</p>
|
|
778
753
|
* @public
|
|
@@ -948,7 +923,7 @@ export interface CreateConfiguredAudienceModelRequest {
|
|
|
948
923
|
*/
|
|
949
924
|
sharedAudienceMetrics: SharedAudienceMetrics[] | undefined;
|
|
950
925
|
/**
|
|
951
|
-
* <p>The minimum number of users from the seed audience that must match with users in the training data of the audience model.</p>
|
|
926
|
+
* <p>The minimum number of users from the seed audience that must match with users in the training data of the audience model. The default value is 500.</p>
|
|
952
927
|
* @public
|
|
953
928
|
*/
|
|
954
929
|
minMatchingSeedSize?: number;
|
|
@@ -982,7 +957,7 @@ export interface CreateConfiguredAudienceModelRequest {
|
|
|
982
957
|
* <p>Tag keys and values are case sensitive.</p>
|
|
983
958
|
* </li>
|
|
984
959
|
* <li>
|
|
985
|
-
* <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then
|
|
960
|
+
* <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms ML considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p>
|
|
986
961
|
* </li>
|
|
987
962
|
* </ul>
|
|
988
963
|
* @public
|
|
@@ -1378,7 +1353,7 @@ export interface TagResourceRequest {
|
|
|
1378
1353
|
* <p>Tag keys and values are case sensitive.</p>
|
|
1379
1354
|
* </li>
|
|
1380
1355
|
* <li>
|
|
1381
|
-
* <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then
|
|
1356
|
+
* <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p>
|
|
1382
1357
|
* </li>
|
|
1383
1358
|
* </ul>
|
|
1384
1359
|
* @public
|
|
@@ -99,6 +99,7 @@ export interface RelevanceMetric {
|
|
|
99
99
|
}
|
|
100
100
|
export interface AudienceQualityMetrics {
|
|
101
101
|
relevanceMetrics: RelevanceMetric[] | undefined;
|
|
102
|
+
recallMetric?: number;
|
|
102
103
|
}
|
|
103
104
|
export interface AudienceGenerationJobDataSource {
|
|
104
105
|
dataSource: S3ConfigMap | undefined;
|
|
@@ -182,19 +183,6 @@ export interface DeleteAudienceModelRequest {
|
|
|
182
183
|
export interface GetAudienceModelRequest {
|
|
183
184
|
audienceModelArn: string | undefined;
|
|
184
185
|
}
|
|
185
|
-
export declare const AudienceModelMetricType: {
|
|
186
|
-
readonly MEAN_RECIPROCAL_RANK: "MEAN_RECIPROCAL_RANK";
|
|
187
|
-
readonly NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN: "NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN";
|
|
188
|
-
readonly PRECISION: "PRECISION";
|
|
189
|
-
readonly RECALL: "RECALL";
|
|
190
|
-
};
|
|
191
|
-
export type AudienceModelMetricType =
|
|
192
|
-
(typeof AudienceModelMetricType)[keyof typeof AudienceModelMetricType];
|
|
193
|
-
export interface AudienceModelMetric {
|
|
194
|
-
type: AudienceModelMetricType | undefined;
|
|
195
|
-
forTopKItemPredictions: number | undefined;
|
|
196
|
-
value: number | undefined;
|
|
197
|
-
}
|
|
198
186
|
export declare const AudienceModelStatus: {
|
|
199
187
|
readonly ACTIVE: "ACTIVE";
|
|
200
188
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
@@ -216,7 +204,6 @@ export interface GetAudienceModelResponse {
|
|
|
216
204
|
trainingDatasetArn: string | undefined;
|
|
217
205
|
status: AudienceModelStatus | undefined;
|
|
218
206
|
statusDetails?: StatusDetails;
|
|
219
|
-
metrics?: AudienceModelMetric[];
|
|
220
207
|
kmsKeyArn?: string;
|
|
221
208
|
tags?: Record<string, string>;
|
|
222
209
|
description?: string;
|
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.549.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-cleanroomsml",
|
|
@@ -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.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.549.0",
|
|
24
|
+
"@aws-sdk/core": "3.549.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.549.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,13 +33,13 @@
|
|
|
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.
|
|
36
|
+
"@smithy/core": "^1.4.1",
|
|
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
41
|
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
42
|
+
"@smithy/middleware-retry": "^2.3.0",
|
|
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",
|