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