aws-sdk-cleanroomsml 1.9.0 → 1.10.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.
@@ -0,0 +1,15 @@
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
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::CleanRoomsML
13
+ module Waiters
14
+ end
15
+ end
@@ -16,6 +16,7 @@ require_relative 'aws-sdk-cleanroomsml/client_api'
16
16
  require_relative 'aws-sdk-cleanroomsml/plugins/endpoints.rb'
17
17
  require_relative 'aws-sdk-cleanroomsml/client'
18
18
  require_relative 'aws-sdk-cleanroomsml/errors'
19
+ require_relative 'aws-sdk-cleanroomsml/waiters'
19
20
  require_relative 'aws-sdk-cleanroomsml/resource'
20
21
  require_relative 'aws-sdk-cleanroomsml/endpoint_parameters'
21
22
  require_relative 'aws-sdk-cleanroomsml/endpoint_provider'
@@ -52,6 +53,6 @@ require_relative 'aws-sdk-cleanroomsml/customizations'
52
53
  # @!group service
53
54
  module Aws::CleanRoomsML
54
55
 
55
- GEM_VERSION = '1.9.0'
56
+ GEM_VERSION = '1.10.0'
56
57
 
57
58
  end
data/sig/client.rbs CHANGED
@@ -79,13 +79,13 @@ module Aws
79
79
  end
80
80
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#create_audience_model-instance_method
81
81
  def create_audience_model: (
82
- ?description: ::String,
83
- ?kms_key_arn: ::String,
82
+ ?training_data_start_time: ::Time,
83
+ ?training_data_end_time: ::Time,
84
84
  name: ::String,
85
+ training_dataset_arn: ::String,
86
+ ?kms_key_arn: ::String,
85
87
  ?tags: Hash[::String, ::String],
86
- ?training_data_end_time: ::Time,
87
- ?training_data_start_time: ::Time,
88
- training_dataset_arn: ::String
88
+ ?description: ::String
89
89
  ) -> _CreateAudienceModelResponseSuccess
90
90
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAudienceModelResponseSuccess
91
91
 
@@ -95,15 +95,8 @@ module Aws
95
95
  end
96
96
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#create_configured_audience_model-instance_method
97
97
  def create_configured_audience_model: (
98
- audience_model_arn: ::String,
99
- ?audience_size_config: {
100
- audience_size_bins: Array[::Integer],
101
- audience_size_type: ("ABSOLUTE" | "PERCENTAGE")
102
- },
103
- ?child_resource_tag_on_create_policy: ("FROM_PARENT_RESOURCE" | "NONE"),
104
- ?description: ::String,
105
- ?min_matching_seed_size: ::Integer,
106
98
  name: ::String,
99
+ audience_model_arn: ::String,
107
100
  output_config: {
108
101
  destination: {
109
102
  s3_destination: {
@@ -112,8 +105,15 @@ module Aws
112
105
  },
113
106
  role_arn: ::String
114
107
  },
108
+ ?description: ::String,
115
109
  shared_audience_metrics: Array[("ALL" | "NONE")],
116
- ?tags: Hash[::String, ::String]
110
+ ?min_matching_seed_size: ::Integer,
111
+ ?audience_size_config: {
112
+ audience_size_type: ("ABSOLUTE" | "PERCENTAGE"),
113
+ audience_size_bins: Array[::Integer]
114
+ },
115
+ ?tags: Hash[::String, ::String],
116
+ ?child_resource_tag_on_create_policy: ("FROM_PARENT_RESOURCE" | "NONE")
117
117
  ) -> _CreateConfiguredAudienceModelResponseSuccess
118
118
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConfiguredAudienceModelResponseSuccess
119
119
 
@@ -123,30 +123,30 @@ module Aws
123
123
  end
124
124
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#create_training_dataset-instance_method
125
125
  def create_training_dataset: (
126
- ?description: ::String,
127
126
  name: ::String,
128
127
  role_arn: ::String,
129
- ?tags: Hash[::String, ::String],
130
128
  training_data: Array[
131
129
  {
130
+ type: ("INTERACTIONS"),
132
131
  input_config: {
133
- data_source: {
134
- glue_data_source: {
135
- catalog_id: ::String?,
136
- database_name: ::String,
137
- table_name: ::String
138
- }
139
- },
140
132
  schema: Array[
141
133
  {
142
134
  column_name: ::String,
143
135
  column_types: Array[("USER_ID" | "ITEM_ID" | "TIMESTAMP" | "CATEGORICAL_FEATURE" | "NUMERICAL_FEATURE")]
144
136
  },
145
- ]
146
- },
147
- type: ("INTERACTIONS")
137
+ ],
138
+ data_source: {
139
+ glue_data_source: {
140
+ table_name: ::String,
141
+ database_name: ::String,
142
+ catalog_id: ::String?
143
+ }
144
+ }
145
+ }
148
146
  },
149
- ]
147
+ ],
148
+ ?tags: Hash[::String, ::String],
149
+ ?description: ::String
150
150
  ) -> _CreateTrainingDatasetResponseSuccess
151
151
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTrainingDatasetResponseSuccess
152
152
 
@@ -182,20 +182,21 @@ module Aws
182
182
 
183
183
  interface _GetAudienceGenerationJobResponseSuccess
184
184
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAudienceGenerationJobResponse]
185
- def audience_generation_job_arn: () -> ::String
186
- def collaboration_id: () -> ::String
187
- def configured_audience_model_arn: () -> ::String
188
185
  def create_time: () -> ::Time
186
+ def update_time: () -> ::Time
187
+ def audience_generation_job_arn: () -> ::String
188
+ def name: () -> ::String
189
189
  def description: () -> ::String
190
+ def status: () -> ("CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
191
+ def status_details: () -> Types::StatusDetails
192
+ def configured_audience_model_arn: () -> ::String
193
+ def seed_audience: () -> Types::AudienceGenerationJobDataSource
190
194
  def include_seed_in_output: () -> bool
195
+ def collaboration_id: () -> ::String
191
196
  def metrics: () -> Types::AudienceQualityMetrics
192
- def name: () -> ::String
193
- def seed_audience: () -> Types::AudienceGenerationJobDataSource
194
197
  def started_by: () -> ::String
195
- def status: () -> ("CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
196
- def status_details: () -> Types::StatusDetails
197
198
  def tags: () -> ::Hash[::String, ::String]
198
- def update_time: () -> ::Time
199
+ def protected_query_identifier: () -> ::String
199
200
  end
200
201
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#get_audience_generation_job-instance_method
201
202
  def get_audience_generation_job: (
@@ -205,18 +206,18 @@ module Aws
205
206
 
206
207
  interface _GetAudienceModelResponseSuccess
207
208
  include ::Seahorse::Client::_ResponseSuccess[Types::GetAudienceModelResponse]
208
- def audience_model_arn: () -> ::String
209
209
  def create_time: () -> ::Time
210
- def description: () -> ::String
211
- def kms_key_arn: () -> ::String
210
+ def update_time: () -> ::Time
211
+ def training_data_start_time: () -> ::Time
212
+ def training_data_end_time: () -> ::Time
213
+ def audience_model_arn: () -> ::String
212
214
  def name: () -> ::String
215
+ def training_dataset_arn: () -> ::String
213
216
  def status: () -> ("CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
214
217
  def status_details: () -> Types::StatusDetails
218
+ def kms_key_arn: () -> ::String
215
219
  def tags: () -> ::Hash[::String, ::String]
216
- def training_data_end_time: () -> ::Time
217
- def training_data_start_time: () -> ::Time
218
- def training_dataset_arn: () -> ::String
219
- def update_time: () -> ::Time
220
+ def description: () -> ::String
220
221
  end
221
222
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#get_audience_model-instance_method
222
223
  def get_audience_model: (
@@ -226,19 +227,19 @@ module Aws
226
227
 
227
228
  interface _GetConfiguredAudienceModelResponseSuccess
228
229
  include ::Seahorse::Client::_ResponseSuccess[Types::GetConfiguredAudienceModelResponse]
229
- def audience_model_arn: () -> ::String
230
- def audience_size_config: () -> Types::AudienceSizeConfig
231
- def child_resource_tag_on_create_policy: () -> ("FROM_PARENT_RESOURCE" | "NONE")
232
- def configured_audience_model_arn: () -> ::String
233
230
  def create_time: () -> ::Time
234
- def description: () -> ::String
235
- def min_matching_seed_size: () -> ::Integer
231
+ def update_time: () -> ::Time
232
+ def configured_audience_model_arn: () -> ::String
236
233
  def name: () -> ::String
234
+ def audience_model_arn: () -> ::String
237
235
  def output_config: () -> Types::ConfiguredAudienceModelOutputConfig
238
- def shared_audience_metrics: () -> ::Array[("ALL" | "NONE")]
236
+ def description: () -> ::String
239
237
  def status: () -> ("ACTIVE")
238
+ def shared_audience_metrics: () -> ::Array[("ALL" | "NONE")]
239
+ def min_matching_seed_size: () -> ::Integer
240
+ def audience_size_config: () -> Types::AudienceSizeConfig
240
241
  def tags: () -> ::Hash[::String, ::String]
241
- def update_time: () -> ::Time
242
+ def child_resource_tag_on_create_policy: () -> ("FROM_PARENT_RESOURCE" | "NONE")
242
243
  end
243
244
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#get_configured_audience_model-instance_method
244
245
  def get_configured_audience_model: (
@@ -261,14 +262,14 @@ module Aws
261
262
  interface _GetTrainingDatasetResponseSuccess
262
263
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTrainingDatasetResponse]
263
264
  def create_time: () -> ::Time
264
- def description: () -> ::String
265
+ def update_time: () -> ::Time
266
+ def training_dataset_arn: () -> ::String
265
267
  def name: () -> ::String
266
- def role_arn: () -> ::String
268
+ def training_data: () -> ::Array[Types::Dataset]
267
269
  def status: () -> ("ACTIVE")
270
+ def role_arn: () -> ::String
268
271
  def tags: () -> ::Hash[::String, ::String]
269
- def training_data: () -> ::Array[Types::Dataset]
270
- def training_dataset_arn: () -> ::String
271
- def update_time: () -> ::Time
272
+ def description: () -> ::String
272
273
  end
273
274
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#get_training_dataset-instance_method
274
275
  def get_training_dataset: (
@@ -278,52 +279,52 @@ module Aws
278
279
 
279
280
  interface _ListAudienceExportJobsResponseSuccess
280
281
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAudienceExportJobsResponse]
281
- def audience_export_jobs: () -> ::Array[Types::AudienceExportJobSummary]
282
282
  def next_token: () -> ::String
283
+ def audience_export_jobs: () -> ::Array[Types::AudienceExportJobSummary]
283
284
  end
284
285
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#list_audience_export_jobs-instance_method
285
286
  def list_audience_export_jobs: (
286
- ?audience_generation_job_arn: ::String,
287
+ ?next_token: ::String,
287
288
  ?max_results: ::Integer,
288
- ?next_token: ::String
289
+ ?audience_generation_job_arn: ::String
289
290
  ) -> _ListAudienceExportJobsResponseSuccess
290
291
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAudienceExportJobsResponseSuccess
291
292
 
292
293
  interface _ListAudienceGenerationJobsResponseSuccess
293
294
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAudienceGenerationJobsResponse]
294
- def audience_generation_jobs: () -> ::Array[Types::AudienceGenerationJobSummary]
295
295
  def next_token: () -> ::String
296
+ def audience_generation_jobs: () -> ::Array[Types::AudienceGenerationJobSummary]
296
297
  end
297
298
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#list_audience_generation_jobs-instance_method
298
299
  def list_audience_generation_jobs: (
299
- ?collaboration_id: ::String,
300
- ?configured_audience_model_arn: ::String,
300
+ ?next_token: ::String,
301
301
  ?max_results: ::Integer,
302
- ?next_token: ::String
302
+ ?configured_audience_model_arn: ::String,
303
+ ?collaboration_id: ::String
303
304
  ) -> _ListAudienceGenerationJobsResponseSuccess
304
305
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAudienceGenerationJobsResponseSuccess
305
306
 
306
307
  interface _ListAudienceModelsResponseSuccess
307
308
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAudienceModelsResponse]
308
- def audience_models: () -> ::Array[Types::AudienceModelSummary]
309
309
  def next_token: () -> ::String
310
+ def audience_models: () -> ::Array[Types::AudienceModelSummary]
310
311
  end
311
312
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#list_audience_models-instance_method
312
313
  def list_audience_models: (
313
- ?max_results: ::Integer,
314
- ?next_token: ::String
314
+ ?next_token: ::String,
315
+ ?max_results: ::Integer
315
316
  ) -> _ListAudienceModelsResponseSuccess
316
317
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAudienceModelsResponseSuccess
317
318
 
318
319
  interface _ListConfiguredAudienceModelsResponseSuccess
319
320
  include ::Seahorse::Client::_ResponseSuccess[Types::ListConfiguredAudienceModelsResponse]
320
- def configured_audience_models: () -> ::Array[Types::ConfiguredAudienceModelSummary]
321
321
  def next_token: () -> ::String
322
+ def configured_audience_models: () -> ::Array[Types::ConfiguredAudienceModelSummary]
322
323
  end
323
324
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#list_configured_audience_models-instance_method
324
325
  def list_configured_audience_models: (
325
- ?max_results: ::Integer,
326
- ?next_token: ::String
326
+ ?next_token: ::String,
327
+ ?max_results: ::Integer
327
328
  ) -> _ListConfiguredAudienceModelsResponseSuccess
328
329
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConfiguredAudienceModelsResponseSuccess
329
330
 
@@ -344,8 +345,8 @@ module Aws
344
345
  end
345
346
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#list_training_datasets-instance_method
346
347
  def list_training_datasets: (
347
- ?max_results: ::Integer,
348
- ?next_token: ::String
348
+ ?next_token: ::String,
349
+ ?max_results: ::Integer
349
350
  ) -> _ListTrainingDatasetsResponseSuccess
350
351
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTrainingDatasetsResponseSuccess
351
352
 
@@ -358,20 +359,20 @@ module Aws
358
359
  def put_configured_audience_model_policy: (
359
360
  configured_audience_model_arn: ::String,
360
361
  configured_audience_model_policy: ::String,
361
- ?policy_existence_condition: ("POLICY_MUST_EXIST" | "POLICY_MUST_NOT_EXIST"),
362
- ?previous_policy_hash: ::String
362
+ ?previous_policy_hash: ::String,
363
+ ?policy_existence_condition: ("POLICY_MUST_EXIST" | "POLICY_MUST_NOT_EXIST")
363
364
  ) -> _PutConfiguredAudienceModelPolicyResponseSuccess
364
365
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutConfiguredAudienceModelPolicyResponseSuccess
365
366
 
366
367
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#start_audience_export_job-instance_method
367
368
  def start_audience_export_job: (
369
+ name: ::String,
368
370
  audience_generation_job_arn: ::String,
369
371
  audience_size: {
370
372
  type: ("ABSOLUTE" | "PERCENTAGE"),
371
373
  value: ::Integer
372
374
  },
373
- ?description: ::String,
374
- name: ::String
375
+ ?description: ::String
375
376
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
376
377
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
377
378
 
@@ -381,17 +382,22 @@ module Aws
381
382
  end
382
383
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#start_audience_generation_job-instance_method
383
384
  def start_audience_generation_job: (
384
- ?collaboration_id: ::String,
385
- configured_audience_model_arn: ::String,
386
- ?description: ::String,
387
- ?include_seed_in_output: bool,
388
385
  name: ::String,
386
+ configured_audience_model_arn: ::String,
389
387
  seed_audience: {
390
388
  data_source: {
391
389
  s3_uri: ::String
392
- },
393
- role_arn: ::String
390
+ }?,
391
+ role_arn: ::String,
392
+ sql_parameters: {
393
+ query_string: ::String?,
394
+ analysis_template_arn: ::String?,
395
+ parameters: Hash[::String, ::String]?
396
+ }?
394
397
  },
398
+ ?include_seed_in_output: bool,
399
+ ?collaboration_id: ::String,
400
+ ?description: ::String,
395
401
  ?tags: Hash[::String, ::String]
396
402
  ) -> _StartAudienceGenerationJobResponseSuccess
397
403
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAudienceGenerationJobResponseSuccess
@@ -422,14 +428,7 @@ module Aws
422
428
  end
423
429
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#update_configured_audience_model-instance_method
424
430
  def update_configured_audience_model: (
425
- ?audience_model_arn: ::String,
426
- ?audience_size_config: {
427
- audience_size_bins: Array[::Integer],
428
- audience_size_type: ("ABSOLUTE" | "PERCENTAGE")
429
- },
430
431
  configured_audience_model_arn: ::String,
431
- ?description: ::String,
432
- ?min_matching_seed_size: ::Integer,
433
432
  ?output_config: {
434
433
  destination: {
435
434
  s3_destination: {
@@ -438,7 +437,14 @@ module Aws
438
437
  },
439
438
  role_arn: ::String
440
439
  },
441
- ?shared_audience_metrics: Array[("ALL" | "NONE")]
440
+ ?audience_model_arn: ::String,
441
+ ?shared_audience_metrics: Array[("ALL" | "NONE")],
442
+ ?min_matching_seed_size: ::Integer,
443
+ ?audience_size_config: {
444
+ audience_size_type: ("ABSOLUTE" | "PERCENTAGE"),
445
+ audience_size_bins: Array[::Integer]
446
+ },
447
+ ?description: ::String
442
448
  ) -> _UpdateConfiguredAudienceModelResponseSuccess
443
449
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConfiguredAudienceModelResponseSuccess
444
450
  end