aws-sdk-cleanroomsml 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,856 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::CleanRoomsML
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
18
+ AudienceDestination = Shapes::StructureShape.new(name: 'AudienceDestination')
19
+ AudienceExportJobList = Shapes::ListShape.new(name: 'AudienceExportJobList')
20
+ AudienceExportJobStatus = Shapes::StringShape.new(name: 'AudienceExportJobStatus')
21
+ AudienceExportJobSummary = Shapes::StructureShape.new(name: 'AudienceExportJobSummary')
22
+ AudienceGenerationJobArn = Shapes::StringShape.new(name: 'AudienceGenerationJobArn')
23
+ AudienceGenerationJobDataSource = Shapes::StructureShape.new(name: 'AudienceGenerationJobDataSource')
24
+ AudienceGenerationJobList = Shapes::ListShape.new(name: 'AudienceGenerationJobList')
25
+ AudienceGenerationJobStatus = Shapes::StringShape.new(name: 'AudienceGenerationJobStatus')
26
+ AudienceGenerationJobSummary = Shapes::StructureShape.new(name: 'AudienceGenerationJobSummary')
27
+ AudienceModelArn = Shapes::StringShape.new(name: 'AudienceModelArn')
28
+ AudienceModelList = Shapes::ListShape.new(name: 'AudienceModelList')
29
+ AudienceModelMetric = Shapes::StructureShape.new(name: 'AudienceModelMetric')
30
+ AudienceModelMetricType = Shapes::StringShape.new(name: 'AudienceModelMetricType')
31
+ AudienceModelMetrics = Shapes::ListShape.new(name: 'AudienceModelMetrics')
32
+ AudienceModelStatus = Shapes::StringShape.new(name: 'AudienceModelStatus')
33
+ AudienceModelSummary = Shapes::StructureShape.new(name: 'AudienceModelSummary')
34
+ AudienceQualityMetrics = Shapes::StructureShape.new(name: 'AudienceQualityMetrics')
35
+ AudienceSize = Shapes::StructureShape.new(name: 'AudienceSize')
36
+ AudienceSizeBins = Shapes::ListShape.new(name: 'AudienceSizeBins')
37
+ AudienceSizeConfig = Shapes::StructureShape.new(name: 'AudienceSizeConfig')
38
+ AudienceSizeType = Shapes::StringShape.new(name: 'AudienceSizeType')
39
+ AudienceSizeValue = Shapes::IntegerShape.new(name: 'AudienceSizeValue')
40
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
41
+ ColumnName = Shapes::StringShape.new(name: 'ColumnName')
42
+ ColumnSchema = Shapes::StructureShape.new(name: 'ColumnSchema')
43
+ ColumnType = Shapes::StringShape.new(name: 'ColumnType')
44
+ ColumnTypeList = Shapes::ListShape.new(name: 'ColumnTypeList')
45
+ ConfiguredAudienceModelArn = Shapes::StringShape.new(name: 'ConfiguredAudienceModelArn')
46
+ ConfiguredAudienceModelList = Shapes::ListShape.new(name: 'ConfiguredAudienceModelList')
47
+ ConfiguredAudienceModelOutputConfig = Shapes::StructureShape.new(name: 'ConfiguredAudienceModelOutputConfig')
48
+ ConfiguredAudienceModelStatus = Shapes::StringShape.new(name: 'ConfiguredAudienceModelStatus')
49
+ ConfiguredAudienceModelSummary = Shapes::StructureShape.new(name: 'ConfiguredAudienceModelSummary')
50
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
51
+ CreateAudienceModelRequest = Shapes::StructureShape.new(name: 'CreateAudienceModelRequest')
52
+ CreateAudienceModelResponse = Shapes::StructureShape.new(name: 'CreateAudienceModelResponse')
53
+ CreateConfiguredAudienceModelRequest = Shapes::StructureShape.new(name: 'CreateConfiguredAudienceModelRequest')
54
+ CreateConfiguredAudienceModelResponse = Shapes::StructureShape.new(name: 'CreateConfiguredAudienceModelResponse')
55
+ CreateTrainingDatasetRequest = Shapes::StructureShape.new(name: 'CreateTrainingDatasetRequest')
56
+ CreateTrainingDatasetRequestTrainingDataList = Shapes::ListShape.new(name: 'CreateTrainingDatasetRequestTrainingDataList')
57
+ CreateTrainingDatasetResponse = Shapes::StructureShape.new(name: 'CreateTrainingDatasetResponse')
58
+ DataSource = Shapes::StructureShape.new(name: 'DataSource')
59
+ Dataset = Shapes::StructureShape.new(name: 'Dataset')
60
+ DatasetInputConfig = Shapes::StructureShape.new(name: 'DatasetInputConfig')
61
+ DatasetInputConfigSchemaList = Shapes::ListShape.new(name: 'DatasetInputConfigSchemaList')
62
+ DatasetList = Shapes::ListShape.new(name: 'DatasetList')
63
+ DatasetType = Shapes::StringShape.new(name: 'DatasetType')
64
+ DeleteAudienceGenerationJobRequest = Shapes::StructureShape.new(name: 'DeleteAudienceGenerationJobRequest')
65
+ DeleteAudienceModelRequest = Shapes::StructureShape.new(name: 'DeleteAudienceModelRequest')
66
+ DeleteConfiguredAudienceModelPolicyRequest = Shapes::StructureShape.new(name: 'DeleteConfiguredAudienceModelPolicyRequest')
67
+ DeleteConfiguredAudienceModelRequest = Shapes::StructureShape.new(name: 'DeleteConfiguredAudienceModelRequest')
68
+ DeleteTrainingDatasetRequest = Shapes::StructureShape.new(name: 'DeleteTrainingDatasetRequest')
69
+ Double = Shapes::FloatShape.new(name: 'Double')
70
+ GetAudienceGenerationJobRequest = Shapes::StructureShape.new(name: 'GetAudienceGenerationJobRequest')
71
+ GetAudienceGenerationJobResponse = Shapes::StructureShape.new(name: 'GetAudienceGenerationJobResponse')
72
+ GetAudienceModelRequest = Shapes::StructureShape.new(name: 'GetAudienceModelRequest')
73
+ GetAudienceModelResponse = Shapes::StructureShape.new(name: 'GetAudienceModelResponse')
74
+ GetConfiguredAudienceModelPolicyRequest = Shapes::StructureShape.new(name: 'GetConfiguredAudienceModelPolicyRequest')
75
+ GetConfiguredAudienceModelPolicyResponse = Shapes::StructureShape.new(name: 'GetConfiguredAudienceModelPolicyResponse')
76
+ GetConfiguredAudienceModelRequest = Shapes::StructureShape.new(name: 'GetConfiguredAudienceModelRequest')
77
+ GetConfiguredAudienceModelResponse = Shapes::StructureShape.new(name: 'GetConfiguredAudienceModelResponse')
78
+ GetTrainingDatasetRequest = Shapes::StructureShape.new(name: 'GetTrainingDatasetRequest')
79
+ GetTrainingDatasetResponse = Shapes::StructureShape.new(name: 'GetTrainingDatasetResponse')
80
+ GlueDataSource = Shapes::StructureShape.new(name: 'GlueDataSource')
81
+ GlueDatabaseName = Shapes::StringShape.new(name: 'GlueDatabaseName')
82
+ GlueTableName = Shapes::StringShape.new(name: 'GlueTableName')
83
+ Hash = Shapes::StringShape.new(name: 'Hash')
84
+ IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
85
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
86
+ KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
87
+ ListAudienceExportJobsRequest = Shapes::StructureShape.new(name: 'ListAudienceExportJobsRequest')
88
+ ListAudienceExportJobsResponse = Shapes::StructureShape.new(name: 'ListAudienceExportJobsResponse')
89
+ ListAudienceGenerationJobsRequest = Shapes::StructureShape.new(name: 'ListAudienceGenerationJobsRequest')
90
+ ListAudienceGenerationJobsResponse = Shapes::StructureShape.new(name: 'ListAudienceGenerationJobsResponse')
91
+ ListAudienceModelsRequest = Shapes::StructureShape.new(name: 'ListAudienceModelsRequest')
92
+ ListAudienceModelsResponse = Shapes::StructureShape.new(name: 'ListAudienceModelsResponse')
93
+ ListConfiguredAudienceModelsRequest = Shapes::StructureShape.new(name: 'ListConfiguredAudienceModelsRequest')
94
+ ListConfiguredAudienceModelsResponse = Shapes::StructureShape.new(name: 'ListConfiguredAudienceModelsResponse')
95
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
96
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
97
+ ListTrainingDatasetsRequest = Shapes::StructureShape.new(name: 'ListTrainingDatasetsRequest')
98
+ ListTrainingDatasetsResponse = Shapes::StructureShape.new(name: 'ListTrainingDatasetsResponse')
99
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
100
+ MetricsList = Shapes::ListShape.new(name: 'MetricsList')
101
+ MinMatchingSeedSize = Shapes::IntegerShape.new(name: 'MinMatchingSeedSize')
102
+ NameString = Shapes::StringShape.new(name: 'NameString')
103
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
104
+ PolicyExistenceCondition = Shapes::StringShape.new(name: 'PolicyExistenceCondition')
105
+ PutConfiguredAudienceModelPolicyRequest = Shapes::StructureShape.new(name: 'PutConfiguredAudienceModelPolicyRequest')
106
+ PutConfiguredAudienceModelPolicyResponse = Shapes::StructureShape.new(name: 'PutConfiguredAudienceModelPolicyResponse')
107
+ RelevanceMetric = Shapes::StructureShape.new(name: 'RelevanceMetric')
108
+ RelevanceMetrics = Shapes::ListShape.new(name: 'RelevanceMetrics')
109
+ ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
110
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
111
+ ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
112
+ S3ConfigMap = Shapes::StructureShape.new(name: 'S3ConfigMap')
113
+ S3Path = Shapes::StringShape.new(name: 'S3Path')
114
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
115
+ SharedAudienceMetrics = Shapes::StringShape.new(name: 'SharedAudienceMetrics')
116
+ StartAudienceExportJobRequest = Shapes::StructureShape.new(name: 'StartAudienceExportJobRequest')
117
+ StartAudienceGenerationJobRequest = Shapes::StructureShape.new(name: 'StartAudienceGenerationJobRequest')
118
+ StartAudienceGenerationJobResponse = Shapes::StructureShape.new(name: 'StartAudienceGenerationJobResponse')
119
+ StatusDetails = Shapes::StructureShape.new(name: 'StatusDetails')
120
+ String = Shapes::StringShape.new(name: 'String')
121
+ SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
122
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
123
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
124
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
125
+ TagOnCreatePolicy = Shapes::StringShape.new(name: 'TagOnCreatePolicy')
126
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
127
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
128
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
129
+ TaggableArn = Shapes::StringShape.new(name: 'TaggableArn')
130
+ TrainingDatasetArn = Shapes::StringShape.new(name: 'TrainingDatasetArn')
131
+ TrainingDatasetList = Shapes::ListShape.new(name: 'TrainingDatasetList')
132
+ TrainingDatasetStatus = Shapes::StringShape.new(name: 'TrainingDatasetStatus')
133
+ TrainingDatasetSummary = Shapes::StructureShape.new(name: 'TrainingDatasetSummary')
134
+ UUID = Shapes::StringShape.new(name: 'UUID')
135
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
136
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
137
+ UpdateConfiguredAudienceModelRequest = Shapes::StructureShape.new(name: 'UpdateConfiguredAudienceModelRequest')
138
+ UpdateConfiguredAudienceModelResponse = Shapes::StructureShape.new(name: 'UpdateConfiguredAudienceModelResponse')
139
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
140
+
141
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
142
+ AccessDeniedException.struct_class = Types::AccessDeniedException
143
+
144
+ AudienceDestination.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3ConfigMap, required: true, location_name: "s3Destination"))
145
+ AudienceDestination.struct_class = Types::AudienceDestination
146
+
147
+ AudienceExportJobList.member = Shapes::ShapeRef.new(shape: AudienceExportJobSummary)
148
+
149
+ AudienceExportJobSummary.add_member(:audience_generation_job_arn, Shapes::ShapeRef.new(shape: AudienceGenerationJobArn, required: true, location_name: "audienceGenerationJobArn"))
150
+ AudienceExportJobSummary.add_member(:audience_size, Shapes::ShapeRef.new(shape: AudienceSize, required: true, location_name: "audienceSize"))
151
+ AudienceExportJobSummary.add_member(:create_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createTime"))
152
+ AudienceExportJobSummary.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
153
+ AudienceExportJobSummary.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
154
+ AudienceExportJobSummary.add_member(:output_location, Shapes::ShapeRef.new(shape: S3Path, location_name: "outputLocation"))
155
+ AudienceExportJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: AudienceExportJobStatus, required: true, location_name: "status"))
156
+ AudienceExportJobSummary.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "statusDetails"))
157
+ AudienceExportJobSummary.add_member(:update_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "updateTime"))
158
+ AudienceExportJobSummary.struct_class = Types::AudienceExportJobSummary
159
+
160
+ AudienceGenerationJobDataSource.add_member(:data_source, Shapes::ShapeRef.new(shape: S3ConfigMap, required: true, location_name: "dataSource"))
161
+ AudienceGenerationJobDataSource.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "roleArn"))
162
+ AudienceGenerationJobDataSource.struct_class = Types::AudienceGenerationJobDataSource
163
+
164
+ AudienceGenerationJobList.member = Shapes::ShapeRef.new(shape: AudienceGenerationJobSummary)
165
+
166
+ AudienceGenerationJobSummary.add_member(:audience_generation_job_arn, Shapes::ShapeRef.new(shape: AudienceGenerationJobArn, required: true, location_name: "audienceGenerationJobArn"))
167
+ AudienceGenerationJobSummary.add_member(:collaboration_id, Shapes::ShapeRef.new(shape: UUID, location_name: "collaborationId"))
168
+ AudienceGenerationJobSummary.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location_name: "configuredAudienceModelArn"))
169
+ AudienceGenerationJobSummary.add_member(:create_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createTime"))
170
+ AudienceGenerationJobSummary.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
171
+ AudienceGenerationJobSummary.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
172
+ AudienceGenerationJobSummary.add_member(:started_by, Shapes::ShapeRef.new(shape: AccountId, location_name: "startedBy"))
173
+ AudienceGenerationJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: AudienceGenerationJobStatus, required: true, location_name: "status"))
174
+ AudienceGenerationJobSummary.add_member(:update_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "updateTime"))
175
+ AudienceGenerationJobSummary.struct_class = Types::AudienceGenerationJobSummary
176
+
177
+ AudienceModelList.member = Shapes::ShapeRef.new(shape: AudienceModelSummary)
178
+
179
+ AudienceModelMetric.add_member(:for_top_k_item_predictions, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "forTopKItemPredictions"))
180
+ AudienceModelMetric.add_member(:type, Shapes::ShapeRef.new(shape: AudienceModelMetricType, required: true, location_name: "type"))
181
+ AudienceModelMetric.add_member(:value, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "value"))
182
+ AudienceModelMetric.struct_class = Types::AudienceModelMetric
183
+
184
+ AudienceModelMetrics.member = Shapes::ShapeRef.new(shape: AudienceModelMetric)
185
+
186
+ AudienceModelSummary.add_member(:audience_model_arn, Shapes::ShapeRef.new(shape: AudienceModelArn, required: true, location_name: "audienceModelArn"))
187
+ AudienceModelSummary.add_member(:create_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createTime"))
188
+ AudienceModelSummary.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
189
+ AudienceModelSummary.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
190
+ AudienceModelSummary.add_member(:status, Shapes::ShapeRef.new(shape: AudienceModelStatus, required: true, location_name: "status"))
191
+ AudienceModelSummary.add_member(:training_dataset_arn, Shapes::ShapeRef.new(shape: TrainingDatasetArn, required: true, location_name: "trainingDatasetArn"))
192
+ AudienceModelSummary.add_member(:update_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "updateTime"))
193
+ AudienceModelSummary.struct_class = Types::AudienceModelSummary
194
+
195
+ AudienceQualityMetrics.add_member(:relevance_metrics, Shapes::ShapeRef.new(shape: RelevanceMetrics, required: true, location_name: "relevanceMetrics"))
196
+ AudienceQualityMetrics.struct_class = Types::AudienceQualityMetrics
197
+
198
+ AudienceSize.add_member(:type, Shapes::ShapeRef.new(shape: AudienceSizeType, required: true, location_name: "type"))
199
+ AudienceSize.add_member(:value, Shapes::ShapeRef.new(shape: AudienceSizeValue, required: true, location_name: "value"))
200
+ AudienceSize.struct_class = Types::AudienceSize
201
+
202
+ AudienceSizeBins.member = Shapes::ShapeRef.new(shape: AudienceSizeValue)
203
+
204
+ AudienceSizeConfig.add_member(:audience_size_bins, Shapes::ShapeRef.new(shape: AudienceSizeBins, required: true, location_name: "audienceSizeBins"))
205
+ AudienceSizeConfig.add_member(:audience_size_type, Shapes::ShapeRef.new(shape: AudienceSizeType, required: true, location_name: "audienceSizeType"))
206
+ AudienceSizeConfig.struct_class = Types::AudienceSizeConfig
207
+
208
+ ColumnSchema.add_member(:column_name, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "columnName"))
209
+ ColumnSchema.add_member(:column_types, Shapes::ShapeRef.new(shape: ColumnTypeList, required: true, location_name: "columnTypes"))
210
+ ColumnSchema.struct_class = Types::ColumnSchema
211
+
212
+ ColumnTypeList.member = Shapes::ShapeRef.new(shape: ColumnType)
213
+
214
+ ConfiguredAudienceModelList.member = Shapes::ShapeRef.new(shape: ConfiguredAudienceModelSummary)
215
+
216
+ ConfiguredAudienceModelOutputConfig.add_member(:destination, Shapes::ShapeRef.new(shape: AudienceDestination, required: true, location_name: "destination"))
217
+ ConfiguredAudienceModelOutputConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "roleArn"))
218
+ ConfiguredAudienceModelOutputConfig.struct_class = Types::ConfiguredAudienceModelOutputConfig
219
+
220
+ ConfiguredAudienceModelSummary.add_member(:audience_model_arn, Shapes::ShapeRef.new(shape: AudienceModelArn, required: true, location_name: "audienceModelArn"))
221
+ ConfiguredAudienceModelSummary.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location_name: "configuredAudienceModelArn"))
222
+ ConfiguredAudienceModelSummary.add_member(:create_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createTime"))
223
+ ConfiguredAudienceModelSummary.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
224
+ ConfiguredAudienceModelSummary.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
225
+ ConfiguredAudienceModelSummary.add_member(:output_config, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelOutputConfig, required: true, location_name: "outputConfig"))
226
+ ConfiguredAudienceModelSummary.add_member(:status, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelStatus, required: true, location_name: "status"))
227
+ ConfiguredAudienceModelSummary.add_member(:update_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "updateTime"))
228
+ ConfiguredAudienceModelSummary.struct_class = Types::ConfiguredAudienceModelSummary
229
+
230
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
231
+ ConflictException.struct_class = Types::ConflictException
232
+
233
+ CreateAudienceModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
234
+ CreateAudienceModelRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
235
+ CreateAudienceModelRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
236
+ CreateAudienceModelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
237
+ CreateAudienceModelRequest.add_member(:training_data_end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "trainingDataEndTime"))
238
+ CreateAudienceModelRequest.add_member(:training_data_start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "trainingDataStartTime"))
239
+ CreateAudienceModelRequest.add_member(:training_dataset_arn, Shapes::ShapeRef.new(shape: TrainingDatasetArn, required: true, location_name: "trainingDatasetArn"))
240
+ CreateAudienceModelRequest.struct_class = Types::CreateAudienceModelRequest
241
+
242
+ CreateAudienceModelResponse.add_member(:audience_model_arn, Shapes::ShapeRef.new(shape: AudienceModelArn, required: true, location_name: "audienceModelArn"))
243
+ CreateAudienceModelResponse.struct_class = Types::CreateAudienceModelResponse
244
+
245
+ CreateConfiguredAudienceModelRequest.add_member(:audience_model_arn, Shapes::ShapeRef.new(shape: AudienceModelArn, required: true, location_name: "audienceModelArn"))
246
+ CreateConfiguredAudienceModelRequest.add_member(:audience_size_config, Shapes::ShapeRef.new(shape: AudienceSizeConfig, location_name: "audienceSizeConfig"))
247
+ CreateConfiguredAudienceModelRequest.add_member(:child_resource_tag_on_create_policy, Shapes::ShapeRef.new(shape: TagOnCreatePolicy, location_name: "childResourceTagOnCreatePolicy"))
248
+ CreateConfiguredAudienceModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
249
+ CreateConfiguredAudienceModelRequest.add_member(:min_matching_seed_size, Shapes::ShapeRef.new(shape: MinMatchingSeedSize, location_name: "minMatchingSeedSize"))
250
+ CreateConfiguredAudienceModelRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
251
+ CreateConfiguredAudienceModelRequest.add_member(:output_config, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelOutputConfig, required: true, location_name: "outputConfig"))
252
+ CreateConfiguredAudienceModelRequest.add_member(:shared_audience_metrics, Shapes::ShapeRef.new(shape: MetricsList, required: true, location_name: "sharedAudienceMetrics"))
253
+ CreateConfiguredAudienceModelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
254
+ CreateConfiguredAudienceModelRequest.struct_class = Types::CreateConfiguredAudienceModelRequest
255
+
256
+ CreateConfiguredAudienceModelResponse.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location_name: "configuredAudienceModelArn"))
257
+ CreateConfiguredAudienceModelResponse.struct_class = Types::CreateConfiguredAudienceModelResponse
258
+
259
+ CreateTrainingDatasetRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
260
+ CreateTrainingDatasetRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
261
+ CreateTrainingDatasetRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "roleArn"))
262
+ CreateTrainingDatasetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
263
+ CreateTrainingDatasetRequest.add_member(:training_data, Shapes::ShapeRef.new(shape: CreateTrainingDatasetRequestTrainingDataList, required: true, location_name: "trainingData"))
264
+ CreateTrainingDatasetRequest.struct_class = Types::CreateTrainingDatasetRequest
265
+
266
+ CreateTrainingDatasetRequestTrainingDataList.member = Shapes::ShapeRef.new(shape: Dataset)
267
+
268
+ CreateTrainingDatasetResponse.add_member(:training_dataset_arn, Shapes::ShapeRef.new(shape: TrainingDatasetArn, required: true, location_name: "trainingDatasetArn"))
269
+ CreateTrainingDatasetResponse.struct_class = Types::CreateTrainingDatasetResponse
270
+
271
+ DataSource.add_member(:glue_data_source, Shapes::ShapeRef.new(shape: GlueDataSource, required: true, location_name: "glueDataSource"))
272
+ DataSource.struct_class = Types::DataSource
273
+
274
+ Dataset.add_member(:input_config, Shapes::ShapeRef.new(shape: DatasetInputConfig, required: true, location_name: "inputConfig"))
275
+ Dataset.add_member(:type, Shapes::ShapeRef.new(shape: DatasetType, required: true, location_name: "type"))
276
+ Dataset.struct_class = Types::Dataset
277
+
278
+ DatasetInputConfig.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "dataSource"))
279
+ DatasetInputConfig.add_member(:schema, Shapes::ShapeRef.new(shape: DatasetInputConfigSchemaList, required: true, location_name: "schema"))
280
+ DatasetInputConfig.struct_class = Types::DatasetInputConfig
281
+
282
+ DatasetInputConfigSchemaList.member = Shapes::ShapeRef.new(shape: ColumnSchema)
283
+
284
+ DatasetList.member = Shapes::ShapeRef.new(shape: Dataset)
285
+
286
+ DeleteAudienceGenerationJobRequest.add_member(:audience_generation_job_arn, Shapes::ShapeRef.new(shape: AudienceGenerationJobArn, required: true, location: "uri", location_name: "audienceGenerationJobArn"))
287
+ DeleteAudienceGenerationJobRequest.struct_class = Types::DeleteAudienceGenerationJobRequest
288
+
289
+ DeleteAudienceModelRequest.add_member(:audience_model_arn, Shapes::ShapeRef.new(shape: AudienceModelArn, required: true, location: "uri", location_name: "audienceModelArn"))
290
+ DeleteAudienceModelRequest.struct_class = Types::DeleteAudienceModelRequest
291
+
292
+ DeleteConfiguredAudienceModelPolicyRequest.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location: "uri", location_name: "configuredAudienceModelArn"))
293
+ DeleteConfiguredAudienceModelPolicyRequest.struct_class = Types::DeleteConfiguredAudienceModelPolicyRequest
294
+
295
+ DeleteConfiguredAudienceModelRequest.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location: "uri", location_name: "configuredAudienceModelArn"))
296
+ DeleteConfiguredAudienceModelRequest.struct_class = Types::DeleteConfiguredAudienceModelRequest
297
+
298
+ DeleteTrainingDatasetRequest.add_member(:training_dataset_arn, Shapes::ShapeRef.new(shape: TrainingDatasetArn, required: true, location: "uri", location_name: "trainingDatasetArn"))
299
+ DeleteTrainingDatasetRequest.struct_class = Types::DeleteTrainingDatasetRequest
300
+
301
+ GetAudienceGenerationJobRequest.add_member(:audience_generation_job_arn, Shapes::ShapeRef.new(shape: AudienceGenerationJobArn, required: true, location: "uri", location_name: "audienceGenerationJobArn"))
302
+ GetAudienceGenerationJobRequest.struct_class = Types::GetAudienceGenerationJobRequest
303
+
304
+ GetAudienceGenerationJobResponse.add_member(:audience_generation_job_arn, Shapes::ShapeRef.new(shape: AudienceGenerationJobArn, required: true, location_name: "audienceGenerationJobArn"))
305
+ GetAudienceGenerationJobResponse.add_member(:collaboration_id, Shapes::ShapeRef.new(shape: UUID, location_name: "collaborationId"))
306
+ GetAudienceGenerationJobResponse.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location_name: "configuredAudienceModelArn"))
307
+ GetAudienceGenerationJobResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createTime"))
308
+ GetAudienceGenerationJobResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
309
+ GetAudienceGenerationJobResponse.add_member(:include_seed_in_output, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeSeedInOutput"))
310
+ GetAudienceGenerationJobResponse.add_member(:metrics, Shapes::ShapeRef.new(shape: AudienceQualityMetrics, location_name: "metrics"))
311
+ GetAudienceGenerationJobResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
312
+ GetAudienceGenerationJobResponse.add_member(:seed_audience, Shapes::ShapeRef.new(shape: AudienceGenerationJobDataSource, location_name: "seedAudience"))
313
+ GetAudienceGenerationJobResponse.add_member(:started_by, Shapes::ShapeRef.new(shape: AccountId, location_name: "startedBy"))
314
+ GetAudienceGenerationJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: AudienceGenerationJobStatus, required: true, location_name: "status"))
315
+ GetAudienceGenerationJobResponse.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "statusDetails"))
316
+ GetAudienceGenerationJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
317
+ GetAudienceGenerationJobResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "updateTime"))
318
+ GetAudienceGenerationJobResponse.struct_class = Types::GetAudienceGenerationJobResponse
319
+
320
+ GetAudienceModelRequest.add_member(:audience_model_arn, Shapes::ShapeRef.new(shape: AudienceModelArn, required: true, location: "uri", location_name: "audienceModelArn"))
321
+ GetAudienceModelRequest.struct_class = Types::GetAudienceModelRequest
322
+
323
+ GetAudienceModelResponse.add_member(:audience_model_arn, Shapes::ShapeRef.new(shape: AudienceModelArn, required: true, location_name: "audienceModelArn"))
324
+ GetAudienceModelResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createTime"))
325
+ GetAudienceModelResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
326
+ GetAudienceModelResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
327
+ GetAudienceModelResponse.add_member(:metrics, Shapes::ShapeRef.new(shape: AudienceModelMetrics, location_name: "metrics"))
328
+ GetAudienceModelResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
329
+ GetAudienceModelResponse.add_member(:status, Shapes::ShapeRef.new(shape: AudienceModelStatus, required: true, location_name: "status"))
330
+ GetAudienceModelResponse.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "statusDetails"))
331
+ GetAudienceModelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
332
+ GetAudienceModelResponse.add_member(:training_data_end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "trainingDataEndTime"))
333
+ GetAudienceModelResponse.add_member(:training_data_start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "trainingDataStartTime"))
334
+ GetAudienceModelResponse.add_member(:training_dataset_arn, Shapes::ShapeRef.new(shape: TrainingDatasetArn, required: true, location_name: "trainingDatasetArn"))
335
+ GetAudienceModelResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "updateTime"))
336
+ GetAudienceModelResponse.struct_class = Types::GetAudienceModelResponse
337
+
338
+ GetConfiguredAudienceModelPolicyRequest.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location: "uri", location_name: "configuredAudienceModelArn"))
339
+ GetConfiguredAudienceModelPolicyRequest.struct_class = Types::GetConfiguredAudienceModelPolicyRequest
340
+
341
+ GetConfiguredAudienceModelPolicyResponse.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location_name: "configuredAudienceModelArn"))
342
+ GetConfiguredAudienceModelPolicyResponse.add_member(:configured_audience_model_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "configuredAudienceModelPolicy"))
343
+ GetConfiguredAudienceModelPolicyResponse.add_member(:policy_hash, Shapes::ShapeRef.new(shape: Hash, required: true, location_name: "policyHash"))
344
+ GetConfiguredAudienceModelPolicyResponse.struct_class = Types::GetConfiguredAudienceModelPolicyResponse
345
+
346
+ GetConfiguredAudienceModelRequest.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location: "uri", location_name: "configuredAudienceModelArn"))
347
+ GetConfiguredAudienceModelRequest.struct_class = Types::GetConfiguredAudienceModelRequest
348
+
349
+ GetConfiguredAudienceModelResponse.add_member(:audience_model_arn, Shapes::ShapeRef.new(shape: AudienceModelArn, required: true, location_name: "audienceModelArn"))
350
+ GetConfiguredAudienceModelResponse.add_member(:audience_size_config, Shapes::ShapeRef.new(shape: AudienceSizeConfig, location_name: "audienceSizeConfig"))
351
+ GetConfiguredAudienceModelResponse.add_member(:child_resource_tag_on_create_policy, Shapes::ShapeRef.new(shape: TagOnCreatePolicy, location_name: "childResourceTagOnCreatePolicy"))
352
+ GetConfiguredAudienceModelResponse.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location_name: "configuredAudienceModelArn"))
353
+ GetConfiguredAudienceModelResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createTime"))
354
+ GetConfiguredAudienceModelResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
355
+ GetConfiguredAudienceModelResponse.add_member(:min_matching_seed_size, Shapes::ShapeRef.new(shape: MinMatchingSeedSize, location_name: "minMatchingSeedSize"))
356
+ GetConfiguredAudienceModelResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
357
+ GetConfiguredAudienceModelResponse.add_member(:output_config, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelOutputConfig, required: true, location_name: "outputConfig"))
358
+ GetConfiguredAudienceModelResponse.add_member(:shared_audience_metrics, Shapes::ShapeRef.new(shape: MetricsList, required: true, location_name: "sharedAudienceMetrics"))
359
+ GetConfiguredAudienceModelResponse.add_member(:status, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelStatus, required: true, location_name: "status"))
360
+ GetConfiguredAudienceModelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
361
+ GetConfiguredAudienceModelResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "updateTime"))
362
+ GetConfiguredAudienceModelResponse.struct_class = Types::GetConfiguredAudienceModelResponse
363
+
364
+ GetTrainingDatasetRequest.add_member(:training_dataset_arn, Shapes::ShapeRef.new(shape: TrainingDatasetArn, required: true, location: "uri", location_name: "trainingDatasetArn"))
365
+ GetTrainingDatasetRequest.struct_class = Types::GetTrainingDatasetRequest
366
+
367
+ GetTrainingDatasetResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createTime"))
368
+ GetTrainingDatasetResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
369
+ GetTrainingDatasetResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
370
+ GetTrainingDatasetResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "roleArn"))
371
+ GetTrainingDatasetResponse.add_member(:status, Shapes::ShapeRef.new(shape: TrainingDatasetStatus, required: true, location_name: "status"))
372
+ GetTrainingDatasetResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
373
+ GetTrainingDatasetResponse.add_member(:training_data, Shapes::ShapeRef.new(shape: DatasetList, required: true, location_name: "trainingData"))
374
+ GetTrainingDatasetResponse.add_member(:training_dataset_arn, Shapes::ShapeRef.new(shape: TrainingDatasetArn, required: true, location_name: "trainingDatasetArn"))
375
+ GetTrainingDatasetResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "updateTime"))
376
+ GetTrainingDatasetResponse.struct_class = Types::GetTrainingDatasetResponse
377
+
378
+ GlueDataSource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "catalogId"))
379
+ GlueDataSource.add_member(:database_name, Shapes::ShapeRef.new(shape: GlueDatabaseName, required: true, location_name: "databaseName"))
380
+ GlueDataSource.add_member(:table_name, Shapes::ShapeRef.new(shape: GlueTableName, required: true, location_name: "tableName"))
381
+ GlueDataSource.struct_class = Types::GlueDataSource
382
+
383
+ ListAudienceExportJobsRequest.add_member(:audience_generation_job_arn, Shapes::ShapeRef.new(shape: AudienceGenerationJobArn, location: "querystring", location_name: "audienceGenerationJobArn"))
384
+ ListAudienceExportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
385
+ ListAudienceExportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
386
+ ListAudienceExportJobsRequest.struct_class = Types::ListAudienceExportJobsRequest
387
+
388
+ ListAudienceExportJobsResponse.add_member(:audience_export_jobs, Shapes::ShapeRef.new(shape: AudienceExportJobList, required: true, location_name: "audienceExportJobs"))
389
+ ListAudienceExportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
390
+ ListAudienceExportJobsResponse.struct_class = Types::ListAudienceExportJobsResponse
391
+
392
+ ListAudienceGenerationJobsRequest.add_member(:collaboration_id, Shapes::ShapeRef.new(shape: UUID, location: "querystring", location_name: "collaborationId"))
393
+ ListAudienceGenerationJobsRequest.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, location: "querystring", location_name: "configuredAudienceModelArn"))
394
+ ListAudienceGenerationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
395
+ ListAudienceGenerationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
396
+ ListAudienceGenerationJobsRequest.struct_class = Types::ListAudienceGenerationJobsRequest
397
+
398
+ ListAudienceGenerationJobsResponse.add_member(:audience_generation_jobs, Shapes::ShapeRef.new(shape: AudienceGenerationJobList, required: true, location_name: "audienceGenerationJobs"))
399
+ ListAudienceGenerationJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
400
+ ListAudienceGenerationJobsResponse.struct_class = Types::ListAudienceGenerationJobsResponse
401
+
402
+ ListAudienceModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
403
+ ListAudienceModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
404
+ ListAudienceModelsRequest.struct_class = Types::ListAudienceModelsRequest
405
+
406
+ ListAudienceModelsResponse.add_member(:audience_models, Shapes::ShapeRef.new(shape: AudienceModelList, required: true, location_name: "audienceModels"))
407
+ ListAudienceModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
408
+ ListAudienceModelsResponse.struct_class = Types::ListAudienceModelsResponse
409
+
410
+ ListConfiguredAudienceModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
411
+ ListConfiguredAudienceModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
412
+ ListConfiguredAudienceModelsRequest.struct_class = Types::ListConfiguredAudienceModelsRequest
413
+
414
+ ListConfiguredAudienceModelsResponse.add_member(:configured_audience_models, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelList, required: true, location_name: "configuredAudienceModels"))
415
+ ListConfiguredAudienceModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
416
+ ListConfiguredAudienceModelsResponse.struct_class = Types::ListConfiguredAudienceModelsResponse
417
+
418
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableArn, required: true, location: "uri", location_name: "resourceArn"))
419
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
420
+
421
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
422
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
423
+
424
+ ListTrainingDatasetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
425
+ ListTrainingDatasetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
426
+ ListTrainingDatasetsRequest.struct_class = Types::ListTrainingDatasetsRequest
427
+
428
+ ListTrainingDatasetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
429
+ ListTrainingDatasetsResponse.add_member(:training_datasets, Shapes::ShapeRef.new(shape: TrainingDatasetList, required: true, location_name: "trainingDatasets"))
430
+ ListTrainingDatasetsResponse.struct_class = Types::ListTrainingDatasetsResponse
431
+
432
+ MetricsList.member = Shapes::ShapeRef.new(shape: SharedAudienceMetrics)
433
+
434
+ PutConfiguredAudienceModelPolicyRequest.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location: "uri", location_name: "configuredAudienceModelArn"))
435
+ PutConfiguredAudienceModelPolicyRequest.add_member(:configured_audience_model_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "configuredAudienceModelPolicy"))
436
+ PutConfiguredAudienceModelPolicyRequest.add_member(:policy_existence_condition, Shapes::ShapeRef.new(shape: PolicyExistenceCondition, location_name: "policyExistenceCondition"))
437
+ PutConfiguredAudienceModelPolicyRequest.add_member(:previous_policy_hash, Shapes::ShapeRef.new(shape: Hash, location_name: "previousPolicyHash"))
438
+ PutConfiguredAudienceModelPolicyRequest.struct_class = Types::PutConfiguredAudienceModelPolicyRequest
439
+
440
+ PutConfiguredAudienceModelPolicyResponse.add_member(:configured_audience_model_policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "configuredAudienceModelPolicy"))
441
+ PutConfiguredAudienceModelPolicyResponse.add_member(:policy_hash, Shapes::ShapeRef.new(shape: Hash, required: true, location_name: "policyHash"))
442
+ PutConfiguredAudienceModelPolicyResponse.struct_class = Types::PutConfiguredAudienceModelPolicyResponse
443
+
444
+ RelevanceMetric.add_member(:audience_size, Shapes::ShapeRef.new(shape: AudienceSize, required: true, location_name: "audienceSize"))
445
+ RelevanceMetric.add_member(:score, Shapes::ShapeRef.new(shape: Double, location_name: "score"))
446
+ RelevanceMetric.struct_class = Types::RelevanceMetric
447
+
448
+ RelevanceMetrics.member = Shapes::ShapeRef.new(shape: RelevanceMetric)
449
+
450
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
451
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
452
+
453
+ S3ConfigMap.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Path, required: true, location_name: "s3Uri"))
454
+ S3ConfigMap.struct_class = Types::S3ConfigMap
455
+
456
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
457
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
458
+
459
+ StartAudienceExportJobRequest.add_member(:audience_generation_job_arn, Shapes::ShapeRef.new(shape: AudienceGenerationJobArn, required: true, location_name: "audienceGenerationJobArn"))
460
+ StartAudienceExportJobRequest.add_member(:audience_size, Shapes::ShapeRef.new(shape: AudienceSize, required: true, location_name: "audienceSize"))
461
+ StartAudienceExportJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
462
+ StartAudienceExportJobRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
463
+ StartAudienceExportJobRequest.struct_class = Types::StartAudienceExportJobRequest
464
+
465
+ StartAudienceGenerationJobRequest.add_member(:collaboration_id, Shapes::ShapeRef.new(shape: UUID, location_name: "collaborationId"))
466
+ StartAudienceGenerationJobRequest.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location_name: "configuredAudienceModelArn"))
467
+ StartAudienceGenerationJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
468
+ StartAudienceGenerationJobRequest.add_member(:include_seed_in_output, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeSeedInOutput"))
469
+ StartAudienceGenerationJobRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
470
+ StartAudienceGenerationJobRequest.add_member(:seed_audience, Shapes::ShapeRef.new(shape: AudienceGenerationJobDataSource, required: true, location_name: "seedAudience"))
471
+ StartAudienceGenerationJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
472
+ StartAudienceGenerationJobRequest.struct_class = Types::StartAudienceGenerationJobRequest
473
+
474
+ StartAudienceGenerationJobResponse.add_member(:audience_generation_job_arn, Shapes::ShapeRef.new(shape: AudienceGenerationJobArn, required: true, location_name: "audienceGenerationJobArn"))
475
+ StartAudienceGenerationJobResponse.struct_class = Types::StartAudienceGenerationJobResponse
476
+
477
+ StatusDetails.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
478
+ StatusDetails.add_member(:status_code, Shapes::ShapeRef.new(shape: String, location_name: "statusCode"))
479
+ StatusDetails.struct_class = Types::StatusDetails
480
+
481
+ TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
482
+
483
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
484
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
485
+
486
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableArn, required: true, location: "uri", location_name: "resourceArn"))
487
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
488
+ TagResourceRequest.struct_class = Types::TagResourceRequest
489
+
490
+ TagResourceResponse.struct_class = Types::TagResourceResponse
491
+
492
+ TrainingDatasetList.member = Shapes::ShapeRef.new(shape: TrainingDatasetSummary)
493
+
494
+ TrainingDatasetSummary.add_member(:create_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createTime"))
495
+ TrainingDatasetSummary.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
496
+ TrainingDatasetSummary.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "name"))
497
+ TrainingDatasetSummary.add_member(:status, Shapes::ShapeRef.new(shape: TrainingDatasetStatus, required: true, location_name: "status"))
498
+ TrainingDatasetSummary.add_member(:training_dataset_arn, Shapes::ShapeRef.new(shape: TrainingDatasetArn, required: true, location_name: "trainingDatasetArn"))
499
+ TrainingDatasetSummary.add_member(:update_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "updateTime"))
500
+ TrainingDatasetSummary.struct_class = Types::TrainingDatasetSummary
501
+
502
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableArn, required: true, location: "uri", location_name: "resourceArn"))
503
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
504
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
505
+
506
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
507
+
508
+ UpdateConfiguredAudienceModelRequest.add_member(:audience_model_arn, Shapes::ShapeRef.new(shape: AudienceModelArn, location_name: "audienceModelArn"))
509
+ UpdateConfiguredAudienceModelRequest.add_member(:audience_size_config, Shapes::ShapeRef.new(shape: AudienceSizeConfig, location_name: "audienceSizeConfig"))
510
+ UpdateConfiguredAudienceModelRequest.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location: "uri", location_name: "configuredAudienceModelArn"))
511
+ UpdateConfiguredAudienceModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
512
+ UpdateConfiguredAudienceModelRequest.add_member(:min_matching_seed_size, Shapes::ShapeRef.new(shape: MinMatchingSeedSize, location_name: "minMatchingSeedSize"))
513
+ UpdateConfiguredAudienceModelRequest.add_member(:output_config, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelOutputConfig, location_name: "outputConfig"))
514
+ UpdateConfiguredAudienceModelRequest.add_member(:shared_audience_metrics, Shapes::ShapeRef.new(shape: MetricsList, location_name: "sharedAudienceMetrics"))
515
+ UpdateConfiguredAudienceModelRequest.struct_class = Types::UpdateConfiguredAudienceModelRequest
516
+
517
+ UpdateConfiguredAudienceModelResponse.add_member(:configured_audience_model_arn, Shapes::ShapeRef.new(shape: ConfiguredAudienceModelArn, required: true, location_name: "configuredAudienceModelArn"))
518
+ UpdateConfiguredAudienceModelResponse.struct_class = Types::UpdateConfiguredAudienceModelResponse
519
+
520
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
521
+ ValidationException.struct_class = Types::ValidationException
522
+
523
+
524
+ # @api private
525
+ API = Seahorse::Model::Api.new.tap do |api|
526
+
527
+ api.version = "2023-09-06"
528
+
529
+ api.metadata = {
530
+ "apiVersion" => "2023-09-06",
531
+ "endpointPrefix" => "cleanrooms-ml",
532
+ "jsonVersion" => "1.1",
533
+ "protocol" => "rest-json",
534
+ "serviceFullName" => "cleanrooms-ml",
535
+ "serviceId" => "CleanRoomsML",
536
+ "signatureVersion" => "v4",
537
+ "signingName" => "cleanrooms-ml",
538
+ "uid" => "cleanroomsml-2023-09-06",
539
+ }
540
+
541
+ api.add_operation(:create_audience_model, Seahorse::Model::Operation.new.tap do |o|
542
+ o.name = "CreateAudienceModel"
543
+ o.http_method = "POST"
544
+ o.http_request_uri = "/audience-model"
545
+ o.input = Shapes::ShapeRef.new(shape: CreateAudienceModelRequest)
546
+ o.output = Shapes::ShapeRef.new(shape: CreateAudienceModelResponse)
547
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
548
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
549
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
550
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
551
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
552
+ end)
553
+
554
+ api.add_operation(:create_configured_audience_model, Seahorse::Model::Operation.new.tap do |o|
555
+ o.name = "CreateConfiguredAudienceModel"
556
+ o.http_method = "POST"
557
+ o.http_request_uri = "/configured-audience-model"
558
+ o.input = Shapes::ShapeRef.new(shape: CreateConfiguredAudienceModelRequest)
559
+ o.output = Shapes::ShapeRef.new(shape: CreateConfiguredAudienceModelResponse)
560
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
561
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
562
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
563
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
564
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
565
+ end)
566
+
567
+ api.add_operation(:create_training_dataset, Seahorse::Model::Operation.new.tap do |o|
568
+ o.name = "CreateTrainingDataset"
569
+ o.http_method = "POST"
570
+ o.http_request_uri = "/training-dataset"
571
+ o.input = Shapes::ShapeRef.new(shape: CreateTrainingDatasetRequest)
572
+ o.output = Shapes::ShapeRef.new(shape: CreateTrainingDatasetResponse)
573
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
574
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
575
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
576
+ end)
577
+
578
+ api.add_operation(:delete_audience_generation_job, Seahorse::Model::Operation.new.tap do |o|
579
+ o.name = "DeleteAudienceGenerationJob"
580
+ o.http_method = "DELETE"
581
+ o.http_request_uri = "/audience-generation-job/{audienceGenerationJobArn}"
582
+ o.input = Shapes::ShapeRef.new(shape: DeleteAudienceGenerationJobRequest)
583
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
584
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
585
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
586
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
587
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
588
+ end)
589
+
590
+ api.add_operation(:delete_audience_model, Seahorse::Model::Operation.new.tap do |o|
591
+ o.name = "DeleteAudienceModel"
592
+ o.http_method = "DELETE"
593
+ o.http_request_uri = "/audience-model/{audienceModelArn}"
594
+ o.input = Shapes::ShapeRef.new(shape: DeleteAudienceModelRequest)
595
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
596
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
597
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
598
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
599
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
600
+ end)
601
+
602
+ api.add_operation(:delete_configured_audience_model, Seahorse::Model::Operation.new.tap do |o|
603
+ o.name = "DeleteConfiguredAudienceModel"
604
+ o.http_method = "DELETE"
605
+ o.http_request_uri = "/configured-audience-model/{configuredAudienceModelArn}"
606
+ o.input = Shapes::ShapeRef.new(shape: DeleteConfiguredAudienceModelRequest)
607
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
608
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
609
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
610
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
611
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
612
+ end)
613
+
614
+ api.add_operation(:delete_configured_audience_model_policy, Seahorse::Model::Operation.new.tap do |o|
615
+ o.name = "DeleteConfiguredAudienceModelPolicy"
616
+ o.http_method = "DELETE"
617
+ o.http_request_uri = "/configured-audience-model/{configuredAudienceModelArn}/policy"
618
+ o.input = Shapes::ShapeRef.new(shape: DeleteConfiguredAudienceModelPolicyRequest)
619
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
620
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
621
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
622
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
623
+ end)
624
+
625
+ api.add_operation(:delete_training_dataset, Seahorse::Model::Operation.new.tap do |o|
626
+ o.name = "DeleteTrainingDataset"
627
+ o.http_method = "DELETE"
628
+ o.http_request_uri = "/training-dataset/{trainingDatasetArn}"
629
+ o.input = Shapes::ShapeRef.new(shape: DeleteTrainingDatasetRequest)
630
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
631
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
632
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
633
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
634
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
635
+ end)
636
+
637
+ api.add_operation(:get_audience_generation_job, Seahorse::Model::Operation.new.tap do |o|
638
+ o.name = "GetAudienceGenerationJob"
639
+ o.http_method = "GET"
640
+ o.http_request_uri = "/audience-generation-job/{audienceGenerationJobArn}"
641
+ o.input = Shapes::ShapeRef.new(shape: GetAudienceGenerationJobRequest)
642
+ o.output = Shapes::ShapeRef.new(shape: GetAudienceGenerationJobResponse)
643
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
644
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
645
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
646
+ end)
647
+
648
+ api.add_operation(:get_audience_model, Seahorse::Model::Operation.new.tap do |o|
649
+ o.name = "GetAudienceModel"
650
+ o.http_method = "GET"
651
+ o.http_request_uri = "/audience-model/{audienceModelArn}"
652
+ o.input = Shapes::ShapeRef.new(shape: GetAudienceModelRequest)
653
+ o.output = Shapes::ShapeRef.new(shape: GetAudienceModelResponse)
654
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
655
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
656
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
657
+ end)
658
+
659
+ api.add_operation(:get_configured_audience_model, Seahorse::Model::Operation.new.tap do |o|
660
+ o.name = "GetConfiguredAudienceModel"
661
+ o.http_method = "GET"
662
+ o.http_request_uri = "/configured-audience-model/{configuredAudienceModelArn}"
663
+ o.input = Shapes::ShapeRef.new(shape: GetConfiguredAudienceModelRequest)
664
+ o.output = Shapes::ShapeRef.new(shape: GetConfiguredAudienceModelResponse)
665
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
666
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
667
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
668
+ end)
669
+
670
+ api.add_operation(:get_configured_audience_model_policy, Seahorse::Model::Operation.new.tap do |o|
671
+ o.name = "GetConfiguredAudienceModelPolicy"
672
+ o.http_method = "GET"
673
+ o.http_request_uri = "/configured-audience-model/{configuredAudienceModelArn}/policy"
674
+ o.input = Shapes::ShapeRef.new(shape: GetConfiguredAudienceModelPolicyRequest)
675
+ o.output = Shapes::ShapeRef.new(shape: GetConfiguredAudienceModelPolicyResponse)
676
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
677
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
678
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
679
+ end)
680
+
681
+ api.add_operation(:get_training_dataset, Seahorse::Model::Operation.new.tap do |o|
682
+ o.name = "GetTrainingDataset"
683
+ o.http_method = "GET"
684
+ o.http_request_uri = "/training-dataset/{trainingDatasetArn}"
685
+ o.input = Shapes::ShapeRef.new(shape: GetTrainingDatasetRequest)
686
+ o.output = Shapes::ShapeRef.new(shape: GetTrainingDatasetResponse)
687
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
688
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
689
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
690
+ end)
691
+
692
+ api.add_operation(:list_audience_export_jobs, Seahorse::Model::Operation.new.tap do |o|
693
+ o.name = "ListAudienceExportJobs"
694
+ o.http_method = "GET"
695
+ o.http_request_uri = "/audience-export-job"
696
+ o.input = Shapes::ShapeRef.new(shape: ListAudienceExportJobsRequest)
697
+ o.output = Shapes::ShapeRef.new(shape: ListAudienceExportJobsResponse)
698
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
699
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
700
+ o[:pager] = Aws::Pager.new(
701
+ limit_key: "max_results",
702
+ tokens: {
703
+ "next_token" => "next_token"
704
+ }
705
+ )
706
+ end)
707
+
708
+ api.add_operation(:list_audience_generation_jobs, Seahorse::Model::Operation.new.tap do |o|
709
+ o.name = "ListAudienceGenerationJobs"
710
+ o.http_method = "GET"
711
+ o.http_request_uri = "/audience-generation-job"
712
+ o.input = Shapes::ShapeRef.new(shape: ListAudienceGenerationJobsRequest)
713
+ o.output = Shapes::ShapeRef.new(shape: ListAudienceGenerationJobsResponse)
714
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
715
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
716
+ o[:pager] = Aws::Pager.new(
717
+ limit_key: "max_results",
718
+ tokens: {
719
+ "next_token" => "next_token"
720
+ }
721
+ )
722
+ end)
723
+
724
+ api.add_operation(:list_audience_models, Seahorse::Model::Operation.new.tap do |o|
725
+ o.name = "ListAudienceModels"
726
+ o.http_method = "GET"
727
+ o.http_request_uri = "/audience-model"
728
+ o.input = Shapes::ShapeRef.new(shape: ListAudienceModelsRequest)
729
+ o.output = Shapes::ShapeRef.new(shape: ListAudienceModelsResponse)
730
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
731
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
732
+ o[:pager] = Aws::Pager.new(
733
+ limit_key: "max_results",
734
+ tokens: {
735
+ "next_token" => "next_token"
736
+ }
737
+ )
738
+ end)
739
+
740
+ api.add_operation(:list_configured_audience_models, Seahorse::Model::Operation.new.tap do |o|
741
+ o.name = "ListConfiguredAudienceModels"
742
+ o.http_method = "GET"
743
+ o.http_request_uri = "/configured-audience-model"
744
+ o.input = Shapes::ShapeRef.new(shape: ListConfiguredAudienceModelsRequest)
745
+ o.output = Shapes::ShapeRef.new(shape: ListConfiguredAudienceModelsResponse)
746
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
747
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
748
+ o[:pager] = Aws::Pager.new(
749
+ limit_key: "max_results",
750
+ tokens: {
751
+ "next_token" => "next_token"
752
+ }
753
+ )
754
+ end)
755
+
756
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
757
+ o.name = "ListTagsForResource"
758
+ o.http_method = "GET"
759
+ o.http_request_uri = "/tags/{resourceArn}"
760
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
761
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
762
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
763
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
764
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
765
+ end)
766
+
767
+ api.add_operation(:list_training_datasets, Seahorse::Model::Operation.new.tap do |o|
768
+ o.name = "ListTrainingDatasets"
769
+ o.http_method = "GET"
770
+ o.http_request_uri = "/training-dataset"
771
+ o.input = Shapes::ShapeRef.new(shape: ListTrainingDatasetsRequest)
772
+ o.output = Shapes::ShapeRef.new(shape: ListTrainingDatasetsResponse)
773
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
774
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
775
+ o[:pager] = Aws::Pager.new(
776
+ limit_key: "max_results",
777
+ tokens: {
778
+ "next_token" => "next_token"
779
+ }
780
+ )
781
+ end)
782
+
783
+ api.add_operation(:put_configured_audience_model_policy, Seahorse::Model::Operation.new.tap do |o|
784
+ o.name = "PutConfiguredAudienceModelPolicy"
785
+ o.http_method = "PUT"
786
+ o.http_request_uri = "/configured-audience-model/{configuredAudienceModelArn}/policy"
787
+ o.input = Shapes::ShapeRef.new(shape: PutConfiguredAudienceModelPolicyRequest)
788
+ o.output = Shapes::ShapeRef.new(shape: PutConfiguredAudienceModelPolicyResponse)
789
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
790
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
791
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
792
+ end)
793
+
794
+ api.add_operation(:start_audience_export_job, Seahorse::Model::Operation.new.tap do |o|
795
+ o.name = "StartAudienceExportJob"
796
+ o.http_method = "POST"
797
+ o.http_request_uri = "/audience-export-job"
798
+ o.input = Shapes::ShapeRef.new(shape: StartAudienceExportJobRequest)
799
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
800
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
801
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
802
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
803
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
804
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
805
+ end)
806
+
807
+ api.add_operation(:start_audience_generation_job, Seahorse::Model::Operation.new.tap do |o|
808
+ o.name = "StartAudienceGenerationJob"
809
+ o.http_method = "POST"
810
+ o.http_request_uri = "/audience-generation-job"
811
+ o.input = Shapes::ShapeRef.new(shape: StartAudienceGenerationJobRequest)
812
+ o.output = Shapes::ShapeRef.new(shape: StartAudienceGenerationJobResponse)
813
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
814
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
815
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
816
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
817
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
818
+ end)
819
+
820
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
821
+ o.name = "TagResource"
822
+ o.http_method = "POST"
823
+ o.http_request_uri = "/tags/{resourceArn}"
824
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
825
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
826
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
827
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
828
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
829
+ end)
830
+
831
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
832
+ o.name = "UntagResource"
833
+ o.http_method = "DELETE"
834
+ o.http_request_uri = "/tags/{resourceArn}"
835
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
836
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
837
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
838
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
839
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
840
+ end)
841
+
842
+ api.add_operation(:update_configured_audience_model, Seahorse::Model::Operation.new.tap do |o|
843
+ o.name = "UpdateConfiguredAudienceModel"
844
+ o.http_method = "PATCH"
845
+ o.http_request_uri = "/configured-audience-model/{configuredAudienceModelArn}"
846
+ o.input = Shapes::ShapeRef.new(shape: UpdateConfiguredAudienceModelRequest)
847
+ o.output = Shapes::ShapeRef.new(shape: UpdateConfiguredAudienceModelResponse)
848
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
849
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
850
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
851
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
852
+ end)
853
+ end
854
+
855
+ end
856
+ end