aws-sdk-cleanroomsml 1.9.0 → 1.11.0

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