aws-sdk-bedrock 1.3.0 → 1.4.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be11326a282743af1543b3bbd62c123b7aa0763293433d38c676a5cf21b5a59c
4
- data.tar.gz: f67032545cf9d9b41b072bc4c1cb5676b8cd154ccf099800fc1f43085df27a93
3
+ metadata.gz: 02b1114196b67926be466d2f15e4cbcafd1d4ebb6f372e1efc266026d7fe3027
4
+ data.tar.gz: cf9440377e9e7b91bf1e101c6ea18fcc5b4fbfb5314e834d16c0963efa35faeb
5
5
  SHA512:
6
- metadata.gz: 100673cf17804afe4802700b2ec5ea768c722fda4c87868f57cbba43e60adbcdd82deb11a8212ab467121ada6f216ce271ec879d4505b8f0cf53d1c3289c1169
7
- data.tar.gz: 074d8ea35c6e219b9df44417a6840faed21dd1fb6c67cb4c7b05a0723ab45273b79177ead57102d4979fc21e8796d77bd30d95cad012ea41a48fb69160f69f87
6
+ metadata.gz: 931fb31bdfcfd68eda5ab9a03cd90bb9f49d1f790ed7db6de097c8ce36222f952015c743db0e9709b4ccb81fc84419df031e2daad52163912cc0c2d8c73a28f3
7
+ data.tar.gz: f75dbf7f2d244fa2603e524942d1c1e9982107ac55510f4cd42a38323fd052f99f5a0829b9350956bdab8c0bdcb847e5c7acaf81163d17f63f00737ea40270f7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.3.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.4.0
@@ -1449,7 +1449,7 @@ module Aws::Bedrock
1449
1449
  params: params,
1450
1450
  config: config)
1451
1451
  context[:gem_name] = 'aws-sdk-bedrock'
1452
- context[:gem_version] = '1.3.0'
1452
+ context[:gem_version] = '1.4.0'
1453
1453
  Seahorse::Client::Request.new(handlers, context)
1454
1454
  end
1455
1455
 
@@ -14,6 +14,7 @@ module Aws::Bedrock
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::Bedrock::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 '\
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-bedrock/customizations'
53
53
  # @!group service
54
54
  module Aws::Bedrock
55
55
 
56
- GEM_VERSION = '1.3.0'
56
+ GEM_VERSION = '1.4.0'
57
57
 
58
58
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,412 @@
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 Bedrock
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/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 _CreateModelCustomizationJobResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelCustomizationJobResponse]
77
+ def job_arn: () -> ::String
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_model_customization_job-instance_method
80
+ def create_model_customization_job: (
81
+ job_name: ::String,
82
+ custom_model_name: ::String,
83
+ role_arn: ::String,
84
+ ?client_request_token: ::String,
85
+ base_model_identifier: ::String,
86
+ ?customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING"),
87
+ ?custom_model_kms_key_id: ::String,
88
+ ?job_tags: Array[
89
+ {
90
+ key: ::String,
91
+ value: ::String
92
+ },
93
+ ],
94
+ ?custom_model_tags: Array[
95
+ {
96
+ key: ::String,
97
+ value: ::String
98
+ },
99
+ ],
100
+ training_data_config: {
101
+ s3_uri: ::String
102
+ },
103
+ ?validation_data_config: {
104
+ validators: Array[
105
+ {
106
+ s3_uri: ::String
107
+ },
108
+ ]
109
+ },
110
+ output_data_config: {
111
+ s3_uri: ::String
112
+ },
113
+ hyper_parameters: Hash[::String, ::String],
114
+ ?vpc_config: {
115
+ subnet_ids: Array[::String],
116
+ security_group_ids: Array[::String]
117
+ }
118
+ ) -> _CreateModelCustomizationJobResponseSuccess
119
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateModelCustomizationJobResponseSuccess
120
+
121
+ interface _CreateProvisionedModelThroughputResponseSuccess
122
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateProvisionedModelThroughputResponse]
123
+ def provisioned_model_arn: () -> ::String
124
+ end
125
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_provisioned_model_throughput-instance_method
126
+ def create_provisioned_model_throughput: (
127
+ ?client_request_token: ::String,
128
+ model_units: ::Integer,
129
+ provisioned_model_name: ::String,
130
+ model_id: ::String,
131
+ ?commitment_duration: ("OneMonth" | "SixMonths"),
132
+ ?tags: Array[
133
+ {
134
+ key: ::String,
135
+ value: ::String
136
+ },
137
+ ]
138
+ ) -> _CreateProvisionedModelThroughputResponseSuccess
139
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProvisionedModelThroughputResponseSuccess
140
+
141
+ interface _DeleteCustomModelResponseSuccess
142
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCustomModelResponse]
143
+ end
144
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_custom_model-instance_method
145
+ def delete_custom_model: (
146
+ model_identifier: ::String
147
+ ) -> _DeleteCustomModelResponseSuccess
148
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomModelResponseSuccess
149
+
150
+ interface _DeleteModelInvocationLoggingConfigurationResponseSuccess
151
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteModelInvocationLoggingConfigurationResponse]
152
+ end
153
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_model_invocation_logging_configuration-instance_method
154
+ def delete_model_invocation_logging_configuration: (
155
+ ) -> _DeleteModelInvocationLoggingConfigurationResponseSuccess
156
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteModelInvocationLoggingConfigurationResponseSuccess
157
+
158
+ interface _DeleteProvisionedModelThroughputResponseSuccess
159
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteProvisionedModelThroughputResponse]
160
+ end
161
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_provisioned_model_throughput-instance_method
162
+ def delete_provisioned_model_throughput: (
163
+ provisioned_model_id: ::String
164
+ ) -> _DeleteProvisionedModelThroughputResponseSuccess
165
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProvisionedModelThroughputResponseSuccess
166
+
167
+ interface _GetCustomModelResponseSuccess
168
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCustomModelResponse]
169
+ def model_arn: () -> ::String
170
+ def model_name: () -> ::String
171
+ def job_name: () -> ::String
172
+ def job_arn: () -> ::String
173
+ def base_model_arn: () -> ::String
174
+ def customization_type: () -> ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
175
+ def model_kms_key_arn: () -> ::String
176
+ def hyper_parameters: () -> ::Hash[::String, ::String]
177
+ def training_data_config: () -> Types::TrainingDataConfig
178
+ def validation_data_config: () -> Types::ValidationDataConfig
179
+ def output_data_config: () -> Types::OutputDataConfig
180
+ def training_metrics: () -> Types::TrainingMetrics
181
+ def validation_metrics: () -> ::Array[Types::ValidatorMetric]
182
+ def creation_time: () -> ::Time
183
+ end
184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_custom_model-instance_method
185
+ def get_custom_model: (
186
+ model_identifier: ::String
187
+ ) -> _GetCustomModelResponseSuccess
188
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCustomModelResponseSuccess
189
+
190
+ interface _GetFoundationModelResponseSuccess
191
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFoundationModelResponse]
192
+ def model_details: () -> Types::FoundationModelDetails
193
+ end
194
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_foundation_model-instance_method
195
+ def get_foundation_model: (
196
+ model_identifier: ::String
197
+ ) -> _GetFoundationModelResponseSuccess
198
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFoundationModelResponseSuccess
199
+
200
+ interface _GetModelCustomizationJobResponseSuccess
201
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetModelCustomizationJobResponse]
202
+ def job_arn: () -> ::String
203
+ def job_name: () -> ::String
204
+ def output_model_name: () -> ::String
205
+ def output_model_arn: () -> ::String
206
+ def client_request_token: () -> ::String
207
+ def role_arn: () -> ::String
208
+ def status: () -> ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
209
+ def failure_message: () -> ::String
210
+ def creation_time: () -> ::Time
211
+ def last_modified_time: () -> ::Time
212
+ def end_time: () -> ::Time
213
+ def base_model_arn: () -> ::String
214
+ def hyper_parameters: () -> ::Hash[::String, ::String]
215
+ def training_data_config: () -> Types::TrainingDataConfig
216
+ def validation_data_config: () -> Types::ValidationDataConfig
217
+ def output_data_config: () -> Types::OutputDataConfig
218
+ def customization_type: () -> ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
219
+ def output_model_kms_key_arn: () -> ::String
220
+ def training_metrics: () -> Types::TrainingMetrics
221
+ def validation_metrics: () -> ::Array[Types::ValidatorMetric]
222
+ def vpc_config: () -> Types::VpcConfig
223
+ end
224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_model_customization_job-instance_method
225
+ def get_model_customization_job: (
226
+ job_identifier: ::String
227
+ ) -> _GetModelCustomizationJobResponseSuccess
228
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelCustomizationJobResponseSuccess
229
+
230
+ interface _GetModelInvocationLoggingConfigurationResponseSuccess
231
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetModelInvocationLoggingConfigurationResponse]
232
+ def logging_config: () -> Types::LoggingConfig
233
+ end
234
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_model_invocation_logging_configuration-instance_method
235
+ def get_model_invocation_logging_configuration: (
236
+ ) -> _GetModelInvocationLoggingConfigurationResponseSuccess
237
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelInvocationLoggingConfigurationResponseSuccess
238
+
239
+ interface _GetProvisionedModelThroughputResponseSuccess
240
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetProvisionedModelThroughputResponse]
241
+ def model_units: () -> ::Integer
242
+ def desired_model_units: () -> ::Integer
243
+ def provisioned_model_name: () -> ::String
244
+ def provisioned_model_arn: () -> ::String
245
+ def model_arn: () -> ::String
246
+ def desired_model_arn: () -> ::String
247
+ def foundation_model_arn: () -> ::String
248
+ def status: () -> ("Creating" | "InService" | "Updating" | "Failed")
249
+ def creation_time: () -> ::Time
250
+ def last_modified_time: () -> ::Time
251
+ def failure_message: () -> ::String
252
+ def commitment_duration: () -> ("OneMonth" | "SixMonths")
253
+ def commitment_expiration_time: () -> ::Time
254
+ end
255
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_provisioned_model_throughput-instance_method
256
+ def get_provisioned_model_throughput: (
257
+ provisioned_model_id: ::String
258
+ ) -> _GetProvisionedModelThroughputResponseSuccess
259
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProvisionedModelThroughputResponseSuccess
260
+
261
+ interface _ListCustomModelsResponseSuccess
262
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomModelsResponse]
263
+ def next_token: () -> ::String
264
+ def model_summaries: () -> ::Array[Types::CustomModelSummary]
265
+ end
266
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_custom_models-instance_method
267
+ def list_custom_models: (
268
+ ?creation_time_before: ::Time,
269
+ ?creation_time_after: ::Time,
270
+ ?name_contains: ::String,
271
+ ?base_model_arn_equals: ::String,
272
+ ?foundation_model_arn_equals: ::String,
273
+ ?max_results: ::Integer,
274
+ ?next_token: ::String,
275
+ ?sort_by: ("CreationTime"),
276
+ ?sort_order: ("Ascending" | "Descending")
277
+ ) -> _ListCustomModelsResponseSuccess
278
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomModelsResponseSuccess
279
+
280
+ interface _ListFoundationModelsResponseSuccess
281
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFoundationModelsResponse]
282
+ def model_summaries: () -> ::Array[Types::FoundationModelSummary]
283
+ end
284
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_foundation_models-instance_method
285
+ def list_foundation_models: (
286
+ ?by_provider: ::String,
287
+ ?by_customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING"),
288
+ ?by_output_modality: ("TEXT" | "IMAGE" | "EMBEDDING"),
289
+ ?by_inference_type: ("ON_DEMAND" | "PROVISIONED")
290
+ ) -> _ListFoundationModelsResponseSuccess
291
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFoundationModelsResponseSuccess
292
+
293
+ interface _ListModelCustomizationJobsResponseSuccess
294
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListModelCustomizationJobsResponse]
295
+ def next_token: () -> ::String
296
+ def model_customization_job_summaries: () -> ::Array[Types::ModelCustomizationJobSummary]
297
+ end
298
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_model_customization_jobs-instance_method
299
+ def list_model_customization_jobs: (
300
+ ?creation_time_after: ::Time,
301
+ ?creation_time_before: ::Time,
302
+ ?status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"),
303
+ ?name_contains: ::String,
304
+ ?max_results: ::Integer,
305
+ ?next_token: ::String,
306
+ ?sort_by: ("CreationTime"),
307
+ ?sort_order: ("Ascending" | "Descending")
308
+ ) -> _ListModelCustomizationJobsResponseSuccess
309
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListModelCustomizationJobsResponseSuccess
310
+
311
+ interface _ListProvisionedModelThroughputsResponseSuccess
312
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProvisionedModelThroughputsResponse]
313
+ def next_token: () -> ::String
314
+ def provisioned_model_summaries: () -> ::Array[Types::ProvisionedModelSummary]
315
+ end
316
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_provisioned_model_throughputs-instance_method
317
+ def list_provisioned_model_throughputs: (
318
+ ?creation_time_after: ::Time,
319
+ ?creation_time_before: ::Time,
320
+ ?status_equals: ("Creating" | "InService" | "Updating" | "Failed"),
321
+ ?model_arn_equals: ::String,
322
+ ?name_contains: ::String,
323
+ ?max_results: ::Integer,
324
+ ?next_token: ::String,
325
+ ?sort_by: ("CreationTime"),
326
+ ?sort_order: ("Ascending" | "Descending")
327
+ ) -> _ListProvisionedModelThroughputsResponseSuccess
328
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProvisionedModelThroughputsResponseSuccess
329
+
330
+ interface _ListTagsForResourceResponseSuccess
331
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
332
+ def tags: () -> ::Array[Types::Tag]
333
+ end
334
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/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 _PutModelInvocationLoggingConfigurationResponseSuccess
341
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutModelInvocationLoggingConfigurationResponse]
342
+ end
343
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#put_model_invocation_logging_configuration-instance_method
344
+ def put_model_invocation_logging_configuration: (
345
+ logging_config: {
346
+ cloud_watch_config: {
347
+ log_group_name: ::String,
348
+ role_arn: ::String,
349
+ large_data_delivery_s3_config: {
350
+ bucket_name: ::String,
351
+ key_prefix: ::String?
352
+ }?
353
+ }?,
354
+ s3_config: {
355
+ bucket_name: ::String,
356
+ key_prefix: ::String?
357
+ }?,
358
+ text_data_delivery_enabled: bool?,
359
+ image_data_delivery_enabled: bool?,
360
+ embedding_data_delivery_enabled: bool?
361
+ }
362
+ ) -> _PutModelInvocationLoggingConfigurationResponseSuccess
363
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutModelInvocationLoggingConfigurationResponseSuccess
364
+
365
+ interface _StopModelCustomizationJobResponseSuccess
366
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopModelCustomizationJobResponse]
367
+ end
368
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#stop_model_customization_job-instance_method
369
+ def stop_model_customization_job: (
370
+ job_identifier: ::String
371
+ ) -> _StopModelCustomizationJobResponseSuccess
372
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopModelCustomizationJobResponseSuccess
373
+
374
+ interface _TagResourceResponseSuccess
375
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
376
+ end
377
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#tag_resource-instance_method
378
+ def tag_resource: (
379
+ resource_arn: ::String,
380
+ tags: Array[
381
+ {
382
+ key: ::String,
383
+ value: ::String
384
+ },
385
+ ]
386
+ ) -> _TagResourceResponseSuccess
387
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
388
+
389
+ interface _UntagResourceResponseSuccess
390
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
391
+ end
392
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#untag_resource-instance_method
393
+ def untag_resource: (
394
+ resource_arn: ::String,
395
+ tag_keys: Array[::String]
396
+ ) -> _UntagResourceResponseSuccess
397
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
398
+
399
+ interface _UpdateProvisionedModelThroughputResponseSuccess
400
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProvisionedModelThroughputResponse]
401
+ end
402
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#update_provisioned_model_throughput-instance_method
403
+ def update_provisioned_model_throughput: (
404
+ provisioned_model_id: ::String,
405
+ ?desired_provisioned_model_name: ::String,
406
+ ?desired_model_id: ::String
407
+ ) -> _UpdateProvisionedModelThroughputResponseSuccess
408
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProvisionedModelThroughputResponseSuccess
409
+ end
410
+ end
411
+ end
412
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,41 @@
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 Bedrock
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 InternalServerException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ThrottlingException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class TooManyTagsException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ def resource_name: () -> ::String
35
+ end
36
+ class ValidationException < ::Aws::Errors::ServiceError
37
+ def message: () -> ::String
38
+ end
39
+ end
40
+ end
41
+ 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 Bedrock
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/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,465 @@
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::Bedrock
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class CloudWatchConfig
17
+ attr_accessor log_group_name: ::String
18
+ attr_accessor role_arn: ::String
19
+ attr_accessor large_data_delivery_s3_config: Types::S3Config
20
+ SENSITIVE: []
21
+ end
22
+
23
+ class ConflictException
24
+ attr_accessor message: ::String
25
+ SENSITIVE: []
26
+ end
27
+
28
+ class CreateModelCustomizationJobRequest
29
+ attr_accessor job_name: ::String
30
+ attr_accessor custom_model_name: ::String
31
+ attr_accessor role_arn: ::String
32
+ attr_accessor client_request_token: ::String
33
+ attr_accessor base_model_identifier: ::String
34
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
35
+ attr_accessor custom_model_kms_key_id: ::String
36
+ attr_accessor job_tags: ::Array[Types::Tag]
37
+ attr_accessor custom_model_tags: ::Array[Types::Tag]
38
+ attr_accessor training_data_config: Types::TrainingDataConfig
39
+ attr_accessor validation_data_config: Types::ValidationDataConfig
40
+ attr_accessor output_data_config: Types::OutputDataConfig
41
+ attr_accessor hyper_parameters: ::Hash[::String, ::String]
42
+ attr_accessor vpc_config: Types::VpcConfig
43
+ SENSITIVE: []
44
+ end
45
+
46
+ class CreateModelCustomizationJobResponse
47
+ attr_accessor job_arn: ::String
48
+ SENSITIVE: []
49
+ end
50
+
51
+ class CreateProvisionedModelThroughputRequest
52
+ attr_accessor client_request_token: ::String
53
+ attr_accessor model_units: ::Integer
54
+ attr_accessor provisioned_model_name: ::String
55
+ attr_accessor model_id: ::String
56
+ attr_accessor commitment_duration: ("OneMonth" | "SixMonths")
57
+ attr_accessor tags: ::Array[Types::Tag]
58
+ SENSITIVE: []
59
+ end
60
+
61
+ class CreateProvisionedModelThroughputResponse
62
+ attr_accessor provisioned_model_arn: ::String
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class CustomModelSummary
67
+ attr_accessor model_arn: ::String
68
+ attr_accessor model_name: ::String
69
+ attr_accessor creation_time: ::Time
70
+ attr_accessor base_model_arn: ::String
71
+ attr_accessor base_model_name: ::String
72
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
73
+ SENSITIVE: []
74
+ end
75
+
76
+ class DeleteCustomModelRequest
77
+ attr_accessor model_identifier: ::String
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class DeleteCustomModelResponse < Aws::EmptyStructure
82
+ end
83
+
84
+ class DeleteModelInvocationLoggingConfigurationRequest < Aws::EmptyStructure
85
+ end
86
+
87
+ class DeleteModelInvocationLoggingConfigurationResponse < Aws::EmptyStructure
88
+ end
89
+
90
+ class DeleteProvisionedModelThroughputRequest
91
+ attr_accessor provisioned_model_id: ::String
92
+ SENSITIVE: []
93
+ end
94
+
95
+ class DeleteProvisionedModelThroughputResponse < Aws::EmptyStructure
96
+ end
97
+
98
+ class FoundationModelDetails
99
+ attr_accessor model_arn: ::String
100
+ attr_accessor model_id: ::String
101
+ attr_accessor model_name: ::String
102
+ attr_accessor provider_name: ::String
103
+ attr_accessor input_modalities: ::Array[("TEXT" | "IMAGE" | "EMBEDDING")]
104
+ attr_accessor output_modalities: ::Array[("TEXT" | "IMAGE" | "EMBEDDING")]
105
+ attr_accessor response_streaming_supported: bool
106
+ attr_accessor customizations_supported: ::Array[("FINE_TUNING" | "CONTINUED_PRE_TRAINING")]
107
+ attr_accessor inference_types_supported: ::Array[("ON_DEMAND" | "PROVISIONED")]
108
+ attr_accessor model_lifecycle: Types::FoundationModelLifecycle
109
+ SENSITIVE: []
110
+ end
111
+
112
+ class FoundationModelLifecycle
113
+ attr_accessor status: ("ACTIVE" | "LEGACY")
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class FoundationModelSummary
118
+ attr_accessor model_arn: ::String
119
+ attr_accessor model_id: ::String
120
+ attr_accessor model_name: ::String
121
+ attr_accessor provider_name: ::String
122
+ attr_accessor input_modalities: ::Array[("TEXT" | "IMAGE" | "EMBEDDING")]
123
+ attr_accessor output_modalities: ::Array[("TEXT" | "IMAGE" | "EMBEDDING")]
124
+ attr_accessor response_streaming_supported: bool
125
+ attr_accessor customizations_supported: ::Array[("FINE_TUNING" | "CONTINUED_PRE_TRAINING")]
126
+ attr_accessor inference_types_supported: ::Array[("ON_DEMAND" | "PROVISIONED")]
127
+ attr_accessor model_lifecycle: Types::FoundationModelLifecycle
128
+ SENSITIVE: []
129
+ end
130
+
131
+ class GetCustomModelRequest
132
+ attr_accessor model_identifier: ::String
133
+ SENSITIVE: []
134
+ end
135
+
136
+ class GetCustomModelResponse
137
+ attr_accessor model_arn: ::String
138
+ attr_accessor model_name: ::String
139
+ attr_accessor job_name: ::String
140
+ attr_accessor job_arn: ::String
141
+ attr_accessor base_model_arn: ::String
142
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
143
+ attr_accessor model_kms_key_arn: ::String
144
+ attr_accessor hyper_parameters: ::Hash[::String, ::String]
145
+ attr_accessor training_data_config: Types::TrainingDataConfig
146
+ attr_accessor validation_data_config: Types::ValidationDataConfig
147
+ attr_accessor output_data_config: Types::OutputDataConfig
148
+ attr_accessor training_metrics: Types::TrainingMetrics
149
+ attr_accessor validation_metrics: ::Array[Types::ValidatorMetric]
150
+ attr_accessor creation_time: ::Time
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class GetFoundationModelRequest
155
+ attr_accessor model_identifier: ::String
156
+ SENSITIVE: []
157
+ end
158
+
159
+ class GetFoundationModelResponse
160
+ attr_accessor model_details: Types::FoundationModelDetails
161
+ SENSITIVE: []
162
+ end
163
+
164
+ class GetModelCustomizationJobRequest
165
+ attr_accessor job_identifier: ::String
166
+ SENSITIVE: []
167
+ end
168
+
169
+ class GetModelCustomizationJobResponse
170
+ attr_accessor job_arn: ::String
171
+ attr_accessor job_name: ::String
172
+ attr_accessor output_model_name: ::String
173
+ attr_accessor output_model_arn: ::String
174
+ attr_accessor client_request_token: ::String
175
+ attr_accessor role_arn: ::String
176
+ attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
177
+ attr_accessor failure_message: ::String
178
+ attr_accessor creation_time: ::Time
179
+ attr_accessor last_modified_time: ::Time
180
+ attr_accessor end_time: ::Time
181
+ attr_accessor base_model_arn: ::String
182
+ attr_accessor hyper_parameters: ::Hash[::String, ::String]
183
+ attr_accessor training_data_config: Types::TrainingDataConfig
184
+ attr_accessor validation_data_config: Types::ValidationDataConfig
185
+ attr_accessor output_data_config: Types::OutputDataConfig
186
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
187
+ attr_accessor output_model_kms_key_arn: ::String
188
+ attr_accessor training_metrics: Types::TrainingMetrics
189
+ attr_accessor validation_metrics: ::Array[Types::ValidatorMetric]
190
+ attr_accessor vpc_config: Types::VpcConfig
191
+ SENSITIVE: []
192
+ end
193
+
194
+ class GetModelInvocationLoggingConfigurationRequest < Aws::EmptyStructure
195
+ end
196
+
197
+ class GetModelInvocationLoggingConfigurationResponse
198
+ attr_accessor logging_config: Types::LoggingConfig
199
+ SENSITIVE: []
200
+ end
201
+
202
+ class GetProvisionedModelThroughputRequest
203
+ attr_accessor provisioned_model_id: ::String
204
+ SENSITIVE: []
205
+ end
206
+
207
+ class GetProvisionedModelThroughputResponse
208
+ attr_accessor model_units: ::Integer
209
+ attr_accessor desired_model_units: ::Integer
210
+ attr_accessor provisioned_model_name: ::String
211
+ attr_accessor provisioned_model_arn: ::String
212
+ attr_accessor model_arn: ::String
213
+ attr_accessor desired_model_arn: ::String
214
+ attr_accessor foundation_model_arn: ::String
215
+ attr_accessor status: ("Creating" | "InService" | "Updating" | "Failed")
216
+ attr_accessor creation_time: ::Time
217
+ attr_accessor last_modified_time: ::Time
218
+ attr_accessor failure_message: ::String
219
+ attr_accessor commitment_duration: ("OneMonth" | "SixMonths")
220
+ attr_accessor commitment_expiration_time: ::Time
221
+ SENSITIVE: []
222
+ end
223
+
224
+ class InternalServerException
225
+ attr_accessor message: ::String
226
+ SENSITIVE: []
227
+ end
228
+
229
+ class ListCustomModelsRequest
230
+ attr_accessor creation_time_before: ::Time
231
+ attr_accessor creation_time_after: ::Time
232
+ attr_accessor name_contains: ::String
233
+ attr_accessor base_model_arn_equals: ::String
234
+ attr_accessor foundation_model_arn_equals: ::String
235
+ attr_accessor max_results: ::Integer
236
+ attr_accessor next_token: ::String
237
+ attr_accessor sort_by: ("CreationTime")
238
+ attr_accessor sort_order: ("Ascending" | "Descending")
239
+ SENSITIVE: []
240
+ end
241
+
242
+ class ListCustomModelsResponse
243
+ attr_accessor next_token: ::String
244
+ attr_accessor model_summaries: ::Array[Types::CustomModelSummary]
245
+ SENSITIVE: []
246
+ end
247
+
248
+ class ListFoundationModelsRequest
249
+ attr_accessor by_provider: ::String
250
+ attr_accessor by_customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
251
+ attr_accessor by_output_modality: ("TEXT" | "IMAGE" | "EMBEDDING")
252
+ attr_accessor by_inference_type: ("ON_DEMAND" | "PROVISIONED")
253
+ SENSITIVE: []
254
+ end
255
+
256
+ class ListFoundationModelsResponse
257
+ attr_accessor model_summaries: ::Array[Types::FoundationModelSummary]
258
+ SENSITIVE: []
259
+ end
260
+
261
+ class ListModelCustomizationJobsRequest
262
+ attr_accessor creation_time_after: ::Time
263
+ attr_accessor creation_time_before: ::Time
264
+ attr_accessor status_equals: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
265
+ attr_accessor name_contains: ::String
266
+ attr_accessor max_results: ::Integer
267
+ attr_accessor next_token: ::String
268
+ attr_accessor sort_by: ("CreationTime")
269
+ attr_accessor sort_order: ("Ascending" | "Descending")
270
+ SENSITIVE: []
271
+ end
272
+
273
+ class ListModelCustomizationJobsResponse
274
+ attr_accessor next_token: ::String
275
+ attr_accessor model_customization_job_summaries: ::Array[Types::ModelCustomizationJobSummary]
276
+ SENSITIVE: []
277
+ end
278
+
279
+ class ListProvisionedModelThroughputsRequest
280
+ attr_accessor creation_time_after: ::Time
281
+ attr_accessor creation_time_before: ::Time
282
+ attr_accessor status_equals: ("Creating" | "InService" | "Updating" | "Failed")
283
+ attr_accessor model_arn_equals: ::String
284
+ attr_accessor name_contains: ::String
285
+ attr_accessor max_results: ::Integer
286
+ attr_accessor next_token: ::String
287
+ attr_accessor sort_by: ("CreationTime")
288
+ attr_accessor sort_order: ("Ascending" | "Descending")
289
+ SENSITIVE: []
290
+ end
291
+
292
+ class ListProvisionedModelThroughputsResponse
293
+ attr_accessor next_token: ::String
294
+ attr_accessor provisioned_model_summaries: ::Array[Types::ProvisionedModelSummary]
295
+ SENSITIVE: []
296
+ end
297
+
298
+ class ListTagsForResourceRequest
299
+ attr_accessor resource_arn: ::String
300
+ SENSITIVE: []
301
+ end
302
+
303
+ class ListTagsForResourceResponse
304
+ attr_accessor tags: ::Array[Types::Tag]
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class LoggingConfig
309
+ attr_accessor cloud_watch_config: Types::CloudWatchConfig
310
+ attr_accessor s3_config: Types::S3Config
311
+ attr_accessor text_data_delivery_enabled: bool
312
+ attr_accessor image_data_delivery_enabled: bool
313
+ attr_accessor embedding_data_delivery_enabled: bool
314
+ SENSITIVE: []
315
+ end
316
+
317
+ class ModelCustomizationJobSummary
318
+ attr_accessor job_arn: ::String
319
+ attr_accessor base_model_arn: ::String
320
+ attr_accessor job_name: ::String
321
+ attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
322
+ attr_accessor last_modified_time: ::Time
323
+ attr_accessor creation_time: ::Time
324
+ attr_accessor end_time: ::Time
325
+ attr_accessor custom_model_arn: ::String
326
+ attr_accessor custom_model_name: ::String
327
+ attr_accessor customization_type: ("FINE_TUNING" | "CONTINUED_PRE_TRAINING")
328
+ SENSITIVE: []
329
+ end
330
+
331
+ class OutputDataConfig
332
+ attr_accessor s3_uri: ::String
333
+ SENSITIVE: []
334
+ end
335
+
336
+ class ProvisionedModelSummary
337
+ attr_accessor provisioned_model_name: ::String
338
+ attr_accessor provisioned_model_arn: ::String
339
+ attr_accessor model_arn: ::String
340
+ attr_accessor desired_model_arn: ::String
341
+ attr_accessor foundation_model_arn: ::String
342
+ attr_accessor model_units: ::Integer
343
+ attr_accessor desired_model_units: ::Integer
344
+ attr_accessor status: ("Creating" | "InService" | "Updating" | "Failed")
345
+ attr_accessor commitment_duration: ("OneMonth" | "SixMonths")
346
+ attr_accessor commitment_expiration_time: ::Time
347
+ attr_accessor creation_time: ::Time
348
+ attr_accessor last_modified_time: ::Time
349
+ SENSITIVE: []
350
+ end
351
+
352
+ class PutModelInvocationLoggingConfigurationRequest
353
+ attr_accessor logging_config: Types::LoggingConfig
354
+ SENSITIVE: []
355
+ end
356
+
357
+ class PutModelInvocationLoggingConfigurationResponse < Aws::EmptyStructure
358
+ end
359
+
360
+ class ResourceNotFoundException
361
+ attr_accessor message: ::String
362
+ SENSITIVE: []
363
+ end
364
+
365
+ class S3Config
366
+ attr_accessor bucket_name: ::String
367
+ attr_accessor key_prefix: ::String
368
+ SENSITIVE: []
369
+ end
370
+
371
+ class ServiceQuotaExceededException
372
+ attr_accessor message: ::String
373
+ SENSITIVE: []
374
+ end
375
+
376
+ class StopModelCustomizationJobRequest
377
+ attr_accessor job_identifier: ::String
378
+ SENSITIVE: []
379
+ end
380
+
381
+ class StopModelCustomizationJobResponse < Aws::EmptyStructure
382
+ end
383
+
384
+ class Tag
385
+ attr_accessor key: ::String
386
+ attr_accessor value: ::String
387
+ SENSITIVE: []
388
+ end
389
+
390
+ class TagResourceRequest
391
+ attr_accessor resource_arn: ::String
392
+ attr_accessor tags: ::Array[Types::Tag]
393
+ SENSITIVE: []
394
+ end
395
+
396
+ class TagResourceResponse < Aws::EmptyStructure
397
+ end
398
+
399
+ class ThrottlingException
400
+ attr_accessor message: ::String
401
+ SENSITIVE: []
402
+ end
403
+
404
+ class TooManyTagsException
405
+ attr_accessor message: ::String
406
+ attr_accessor resource_name: ::String
407
+ SENSITIVE: []
408
+ end
409
+
410
+ class TrainingDataConfig
411
+ attr_accessor s3_uri: ::String
412
+ SENSITIVE: []
413
+ end
414
+
415
+ class TrainingMetrics
416
+ attr_accessor training_loss: ::Float
417
+ SENSITIVE: []
418
+ end
419
+
420
+ class UntagResourceRequest
421
+ attr_accessor resource_arn: ::String
422
+ attr_accessor tag_keys: ::Array[::String]
423
+ SENSITIVE: []
424
+ end
425
+
426
+ class UntagResourceResponse < Aws::EmptyStructure
427
+ end
428
+
429
+ class UpdateProvisionedModelThroughputRequest
430
+ attr_accessor provisioned_model_id: ::String
431
+ attr_accessor desired_provisioned_model_name: ::String
432
+ attr_accessor desired_model_id: ::String
433
+ SENSITIVE: []
434
+ end
435
+
436
+ class UpdateProvisionedModelThroughputResponse < Aws::EmptyStructure
437
+ end
438
+
439
+ class ValidationDataConfig
440
+ attr_accessor validators: ::Array[Types::Validator]
441
+ SENSITIVE: []
442
+ end
443
+
444
+ class ValidationException
445
+ attr_accessor message: ::String
446
+ SENSITIVE: []
447
+ end
448
+
449
+ class Validator
450
+ attr_accessor s3_uri: ::String
451
+ SENSITIVE: []
452
+ end
453
+
454
+ class ValidatorMetric
455
+ attr_accessor validation_loss: ::Float
456
+ SENSITIVE: []
457
+ end
458
+
459
+ class VpcConfig
460
+ attr_accessor subnet_ids: ::Array[::String]
461
+ attr_accessor security_group_ids: ::Array[::String]
462
+ SENSITIVE: []
463
+ end
464
+ end
465
+ 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 Bedrock
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-bedrock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.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-28 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
@@ -67,13 +67,18 @@ files:
67
67
  - lib/aws-sdk-bedrock/resource.rb
68
68
  - lib/aws-sdk-bedrock/types.rb
69
69
  - lib/aws-sdk-bedrock/waiters.rb
70
+ - sig/client.rbs
71
+ - sig/errors.rbs
72
+ - sig/resource.rbs
73
+ - sig/types.rbs
74
+ - sig/waiters.rbs
70
75
  homepage: https://github.com/aws/aws-sdk-ruby
71
76
  licenses:
72
77
  - Apache-2.0
73
78
  metadata:
74
79
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-bedrock
75
80
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-bedrock/CHANGELOG.md
76
- post_install_message:
81
+ post_install_message:
77
82
  rdoc_options: []
78
83
  require_paths:
79
84
  - lib
@@ -88,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
93
  - !ruby/object:Gem::Version
89
94
  version: '0'
90
95
  requirements: []
91
- rubygems_version: 3.1.6
92
- signing_key:
96
+ rubygems_version: 3.4.10
97
+ signing_key:
93
98
  specification_version: 4
94
99
  summary: AWS SDK for Ruby - Amazon Bedrock
95
100
  test_files: []