aws-sdk-cleanroomsml 1.0.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67e51022cc6efdb2b096a8721193bd69e11864a707c4d7b0ec436dbe54224049
4
- data.tar.gz: 3348be15d018f128db68466536a0b76cf014bccb745b6e1f6d0f7d057e2d4d3e
3
+ metadata.gz: 6fed523477437c6508e855a8be097ca93bb73d3ba0777de8402df35306010750
4
+ data.tar.gz: 79b3e81cb5bf0bae366c2c65cc72135357ee58680e2d906ec802a27c0294054a
5
5
  SHA512:
6
- metadata.gz: 314dd2a7465eb37d3fad13aae889d1269be09a57b06bd9bb5a4f72361e9e80855704a8a8c5a16b4d1fa73eea5a5f97c23473ca5f405c8777ceacc8dd4a50002c
7
- data.tar.gz: e96b4c0f871e5570b4257de7bb083fbc38864bf4c4b96c49c81c363450d3e82546dd1bb9416403612e445e41334134c96a358b9758a37c2d41c387bac1a2768f
6
+ metadata.gz: 38e6b95d2aa1415e61094e8817ec8bbc5be14dc540d516da925552f6a949b0227bef603b3d1f19389314883e7992ad83cfbf5145bb465997a4f76710e757beed
7
+ data.tar.gz: ea5b9b8bda9c778de53c614e3520a9fa95505682731251683dc1ab6fba77c94552f90be4b056bcaec7cd83cb70d8a19aaf0debc80030d8d9db9b2a835365793e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.2.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.1.0 (2023-12-05)
10
+ ------------------
11
+
12
+ * Feature - Updated service title from cleanroomsml to CleanRoomsML.
13
+
4
14
  1.0.0 (2023-11-29)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.2.0
@@ -503,6 +503,10 @@ module Aws::CleanRoomsML
503
503
  # model, by default. Tags in the StartAudienceGenerationJob will
504
504
  # override the default.
505
505
  #
506
+ # When the client is in a different account than the configured audience
507
+ # model, the tags from the client are never applied to a resource in the
508
+ # caller's account.
509
+ #
506
510
  # @option params [String] :description
507
511
  # The description of the configured audience model.
508
512
  #
@@ -1705,7 +1709,7 @@ module Aws::CleanRoomsML
1705
1709
  params: params,
1706
1710
  config: config)
1707
1711
  context[:gem_name] = 'aws-sdk-cleanroomsml'
1708
- context[:gem_version] = '1.0.0'
1712
+ context[:gem_version] = '1.2.0'
1709
1713
  Seahorse::Client::Request.new(handlers, context)
1710
1714
  end
1711
1715
 
@@ -531,7 +531,7 @@ module Aws::CleanRoomsML
531
531
  "endpointPrefix" => "cleanrooms-ml",
532
532
  "jsonVersion" => "1.1",
533
533
  "protocol" => "rest-json",
534
- "serviceFullName" => "cleanrooms-ml",
534
+ "serviceFullName" => "AWS Clean Rooms ML",
535
535
  "serviceId" => "CleanRoomsML",
536
536
  "signatureVersion" => "v4",
537
537
  "signingName" => "cleanrooms-ml",
@@ -14,6 +14,7 @@ module Aws::CleanRoomsML
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::CleanRoomsML::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -519,6 +519,10 @@ module Aws::CleanRoomsML
519
519
  # `FROM_PARENT_RESOURCE`, the audience generation job inherits the
520
520
  # tags from the configured audience model, by default. Tags in the
521
521
  # StartAudienceGenerationJob will override the default.
522
+ #
523
+ # When the client is in a different account than the configured
524
+ # audience model, the tags from the client are never applied to a
525
+ # resource in the caller's account.
522
526
  # @return [String]
523
527
  #
524
528
  # @!attribute [rw] description
@@ -22,7 +22,7 @@ require_relative 'aws-sdk-cleanroomsml/endpoint_provider'
22
22
  require_relative 'aws-sdk-cleanroomsml/endpoints'
23
23
  require_relative 'aws-sdk-cleanroomsml/customizations'
24
24
 
25
- # This module provides support for cleanrooms-ml. This module is available in the
25
+ # This module provides support for AWS Clean Rooms ML. This module is available in the
26
26
  # `aws-sdk-cleanroomsml` gem.
27
27
  #
28
28
  # # Client
@@ -38,13 +38,13 @@ require_relative 'aws-sdk-cleanroomsml/customizations'
38
38
  #
39
39
  # # Errors
40
40
  #
41
- # Errors returned from cleanrooms-ml are defined in the
41
+ # Errors returned from AWS Clean Rooms ML are defined in the
42
42
  # {Errors} module and all extend {Errors::ServiceError}.
43
43
  #
44
44
  # begin
45
45
  # # do stuff
46
46
  # rescue Aws::CleanRoomsML::Errors::ServiceError
47
- # # rescues all cleanrooms-ml API errors
47
+ # # rescues all AWS Clean Rooms ML API errors
48
48
  # end
49
49
  #
50
50
  # See {Errors} for more information.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cleanroomsml/customizations'
52
52
  # @!group service
53
53
  module Aws::CleanRoomsML
54
54
 
55
- GEM_VERSION = '1.0.0'
55
+ GEM_VERSION = '1.2.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,447 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CleanRoomsML
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CreateAudienceModelResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAudienceModelResponse]
77
+ def audience_model_arn: () -> ::String
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#create_audience_model-instance_method
80
+ def create_audience_model: (
81
+ ?description: ::String,
82
+ ?kms_key_arn: ::String,
83
+ name: ::String,
84
+ ?tags: Hash[::String, ::String],
85
+ ?training_data_end_time: ::Time,
86
+ ?training_data_start_time: ::Time,
87
+ training_dataset_arn: ::String
88
+ ) -> _CreateAudienceModelResponseSuccess
89
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAudienceModelResponseSuccess
90
+
91
+ interface _CreateConfiguredAudienceModelResponseSuccess
92
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateConfiguredAudienceModelResponse]
93
+ def configured_audience_model_arn: () -> ::String
94
+ end
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#create_configured_audience_model-instance_method
96
+ 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
+ name: ::String,
106
+ output_config: {
107
+ destination: {
108
+ s3_destination: {
109
+ s3_uri: ::String
110
+ }
111
+ },
112
+ role_arn: ::String
113
+ },
114
+ shared_audience_metrics: Array[("ALL" | "NONE")],
115
+ ?tags: Hash[::String, ::String]
116
+ ) -> _CreateConfiguredAudienceModelResponseSuccess
117
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConfiguredAudienceModelResponseSuccess
118
+
119
+ interface _CreateTrainingDatasetResponseSuccess
120
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTrainingDatasetResponse]
121
+ def training_dataset_arn: () -> ::String
122
+ end
123
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#create_training_dataset-instance_method
124
+ def create_training_dataset: (
125
+ ?description: ::String,
126
+ name: ::String,
127
+ role_arn: ::String,
128
+ ?tags: Hash[::String, ::String],
129
+ training_data: Array[
130
+ {
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
+ schema: Array[
140
+ {
141
+ column_name: ::String,
142
+ column_types: Array[("USER_ID" | "ITEM_ID" | "TIMESTAMP" | "CATEGORICAL_FEATURE" | "NUMERICAL_FEATURE")]
143
+ },
144
+ ]
145
+ },
146
+ type: ("INTERACTIONS")
147
+ },
148
+ ]
149
+ ) -> _CreateTrainingDatasetResponseSuccess
150
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTrainingDatasetResponseSuccess
151
+
152
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#delete_audience_generation_job-instance_method
153
+ def delete_audience_generation_job: (
154
+ audience_generation_job_arn: ::String
155
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
156
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
157
+
158
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#delete_audience_model-instance_method
159
+ def delete_audience_model: (
160
+ audience_model_arn: ::String
161
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
162
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
163
+
164
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#delete_configured_audience_model-instance_method
165
+ def delete_configured_audience_model: (
166
+ configured_audience_model_arn: ::String
167
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
168
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
169
+
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#delete_configured_audience_model_policy-instance_method
171
+ def delete_configured_audience_model_policy: (
172
+ configured_audience_model_arn: ::String
173
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
175
+
176
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#delete_training_dataset-instance_method
177
+ def delete_training_dataset: (
178
+ training_dataset_arn: ::String
179
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
180
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
181
+
182
+ interface _GetAudienceGenerationJobResponseSuccess
183
+ 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
+ def create_time: () -> ::Time
188
+ def description: () -> ::String
189
+ def include_seed_in_output: () -> bool
190
+ def metrics: () -> Types::AudienceQualityMetrics
191
+ def name: () -> ::String
192
+ def seed_audience: () -> Types::AudienceGenerationJobDataSource
193
+ 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
+ def tags: () -> ::Hash[::String, ::String]
197
+ def update_time: () -> ::Time
198
+ end
199
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#get_audience_generation_job-instance_method
200
+ def get_audience_generation_job: (
201
+ audience_generation_job_arn: ::String
202
+ ) -> _GetAudienceGenerationJobResponseSuccess
203
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAudienceGenerationJobResponseSuccess
204
+
205
+ interface _GetAudienceModelResponseSuccess
206
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAudienceModelResponse]
207
+ def audience_model_arn: () -> ::String
208
+ def create_time: () -> ::Time
209
+ def description: () -> ::String
210
+ def kms_key_arn: () -> ::String
211
+ def metrics: () -> ::Array[Types::AudienceModelMetric]
212
+ def name: () -> ::String
213
+ def status: () -> ("CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
214
+ def status_details: () -> Types::StatusDetails
215
+ 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
+ end
221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#get_audience_model-instance_method
222
+ def get_audience_model: (
223
+ audience_model_arn: ::String
224
+ ) -> _GetAudienceModelResponseSuccess
225
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAudienceModelResponseSuccess
226
+
227
+ interface _GetConfiguredAudienceModelResponseSuccess
228
+ 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
+ def create_time: () -> ::Time
234
+ def description: () -> ::String
235
+ def min_matching_seed_size: () -> ::Integer
236
+ def name: () -> ::String
237
+ def output_config: () -> Types::ConfiguredAudienceModelOutputConfig
238
+ def shared_audience_metrics: () -> ::Array[("ALL" | "NONE")]
239
+ def status: () -> ("ACTIVE")
240
+ def tags: () -> ::Hash[::String, ::String]
241
+ def update_time: () -> ::Time
242
+ end
243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#get_configured_audience_model-instance_method
244
+ def get_configured_audience_model: (
245
+ configured_audience_model_arn: ::String
246
+ ) -> _GetConfiguredAudienceModelResponseSuccess
247
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConfiguredAudienceModelResponseSuccess
248
+
249
+ interface _GetConfiguredAudienceModelPolicyResponseSuccess
250
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetConfiguredAudienceModelPolicyResponse]
251
+ def configured_audience_model_arn: () -> ::String
252
+ def configured_audience_model_policy: () -> ::String
253
+ def policy_hash: () -> ::String
254
+ end
255
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#get_configured_audience_model_policy-instance_method
256
+ def get_configured_audience_model_policy: (
257
+ configured_audience_model_arn: ::String
258
+ ) -> _GetConfiguredAudienceModelPolicyResponseSuccess
259
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConfiguredAudienceModelPolicyResponseSuccess
260
+
261
+ interface _GetTrainingDatasetResponseSuccess
262
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTrainingDatasetResponse]
263
+ def create_time: () -> ::Time
264
+ def description: () -> ::String
265
+ def name: () -> ::String
266
+ def role_arn: () -> ::String
267
+ def status: () -> ("ACTIVE")
268
+ def tags: () -> ::Hash[::String, ::String]
269
+ def training_data: () -> ::Array[Types::Dataset]
270
+ def training_dataset_arn: () -> ::String
271
+ def update_time: () -> ::Time
272
+ end
273
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#get_training_dataset-instance_method
274
+ def get_training_dataset: (
275
+ training_dataset_arn: ::String
276
+ ) -> _GetTrainingDatasetResponseSuccess
277
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTrainingDatasetResponseSuccess
278
+
279
+ interface _ListAudienceExportJobsResponseSuccess
280
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAudienceExportJobsResponse]
281
+ def audience_export_jobs: () -> ::Array[Types::AudienceExportJobSummary]
282
+ def next_token: () -> ::String
283
+ end
284
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#list_audience_export_jobs-instance_method
285
+ def list_audience_export_jobs: (
286
+ ?audience_generation_job_arn: ::String,
287
+ ?max_results: ::Integer,
288
+ ?next_token: ::String
289
+ ) -> _ListAudienceExportJobsResponseSuccess
290
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAudienceExportJobsResponseSuccess
291
+
292
+ interface _ListAudienceGenerationJobsResponseSuccess
293
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAudienceGenerationJobsResponse]
294
+ def audience_generation_jobs: () -> ::Array[Types::AudienceGenerationJobSummary]
295
+ def next_token: () -> ::String
296
+ end
297
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#list_audience_generation_jobs-instance_method
298
+ def list_audience_generation_jobs: (
299
+ ?collaboration_id: ::String,
300
+ ?configured_audience_model_arn: ::String,
301
+ ?max_results: ::Integer,
302
+ ?next_token: ::String
303
+ ) -> _ListAudienceGenerationJobsResponseSuccess
304
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAudienceGenerationJobsResponseSuccess
305
+
306
+ interface _ListAudienceModelsResponseSuccess
307
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAudienceModelsResponse]
308
+ def audience_models: () -> ::Array[Types::AudienceModelSummary]
309
+ def next_token: () -> ::String
310
+ end
311
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#list_audience_models-instance_method
312
+ def list_audience_models: (
313
+ ?max_results: ::Integer,
314
+ ?next_token: ::String
315
+ ) -> _ListAudienceModelsResponseSuccess
316
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAudienceModelsResponseSuccess
317
+
318
+ interface _ListConfiguredAudienceModelsResponseSuccess
319
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListConfiguredAudienceModelsResponse]
320
+ def configured_audience_models: () -> ::Array[Types::ConfiguredAudienceModelSummary]
321
+ def next_token: () -> ::String
322
+ end
323
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#list_configured_audience_models-instance_method
324
+ def list_configured_audience_models: (
325
+ ?max_results: ::Integer,
326
+ ?next_token: ::String
327
+ ) -> _ListConfiguredAudienceModelsResponseSuccess
328
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConfiguredAudienceModelsResponseSuccess
329
+
330
+ interface _ListTagsForResourceResponseSuccess
331
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
332
+ def tags: () -> ::Hash[::String, ::String]
333
+ end
334
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#list_tags_for_resource-instance_method
335
+ def list_tags_for_resource: (
336
+ resource_arn: ::String
337
+ ) -> _ListTagsForResourceResponseSuccess
338
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
339
+
340
+ interface _ListTrainingDatasetsResponseSuccess
341
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTrainingDatasetsResponse]
342
+ def next_token: () -> ::String
343
+ def training_datasets: () -> ::Array[Types::TrainingDatasetSummary]
344
+ end
345
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#list_training_datasets-instance_method
346
+ def list_training_datasets: (
347
+ ?max_results: ::Integer,
348
+ ?next_token: ::String
349
+ ) -> _ListTrainingDatasetsResponseSuccess
350
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTrainingDatasetsResponseSuccess
351
+
352
+ interface _PutConfiguredAudienceModelPolicyResponseSuccess
353
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutConfiguredAudienceModelPolicyResponse]
354
+ def configured_audience_model_policy: () -> ::String
355
+ def policy_hash: () -> ::String
356
+ end
357
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#put_configured_audience_model_policy-instance_method
358
+ def put_configured_audience_model_policy: (
359
+ configured_audience_model_arn: ::String,
360
+ configured_audience_model_policy: ::String,
361
+ ?policy_existence_condition: ("POLICY_MUST_EXIST" | "POLICY_MUST_NOT_EXIST"),
362
+ ?previous_policy_hash: ::String
363
+ ) -> _PutConfiguredAudienceModelPolicyResponseSuccess
364
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutConfiguredAudienceModelPolicyResponseSuccess
365
+
366
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#start_audience_export_job-instance_method
367
+ def start_audience_export_job: (
368
+ audience_generation_job_arn: ::String,
369
+ audience_size: {
370
+ type: ("ABSOLUTE" | "PERCENTAGE"),
371
+ value: ::Integer
372
+ },
373
+ ?description: ::String,
374
+ name: ::String
375
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
376
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
377
+
378
+ interface _StartAudienceGenerationJobResponseSuccess
379
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartAudienceGenerationJobResponse]
380
+ def audience_generation_job_arn: () -> ::String
381
+ end
382
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#start_audience_generation_job-instance_method
383
+ 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
+ name: ::String,
389
+ seed_audience: {
390
+ data_source: {
391
+ s3_uri: ::String
392
+ },
393
+ role_arn: ::String
394
+ },
395
+ ?tags: Hash[::String, ::String]
396
+ ) -> _StartAudienceGenerationJobResponseSuccess
397
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAudienceGenerationJobResponseSuccess
398
+
399
+ interface _TagResourceResponseSuccess
400
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
401
+ end
402
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#tag_resource-instance_method
403
+ def tag_resource: (
404
+ resource_arn: ::String,
405
+ tags: Hash[::String, ::String]
406
+ ) -> _TagResourceResponseSuccess
407
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
408
+
409
+ interface _UntagResourceResponseSuccess
410
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
411
+ end
412
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#untag_resource-instance_method
413
+ def untag_resource: (
414
+ resource_arn: ::String,
415
+ tag_keys: Array[::String]
416
+ ) -> _UntagResourceResponseSuccess
417
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
418
+
419
+ interface _UpdateConfiguredAudienceModelResponseSuccess
420
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConfiguredAudienceModelResponse]
421
+ def configured_audience_model_arn: () -> ::String
422
+ end
423
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Client.html#update_configured_audience_model-instance_method
424
+ 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
+ configured_audience_model_arn: ::String,
431
+ ?description: ::String,
432
+ ?min_matching_seed_size: ::Integer,
433
+ ?output_config: {
434
+ destination: {
435
+ s3_destination: {
436
+ s3_uri: ::String
437
+ }
438
+ },
439
+ role_arn: ::String
440
+ },
441
+ ?shared_audience_metrics: Array[("ALL" | "NONE")]
442
+ ) -> _UpdateConfiguredAudienceModelResponseSuccess
443
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConfiguredAudienceModelResponseSuccess
444
+ end
445
+ end
446
+ end
447
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,31 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CleanRoomsML
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConflictException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ValidationException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ end
30
+ end
31
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CleanRoomsML
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRoomsML/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,498 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::CleanRoomsML
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AudienceDestination
17
+ attr_accessor s3_destination: Types::S3ConfigMap
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class AudienceExportJobSummary
22
+ attr_accessor audience_generation_job_arn: ::String
23
+ attr_accessor audience_size: Types::AudienceSize
24
+ attr_accessor create_time: ::Time
25
+ attr_accessor description: ::String
26
+ attr_accessor name: ::String
27
+ attr_accessor output_location: ::String
28
+ attr_accessor status: ("CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE")
29
+ attr_accessor status_details: Types::StatusDetails
30
+ attr_accessor update_time: ::Time
31
+ SENSITIVE: []
32
+ end
33
+
34
+ class AudienceGenerationJobDataSource
35
+ attr_accessor data_source: Types::S3ConfigMap
36
+ attr_accessor role_arn: ::String
37
+ SENSITIVE: []
38
+ end
39
+
40
+ class AudienceGenerationJobSummary
41
+ attr_accessor audience_generation_job_arn: ::String
42
+ attr_accessor collaboration_id: ::String
43
+ attr_accessor configured_audience_model_arn: ::String
44
+ attr_accessor create_time: ::Time
45
+ attr_accessor description: ::String
46
+ attr_accessor name: ::String
47
+ attr_accessor started_by: ::String
48
+ attr_accessor status: ("CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
49
+ attr_accessor update_time: ::Time
50
+ SENSITIVE: []
51
+ end
52
+
53
+ class AudienceModelMetric
54
+ attr_accessor for_top_k_item_predictions: ::Integer
55
+ attr_accessor type: ("NORMALIZED_DISCOUNTED_CUMULATIVE_GAIN" | "MEAN_RECIPROCAL_RANK" | "PRECISION" | "RECALL")
56
+ attr_accessor value: ::Float
57
+ SENSITIVE: []
58
+ end
59
+
60
+ class AudienceModelSummary
61
+ attr_accessor audience_model_arn: ::String
62
+ attr_accessor create_time: ::Time
63
+ attr_accessor description: ::String
64
+ attr_accessor name: ::String
65
+ attr_accessor status: ("CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
66
+ attr_accessor training_dataset_arn: ::String
67
+ attr_accessor update_time: ::Time
68
+ SENSITIVE: []
69
+ end
70
+
71
+ class AudienceQualityMetrics
72
+ attr_accessor relevance_metrics: ::Array[Types::RelevanceMetric]
73
+ SENSITIVE: []
74
+ end
75
+
76
+ class AudienceSize
77
+ attr_accessor type: ("ABSOLUTE" | "PERCENTAGE")
78
+ attr_accessor value: ::Integer
79
+ SENSITIVE: []
80
+ end
81
+
82
+ class AudienceSizeConfig
83
+ attr_accessor audience_size_bins: ::Array[::Integer]
84
+ attr_accessor audience_size_type: ("ABSOLUTE" | "PERCENTAGE")
85
+ SENSITIVE: []
86
+ end
87
+
88
+ class ColumnSchema
89
+ attr_accessor column_name: ::String
90
+ attr_accessor column_types: ::Array[("USER_ID" | "ITEM_ID" | "TIMESTAMP" | "CATEGORICAL_FEATURE" | "NUMERICAL_FEATURE")]
91
+ SENSITIVE: []
92
+ end
93
+
94
+ class ConfiguredAudienceModelOutputConfig
95
+ attr_accessor destination: Types::AudienceDestination
96
+ attr_accessor role_arn: ::String
97
+ SENSITIVE: []
98
+ end
99
+
100
+ class ConfiguredAudienceModelSummary
101
+ attr_accessor audience_model_arn: ::String
102
+ attr_accessor configured_audience_model_arn: ::String
103
+ attr_accessor create_time: ::Time
104
+ attr_accessor description: ::String
105
+ attr_accessor name: ::String
106
+ attr_accessor output_config: Types::ConfiguredAudienceModelOutputConfig
107
+ attr_accessor status: ("ACTIVE")
108
+ attr_accessor update_time: ::Time
109
+ SENSITIVE: []
110
+ end
111
+
112
+ class ConflictException
113
+ attr_accessor message: ::String
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class CreateAudienceModelRequest
118
+ attr_accessor description: ::String
119
+ attr_accessor kms_key_arn: ::String
120
+ attr_accessor name: ::String
121
+ attr_accessor tags: ::Hash[::String, ::String]
122
+ attr_accessor training_data_end_time: ::Time
123
+ attr_accessor training_data_start_time: ::Time
124
+ attr_accessor training_dataset_arn: ::String
125
+ SENSITIVE: []
126
+ end
127
+
128
+ class CreateAudienceModelResponse
129
+ attr_accessor audience_model_arn: ::String
130
+ SENSITIVE: []
131
+ end
132
+
133
+ class CreateConfiguredAudienceModelRequest
134
+ attr_accessor audience_model_arn: ::String
135
+ attr_accessor audience_size_config: Types::AudienceSizeConfig
136
+ attr_accessor child_resource_tag_on_create_policy: ("FROM_PARENT_RESOURCE" | "NONE")
137
+ attr_accessor description: ::String
138
+ attr_accessor min_matching_seed_size: ::Integer
139
+ attr_accessor name: ::String
140
+ attr_accessor output_config: Types::ConfiguredAudienceModelOutputConfig
141
+ attr_accessor shared_audience_metrics: ::Array[("ALL" | "NONE")]
142
+ attr_accessor tags: ::Hash[::String, ::String]
143
+ SENSITIVE: []
144
+ end
145
+
146
+ class CreateConfiguredAudienceModelResponse
147
+ attr_accessor configured_audience_model_arn: ::String
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class CreateTrainingDatasetRequest
152
+ attr_accessor description: ::String
153
+ attr_accessor name: ::String
154
+ attr_accessor role_arn: ::String
155
+ attr_accessor tags: ::Hash[::String, ::String]
156
+ attr_accessor training_data: ::Array[Types::Dataset]
157
+ SENSITIVE: []
158
+ end
159
+
160
+ class CreateTrainingDatasetResponse
161
+ attr_accessor training_dataset_arn: ::String
162
+ SENSITIVE: []
163
+ end
164
+
165
+ class DataSource
166
+ attr_accessor glue_data_source: Types::GlueDataSource
167
+ SENSITIVE: []
168
+ end
169
+
170
+ class Dataset
171
+ attr_accessor input_config: Types::DatasetInputConfig
172
+ attr_accessor type: ("INTERACTIONS")
173
+ SENSITIVE: []
174
+ end
175
+
176
+ class DatasetInputConfig
177
+ attr_accessor data_source: Types::DataSource
178
+ attr_accessor schema: ::Array[Types::ColumnSchema]
179
+ SENSITIVE: []
180
+ end
181
+
182
+ class DeleteAudienceGenerationJobRequest
183
+ attr_accessor audience_generation_job_arn: ::String
184
+ SENSITIVE: []
185
+ end
186
+
187
+ class DeleteAudienceModelRequest
188
+ attr_accessor audience_model_arn: ::String
189
+ SENSITIVE: []
190
+ end
191
+
192
+ class DeleteConfiguredAudienceModelPolicyRequest
193
+ attr_accessor configured_audience_model_arn: ::String
194
+ SENSITIVE: []
195
+ end
196
+
197
+ class DeleteConfiguredAudienceModelRequest
198
+ attr_accessor configured_audience_model_arn: ::String
199
+ SENSITIVE: []
200
+ end
201
+
202
+ class DeleteTrainingDatasetRequest
203
+ attr_accessor training_dataset_arn: ::String
204
+ SENSITIVE: []
205
+ end
206
+
207
+ class GetAudienceGenerationJobRequest
208
+ attr_accessor audience_generation_job_arn: ::String
209
+ SENSITIVE: []
210
+ end
211
+
212
+ class GetAudienceGenerationJobResponse
213
+ attr_accessor audience_generation_job_arn: ::String
214
+ attr_accessor collaboration_id: ::String
215
+ attr_accessor configured_audience_model_arn: ::String
216
+ attr_accessor create_time: ::Time
217
+ attr_accessor description: ::String
218
+ attr_accessor include_seed_in_output: bool
219
+ attr_accessor metrics: Types::AudienceQualityMetrics
220
+ attr_accessor name: ::String
221
+ attr_accessor seed_audience: Types::AudienceGenerationJobDataSource
222
+ attr_accessor started_by: ::String
223
+ attr_accessor status: ("CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
224
+ attr_accessor status_details: Types::StatusDetails
225
+ attr_accessor tags: ::Hash[::String, ::String]
226
+ attr_accessor update_time: ::Time
227
+ SENSITIVE: []
228
+ end
229
+
230
+ class GetAudienceModelRequest
231
+ attr_accessor audience_model_arn: ::String
232
+ SENSITIVE: []
233
+ end
234
+
235
+ class GetAudienceModelResponse
236
+ attr_accessor audience_model_arn: ::String
237
+ attr_accessor create_time: ::Time
238
+ attr_accessor description: ::String
239
+ attr_accessor kms_key_arn: ::String
240
+ attr_accessor metrics: ::Array[Types::AudienceModelMetric]
241
+ attr_accessor name: ::String
242
+ attr_accessor status: ("CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
243
+ attr_accessor status_details: Types::StatusDetails
244
+ attr_accessor tags: ::Hash[::String, ::String]
245
+ attr_accessor training_data_end_time: ::Time
246
+ attr_accessor training_data_start_time: ::Time
247
+ attr_accessor training_dataset_arn: ::String
248
+ attr_accessor update_time: ::Time
249
+ SENSITIVE: []
250
+ end
251
+
252
+ class GetConfiguredAudienceModelPolicyRequest
253
+ attr_accessor configured_audience_model_arn: ::String
254
+ SENSITIVE: []
255
+ end
256
+
257
+ class GetConfiguredAudienceModelPolicyResponse
258
+ attr_accessor configured_audience_model_arn: ::String
259
+ attr_accessor configured_audience_model_policy: ::String
260
+ attr_accessor policy_hash: ::String
261
+ SENSITIVE: []
262
+ end
263
+
264
+ class GetConfiguredAudienceModelRequest
265
+ attr_accessor configured_audience_model_arn: ::String
266
+ SENSITIVE: []
267
+ end
268
+
269
+ class GetConfiguredAudienceModelResponse
270
+ attr_accessor audience_model_arn: ::String
271
+ attr_accessor audience_size_config: Types::AudienceSizeConfig
272
+ attr_accessor child_resource_tag_on_create_policy: ("FROM_PARENT_RESOURCE" | "NONE")
273
+ attr_accessor configured_audience_model_arn: ::String
274
+ attr_accessor create_time: ::Time
275
+ attr_accessor description: ::String
276
+ attr_accessor min_matching_seed_size: ::Integer
277
+ attr_accessor name: ::String
278
+ attr_accessor output_config: Types::ConfiguredAudienceModelOutputConfig
279
+ attr_accessor shared_audience_metrics: ::Array[("ALL" | "NONE")]
280
+ attr_accessor status: ("ACTIVE")
281
+ attr_accessor tags: ::Hash[::String, ::String]
282
+ attr_accessor update_time: ::Time
283
+ SENSITIVE: []
284
+ end
285
+
286
+ class GetTrainingDatasetRequest
287
+ attr_accessor training_dataset_arn: ::String
288
+ SENSITIVE: []
289
+ end
290
+
291
+ class GetTrainingDatasetResponse
292
+ attr_accessor create_time: ::Time
293
+ attr_accessor description: ::String
294
+ attr_accessor name: ::String
295
+ attr_accessor role_arn: ::String
296
+ attr_accessor status: ("ACTIVE")
297
+ attr_accessor tags: ::Hash[::String, ::String]
298
+ attr_accessor training_data: ::Array[Types::Dataset]
299
+ attr_accessor training_dataset_arn: ::String
300
+ attr_accessor update_time: ::Time
301
+ SENSITIVE: []
302
+ end
303
+
304
+ class GlueDataSource
305
+ attr_accessor catalog_id: ::String
306
+ attr_accessor database_name: ::String
307
+ attr_accessor table_name: ::String
308
+ SENSITIVE: []
309
+ end
310
+
311
+ class ListAudienceExportJobsRequest
312
+ attr_accessor audience_generation_job_arn: ::String
313
+ attr_accessor max_results: ::Integer
314
+ attr_accessor next_token: ::String
315
+ SENSITIVE: []
316
+ end
317
+
318
+ class ListAudienceExportJobsResponse
319
+ attr_accessor audience_export_jobs: ::Array[Types::AudienceExportJobSummary]
320
+ attr_accessor next_token: ::String
321
+ SENSITIVE: []
322
+ end
323
+
324
+ class ListAudienceGenerationJobsRequest
325
+ attr_accessor collaboration_id: ::String
326
+ attr_accessor configured_audience_model_arn: ::String
327
+ attr_accessor max_results: ::Integer
328
+ attr_accessor next_token: ::String
329
+ SENSITIVE: []
330
+ end
331
+
332
+ class ListAudienceGenerationJobsResponse
333
+ attr_accessor audience_generation_jobs: ::Array[Types::AudienceGenerationJobSummary]
334
+ attr_accessor next_token: ::String
335
+ SENSITIVE: []
336
+ end
337
+
338
+ class ListAudienceModelsRequest
339
+ attr_accessor max_results: ::Integer
340
+ attr_accessor next_token: ::String
341
+ SENSITIVE: []
342
+ end
343
+
344
+ class ListAudienceModelsResponse
345
+ attr_accessor audience_models: ::Array[Types::AudienceModelSummary]
346
+ attr_accessor next_token: ::String
347
+ SENSITIVE: []
348
+ end
349
+
350
+ class ListConfiguredAudienceModelsRequest
351
+ attr_accessor max_results: ::Integer
352
+ attr_accessor next_token: ::String
353
+ SENSITIVE: []
354
+ end
355
+
356
+ class ListConfiguredAudienceModelsResponse
357
+ attr_accessor configured_audience_models: ::Array[Types::ConfiguredAudienceModelSummary]
358
+ attr_accessor next_token: ::String
359
+ SENSITIVE: []
360
+ end
361
+
362
+ class ListTagsForResourceRequest
363
+ attr_accessor resource_arn: ::String
364
+ SENSITIVE: []
365
+ end
366
+
367
+ class ListTagsForResourceResponse
368
+ attr_accessor tags: ::Hash[::String, ::String]
369
+ SENSITIVE: []
370
+ end
371
+
372
+ class ListTrainingDatasetsRequest
373
+ attr_accessor max_results: ::Integer
374
+ attr_accessor next_token: ::String
375
+ SENSITIVE: []
376
+ end
377
+
378
+ class ListTrainingDatasetsResponse
379
+ attr_accessor next_token: ::String
380
+ attr_accessor training_datasets: ::Array[Types::TrainingDatasetSummary]
381
+ SENSITIVE: []
382
+ end
383
+
384
+ class PutConfiguredAudienceModelPolicyRequest
385
+ attr_accessor configured_audience_model_arn: ::String
386
+ attr_accessor configured_audience_model_policy: ::String
387
+ attr_accessor policy_existence_condition: ("POLICY_MUST_EXIST" | "POLICY_MUST_NOT_EXIST")
388
+ attr_accessor previous_policy_hash: ::String
389
+ SENSITIVE: []
390
+ end
391
+
392
+ class PutConfiguredAudienceModelPolicyResponse
393
+ attr_accessor configured_audience_model_policy: ::String
394
+ attr_accessor policy_hash: ::String
395
+ SENSITIVE: []
396
+ end
397
+
398
+ class RelevanceMetric
399
+ attr_accessor audience_size: Types::AudienceSize
400
+ attr_accessor score: ::Float
401
+ SENSITIVE: []
402
+ end
403
+
404
+ class ResourceNotFoundException
405
+ attr_accessor message: ::String
406
+ SENSITIVE: []
407
+ end
408
+
409
+ class S3ConfigMap
410
+ attr_accessor s3_uri: ::String
411
+ SENSITIVE: []
412
+ end
413
+
414
+ class ServiceQuotaExceededException
415
+ attr_accessor message: ::String
416
+ SENSITIVE: []
417
+ end
418
+
419
+ class StartAudienceExportJobRequest
420
+ attr_accessor audience_generation_job_arn: ::String
421
+ attr_accessor audience_size: Types::AudienceSize
422
+ attr_accessor description: ::String
423
+ attr_accessor name: ::String
424
+ SENSITIVE: []
425
+ end
426
+
427
+ class StartAudienceGenerationJobRequest
428
+ attr_accessor collaboration_id: ::String
429
+ attr_accessor configured_audience_model_arn: ::String
430
+ attr_accessor description: ::String
431
+ attr_accessor include_seed_in_output: bool
432
+ attr_accessor name: ::String
433
+ attr_accessor seed_audience: Types::AudienceGenerationJobDataSource
434
+ attr_accessor tags: ::Hash[::String, ::String]
435
+ SENSITIVE: []
436
+ end
437
+
438
+ class StartAudienceGenerationJobResponse
439
+ attr_accessor audience_generation_job_arn: ::String
440
+ SENSITIVE: []
441
+ end
442
+
443
+ class StatusDetails
444
+ attr_accessor message: ::String
445
+ attr_accessor status_code: ::String
446
+ SENSITIVE: []
447
+ end
448
+
449
+ class TagResourceRequest
450
+ attr_accessor resource_arn: ::String
451
+ attr_accessor tags: ::Hash[::String, ::String]
452
+ SENSITIVE: []
453
+ end
454
+
455
+ class TagResourceResponse < Aws::EmptyStructure
456
+ end
457
+
458
+ class TrainingDatasetSummary
459
+ attr_accessor create_time: ::Time
460
+ attr_accessor description: ::String
461
+ attr_accessor name: ::String
462
+ attr_accessor status: ("ACTIVE")
463
+ attr_accessor training_dataset_arn: ::String
464
+ attr_accessor update_time: ::Time
465
+ SENSITIVE: []
466
+ end
467
+
468
+ class UntagResourceRequest
469
+ attr_accessor resource_arn: ::String
470
+ attr_accessor tag_keys: ::Array[::String]
471
+ SENSITIVE: []
472
+ end
473
+
474
+ class UntagResourceResponse < Aws::EmptyStructure
475
+ end
476
+
477
+ class UpdateConfiguredAudienceModelRequest
478
+ attr_accessor audience_model_arn: ::String
479
+ attr_accessor audience_size_config: Types::AudienceSizeConfig
480
+ attr_accessor configured_audience_model_arn: ::String
481
+ attr_accessor description: ::String
482
+ attr_accessor min_matching_seed_size: ::Integer
483
+ attr_accessor output_config: Types::ConfiguredAudienceModelOutputConfig
484
+ attr_accessor shared_audience_metrics: ::Array[("ALL" | "NONE")]
485
+ SENSITIVE: []
486
+ end
487
+
488
+ class UpdateConfiguredAudienceModelResponse
489
+ attr_accessor configured_audience_model_arn: ::String
490
+ SENSITIVE: []
491
+ end
492
+
493
+ class ValidationException
494
+ attr_accessor message: ::String
495
+ SENSITIVE: []
496
+ end
497
+ end
498
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CleanRoomsML
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cleanroomsml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-29 00:00:00.000000000 Z
11
+ date: 2024-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.188.0
22
+ version: 3.191.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -44,8 +44,8 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.1'
47
- description: Official AWS Ruby gem for cleanrooms-ml. This gem is part of the AWS
48
- SDK for Ruby.
47
+ description: Official AWS Ruby gem for AWS Clean Rooms ML. This gem is part of the
48
+ AWS SDK for Ruby.
49
49
  email:
50
50
  - aws-dr-rubygems@amazon.com
51
51
  executables: []
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-cleanroomsml/plugins/endpoints.rb
67
67
  - lib/aws-sdk-cleanroomsml/resource.rb
68
68
  - lib/aws-sdk-cleanroomsml/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cleanroomsml
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cleanroomsml/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
- summary: AWS SDK for Ruby - cleanrooms-ml
98
+ summary: AWS SDK for Ruby - AWS Clean Rooms ML
94
99
  test_files: []