cdk-lambda-subminute 2.0.312 → 2.0.314

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.
Files changed (54) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/README.md +1 -1
  4. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +319 -17
  5. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.paginators.json +6 -0
  6. package/node_modules/aws-sdk/apis/cleanrooms-2022-02-17.min.json +1222 -83
  7. package/node_modules/aws-sdk/apis/cleanrooms-2022-02-17.paginators.json +36 -0
  8. package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.examples.json +5 -0
  9. package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.min.json +1226 -0
  10. package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.paginators.json +34 -0
  11. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +654 -589
  12. package/node_modules/aws-sdk/apis/marketplace-agreement-2020-03-01.examples.json +5 -0
  13. package/node_modules/aws-sdk/apis/marketplace-agreement-2020-03-01.min.json +397 -0
  14. package/node_modules/aws-sdk/apis/marketplace-agreement-2020-03-01.paginators.json +14 -0
  15. package/node_modules/aws-sdk/apis/marketplace-catalog-2018-09-17.min.json +542 -7
  16. package/node_modules/aws-sdk/apis/marketplace-deployment-2023-01-25.examples.json +5 -0
  17. package/node_modules/aws-sdk/apis/marketplace-deployment-2023-01-25.min.json +178 -0
  18. package/node_modules/aws-sdk/apis/marketplace-deployment-2023-01-25.paginators.json +4 -0
  19. package/node_modules/aws-sdk/apis/metadata.json +11 -0
  20. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +369 -195
  21. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.min.json +49 -46
  22. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +436 -74
  23. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.paginators.json +12 -0
  24. package/node_modules/aws-sdk/apis/runtime.sagemaker-2017-05-13.min.json +8 -0
  25. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1955 -1012
  26. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.paginators.json +18 -0
  27. package/node_modules/aws-sdk/clients/all.d.ts +3 -0
  28. package/node_modules/aws-sdk/clients/all.js +4 -1
  29. package/node_modules/aws-sdk/clients/applicationautoscaling.d.ts +31 -31
  30. package/node_modules/aws-sdk/clients/arczonalshift.d.ts +330 -30
  31. package/node_modules/aws-sdk/clients/cleanrooms.d.ts +1292 -177
  32. package/node_modules/aws-sdk/clients/cleanroomsml.d.ts +1232 -0
  33. package/node_modules/aws-sdk/clients/cleanroomsml.js +18 -0
  34. package/node_modules/aws-sdk/clients/glue.d.ts +83 -2
  35. package/node_modules/aws-sdk/clients/marketplaceagreement.d.ts +602 -0
  36. package/node_modules/aws-sdk/clients/marketplaceagreement.js +18 -0
  37. package/node_modules/aws-sdk/clients/marketplacecatalog.d.ts +883 -2
  38. package/node_modules/aws-sdk/clients/marketplacedeployment.d.ts +172 -0
  39. package/node_modules/aws-sdk/clients/marketplacedeployment.js +18 -0
  40. package/node_modules/aws-sdk/clients/opensearch.d.ts +170 -1
  41. package/node_modules/aws-sdk/clients/opensearchserverless.d.ts +13 -0
  42. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +463 -6
  43. package/node_modules/aws-sdk/clients/sagemaker.d.ts +1230 -62
  44. package/node_modules/aws-sdk/clients/sagemakerruntime.d.ts +11 -2
  45. package/node_modules/aws-sdk/clients/sts.d.ts +1 -1
  46. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  47. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +128 -17
  48. package/node_modules/aws-sdk/dist/aws-sdk.js +556 -10
  49. package/node_modules/aws-sdk/dist/aws-sdk.min.js +40 -40
  50. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +6 -0
  51. package/node_modules/aws-sdk/lib/core.js +1 -1
  52. package/node_modules/aws-sdk/package.json +1 -1
  53. package/package.json +2 -2
  54. package/node_modules/aws-sdk/CHANGELOG.md +0 -9341
@@ -0,0 +1,1232 @@
1
+ import {Request} from '../lib/request';
2
+ import {Response} from '../lib/response';
3
+ import {AWSError} from '../lib/error';
4
+ import {Service} from '../lib/service';
5
+ import {ServiceConfigurationOptions} from '../lib/service';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
+ interface Blob {}
8
+ declare class CleanRoomsML extends Service {
9
+ /**
10
+ * Constructs a service object. This object has one method for each API operation.
11
+ */
12
+ constructor(options?: CleanRoomsML.Types.ClientConfiguration)
13
+ config: Config & CleanRoomsML.Types.ClientConfiguration;
14
+ /**
15
+ * Defines the information necessary to create an audience model. An audience model is a machine learning model that Clean Rooms ML trains to measure similarity between users. Clean Rooms ML manages training and storing the audience model. The audience model can be used in multiple calls to the StartAudienceGenerationJob API.
16
+ */
17
+ createAudienceModel(params: CleanRoomsML.Types.CreateAudienceModelRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.CreateAudienceModelResponse) => void): Request<CleanRoomsML.Types.CreateAudienceModelResponse, AWSError>;
18
+ /**
19
+ * Defines the information necessary to create an audience model. An audience model is a machine learning model that Clean Rooms ML trains to measure similarity between users. Clean Rooms ML manages training and storing the audience model. The audience model can be used in multiple calls to the StartAudienceGenerationJob API.
20
+ */
21
+ createAudienceModel(callback?: (err: AWSError, data: CleanRoomsML.Types.CreateAudienceModelResponse) => void): Request<CleanRoomsML.Types.CreateAudienceModelResponse, AWSError>;
22
+ /**
23
+ * Defines the information necessary to create a configured audience model.
24
+ */
25
+ createConfiguredAudienceModel(params: CleanRoomsML.Types.CreateConfiguredAudienceModelRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.CreateConfiguredAudienceModelResponse) => void): Request<CleanRoomsML.Types.CreateConfiguredAudienceModelResponse, AWSError>;
26
+ /**
27
+ * Defines the information necessary to create a configured audience model.
28
+ */
29
+ createConfiguredAudienceModel(callback?: (err: AWSError, data: CleanRoomsML.Types.CreateConfiguredAudienceModelResponse) => void): Request<CleanRoomsML.Types.CreateConfiguredAudienceModelResponse, AWSError>;
30
+ /**
31
+ * Defines the information necessary to create a training dataset, or seed audience. In Clean Rooms ML, the TrainingDataset is metadata that points to a Glue table, which is read only during AudienceModel creation.
32
+ */
33
+ createTrainingDataset(params: CleanRoomsML.Types.CreateTrainingDatasetRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.CreateTrainingDatasetResponse) => void): Request<CleanRoomsML.Types.CreateTrainingDatasetResponse, AWSError>;
34
+ /**
35
+ * Defines the information necessary to create a training dataset, or seed audience. In Clean Rooms ML, the TrainingDataset is metadata that points to a Glue table, which is read only during AudienceModel creation.
36
+ */
37
+ createTrainingDataset(callback?: (err: AWSError, data: CleanRoomsML.Types.CreateTrainingDatasetResponse) => void): Request<CleanRoomsML.Types.CreateTrainingDatasetResponse, AWSError>;
38
+ /**
39
+ * Deletes the specified audience generation job, and removes all data associated with the job.
40
+ */
41
+ deleteAudienceGenerationJob(params: CleanRoomsML.Types.DeleteAudienceGenerationJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
42
+ /**
43
+ * Deletes the specified audience generation job, and removes all data associated with the job.
44
+ */
45
+ deleteAudienceGenerationJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
46
+ /**
47
+ * Specifies an audience model that you want to delete. You can't delete an audience model if there are any configured audience models that depend on the audience model.
48
+ */
49
+ deleteAudienceModel(params: CleanRoomsML.Types.DeleteAudienceModelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
50
+ /**
51
+ * Specifies an audience model that you want to delete. You can't delete an audience model if there are any configured audience models that depend on the audience model.
52
+ */
53
+ deleteAudienceModel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
54
+ /**
55
+ * Deletes the specified configured audience model. You can't delete a configured audience model if there are any lookalike models that use the configured audience model. If you delete a configured audience model, it will be removed from any collaborations that it is associated to.
56
+ */
57
+ deleteConfiguredAudienceModel(params: CleanRoomsML.Types.DeleteConfiguredAudienceModelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
58
+ /**
59
+ * Deletes the specified configured audience model. You can't delete a configured audience model if there are any lookalike models that use the configured audience model. If you delete a configured audience model, it will be removed from any collaborations that it is associated to.
60
+ */
61
+ deleteConfiguredAudienceModel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
62
+ /**
63
+ * Deletes the specified configured audience model policy.
64
+ */
65
+ deleteConfiguredAudienceModelPolicy(params: CleanRoomsML.Types.DeleteConfiguredAudienceModelPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
66
+ /**
67
+ * Deletes the specified configured audience model policy.
68
+ */
69
+ deleteConfiguredAudienceModelPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
70
+ /**
71
+ * Specifies a training dataset that you want to delete. You can't delete a training dataset if there are any audience models that depend on the training dataset. In Clean Rooms ML, the TrainingDataset is metadata that points to a Glue table, which is read only during AudienceModel creation. This action deletes the metadata.
72
+ */
73
+ deleteTrainingDataset(params: CleanRoomsML.Types.DeleteTrainingDatasetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
74
+ /**
75
+ * Specifies a training dataset that you want to delete. You can't delete a training dataset if there are any audience models that depend on the training dataset. In Clean Rooms ML, the TrainingDataset is metadata that points to a Glue table, which is read only during AudienceModel creation. This action deletes the metadata.
76
+ */
77
+ deleteTrainingDataset(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
78
+ /**
79
+ * Returns information about an audience generation job.
80
+ */
81
+ getAudienceGenerationJob(params: CleanRoomsML.Types.GetAudienceGenerationJobRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.GetAudienceGenerationJobResponse) => void): Request<CleanRoomsML.Types.GetAudienceGenerationJobResponse, AWSError>;
82
+ /**
83
+ * Returns information about an audience generation job.
84
+ */
85
+ getAudienceGenerationJob(callback?: (err: AWSError, data: CleanRoomsML.Types.GetAudienceGenerationJobResponse) => void): Request<CleanRoomsML.Types.GetAudienceGenerationJobResponse, AWSError>;
86
+ /**
87
+ * Returns information about an audience model
88
+ */
89
+ getAudienceModel(params: CleanRoomsML.Types.GetAudienceModelRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.GetAudienceModelResponse) => void): Request<CleanRoomsML.Types.GetAudienceModelResponse, AWSError>;
90
+ /**
91
+ * Returns information about an audience model
92
+ */
93
+ getAudienceModel(callback?: (err: AWSError, data: CleanRoomsML.Types.GetAudienceModelResponse) => void): Request<CleanRoomsML.Types.GetAudienceModelResponse, AWSError>;
94
+ /**
95
+ * Returns information about a specified configured audience model.
96
+ */
97
+ getConfiguredAudienceModel(params: CleanRoomsML.Types.GetConfiguredAudienceModelRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.GetConfiguredAudienceModelResponse) => void): Request<CleanRoomsML.Types.GetConfiguredAudienceModelResponse, AWSError>;
98
+ /**
99
+ * Returns information about a specified configured audience model.
100
+ */
101
+ getConfiguredAudienceModel(callback?: (err: AWSError, data: CleanRoomsML.Types.GetConfiguredAudienceModelResponse) => void): Request<CleanRoomsML.Types.GetConfiguredAudienceModelResponse, AWSError>;
102
+ /**
103
+ * Returns information about a configured audience model policy.
104
+ */
105
+ getConfiguredAudienceModelPolicy(params: CleanRoomsML.Types.GetConfiguredAudienceModelPolicyRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.GetConfiguredAudienceModelPolicyResponse) => void): Request<CleanRoomsML.Types.GetConfiguredAudienceModelPolicyResponse, AWSError>;
106
+ /**
107
+ * Returns information about a configured audience model policy.
108
+ */
109
+ getConfiguredAudienceModelPolicy(callback?: (err: AWSError, data: CleanRoomsML.Types.GetConfiguredAudienceModelPolicyResponse) => void): Request<CleanRoomsML.Types.GetConfiguredAudienceModelPolicyResponse, AWSError>;
110
+ /**
111
+ * Returns information about a training dataset.
112
+ */
113
+ getTrainingDataset(params: CleanRoomsML.Types.GetTrainingDatasetRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.GetTrainingDatasetResponse) => void): Request<CleanRoomsML.Types.GetTrainingDatasetResponse, AWSError>;
114
+ /**
115
+ * Returns information about a training dataset.
116
+ */
117
+ getTrainingDataset(callback?: (err: AWSError, data: CleanRoomsML.Types.GetTrainingDatasetResponse) => void): Request<CleanRoomsML.Types.GetTrainingDatasetResponse, AWSError>;
118
+ /**
119
+ * Returns a list of the audience export jobs.
120
+ */
121
+ listAudienceExportJobs(params: CleanRoomsML.Types.ListAudienceExportJobsRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.ListAudienceExportJobsResponse) => void): Request<CleanRoomsML.Types.ListAudienceExportJobsResponse, AWSError>;
122
+ /**
123
+ * Returns a list of the audience export jobs.
124
+ */
125
+ listAudienceExportJobs(callback?: (err: AWSError, data: CleanRoomsML.Types.ListAudienceExportJobsResponse) => void): Request<CleanRoomsML.Types.ListAudienceExportJobsResponse, AWSError>;
126
+ /**
127
+ * Returns a list of audience generation jobs.
128
+ */
129
+ listAudienceGenerationJobs(params: CleanRoomsML.Types.ListAudienceGenerationJobsRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.ListAudienceGenerationJobsResponse) => void): Request<CleanRoomsML.Types.ListAudienceGenerationJobsResponse, AWSError>;
130
+ /**
131
+ * Returns a list of audience generation jobs.
132
+ */
133
+ listAudienceGenerationJobs(callback?: (err: AWSError, data: CleanRoomsML.Types.ListAudienceGenerationJobsResponse) => void): Request<CleanRoomsML.Types.ListAudienceGenerationJobsResponse, AWSError>;
134
+ /**
135
+ * Returns a list of audience models.
136
+ */
137
+ listAudienceModels(params: CleanRoomsML.Types.ListAudienceModelsRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.ListAudienceModelsResponse) => void): Request<CleanRoomsML.Types.ListAudienceModelsResponse, AWSError>;
138
+ /**
139
+ * Returns a list of audience models.
140
+ */
141
+ listAudienceModels(callback?: (err: AWSError, data: CleanRoomsML.Types.ListAudienceModelsResponse) => void): Request<CleanRoomsML.Types.ListAudienceModelsResponse, AWSError>;
142
+ /**
143
+ * Returns a list of the configured audience models.
144
+ */
145
+ listConfiguredAudienceModels(params: CleanRoomsML.Types.ListConfiguredAudienceModelsRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.ListConfiguredAudienceModelsResponse) => void): Request<CleanRoomsML.Types.ListConfiguredAudienceModelsResponse, AWSError>;
146
+ /**
147
+ * Returns a list of the configured audience models.
148
+ */
149
+ listConfiguredAudienceModels(callback?: (err: AWSError, data: CleanRoomsML.Types.ListConfiguredAudienceModelsResponse) => void): Request<CleanRoomsML.Types.ListConfiguredAudienceModelsResponse, AWSError>;
150
+ /**
151
+ * Returns a list of tags for a provided resource.
152
+ */
153
+ listTagsForResource(params: CleanRoomsML.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.ListTagsForResourceResponse) => void): Request<CleanRoomsML.Types.ListTagsForResourceResponse, AWSError>;
154
+ /**
155
+ * Returns a list of tags for a provided resource.
156
+ */
157
+ listTagsForResource(callback?: (err: AWSError, data: CleanRoomsML.Types.ListTagsForResourceResponse) => void): Request<CleanRoomsML.Types.ListTagsForResourceResponse, AWSError>;
158
+ /**
159
+ * Returns a list of training datasets.
160
+ */
161
+ listTrainingDatasets(params: CleanRoomsML.Types.ListTrainingDatasetsRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.ListTrainingDatasetsResponse) => void): Request<CleanRoomsML.Types.ListTrainingDatasetsResponse, AWSError>;
162
+ /**
163
+ * Returns a list of training datasets.
164
+ */
165
+ listTrainingDatasets(callback?: (err: AWSError, data: CleanRoomsML.Types.ListTrainingDatasetsResponse) => void): Request<CleanRoomsML.Types.ListTrainingDatasetsResponse, AWSError>;
166
+ /**
167
+ * Create or update the resource policy for a configured audience model.
168
+ */
169
+ putConfiguredAudienceModelPolicy(params: CleanRoomsML.Types.PutConfiguredAudienceModelPolicyRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.PutConfiguredAudienceModelPolicyResponse) => void): Request<CleanRoomsML.Types.PutConfiguredAudienceModelPolicyResponse, AWSError>;
170
+ /**
171
+ * Create or update the resource policy for a configured audience model.
172
+ */
173
+ putConfiguredAudienceModelPolicy(callback?: (err: AWSError, data: CleanRoomsML.Types.PutConfiguredAudienceModelPolicyResponse) => void): Request<CleanRoomsML.Types.PutConfiguredAudienceModelPolicyResponse, AWSError>;
174
+ /**
175
+ * Export an audience of a specified size after you have generated an audience.
176
+ */
177
+ startAudienceExportJob(params: CleanRoomsML.Types.StartAudienceExportJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
178
+ /**
179
+ * Export an audience of a specified size after you have generated an audience.
180
+ */
181
+ startAudienceExportJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
182
+ /**
183
+ * Information necessary to start the audience generation job.
184
+ */
185
+ startAudienceGenerationJob(params: CleanRoomsML.Types.StartAudienceGenerationJobRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.StartAudienceGenerationJobResponse) => void): Request<CleanRoomsML.Types.StartAudienceGenerationJobResponse, AWSError>;
186
+ /**
187
+ * Information necessary to start the audience generation job.
188
+ */
189
+ startAudienceGenerationJob(callback?: (err: AWSError, data: CleanRoomsML.Types.StartAudienceGenerationJobResponse) => void): Request<CleanRoomsML.Types.StartAudienceGenerationJobResponse, AWSError>;
190
+ /**
191
+ * Adds metadata tags to a specified resource.
192
+ */
193
+ tagResource(params: CleanRoomsML.Types.TagResourceRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.TagResourceResponse) => void): Request<CleanRoomsML.Types.TagResourceResponse, AWSError>;
194
+ /**
195
+ * Adds metadata tags to a specified resource.
196
+ */
197
+ tagResource(callback?: (err: AWSError, data: CleanRoomsML.Types.TagResourceResponse) => void): Request<CleanRoomsML.Types.TagResourceResponse, AWSError>;
198
+ /**
199
+ * Removes metadata tags from a specified resource.
200
+ */
201
+ untagResource(params: CleanRoomsML.Types.UntagResourceRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.UntagResourceResponse) => void): Request<CleanRoomsML.Types.UntagResourceResponse, AWSError>;
202
+ /**
203
+ * Removes metadata tags from a specified resource.
204
+ */
205
+ untagResource(callback?: (err: AWSError, data: CleanRoomsML.Types.UntagResourceResponse) => void): Request<CleanRoomsML.Types.UntagResourceResponse, AWSError>;
206
+ /**
207
+ * Provides the information necessary to update a configured audience model. Updates that impact audience generation jobs take effect when a new job starts, but do not impact currently running jobs.
208
+ */
209
+ updateConfiguredAudienceModel(params: CleanRoomsML.Types.UpdateConfiguredAudienceModelRequest, callback?: (err: AWSError, data: CleanRoomsML.Types.UpdateConfiguredAudienceModelResponse) => void): Request<CleanRoomsML.Types.UpdateConfiguredAudienceModelResponse, AWSError>;
210
+ /**
211
+ * Provides the information necessary to update a configured audience model. Updates that impact audience generation jobs take effect when a new job starts, but do not impact currently running jobs.
212
+ */
213
+ updateConfiguredAudienceModel(callback?: (err: AWSError, data: CleanRoomsML.Types.UpdateConfiguredAudienceModelResponse) => void): Request<CleanRoomsML.Types.UpdateConfiguredAudienceModelResponse, AWSError>;
214
+ }
215
+ declare namespace CleanRoomsML {
216
+ export type AccountId = string;
217
+ export interface AudienceDestination {
218
+ /**
219
+ * The Amazon S3 bucket and path for the configured audience.
220
+ */
221
+ s3Destination: S3ConfigMap;
222
+ }
223
+ export type AudienceExportJobList = AudienceExportJobSummary[];
224
+ export type AudienceExportJobStatus = "CREATE_PENDING"|"CREATE_IN_PROGRESS"|"CREATE_FAILED"|"ACTIVE"|string;
225
+ export interface AudienceExportJobSummary {
226
+ /**
227
+ * The Amazon Resource Name (ARN) of the audience generation job that was exported.
228
+ */
229
+ audienceGenerationJobArn: AudienceGenerationJobArn;
230
+ audienceSize: AudienceSize;
231
+ /**
232
+ * The time at which the audience export job was created.
233
+ */
234
+ createTime: SyntheticTimestamp_date_time;
235
+ /**
236
+ * The description of the audience export job.
237
+ */
238
+ description?: ResourceDescription;
239
+ /**
240
+ * The name of the audience export job.
241
+ */
242
+ name: NameString;
243
+ /**
244
+ * The Amazon S3 bucket where the audience export is stored.
245
+ */
246
+ outputLocation?: S3Path;
247
+ /**
248
+ * The status of the audience export job.
249
+ */
250
+ status: AudienceExportJobStatus;
251
+ statusDetails?: StatusDetails;
252
+ /**
253
+ * The most recent time at which the audience export job was updated.
254
+ */
255
+ updateTime: SyntheticTimestamp_date_time;
256
+ }
257
+ export type AudienceGenerationJobArn = string;
258
+ export interface AudienceGenerationJobDataSource {
259
+ /**
260
+ * The Amazon S3 bucket where the training data for the configured audience is stored.
261
+ */
262
+ dataSource: S3ConfigMap;
263
+ /**
264
+ * The ARN of the IAM role that can read the Amazon S3 bucket where the training data is stored.
265
+ */
266
+ roleArn: IamRoleArn;
267
+ }
268
+ export type AudienceGenerationJobList = AudienceGenerationJobSummary[];
269
+ export type AudienceGenerationJobStatus = "CREATE_PENDING"|"CREATE_IN_PROGRESS"|"CREATE_FAILED"|"ACTIVE"|"DELETE_PENDING"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|string;
270
+ export interface AudienceGenerationJobSummary {
271
+ /**
272
+ * The Amazon Resource Name (ARN) of the audience generation job.
273
+ */
274
+ audienceGenerationJobArn: AudienceGenerationJobArn;
275
+ /**
276
+ * The identifier of the collaboration that contains this audience generation job.
277
+ */
278
+ collaborationId?: UUID;
279
+ /**
280
+ * The Amazon Resource Name (ARN) of the configured audience model that was used for this audience generation job.
281
+ */
282
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
283
+ /**
284
+ * The time at which the audience generation job was created.
285
+ */
286
+ createTime: SyntheticTimestamp_date_time;
287
+ /**
288
+ * The description of the audience generation job.
289
+ */
290
+ description?: ResourceDescription;
291
+ /**
292
+ * The name of the audience generation job.
293
+ */
294
+ name: NameString;
295
+ /**
296
+ * The AWS Account that submitted the job.
297
+ */
298
+ startedBy?: AccountId;
299
+ /**
300
+ * The status of the audience generation job.
301
+ */
302
+ status: AudienceGenerationJobStatus;
303
+ /**
304
+ * The most recent time at which the audience generation job was updated.
305
+ */
306
+ updateTime: SyntheticTimestamp_date_time;
307
+ }
308
+ export type AudienceModelArn = string;
309
+ export type AudienceModelList = AudienceModelSummary[];
310
+ export interface AudienceModelMetric {
311
+ /**
312
+ * The number of users that were used to generate these model metrics.
313
+ */
314
+ forTopKItemPredictions: Integer;
315
+ /**
316
+ * The audience model metric.
317
+ */
318
+ type: AudienceModelMetricType;
319
+ /**
320
+ * The value of the audience model metric
321
+ */
322
+ value: Double;
323
+ }
324
+ export type AudienceModelMetricType = "NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN"|"MEAN_RECIPROCAL_RANK"|"PRECISION"|"RECALL"|string;
325
+ export type AudienceModelMetrics = AudienceModelMetric[];
326
+ export type AudienceModelStatus = "CREATE_PENDING"|"CREATE_IN_PROGRESS"|"CREATE_FAILED"|"ACTIVE"|"DELETE_PENDING"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|string;
327
+ export interface AudienceModelSummary {
328
+ /**
329
+ * The Amazon Resource Name (ARN) of the audience model.
330
+ */
331
+ audienceModelArn: AudienceModelArn;
332
+ /**
333
+ * The time at which the audience model was created.
334
+ */
335
+ createTime: SyntheticTimestamp_date_time;
336
+ /**
337
+ * The description of the audience model.
338
+ */
339
+ description?: ResourceDescription;
340
+ /**
341
+ * The name of the audience model.
342
+ */
343
+ name: NameString;
344
+ /**
345
+ * The status of the audience model.
346
+ */
347
+ status: AudienceModelStatus;
348
+ /**
349
+ * The Amazon Resource Name (ARN) of the training dataset that was used for the audience model.
350
+ */
351
+ trainingDatasetArn: TrainingDatasetArn;
352
+ /**
353
+ * The most recent time at which the audience model was updated.
354
+ */
355
+ updateTime: SyntheticTimestamp_date_time;
356
+ }
357
+ export interface AudienceQualityMetrics {
358
+ /**
359
+ * The relevance scores of the generated audience.
360
+ */
361
+ relevanceMetrics: RelevanceMetrics;
362
+ }
363
+ export interface AudienceSize {
364
+ /**
365
+ * Whether the audience size is defined in absolute terms or as a percentage. You can use the ABSOLUTE AudienceSize to configure out audience sizes using the count of identifiers in the output. You can use the Percentage AudienceSize to configure sizes in the range 1-100 percent.
366
+ */
367
+ type: AudienceSizeType;
368
+ /**
369
+ * Specify an audience size value.
370
+ */
371
+ value: AudienceSizeValue;
372
+ }
373
+ export type AudienceSizeBins = AudienceSizeValue[];
374
+ export interface AudienceSizeConfig {
375
+ /**
376
+ * An array of the different audience output sizes.
377
+ */
378
+ audienceSizeBins: AudienceSizeBins;
379
+ /**
380
+ * Whether the audience output sizes are defined as an absolute number or a percentage.
381
+ */
382
+ audienceSizeType: AudienceSizeType;
383
+ }
384
+ export type AudienceSizeType = "ABSOLUTE"|"PERCENTAGE"|string;
385
+ export type AudienceSizeValue = number;
386
+ export type Boolean = boolean;
387
+ export type ColumnName = string;
388
+ export interface ColumnSchema {
389
+ /**
390
+ * The name of a column.
391
+ */
392
+ columnName: ColumnName;
393
+ /**
394
+ * The data type of column.
395
+ */
396
+ columnTypes: ColumnTypeList;
397
+ }
398
+ export type ColumnType = "USER_ID"|"ITEM_ID"|"TIMESTAMP"|"CATEGORICAL_FEATURE"|"NUMERICAL_FEATURE"|string;
399
+ export type ColumnTypeList = ColumnType[];
400
+ export type ConfiguredAudienceModelArn = string;
401
+ export type ConfiguredAudienceModelList = ConfiguredAudienceModelSummary[];
402
+ export interface ConfiguredAudienceModelOutputConfig {
403
+ destination: AudienceDestination;
404
+ /**
405
+ * The ARN of the IAM role that can write the Amazon S3 bucket.
406
+ */
407
+ roleArn: IamRoleArn;
408
+ }
409
+ export type ConfiguredAudienceModelStatus = "ACTIVE"|string;
410
+ export interface ConfiguredAudienceModelSummary {
411
+ /**
412
+ * The Amazon Resource Name (ARN) of the audience model that was used to create the configured audience model.
413
+ */
414
+ audienceModelArn: AudienceModelArn;
415
+ /**
416
+ * The Amazon Resource Name (ARN) of the configured audience model that you are interested in.
417
+ */
418
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
419
+ /**
420
+ * The time at which the configured audience model was created.
421
+ */
422
+ createTime: SyntheticTimestamp_date_time;
423
+ /**
424
+ * The description of the configured audience model.
425
+ */
426
+ description?: ResourceDescription;
427
+ /**
428
+ * The name of the configured audience model.
429
+ */
430
+ name: NameString;
431
+ /**
432
+ * The output configuration of the configured audience model.
433
+ */
434
+ outputConfig: ConfiguredAudienceModelOutputConfig;
435
+ /**
436
+ * The status of the configured audience model.
437
+ */
438
+ status: ConfiguredAudienceModelStatus;
439
+ /**
440
+ * The most recent time at which the configured audience model was updated.
441
+ */
442
+ updateTime: SyntheticTimestamp_date_time;
443
+ }
444
+ export interface CreateAudienceModelRequest {
445
+ /**
446
+ * The description of the audience model.
447
+ */
448
+ description?: ResourceDescription;
449
+ /**
450
+ * The Amazon Resource Name (ARN) of the KMS key. This key is used to encrypt and decrypt customer-owned data in the trained ML model and the associated data.
451
+ */
452
+ kmsKeyArn?: KmsKeyArn;
453
+ /**
454
+ * The name of the audience model resource.
455
+ */
456
+ name: NameString;
457
+ /**
458
+ * The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags: Maximum number of tags per resource - 50. For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8. Maximum value length - 256 Unicode characters in UTF-8. If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case sensitive. 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 Forecast 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.
459
+ */
460
+ tags?: TagMap;
461
+ /**
462
+ * The end date and time of the training window.
463
+ */
464
+ trainingDataEndTime?: SyntheticTimestamp_date_time;
465
+ /**
466
+ * The start date and time of the training window.
467
+ */
468
+ trainingDataStartTime?: SyntheticTimestamp_date_time;
469
+ /**
470
+ * The Amazon Resource Name (ARN) of the training dataset for this audience model.
471
+ */
472
+ trainingDatasetArn: TrainingDatasetArn;
473
+ }
474
+ export interface CreateAudienceModelResponse {
475
+ /**
476
+ * The Amazon Resource Name (ARN) of the audience model.
477
+ */
478
+ audienceModelArn: AudienceModelArn;
479
+ }
480
+ export interface CreateConfiguredAudienceModelRequest {
481
+ /**
482
+ * The Amazon Resource Name (ARN) of the audience model to use for the configured audience model.
483
+ */
484
+ audienceModelArn: AudienceModelArn;
485
+ /**
486
+ * Configure the list of output sizes of audiences that can be created using this configured audience model. A request to StartAudienceGenerationJob that uses this configured audience model must have an audienceSize selected from this list. You can use the ABSOLUTE AudienceSize to configure out audience sizes using the count of identifiers in the output. You can use the Percentage AudienceSize to configure sizes in the range 1-100 percent.
487
+ */
488
+ audienceSizeConfig?: AudienceSizeConfig;
489
+ /**
490
+ * Configure how the service tags audience generation jobs created using this configured audience model. If you specify NONE, the tags from the StartAudienceGenerationJob request determine the tags of the audience generation job. If you specify FROM_PARENT_RESOURCE, the audience generation job inherits the tags from the configured audience model, by default. Tags in the StartAudienceGenerationJob will override the default.
491
+ */
492
+ childResourceTagOnCreatePolicy?: TagOnCreatePolicy;
493
+ /**
494
+ * The description of the configured audience model.
495
+ */
496
+ description?: ResourceDescription;
497
+ /**
498
+ * The minimum number of users from the seed audience that must match with users in the training data of the audience model.
499
+ */
500
+ minMatchingSeedSize?: MinMatchingSeedSize;
501
+ /**
502
+ * The name of the configured audience model.
503
+ */
504
+ name: NameString;
505
+ /**
506
+ * Configure the Amazon S3 location and IAM Role for audiences created using this configured audience model. Each audience will have a unique location. The IAM Role must have s3:PutObject permission on the destination Amazon S3 location. If the destination is protected with Amazon S3 KMS-SSE, then the Role must also have the required KMS permissions.
507
+ */
508
+ outputConfig: ConfiguredAudienceModelOutputConfig;
509
+ /**
510
+ * Whether audience metrics are shared.
511
+ */
512
+ sharedAudienceMetrics: MetricsList;
513
+ /**
514
+ * The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags: Maximum number of tags per resource - 50. For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8. Maximum value length - 256 Unicode characters in UTF-8. If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case sensitive. 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 Forecast 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.
515
+ */
516
+ tags?: TagMap;
517
+ }
518
+ export interface CreateConfiguredAudienceModelResponse {
519
+ /**
520
+ * The Amazon Resource Name (ARN) of the configured audience model.
521
+ */
522
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
523
+ }
524
+ export interface CreateTrainingDatasetRequest {
525
+ /**
526
+ * The description of the training dataset.
527
+ */
528
+ description?: ResourceDescription;
529
+ /**
530
+ * The name of the training dataset. This name must be unique in your account and region.
531
+ */
532
+ name: NameString;
533
+ /**
534
+ * The ARN of the IAM role that Clean Rooms ML can assume to read the data referred to in the dataSource field of each dataset. Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get an AccessDeniedException error.
535
+ */
536
+ roleArn: IamRoleArn;
537
+ /**
538
+ * The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags: Maximum number of tags per resource - 50. For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8. Maximum value length - 256 Unicode characters in UTF-8. If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case sensitive. 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.
539
+ */
540
+ tags?: TagMap;
541
+ /**
542
+ * An array of information that lists the Dataset objects, which specifies the dataset type and details on its location and schema. You must provide a role that has read access to these tables.
543
+ */
544
+ trainingData: CreateTrainingDatasetRequestTrainingDataList;
545
+ }
546
+ export type CreateTrainingDatasetRequestTrainingDataList = Dataset[];
547
+ export interface CreateTrainingDatasetResponse {
548
+ /**
549
+ * The Amazon Resource Name (ARN) of the training dataset resource.
550
+ */
551
+ trainingDatasetArn: TrainingDatasetArn;
552
+ }
553
+ export interface DataSource {
554
+ /**
555
+ * A GlueDataSource object that defines the catalog ID, database name, and table name for the training data.
556
+ */
557
+ glueDataSource: GlueDataSource;
558
+ }
559
+ export interface Dataset {
560
+ /**
561
+ * A DatasetInputConfig object that defines the data source and schema mapping.
562
+ */
563
+ inputConfig: DatasetInputConfig;
564
+ /**
565
+ * What type of information is found in the dataset.
566
+ */
567
+ type: DatasetType;
568
+ }
569
+ export interface DatasetInputConfig {
570
+ /**
571
+ * A DataSource object that specifies the Glue data source for the training data.
572
+ */
573
+ dataSource: DataSource;
574
+ /**
575
+ * The schema information for the training data.
576
+ */
577
+ schema: DatasetInputConfigSchemaList;
578
+ }
579
+ export type DatasetInputConfigSchemaList = ColumnSchema[];
580
+ export type DatasetList = Dataset[];
581
+ export type DatasetType = "INTERACTIONS"|string;
582
+ export interface DeleteAudienceGenerationJobRequest {
583
+ /**
584
+ * The Amazon Resource Name (ARN) of the audience generation job that you want to delete.
585
+ */
586
+ audienceGenerationJobArn: AudienceGenerationJobArn;
587
+ }
588
+ export interface DeleteAudienceModelRequest {
589
+ /**
590
+ * The Amazon Resource Name (ARN) of the audience model that you want to delete.
591
+ */
592
+ audienceModelArn: AudienceModelArn;
593
+ }
594
+ export interface DeleteConfiguredAudienceModelPolicyRequest {
595
+ /**
596
+ * The Amazon Resource Name (ARN) of the configured audience model policy that you want to delete.
597
+ */
598
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
599
+ }
600
+ export interface DeleteConfiguredAudienceModelRequest {
601
+ /**
602
+ * The Amazon Resource Name (ARN) of the configured audience model that you want to delete.
603
+ */
604
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
605
+ }
606
+ export interface DeleteTrainingDatasetRequest {
607
+ /**
608
+ * The Amazon Resource Name (ARN) of the training dataset that you want to delete.
609
+ */
610
+ trainingDatasetArn: TrainingDatasetArn;
611
+ }
612
+ export type Double = number;
613
+ export interface GetAudienceGenerationJobRequest {
614
+ /**
615
+ * The Amazon Resource Name (ARN) of the audience generation job that you are interested in.
616
+ */
617
+ audienceGenerationJobArn: AudienceGenerationJobArn;
618
+ }
619
+ export interface GetAudienceGenerationJobResponse {
620
+ /**
621
+ * The Amazon Resource Name (ARN) of the audience generation job.
622
+ */
623
+ audienceGenerationJobArn: AudienceGenerationJobArn;
624
+ /**
625
+ * The identifier of the collaboration that this audience generation job is associated with.
626
+ */
627
+ collaborationId?: UUID;
628
+ /**
629
+ * The Amazon Resource Name (ARN) of the configured audience model used for this audience generation job.
630
+ */
631
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
632
+ /**
633
+ * The time at which the audience generation job was created.
634
+ */
635
+ createTime: SyntheticTimestamp_date_time;
636
+ /**
637
+ * The description of the audience generation job.
638
+ */
639
+ description?: ResourceDescription;
640
+ /**
641
+ * Configure whether the seed users are included in the output audience. By default, Clean Rooms ML removes seed users from the output audience. If you specify TRUE, the seed users will appear first in the output. Clean Rooms ML does not explicitly reveal whether a user was in the seed, but the recipient of the audience will know that the first minimumSeedSize count of users are from the seed.
642
+ */
643
+ includeSeedInOutput?: Boolean;
644
+ /**
645
+ * The relevance scores for different audience sizes.
646
+ */
647
+ metrics?: AudienceQualityMetrics;
648
+ /**
649
+ * The name of the audience generation job.
650
+ */
651
+ name: NameString;
652
+ /**
653
+ * The seed audience that was used for this audience generation job. This field will be null if the account calling the API is the account that started this audience generation job.
654
+ */
655
+ seedAudience?: AudienceGenerationJobDataSource;
656
+ /**
657
+ * The AWS account that started this audience generation job.
658
+ */
659
+ startedBy?: AccountId;
660
+ /**
661
+ * The status of the audience generation job.
662
+ */
663
+ status: AudienceGenerationJobStatus;
664
+ /**
665
+ * Details about the status of the audience generation job.
666
+ */
667
+ statusDetails?: StatusDetails;
668
+ /**
669
+ * The tags that are associated to this audience generation job.
670
+ */
671
+ tags?: TagMap;
672
+ /**
673
+ * The most recent time at which the audience generation job was updated.
674
+ */
675
+ updateTime: SyntheticTimestamp_date_time;
676
+ }
677
+ export interface GetAudienceModelRequest {
678
+ /**
679
+ * The Amazon Resource Name (ARN) of the audience model that you are interested in.
680
+ */
681
+ audienceModelArn: AudienceModelArn;
682
+ }
683
+ export interface GetAudienceModelResponse {
684
+ /**
685
+ * The Amazon Resource Name (ARN) of the audience model.
686
+ */
687
+ audienceModelArn: AudienceModelArn;
688
+ /**
689
+ * The time at which the audience model was created.
690
+ */
691
+ createTime: SyntheticTimestamp_date_time;
692
+ /**
693
+ * The description of the audience model.
694
+ */
695
+ description?: ResourceDescription;
696
+ /**
697
+ * The KMS key ARN used for the audience model.
698
+ */
699
+ kmsKeyArn?: KmsKeyArn;
700
+ /**
701
+ * Accuracy metrics for the model.
702
+ */
703
+ metrics?: AudienceModelMetrics;
704
+ /**
705
+ * The name of the audience model.
706
+ */
707
+ name: NameString;
708
+ /**
709
+ * The status of the audience model.
710
+ */
711
+ status: AudienceModelStatus;
712
+ /**
713
+ * Details about the status of the audience model.
714
+ */
715
+ statusDetails?: StatusDetails;
716
+ /**
717
+ * The tags that are assigned to the audience model.
718
+ */
719
+ tags?: TagMap;
720
+ /**
721
+ * The end date specified for the training window.
722
+ */
723
+ trainingDataEndTime?: SyntheticTimestamp_date_time;
724
+ /**
725
+ * The start date specified for the training window.
726
+ */
727
+ trainingDataStartTime?: SyntheticTimestamp_date_time;
728
+ /**
729
+ * The Amazon Resource Name (ARN) of the training dataset that was used for this audience model.
730
+ */
731
+ trainingDatasetArn: TrainingDatasetArn;
732
+ /**
733
+ * The most recent time at which the audience model was updated.
734
+ */
735
+ updateTime: SyntheticTimestamp_date_time;
736
+ }
737
+ export interface GetConfiguredAudienceModelPolicyRequest {
738
+ /**
739
+ * The Amazon Resource Name (ARN) of the configured audience model that you are interested in.
740
+ */
741
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
742
+ }
743
+ export interface GetConfiguredAudienceModelPolicyResponse {
744
+ /**
745
+ * The Amazon Resource Name (ARN) of the configured audience model.
746
+ */
747
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
748
+ /**
749
+ * The configured audience model policy. This is a JSON IAM resource policy.
750
+ */
751
+ configuredAudienceModelPolicy: ResourcePolicy;
752
+ /**
753
+ * A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the policy.
754
+ */
755
+ policyHash: Hash;
756
+ }
757
+ export interface GetConfiguredAudienceModelRequest {
758
+ /**
759
+ * The Amazon Resource Name (ARN) of the configured audience model that you are interested in.
760
+ */
761
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
762
+ }
763
+ export interface GetConfiguredAudienceModelResponse {
764
+ /**
765
+ * The Amazon Resource Name (ARN) of the audience model used for this configured audience model.
766
+ */
767
+ audienceModelArn: AudienceModelArn;
768
+ /**
769
+ * The list of output sizes of audiences that can be created using this configured audience model. A request to StartAudienceGenerationJob that uses this configured audience model must have an audienceSize selected from this list. You can use the ABSOLUTE AudienceSize to configure out audience sizes using the count of identifiers in the output. You can use the Percentage AudienceSize to configure sizes in the range 1-100 percent.
770
+ */
771
+ audienceSizeConfig?: AudienceSizeConfig;
772
+ /**
773
+ * Provides the childResourceTagOnCreatePolicy that was used for this configured audience model.
774
+ */
775
+ childResourceTagOnCreatePolicy?: TagOnCreatePolicy;
776
+ /**
777
+ * The Amazon Resource Name (ARN) of the configured audience model.
778
+ */
779
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
780
+ /**
781
+ * The time at which the configured audience model was created.
782
+ */
783
+ createTime: SyntheticTimestamp_date_time;
784
+ /**
785
+ * The description of the configured audience model.
786
+ */
787
+ description?: ResourceDescription;
788
+ /**
789
+ * The minimum number of users from the seed audience that must match with users in the training data of the audience model.
790
+ */
791
+ minMatchingSeedSize?: MinMatchingSeedSize;
792
+ /**
793
+ * The name of the configured audience model.
794
+ */
795
+ name: NameString;
796
+ /**
797
+ * The output configuration of the configured audience model
798
+ */
799
+ outputConfig: ConfiguredAudienceModelOutputConfig;
800
+ /**
801
+ * Whether audience metrics are shared.
802
+ */
803
+ sharedAudienceMetrics: MetricsList;
804
+ /**
805
+ * The status of the configured audience model.
806
+ */
807
+ status: ConfiguredAudienceModelStatus;
808
+ /**
809
+ * The tags that are associated to this configured audience model.
810
+ */
811
+ tags?: TagMap;
812
+ /**
813
+ * The most recent time at which the configured audience model was updated.
814
+ */
815
+ updateTime: SyntheticTimestamp_date_time;
816
+ }
817
+ export interface GetTrainingDatasetRequest {
818
+ /**
819
+ * The Amazon Resource Name (ARN) of the training dataset that you are interested in.
820
+ */
821
+ trainingDatasetArn: TrainingDatasetArn;
822
+ }
823
+ export interface GetTrainingDatasetResponse {
824
+ /**
825
+ * The time at which the training dataset was created.
826
+ */
827
+ createTime: SyntheticTimestamp_date_time;
828
+ /**
829
+ * The description of the training dataset.
830
+ */
831
+ description?: ResourceDescription;
832
+ /**
833
+ * The name of the training dataset.
834
+ */
835
+ name: NameString;
836
+ /**
837
+ * The IAM role used to read the training data.
838
+ */
839
+ roleArn: IamRoleArn;
840
+ /**
841
+ * The status of the training dataset.
842
+ */
843
+ status: TrainingDatasetStatus;
844
+ /**
845
+ * The tags that are assigned to this training dataset.
846
+ */
847
+ tags?: TagMap;
848
+ /**
849
+ * Metadata about the requested training data.
850
+ */
851
+ trainingData: DatasetList;
852
+ /**
853
+ * The Amazon Resource Name (ARN) of the training dataset.
854
+ */
855
+ trainingDatasetArn: TrainingDatasetArn;
856
+ /**
857
+ * The most recent time at which the training dataset was updated.
858
+ */
859
+ updateTime: SyntheticTimestamp_date_time;
860
+ }
861
+ export interface GlueDataSource {
862
+ /**
863
+ * The Glue catalog that contains the training data.
864
+ */
865
+ catalogId?: AccountId;
866
+ /**
867
+ * The Glue database that contains the training data.
868
+ */
869
+ databaseName: GlueDatabaseName;
870
+ /**
871
+ * The Glue table that contains the training data.
872
+ */
873
+ tableName: GlueTableName;
874
+ }
875
+ export type GlueDatabaseName = string;
876
+ export type GlueTableName = string;
877
+ export type Hash = string;
878
+ export type IamRoleArn = string;
879
+ export type Integer = number;
880
+ export type KmsKeyArn = string;
881
+ export interface ListAudienceExportJobsRequest {
882
+ /**
883
+ * The Amazon Resource Name (ARN) of the audience generation job that you are interested in.
884
+ */
885
+ audienceGenerationJobArn?: AudienceGenerationJobArn;
886
+ /**
887
+ * The maximum size of the results that is returned per call.
888
+ */
889
+ maxResults?: MaxResults;
890
+ /**
891
+ * The token value retrieved from a previous call to access the next page of results.
892
+ */
893
+ nextToken?: NextToken;
894
+ }
895
+ export interface ListAudienceExportJobsResponse {
896
+ /**
897
+ * The audience export jobs that match the request.
898
+ */
899
+ audienceExportJobs: AudienceExportJobList;
900
+ /**
901
+ * The token value retrieved from a previous call to access the next page of results.
902
+ */
903
+ nextToken?: NextToken;
904
+ }
905
+ export interface ListAudienceGenerationJobsRequest {
906
+ /**
907
+ * The identifier of the collaboration that contains the audience generation jobs that you are interested in.
908
+ */
909
+ collaborationId?: UUID;
910
+ /**
911
+ * The Amazon Resource Name (ARN) of the configured audience model that was used for the audience generation jobs that you are interested in.
912
+ */
913
+ configuredAudienceModelArn?: ConfiguredAudienceModelArn;
914
+ /**
915
+ * The maximum size of the results that is returned per call.
916
+ */
917
+ maxResults?: MaxResults;
918
+ /**
919
+ * The token value retrieved from a previous call to access the next page of results.
920
+ */
921
+ nextToken?: NextToken;
922
+ }
923
+ export interface ListAudienceGenerationJobsResponse {
924
+ /**
925
+ * The audience generation jobs that match the request.
926
+ */
927
+ audienceGenerationJobs: AudienceGenerationJobList;
928
+ /**
929
+ * The token value retrieved from a previous call to access the next page of results.
930
+ */
931
+ nextToken?: NextToken;
932
+ }
933
+ export interface ListAudienceModelsRequest {
934
+ /**
935
+ * The maximum size of the results that is returned per call.
936
+ */
937
+ maxResults?: MaxResults;
938
+ /**
939
+ * The token value retrieved from a previous call to access the next page of results.
940
+ */
941
+ nextToken?: NextToken;
942
+ }
943
+ export interface ListAudienceModelsResponse {
944
+ /**
945
+ * The audience models that match the request.
946
+ */
947
+ audienceModels: AudienceModelList;
948
+ /**
949
+ * The token value retrieved from a previous call to access the next page of results.
950
+ */
951
+ nextToken?: NextToken;
952
+ }
953
+ export interface ListConfiguredAudienceModelsRequest {
954
+ /**
955
+ * The maximum size of the results that is returned per call.
956
+ */
957
+ maxResults?: MaxResults;
958
+ /**
959
+ * The token value retrieved from a previous call to access the next page of results.
960
+ */
961
+ nextToken?: NextToken;
962
+ }
963
+ export interface ListConfiguredAudienceModelsResponse {
964
+ /**
965
+ * The configured audience models.
966
+ */
967
+ configuredAudienceModels: ConfiguredAudienceModelList;
968
+ /**
969
+ * The token value retrieved from a previous call to access the next page of results.
970
+ */
971
+ nextToken?: NextToken;
972
+ }
973
+ export interface ListTagsForResourceRequest {
974
+ /**
975
+ * The Amazon Resource Name (ARN) of the resource that you are interested in.
976
+ */
977
+ resourceArn: TaggableArn;
978
+ }
979
+ export interface ListTagsForResourceResponse {
980
+ /**
981
+ * The tags that are associated with the resource.
982
+ */
983
+ tags: TagMap;
984
+ }
985
+ export interface ListTrainingDatasetsRequest {
986
+ /**
987
+ * The maximum size of the results that is returned per call.
988
+ */
989
+ maxResults?: MaxResults;
990
+ /**
991
+ * The token value retrieved from a previous call to access the next page of results.
992
+ */
993
+ nextToken?: NextToken;
994
+ }
995
+ export interface ListTrainingDatasetsResponse {
996
+ /**
997
+ * The token value retrieved from a previous call to access the next page of results.
998
+ */
999
+ nextToken?: NextToken;
1000
+ /**
1001
+ * The training datasets that match the request.
1002
+ */
1003
+ trainingDatasets: TrainingDatasetList;
1004
+ }
1005
+ export type MaxResults = number;
1006
+ export type MetricsList = SharedAudienceMetrics[];
1007
+ export type MinMatchingSeedSize = number;
1008
+ export type NameString = string;
1009
+ export type NextToken = string;
1010
+ export type PolicyExistenceCondition = "POLICY_MUST_EXIST"|"POLICY_MUST_NOT_EXIST"|string;
1011
+ export interface PutConfiguredAudienceModelPolicyRequest {
1012
+ /**
1013
+ * The Amazon Resource Name (ARN) of the configured audience model that the resource policy will govern.
1014
+ */
1015
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
1016
+ /**
1017
+ * The IAM resource policy.
1018
+ */
1019
+ configuredAudienceModelPolicy: ResourcePolicy;
1020
+ /**
1021
+ * Use this to prevent unexpected concurrent modification of the policy.
1022
+ */
1023
+ policyExistenceCondition?: PolicyExistenceCondition;
1024
+ /**
1025
+ * A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the policy.
1026
+ */
1027
+ previousPolicyHash?: Hash;
1028
+ }
1029
+ export interface PutConfiguredAudienceModelPolicyResponse {
1030
+ /**
1031
+ * The IAM resource policy.
1032
+ */
1033
+ configuredAudienceModelPolicy: ResourcePolicy;
1034
+ /**
1035
+ * A cryptographic hash of the contents of the policy used to prevent unexpected concurrent modification of the policy.
1036
+ */
1037
+ policyHash: Hash;
1038
+ }
1039
+ export interface RelevanceMetric {
1040
+ audienceSize: AudienceSize;
1041
+ /**
1042
+ * The relevance score of the generated audience.
1043
+ */
1044
+ score?: Double;
1045
+ }
1046
+ export type RelevanceMetrics = RelevanceMetric[];
1047
+ export type ResourceDescription = string;
1048
+ export type ResourcePolicy = string;
1049
+ export interface S3ConfigMap {
1050
+ /**
1051
+ * The Amazon S3 location URI.
1052
+ */
1053
+ s3Uri: S3Path;
1054
+ }
1055
+ export type S3Path = string;
1056
+ export type SharedAudienceMetrics = "ALL"|"NONE"|string;
1057
+ export interface StartAudienceExportJobRequest {
1058
+ /**
1059
+ * The Amazon Resource Name (ARN) of the audience generation job that you want to export.
1060
+ */
1061
+ audienceGenerationJobArn: AudienceGenerationJobArn;
1062
+ audienceSize: AudienceSize;
1063
+ /**
1064
+ * The description of the audience export job.
1065
+ */
1066
+ description?: ResourceDescription;
1067
+ /**
1068
+ * The name of the audience export job.
1069
+ */
1070
+ name: NameString;
1071
+ }
1072
+ export interface StartAudienceGenerationJobRequest {
1073
+ /**
1074
+ * The identifier of the collaboration that contains the audience generation job.
1075
+ */
1076
+ collaborationId?: UUID;
1077
+ /**
1078
+ * The Amazon Resource Name (ARN) of the configured audience model that is used for this audience generation job.
1079
+ */
1080
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
1081
+ /**
1082
+ * The description of the audience generation job.
1083
+ */
1084
+ description?: ResourceDescription;
1085
+ /**
1086
+ * Whether the seed audience is included in the audience generation output.
1087
+ */
1088
+ includeSeedInOutput?: Boolean;
1089
+ /**
1090
+ * The name of the audience generation job.
1091
+ */
1092
+ name: NameString;
1093
+ /**
1094
+ * The seed audience that is used to generate the audience.
1095
+ */
1096
+ seedAudience: AudienceGenerationJobDataSource;
1097
+ /**
1098
+ * The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags: Maximum number of tags per resource - 50. For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8. Maximum value length - 256 Unicode characters in UTF-8. If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case sensitive. 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 Forecast 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.
1099
+ */
1100
+ tags?: TagMap;
1101
+ }
1102
+ export interface StartAudienceGenerationJobResponse {
1103
+ /**
1104
+ * The Amazon Resource Name (ARN) of the audience generation job.
1105
+ */
1106
+ audienceGenerationJobArn: AudienceGenerationJobArn;
1107
+ }
1108
+ export interface StatusDetails {
1109
+ /**
1110
+ * The error message that was returned. The message is intended for human consumption and can change at any time. Use the statusCode for programmatic error handling.
1111
+ */
1112
+ message?: String;
1113
+ /**
1114
+ * The status code that was returned. The status code is intended for programmatic error handling. Clean Rooms ML will not change the status code for existing error conditions.
1115
+ */
1116
+ statusCode?: String;
1117
+ }
1118
+ export type String = string;
1119
+ export type SyntheticTimestamp_date_time = Date;
1120
+ export type TagKey = string;
1121
+ export type TagKeys = TagKey[];
1122
+ export type TagMap = {[key: string]: TagValue};
1123
+ export type TagOnCreatePolicy = "FROM_PARENT_RESOURCE"|"NONE"|string;
1124
+ export interface TagResourceRequest {
1125
+ /**
1126
+ * The Amazon Resource Name (ARN) of the resource that you want to assign tags.
1127
+ */
1128
+ resourceArn: TaggableArn;
1129
+ /**
1130
+ * The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. The following basic restrictions apply to tags: Maximum number of tags per resource - 50. For each resource, each tag key must be unique, and each tag key can have only one value. Maximum key length - 128 Unicode characters in UTF-8. Maximum value length - 256 Unicode characters in UTF-8. If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case sensitive. 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 Forecast 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.
1131
+ */
1132
+ tags: TagMap;
1133
+ }
1134
+ export interface TagResourceResponse {
1135
+ }
1136
+ export type TagValue = string;
1137
+ export type TaggableArn = string;
1138
+ export type TrainingDatasetArn = string;
1139
+ export type TrainingDatasetList = TrainingDatasetSummary[];
1140
+ export type TrainingDatasetStatus = "ACTIVE"|string;
1141
+ export interface TrainingDatasetSummary {
1142
+ /**
1143
+ * The time at which the training dataset was created.
1144
+ */
1145
+ createTime: SyntheticTimestamp_date_time;
1146
+ /**
1147
+ * The description of the training dataset.
1148
+ */
1149
+ description?: ResourceDescription;
1150
+ /**
1151
+ * The name of the training dataset.
1152
+ */
1153
+ name: NameString;
1154
+ /**
1155
+ * The status of the training dataset.
1156
+ */
1157
+ status: TrainingDatasetStatus;
1158
+ /**
1159
+ * The Amazon Resource Name (ARN) of the training dataset.
1160
+ */
1161
+ trainingDatasetArn: TrainingDatasetArn;
1162
+ /**
1163
+ * The most recent time at which the training dataset was updated.
1164
+ */
1165
+ updateTime: SyntheticTimestamp_date_time;
1166
+ }
1167
+ export type UUID = string;
1168
+ export interface UntagResourceRequest {
1169
+ /**
1170
+ * The Amazon Resource Name (ARN) of the resource that you want to remove tags from.
1171
+ */
1172
+ resourceArn: TaggableArn;
1173
+ /**
1174
+ * The key values of tags that you want to remove.
1175
+ */
1176
+ tagKeys: TagKeys;
1177
+ }
1178
+ export interface UntagResourceResponse {
1179
+ }
1180
+ export interface UpdateConfiguredAudienceModelRequest {
1181
+ /**
1182
+ * The Amazon Resource Name (ARN) of the new audience model that you want to use.
1183
+ */
1184
+ audienceModelArn?: AudienceModelArn;
1185
+ /**
1186
+ * The new audience size configuration.
1187
+ */
1188
+ audienceSizeConfig?: AudienceSizeConfig;
1189
+ /**
1190
+ * The Amazon Resource Name (ARN) of the configured audience model that you want to update.
1191
+ */
1192
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
1193
+ /**
1194
+ * The new description of the configured audience model.
1195
+ */
1196
+ description?: ResourceDescription;
1197
+ /**
1198
+ * The minimum number of users from the seed audience that must match with users in the training data of the audience model.
1199
+ */
1200
+ minMatchingSeedSize?: MinMatchingSeedSize;
1201
+ /**
1202
+ * The new output configuration.
1203
+ */
1204
+ outputConfig?: ConfiguredAudienceModelOutputConfig;
1205
+ /**
1206
+ * The new value for whether to share audience metrics.
1207
+ */
1208
+ sharedAudienceMetrics?: MetricsList;
1209
+ }
1210
+ export interface UpdateConfiguredAudienceModelResponse {
1211
+ /**
1212
+ * The Amazon Resource Name (ARN) of the configured audience model that was updated.
1213
+ */
1214
+ configuredAudienceModelArn: ConfiguredAudienceModelArn;
1215
+ }
1216
+ /**
1217
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1218
+ */
1219
+ export type apiVersion = "2023-09-06"|"latest"|string;
1220
+ export interface ClientApiVersions {
1221
+ /**
1222
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1223
+ */
1224
+ apiVersion?: apiVersion;
1225
+ }
1226
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
1227
+ /**
1228
+ * Contains interfaces for use with the CleanRoomsML client.
1229
+ */
1230
+ export import Types = CleanRoomsML;
1231
+ }
1232
+ export = CleanRoomsML;