@aws-sdk/client-cleanroomsml 3.462.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/LICENSE +201 -0
- package/README.md +405 -0
- package/dist-cjs/CleanRoomsML.js +61 -0
- package/dist-cjs/CleanRoomsMLClient.js +43 -0
- package/dist-cjs/commands/CreateAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/CreateConfiguredAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/CreateTrainingDatasetCommand.js +51 -0
- package/dist-cjs/commands/DeleteAudienceGenerationJobCommand.js +51 -0
- package/dist-cjs/commands/DeleteAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/DeleteConfiguredAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/DeleteConfiguredAudienceModelPolicyCommand.js +51 -0
- package/dist-cjs/commands/DeleteTrainingDatasetCommand.js +51 -0
- package/dist-cjs/commands/GetAudienceGenerationJobCommand.js +51 -0
- package/dist-cjs/commands/GetAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/GetConfiguredAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/GetConfiguredAudienceModelPolicyCommand.js +51 -0
- package/dist-cjs/commands/GetTrainingDatasetCommand.js +51 -0
- package/dist-cjs/commands/ListAudienceExportJobsCommand.js +51 -0
- package/dist-cjs/commands/ListAudienceGenerationJobsCommand.js +51 -0
- package/dist-cjs/commands/ListAudienceModelsCommand.js +51 -0
- package/dist-cjs/commands/ListConfiguredAudienceModelsCommand.js +51 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
- package/dist-cjs/commands/ListTrainingDatasetsCommand.js +51 -0
- package/dist-cjs/commands/PutConfiguredAudienceModelPolicyCommand.js +51 -0
- package/dist-cjs/commands/StartAudienceExportJobCommand.js +51 -0
- package/dist-cjs/commands/StartAudienceGenerationJobCommand.js +51 -0
- package/dist-cjs/commands/TagResourceCommand.js +51 -0
- package/dist-cjs/commands/UntagResourceCommand.js +51 -0
- package/dist-cjs/commands/UpdateConfiguredAudienceModelCommand.js +51 -0
- package/dist-cjs/commands/index.js +28 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/CleanRoomsMLServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +131 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAudienceExportJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListAudienceGenerationJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListAudienceModelsPaginator.js +29 -0
- package/dist-cjs/pagination/ListConfiguredAudienceModelsPaginator.js +29 -0
- package/dist-cjs/pagination/ListTrainingDatasetsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1835 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/CleanRoomsML.js +57 -0
- package/dist-es/CleanRoomsMLClient.js +39 -0
- package/dist-es/commands/CreateAudienceModelCommand.js +47 -0
- package/dist-es/commands/CreateConfiguredAudienceModelCommand.js +47 -0
- package/dist-es/commands/CreateTrainingDatasetCommand.js +47 -0
- package/dist-es/commands/DeleteAudienceGenerationJobCommand.js +47 -0
- package/dist-es/commands/DeleteAudienceModelCommand.js +47 -0
- package/dist-es/commands/DeleteConfiguredAudienceModelCommand.js +47 -0
- package/dist-es/commands/DeleteConfiguredAudienceModelPolicyCommand.js +47 -0
- package/dist-es/commands/DeleteTrainingDatasetCommand.js +47 -0
- package/dist-es/commands/GetAudienceGenerationJobCommand.js +47 -0
- package/dist-es/commands/GetAudienceModelCommand.js +47 -0
- package/dist-es/commands/GetConfiguredAudienceModelCommand.js +47 -0
- package/dist-es/commands/GetConfiguredAudienceModelPolicyCommand.js +47 -0
- package/dist-es/commands/GetTrainingDatasetCommand.js +47 -0
- package/dist-es/commands/ListAudienceExportJobsCommand.js +47 -0
- package/dist-es/commands/ListAudienceGenerationJobsCommand.js +47 -0
- package/dist-es/commands/ListAudienceModelsCommand.js +47 -0
- package/dist-es/commands/ListConfiguredAudienceModelsCommand.js +47 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
- package/dist-es/commands/ListTrainingDatasetsCommand.js +47 -0
- package/dist-es/commands/PutConfiguredAudienceModelPolicyCommand.js +47 -0
- package/dist-es/commands/StartAudienceExportJobCommand.js +47 -0
- package/dist-es/commands/StartAudienceGenerationJobCommand.js +47 -0
- package/dist-es/commands/TagResourceCommand.js +47 -0
- package/dist-es/commands/UntagResourceCommand.js +47 -0
- package/dist-es/commands/UpdateConfiguredAudienceModelCommand.js +47 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/CleanRoomsMLServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +123 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAudienceExportJobsPaginator.js +25 -0
- package/dist-es/pagination/ListAudienceGenerationJobsPaginator.js +25 -0
- package/dist-es/pagination/ListAudienceModelsPaginator.js +25 -0
- package/dist-es/pagination/ListConfiguredAudienceModelsPaginator.js +25 -0
- package/dist-es/pagination/ListTrainingDatasetsPaginator.js +25 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +1782 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/CleanRoomsML.d.ts +185 -0
- package/dist-types/CleanRoomsMLClient.d.ts +194 -0
- package/dist-types/commands/CreateAudienceModelCommand.d.ts +96 -0
- package/dist-types/commands/CreateConfiguredAudienceModelCommand.d.ts +112 -0
- package/dist-types/commands/CreateTrainingDatasetCommand.d.ts +109 -0
- package/dist-types/commands/DeleteAudienceGenerationJobCommand.d.ts +83 -0
- package/dist-types/commands/DeleteAudienceModelCommand.d.ts +83 -0
- package/dist-types/commands/DeleteConfiguredAudienceModelCommand.d.ts +83 -0
- package/dist-types/commands/DeleteConfiguredAudienceModelPolicyCommand.d.ts +80 -0
- package/dist-types/commands/DeleteTrainingDatasetCommand.d.ts +83 -0
- package/dist-types/commands/GetAudienceGenerationJobCommand.d.ts +115 -0
- package/dist-types/commands/GetAudienceModelCommand.d.ts +105 -0
- package/dist-types/commands/GetConfiguredAudienceModelCommand.d.ts +110 -0
- package/dist-types/commands/GetConfiguredAudienceModelPolicyCommand.d.ts +84 -0
- package/dist-types/commands/GetTrainingDatasetCommand.d.ts +113 -0
- package/dist-types/commands/ListAudienceExportJobsCommand.d.ts +100 -0
- package/dist-types/commands/ListAudienceGenerationJobsCommand.d.ts +95 -0
- package/dist-types/commands/ListAudienceModelsCommand.d.ts +91 -0
- package/dist-types/commands/ListConfiguredAudienceModelsCommand.d.ts +99 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +84 -0
- package/dist-types/commands/ListTrainingDatasetsCommand.d.ts +90 -0
- package/dist-types/commands/PutConfiguredAudienceModelPolicyCommand.d.ts +86 -0
- package/dist-types/commands/StartAudienceExportJobCommand.d.ts +92 -0
- package/dist-types/commands/StartAudienceGenerationJobCommand.d.ts +101 -0
- package/dist-types/commands/TagResourceCommand.d.ts +83 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +83 -0
- package/dist-types/commands/UpdateConfiguredAudienceModelCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/CleanRoomsMLServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1729 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAudienceExportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAudienceGenerationJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAudienceModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConfiguredAudienceModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTrainingDatasetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +227 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/CleanRoomsML.d.ts +438 -0
- package/dist-types/ts3.4/CleanRoomsMLClient.d.ts +269 -0
- package/dist-types/ts3.4/commands/CreateAudienceModelCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateConfiguredAudienceModelCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateTrainingDatasetCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAudienceGenerationJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteAudienceModelCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteConfiguredAudienceModelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteConfiguredAudienceModelPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteTrainingDatasetCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetAudienceGenerationJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAudienceModelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetConfiguredAudienceModelCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetConfiguredAudienceModelPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetTrainingDatasetCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAudienceExportJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAudienceGenerationJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAudienceModelsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListConfiguredAudienceModelsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTrainingDatasetsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutConfiguredAudienceModelPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartAudienceExportJobCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/StartAudienceGenerationJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateConfiguredAudienceModelCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/CleanRoomsMLServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +453 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAudienceExportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAudienceGenerationJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAudienceModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfiguredAudienceModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTrainingDatasetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +305 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +102 -0
|
@@ -0,0 +1,453 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { CleanRoomsMLServiceException as __BaseException } from "./CleanRoomsMLServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export interface S3ConfigMap {
|
|
11
|
+
s3Uri: string | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface AudienceDestination {
|
|
14
|
+
s3Destination: S3ConfigMap | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface ListAudienceExportJobsRequest {
|
|
17
|
+
nextToken?: string;
|
|
18
|
+
maxResults?: number;
|
|
19
|
+
audienceGenerationJobArn?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const AudienceSizeType: {
|
|
22
|
+
readonly ABSOLUTE: "ABSOLUTE";
|
|
23
|
+
readonly PERCENTAGE: "PERCENTAGE";
|
|
24
|
+
};
|
|
25
|
+
export type AudienceSizeType =
|
|
26
|
+
(typeof AudienceSizeType)[keyof typeof AudienceSizeType];
|
|
27
|
+
export interface AudienceSize {
|
|
28
|
+
type: AudienceSizeType | undefined;
|
|
29
|
+
value: number | undefined;
|
|
30
|
+
}
|
|
31
|
+
export declare const AudienceExportJobStatus: {
|
|
32
|
+
readonly ACTIVE: "ACTIVE";
|
|
33
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
34
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
35
|
+
readonly CREATE_PENDING: "CREATE_PENDING";
|
|
36
|
+
};
|
|
37
|
+
export type AudienceExportJobStatus =
|
|
38
|
+
(typeof AudienceExportJobStatus)[keyof typeof AudienceExportJobStatus];
|
|
39
|
+
export interface StatusDetails {
|
|
40
|
+
statusCode?: string;
|
|
41
|
+
message?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface AudienceExportJobSummary {
|
|
44
|
+
createTime: Date | undefined;
|
|
45
|
+
updateTime: Date | undefined;
|
|
46
|
+
name: string | undefined;
|
|
47
|
+
audienceGenerationJobArn: string | undefined;
|
|
48
|
+
audienceSize: AudienceSize | undefined;
|
|
49
|
+
description?: string;
|
|
50
|
+
status: AudienceExportJobStatus | undefined;
|
|
51
|
+
statusDetails?: StatusDetails;
|
|
52
|
+
outputLocation?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface ListAudienceExportJobsResponse {
|
|
55
|
+
nextToken?: string;
|
|
56
|
+
audienceExportJobs: AudienceExportJobSummary[] | undefined;
|
|
57
|
+
}
|
|
58
|
+
export declare class ValidationException extends __BaseException {
|
|
59
|
+
readonly name: "ValidationException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
constructor(
|
|
62
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export declare class ConflictException extends __BaseException {
|
|
66
|
+
readonly name: "ConflictException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
69
|
+
}
|
|
70
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
71
|
+
readonly name: "ResourceNotFoundException";
|
|
72
|
+
readonly $fault: "client";
|
|
73
|
+
constructor(
|
|
74
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
78
|
+
readonly name: "ServiceQuotaExceededException";
|
|
79
|
+
readonly $fault: "client";
|
|
80
|
+
constructor(
|
|
81
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
export interface StartAudienceExportJobRequest {
|
|
85
|
+
name: string | undefined;
|
|
86
|
+
audienceGenerationJobArn: string | undefined;
|
|
87
|
+
audienceSize: AudienceSize | undefined;
|
|
88
|
+
description?: string;
|
|
89
|
+
}
|
|
90
|
+
export interface DeleteAudienceGenerationJobRequest {
|
|
91
|
+
audienceGenerationJobArn: string | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface GetAudienceGenerationJobRequest {
|
|
94
|
+
audienceGenerationJobArn: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
export interface RelevanceMetric {
|
|
97
|
+
audienceSize: AudienceSize | undefined;
|
|
98
|
+
score?: number;
|
|
99
|
+
}
|
|
100
|
+
export interface AudienceQualityMetrics {
|
|
101
|
+
relevanceMetrics: RelevanceMetric[] | undefined;
|
|
102
|
+
}
|
|
103
|
+
export interface AudienceGenerationJobDataSource {
|
|
104
|
+
dataSource: S3ConfigMap | undefined;
|
|
105
|
+
roleArn: string | undefined;
|
|
106
|
+
}
|
|
107
|
+
export declare const AudienceGenerationJobStatus: {
|
|
108
|
+
readonly ACTIVE: "ACTIVE";
|
|
109
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
110
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
111
|
+
readonly CREATE_PENDING: "CREATE_PENDING";
|
|
112
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
113
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
114
|
+
readonly DELETE_PENDING: "DELETE_PENDING";
|
|
115
|
+
};
|
|
116
|
+
export type AudienceGenerationJobStatus =
|
|
117
|
+
(typeof AudienceGenerationJobStatus)[keyof typeof AudienceGenerationJobStatus];
|
|
118
|
+
export interface GetAudienceGenerationJobResponse {
|
|
119
|
+
createTime: Date | undefined;
|
|
120
|
+
updateTime: Date | undefined;
|
|
121
|
+
audienceGenerationJobArn: string | undefined;
|
|
122
|
+
name: string | undefined;
|
|
123
|
+
description?: string;
|
|
124
|
+
status: AudienceGenerationJobStatus | undefined;
|
|
125
|
+
statusDetails?: StatusDetails;
|
|
126
|
+
configuredAudienceModelArn: string | undefined;
|
|
127
|
+
seedAudience?: AudienceGenerationJobDataSource;
|
|
128
|
+
includeSeedInOutput?: boolean;
|
|
129
|
+
collaborationId?: string;
|
|
130
|
+
metrics?: AudienceQualityMetrics;
|
|
131
|
+
startedBy?: string;
|
|
132
|
+
tags?: Record<string, string>;
|
|
133
|
+
}
|
|
134
|
+
export interface ListAudienceGenerationJobsRequest {
|
|
135
|
+
nextToken?: string;
|
|
136
|
+
maxResults?: number;
|
|
137
|
+
configuredAudienceModelArn?: string;
|
|
138
|
+
collaborationId?: string;
|
|
139
|
+
}
|
|
140
|
+
export interface AudienceGenerationJobSummary {
|
|
141
|
+
createTime: Date | undefined;
|
|
142
|
+
updateTime: Date | undefined;
|
|
143
|
+
audienceGenerationJobArn: string | undefined;
|
|
144
|
+
name: string | undefined;
|
|
145
|
+
description?: string;
|
|
146
|
+
status: AudienceGenerationJobStatus | undefined;
|
|
147
|
+
configuredAudienceModelArn: string | undefined;
|
|
148
|
+
collaborationId?: string;
|
|
149
|
+
startedBy?: string;
|
|
150
|
+
}
|
|
151
|
+
export interface ListAudienceGenerationJobsResponse {
|
|
152
|
+
nextToken?: string;
|
|
153
|
+
audienceGenerationJobs: AudienceGenerationJobSummary[] | undefined;
|
|
154
|
+
}
|
|
155
|
+
export interface StartAudienceGenerationJobRequest {
|
|
156
|
+
name: string | undefined;
|
|
157
|
+
configuredAudienceModelArn: string | undefined;
|
|
158
|
+
seedAudience: AudienceGenerationJobDataSource | undefined;
|
|
159
|
+
includeSeedInOutput?: boolean;
|
|
160
|
+
collaborationId?: string;
|
|
161
|
+
description?: string;
|
|
162
|
+
tags?: Record<string, string>;
|
|
163
|
+
}
|
|
164
|
+
export interface StartAudienceGenerationJobResponse {
|
|
165
|
+
audienceGenerationJobArn: string | undefined;
|
|
166
|
+
}
|
|
167
|
+
export interface CreateAudienceModelRequest {
|
|
168
|
+
trainingDataStartTime?: Date;
|
|
169
|
+
trainingDataEndTime?: Date;
|
|
170
|
+
name: string | undefined;
|
|
171
|
+
trainingDatasetArn: string | undefined;
|
|
172
|
+
kmsKeyArn?: string;
|
|
173
|
+
tags?: Record<string, string>;
|
|
174
|
+
description?: string;
|
|
175
|
+
}
|
|
176
|
+
export interface CreateAudienceModelResponse {
|
|
177
|
+
audienceModelArn: string | undefined;
|
|
178
|
+
}
|
|
179
|
+
export interface DeleteAudienceModelRequest {
|
|
180
|
+
audienceModelArn: string | undefined;
|
|
181
|
+
}
|
|
182
|
+
export interface GetAudienceModelRequest {
|
|
183
|
+
audienceModelArn: string | undefined;
|
|
184
|
+
}
|
|
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
|
+
export declare const AudienceModelStatus: {
|
|
199
|
+
readonly ACTIVE: "ACTIVE";
|
|
200
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
201
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
202
|
+
readonly CREATE_PENDING: "CREATE_PENDING";
|
|
203
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
204
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
205
|
+
readonly DELETE_PENDING: "DELETE_PENDING";
|
|
206
|
+
};
|
|
207
|
+
export type AudienceModelStatus =
|
|
208
|
+
(typeof AudienceModelStatus)[keyof typeof AudienceModelStatus];
|
|
209
|
+
export interface GetAudienceModelResponse {
|
|
210
|
+
createTime: Date | undefined;
|
|
211
|
+
updateTime: Date | undefined;
|
|
212
|
+
trainingDataStartTime?: Date;
|
|
213
|
+
trainingDataEndTime?: Date;
|
|
214
|
+
audienceModelArn: string | undefined;
|
|
215
|
+
name: string | undefined;
|
|
216
|
+
trainingDatasetArn: string | undefined;
|
|
217
|
+
status: AudienceModelStatus | undefined;
|
|
218
|
+
statusDetails?: StatusDetails;
|
|
219
|
+
metrics?: AudienceModelMetric[];
|
|
220
|
+
kmsKeyArn?: string;
|
|
221
|
+
tags?: Record<string, string>;
|
|
222
|
+
description?: string;
|
|
223
|
+
}
|
|
224
|
+
export interface ListAudienceModelsRequest {
|
|
225
|
+
nextToken?: string;
|
|
226
|
+
maxResults?: number;
|
|
227
|
+
}
|
|
228
|
+
export interface AudienceModelSummary {
|
|
229
|
+
createTime: Date | undefined;
|
|
230
|
+
updateTime: Date | undefined;
|
|
231
|
+
audienceModelArn: string | undefined;
|
|
232
|
+
name: string | undefined;
|
|
233
|
+
trainingDatasetArn: string | undefined;
|
|
234
|
+
status: AudienceModelStatus | undefined;
|
|
235
|
+
description?: string;
|
|
236
|
+
}
|
|
237
|
+
export interface ListAudienceModelsResponse {
|
|
238
|
+
nextToken?: string;
|
|
239
|
+
audienceModels: AudienceModelSummary[] | undefined;
|
|
240
|
+
}
|
|
241
|
+
export interface AudienceSizeConfig {
|
|
242
|
+
audienceSizeType: AudienceSizeType | undefined;
|
|
243
|
+
audienceSizeBins: number[] | undefined;
|
|
244
|
+
}
|
|
245
|
+
export declare const TagOnCreatePolicy: {
|
|
246
|
+
readonly FROM_PARENT_RESOURCE: "FROM_PARENT_RESOURCE";
|
|
247
|
+
readonly NONE: "NONE";
|
|
248
|
+
};
|
|
249
|
+
export type TagOnCreatePolicy =
|
|
250
|
+
(typeof TagOnCreatePolicy)[keyof typeof TagOnCreatePolicy];
|
|
251
|
+
export interface ConfiguredAudienceModelOutputConfig {
|
|
252
|
+
destination: AudienceDestination | undefined;
|
|
253
|
+
roleArn: string | undefined;
|
|
254
|
+
}
|
|
255
|
+
export declare const SharedAudienceMetrics: {
|
|
256
|
+
readonly ALL: "ALL";
|
|
257
|
+
readonly NONE: "NONE";
|
|
258
|
+
};
|
|
259
|
+
export type SharedAudienceMetrics =
|
|
260
|
+
(typeof SharedAudienceMetrics)[keyof typeof SharedAudienceMetrics];
|
|
261
|
+
export interface CreateConfiguredAudienceModelRequest {
|
|
262
|
+
name: string | undefined;
|
|
263
|
+
audienceModelArn: string | undefined;
|
|
264
|
+
outputConfig: ConfiguredAudienceModelOutputConfig | undefined;
|
|
265
|
+
description?: string;
|
|
266
|
+
sharedAudienceMetrics: SharedAudienceMetrics[] | undefined;
|
|
267
|
+
minMatchingSeedSize?: number;
|
|
268
|
+
audienceSizeConfig?: AudienceSizeConfig;
|
|
269
|
+
tags?: Record<string, string>;
|
|
270
|
+
childResourceTagOnCreatePolicy?: TagOnCreatePolicy;
|
|
271
|
+
}
|
|
272
|
+
export interface CreateConfiguredAudienceModelResponse {
|
|
273
|
+
configuredAudienceModelArn: string | undefined;
|
|
274
|
+
}
|
|
275
|
+
export interface DeleteConfiguredAudienceModelRequest {
|
|
276
|
+
configuredAudienceModelArn: string | undefined;
|
|
277
|
+
}
|
|
278
|
+
export interface GetConfiguredAudienceModelRequest {
|
|
279
|
+
configuredAudienceModelArn: string | undefined;
|
|
280
|
+
}
|
|
281
|
+
export declare const ConfiguredAudienceModelStatus: {
|
|
282
|
+
readonly ACTIVE: "ACTIVE";
|
|
283
|
+
};
|
|
284
|
+
export type ConfiguredAudienceModelStatus =
|
|
285
|
+
(typeof ConfiguredAudienceModelStatus)[keyof typeof ConfiguredAudienceModelStatus];
|
|
286
|
+
export interface GetConfiguredAudienceModelResponse {
|
|
287
|
+
createTime: Date | undefined;
|
|
288
|
+
updateTime: Date | undefined;
|
|
289
|
+
configuredAudienceModelArn: string | undefined;
|
|
290
|
+
name: string | undefined;
|
|
291
|
+
audienceModelArn: string | undefined;
|
|
292
|
+
outputConfig: ConfiguredAudienceModelOutputConfig | undefined;
|
|
293
|
+
description?: string;
|
|
294
|
+
status: ConfiguredAudienceModelStatus | undefined;
|
|
295
|
+
sharedAudienceMetrics: SharedAudienceMetrics[] | undefined;
|
|
296
|
+
minMatchingSeedSize?: number;
|
|
297
|
+
audienceSizeConfig?: AudienceSizeConfig;
|
|
298
|
+
tags?: Record<string, string>;
|
|
299
|
+
childResourceTagOnCreatePolicy?: TagOnCreatePolicy;
|
|
300
|
+
}
|
|
301
|
+
export interface ListConfiguredAudienceModelsRequest {
|
|
302
|
+
nextToken?: string;
|
|
303
|
+
maxResults?: number;
|
|
304
|
+
}
|
|
305
|
+
export interface ConfiguredAudienceModelSummary {
|
|
306
|
+
createTime: Date | undefined;
|
|
307
|
+
updateTime: Date | undefined;
|
|
308
|
+
name: string | undefined;
|
|
309
|
+
audienceModelArn: string | undefined;
|
|
310
|
+
outputConfig: ConfiguredAudienceModelOutputConfig | undefined;
|
|
311
|
+
description?: string;
|
|
312
|
+
configuredAudienceModelArn: string | undefined;
|
|
313
|
+
status: ConfiguredAudienceModelStatus | undefined;
|
|
314
|
+
}
|
|
315
|
+
export interface ListConfiguredAudienceModelsResponse {
|
|
316
|
+
nextToken?: string;
|
|
317
|
+
configuredAudienceModels: ConfiguredAudienceModelSummary[] | undefined;
|
|
318
|
+
}
|
|
319
|
+
export interface UpdateConfiguredAudienceModelRequest {
|
|
320
|
+
configuredAudienceModelArn: string | undefined;
|
|
321
|
+
outputConfig?: ConfiguredAudienceModelOutputConfig;
|
|
322
|
+
audienceModelArn?: string;
|
|
323
|
+
sharedAudienceMetrics?: SharedAudienceMetrics[];
|
|
324
|
+
minMatchingSeedSize?: number;
|
|
325
|
+
audienceSizeConfig?: AudienceSizeConfig;
|
|
326
|
+
description?: string;
|
|
327
|
+
}
|
|
328
|
+
export interface UpdateConfiguredAudienceModelResponse {
|
|
329
|
+
configuredAudienceModelArn: string | undefined;
|
|
330
|
+
}
|
|
331
|
+
export interface DeleteConfiguredAudienceModelPolicyRequest {
|
|
332
|
+
configuredAudienceModelArn: string | undefined;
|
|
333
|
+
}
|
|
334
|
+
export interface GetConfiguredAudienceModelPolicyRequest {
|
|
335
|
+
configuredAudienceModelArn: string | undefined;
|
|
336
|
+
}
|
|
337
|
+
export interface GetConfiguredAudienceModelPolicyResponse {
|
|
338
|
+
configuredAudienceModelArn: string | undefined;
|
|
339
|
+
configuredAudienceModelPolicy: string | undefined;
|
|
340
|
+
policyHash: string | undefined;
|
|
341
|
+
}
|
|
342
|
+
export declare const PolicyExistenceCondition: {
|
|
343
|
+
readonly POLICY_MUST_EXIST: "POLICY_MUST_EXIST";
|
|
344
|
+
readonly POLICY_MUST_NOT_EXIST: "POLICY_MUST_NOT_EXIST";
|
|
345
|
+
};
|
|
346
|
+
export type PolicyExistenceCondition =
|
|
347
|
+
(typeof PolicyExistenceCondition)[keyof typeof PolicyExistenceCondition];
|
|
348
|
+
export interface PutConfiguredAudienceModelPolicyRequest {
|
|
349
|
+
configuredAudienceModelArn: string | undefined;
|
|
350
|
+
configuredAudienceModelPolicy: string | undefined;
|
|
351
|
+
previousPolicyHash?: string;
|
|
352
|
+
policyExistenceCondition?: PolicyExistenceCondition;
|
|
353
|
+
}
|
|
354
|
+
export interface PutConfiguredAudienceModelPolicyResponse {
|
|
355
|
+
configuredAudienceModelPolicy: string | undefined;
|
|
356
|
+
policyHash: string | undefined;
|
|
357
|
+
}
|
|
358
|
+
export interface ListTagsForResourceRequest {
|
|
359
|
+
resourceArn: string | undefined;
|
|
360
|
+
}
|
|
361
|
+
export interface ListTagsForResourceResponse {
|
|
362
|
+
tags: Record<string, string> | undefined;
|
|
363
|
+
}
|
|
364
|
+
export interface TagResourceRequest {
|
|
365
|
+
resourceArn: string | undefined;
|
|
366
|
+
tags: Record<string, string> | undefined;
|
|
367
|
+
}
|
|
368
|
+
export interface TagResourceResponse {}
|
|
369
|
+
export interface GlueDataSource {
|
|
370
|
+
tableName: string | undefined;
|
|
371
|
+
databaseName: string | undefined;
|
|
372
|
+
catalogId?: string;
|
|
373
|
+
}
|
|
374
|
+
export interface DataSource {
|
|
375
|
+
glueDataSource: GlueDataSource | undefined;
|
|
376
|
+
}
|
|
377
|
+
export declare const ColumnType: {
|
|
378
|
+
readonly CATEGORICAL_FEATURE: "CATEGORICAL_FEATURE";
|
|
379
|
+
readonly ITEM_ID: "ITEM_ID";
|
|
380
|
+
readonly NUMERICAL_FEATURE: "NUMERICAL_FEATURE";
|
|
381
|
+
readonly TIMESTAMP: "TIMESTAMP";
|
|
382
|
+
readonly USER_ID: "USER_ID";
|
|
383
|
+
};
|
|
384
|
+
export type ColumnType = (typeof ColumnType)[keyof typeof ColumnType];
|
|
385
|
+
export interface ColumnSchema {
|
|
386
|
+
columnName: string | undefined;
|
|
387
|
+
columnTypes: ColumnType[] | undefined;
|
|
388
|
+
}
|
|
389
|
+
export interface DatasetInputConfig {
|
|
390
|
+
schema: ColumnSchema[] | undefined;
|
|
391
|
+
dataSource: DataSource | undefined;
|
|
392
|
+
}
|
|
393
|
+
export declare const DatasetType: {
|
|
394
|
+
readonly INTERACTIONS: "INTERACTIONS";
|
|
395
|
+
};
|
|
396
|
+
export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
|
|
397
|
+
export interface Dataset {
|
|
398
|
+
type: DatasetType | undefined;
|
|
399
|
+
inputConfig: DatasetInputConfig | undefined;
|
|
400
|
+
}
|
|
401
|
+
export interface CreateTrainingDatasetRequest {
|
|
402
|
+
name: string | undefined;
|
|
403
|
+
roleArn: string | undefined;
|
|
404
|
+
trainingData: Dataset[] | undefined;
|
|
405
|
+
tags?: Record<string, string>;
|
|
406
|
+
description?: string;
|
|
407
|
+
}
|
|
408
|
+
export interface CreateTrainingDatasetResponse {
|
|
409
|
+
trainingDatasetArn: string | undefined;
|
|
410
|
+
}
|
|
411
|
+
export interface DeleteTrainingDatasetRequest {
|
|
412
|
+
trainingDatasetArn: string | undefined;
|
|
413
|
+
}
|
|
414
|
+
export interface GetTrainingDatasetRequest {
|
|
415
|
+
trainingDatasetArn: string | undefined;
|
|
416
|
+
}
|
|
417
|
+
export declare const TrainingDatasetStatus: {
|
|
418
|
+
readonly ACTIVE: "ACTIVE";
|
|
419
|
+
};
|
|
420
|
+
export type TrainingDatasetStatus =
|
|
421
|
+
(typeof TrainingDatasetStatus)[keyof typeof TrainingDatasetStatus];
|
|
422
|
+
export interface GetTrainingDatasetResponse {
|
|
423
|
+
createTime: Date | undefined;
|
|
424
|
+
updateTime: Date | undefined;
|
|
425
|
+
trainingDatasetArn: string | undefined;
|
|
426
|
+
name: string | undefined;
|
|
427
|
+
trainingData: Dataset[] | undefined;
|
|
428
|
+
status: TrainingDatasetStatus | undefined;
|
|
429
|
+
roleArn: string | undefined;
|
|
430
|
+
tags?: Record<string, string>;
|
|
431
|
+
description?: string;
|
|
432
|
+
}
|
|
433
|
+
export interface ListTrainingDatasetsRequest {
|
|
434
|
+
nextToken?: string;
|
|
435
|
+
maxResults?: number;
|
|
436
|
+
}
|
|
437
|
+
export interface TrainingDatasetSummary {
|
|
438
|
+
createTime: Date | undefined;
|
|
439
|
+
updateTime: Date | undefined;
|
|
440
|
+
trainingDatasetArn: string | undefined;
|
|
441
|
+
name: string | undefined;
|
|
442
|
+
status: TrainingDatasetStatus | undefined;
|
|
443
|
+
description?: string;
|
|
444
|
+
}
|
|
445
|
+
export interface ListTrainingDatasetsResponse {
|
|
446
|
+
nextToken?: string;
|
|
447
|
+
trainingDatasets: TrainingDatasetSummary[] | undefined;
|
|
448
|
+
}
|
|
449
|
+
export interface UntagResourceRequest {
|
|
450
|
+
resourceArn: string | undefined;
|
|
451
|
+
tagKeys: string[] | undefined;
|
|
452
|
+
}
|
|
453
|
+
export interface UntagResourceResponse {}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAudienceExportJobsCommandInput,
|
|
4
|
+
ListAudienceExportJobsCommandOutput,
|
|
5
|
+
} from "../commands/ListAudienceExportJobsCommand";
|
|
6
|
+
import { CleanRoomsMLPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListAudienceExportJobs(
|
|
8
|
+
config: CleanRoomsMLPaginationConfiguration,
|
|
9
|
+
input: ListAudienceExportJobsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListAudienceExportJobsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAudienceGenerationJobsCommandInput,
|
|
4
|
+
ListAudienceGenerationJobsCommandOutput,
|
|
5
|
+
} from "../commands/ListAudienceGenerationJobsCommand";
|
|
6
|
+
import { CleanRoomsMLPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListAudienceGenerationJobs(
|
|
8
|
+
config: CleanRoomsMLPaginationConfiguration,
|
|
9
|
+
input: ListAudienceGenerationJobsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListAudienceGenerationJobsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAudienceModelsCommandInput,
|
|
4
|
+
ListAudienceModelsCommandOutput,
|
|
5
|
+
} from "../commands/ListAudienceModelsCommand";
|
|
6
|
+
import { CleanRoomsMLPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListAudienceModels(
|
|
8
|
+
config: CleanRoomsMLPaginationConfiguration,
|
|
9
|
+
input: ListAudienceModelsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListAudienceModelsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListConfiguredAudienceModelsCommandInput,
|
|
4
|
+
ListConfiguredAudienceModelsCommandOutput,
|
|
5
|
+
} from "../commands/ListConfiguredAudienceModelsCommand";
|
|
6
|
+
import { CleanRoomsMLPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListConfiguredAudienceModels(
|
|
8
|
+
config: CleanRoomsMLPaginationConfiguration,
|
|
9
|
+
input: ListConfiguredAudienceModelsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListConfiguredAudienceModelsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTrainingDatasetsCommandInput,
|
|
4
|
+
ListTrainingDatasetsCommandOutput,
|
|
5
|
+
} from "../commands/ListTrainingDatasetsCommand";
|
|
6
|
+
import { CleanRoomsMLPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListTrainingDatasets(
|
|
8
|
+
config: CleanRoomsMLPaginationConfiguration,
|
|
9
|
+
input: ListTrainingDatasetsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListTrainingDatasetsCommandOutput>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListAudienceExportJobsPaginator";
|
|
3
|
+
export * from "./ListAudienceGenerationJobsPaginator";
|
|
4
|
+
export * from "./ListAudienceModelsPaginator";
|
|
5
|
+
export * from "./ListConfiguredAudienceModelsPaginator";
|
|
6
|
+
export * from "./ListTrainingDatasetsPaginator";
|