aws-sdk-bedrock 1.0.0 → 1.2.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +409 -137
- data/lib/aws-sdk-bedrock/client_api.rb +219 -55
- data/lib/aws-sdk-bedrock/endpoints.rb +70 -0
- data/lib/aws-sdk-bedrock/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-bedrock/types.rb +598 -267
- data/lib/aws-sdk-bedrock/waiters.rb +15 -0
- data/lib/aws-sdk-bedrock.rb +2 -1
- metadata +6 -5
@@ -25,10 +25,6 @@ module Aws::Bedrock
|
|
25
25
|
|
26
26
|
# CloudWatch logging configuration.
|
27
27
|
#
|
28
|
-
# @!attribute [rw] large_data_delivery_s3_config
|
29
|
-
# S3 configuration for delivering a large amount of data.
|
30
|
-
# @return [Types::S3Config]
|
31
|
-
#
|
32
28
|
# @!attribute [rw] log_group_name
|
33
29
|
# The log group name.
|
34
30
|
# @return [String]
|
@@ -37,12 +33,16 @@ module Aws::Bedrock
|
|
37
33
|
# The role ARN.
|
38
34
|
# @return [String]
|
39
35
|
#
|
36
|
+
# @!attribute [rw] large_data_delivery_s3_config
|
37
|
+
# S3 configuration for delivering a large amount of data.
|
38
|
+
# @return [Types::S3Config]
|
39
|
+
#
|
40
40
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CloudWatchConfig AWS API Documentation
|
41
41
|
#
|
42
42
|
class CloudWatchConfig < Struct.new(
|
43
|
-
:large_data_delivery_s3_config,
|
44
43
|
:log_group_name,
|
45
|
-
:role_arn
|
44
|
+
:role_arn,
|
45
|
+
:large_data_delivery_s3_config)
|
46
46
|
SENSITIVE = []
|
47
47
|
include Aws::Structure
|
48
48
|
end
|
@@ -60,8 +60,21 @@ module Aws::Bedrock
|
|
60
60
|
include Aws::Structure
|
61
61
|
end
|
62
62
|
|
63
|
-
# @!attribute [rw]
|
64
|
-
#
|
63
|
+
# @!attribute [rw] job_name
|
64
|
+
# Enter a unique name for the fine-tuning job.
|
65
|
+
# @return [String]
|
66
|
+
#
|
67
|
+
# @!attribute [rw] custom_model_name
|
68
|
+
# Enter a name for the custom model.
|
69
|
+
# @return [String]
|
70
|
+
#
|
71
|
+
# @!attribute [rw] role_arn
|
72
|
+
# The Amazon Resource Name (ARN) of an IAM role that Bedrock can
|
73
|
+
# assume to perform tasks on your behalf. For example, during model
|
74
|
+
# training, Bedrock needs your permission to read input data from an
|
75
|
+
# S3 bucket, write model artifacts to an S3 bucket. To pass this role
|
76
|
+
# to Bedrock, the caller of this API must have the `iam:PassRole`
|
77
|
+
# permission.
|
65
78
|
# @return [String]
|
66
79
|
#
|
67
80
|
# @!attribute [rw] client_request_token
|
@@ -72,42 +85,21 @@ module Aws::Bedrock
|
|
72
85
|
# not need to pass this option.
|
73
86
|
# @return [String]
|
74
87
|
#
|
75
|
-
# @!attribute [rw]
|
76
|
-
#
|
77
|
-
# @return [String]
|
78
|
-
#
|
79
|
-
# @!attribute [rw] custom_model_name
|
80
|
-
# Enter a name for the custom model.
|
88
|
+
# @!attribute [rw] base_model_identifier
|
89
|
+
# Name of the base model.
|
81
90
|
# @return [String]
|
82
91
|
#
|
83
|
-
# @!attribute [rw]
|
84
|
-
#
|
85
|
-
# @return [Array<Types::Tag>]
|
86
|
-
#
|
87
|
-
# @!attribute [rw] hyper_parameters
|
88
|
-
# Parameters related to tuning the model.
|
89
|
-
# @return [Hash<String,String>]
|
90
|
-
#
|
91
|
-
# @!attribute [rw] job_name
|
92
|
-
# Enter a unique name for the fine-tuning job.
|
92
|
+
# @!attribute [rw] custom_model_kms_key_id
|
93
|
+
# The custom model is encrypted at rest using this key.
|
93
94
|
# @return [String]
|
94
95
|
#
|
95
96
|
# @!attribute [rw] job_tags
|
96
97
|
# Assign tags to the job.
|
97
98
|
# @return [Array<Types::Tag>]
|
98
99
|
#
|
99
|
-
# @!attribute [rw]
|
100
|
-
#
|
101
|
-
# @return [Types::
|
102
|
-
#
|
103
|
-
# @!attribute [rw] role_arn
|
104
|
-
# The Amazon Resource Name (ARN) of an IAM role that Bedrock can
|
105
|
-
# assume to perform tasks on your behalf. For example, during model
|
106
|
-
# training, Bedrock needs your permission to read input data from an
|
107
|
-
# S3 bucket, write model artifacts to an S3 bucket. To pass this role
|
108
|
-
# to Bedrock, the caller of this API must have the `iam:PassRole`
|
109
|
-
# permission.
|
110
|
-
# @return [String]
|
100
|
+
# @!attribute [rw] custom_model_tags
|
101
|
+
# Assign tags to the custom model.
|
102
|
+
# @return [Array<Types::Tag>]
|
111
103
|
#
|
112
104
|
# @!attribute [rw] training_data_config
|
113
105
|
# Information about the training dataset.
|
@@ -117,6 +109,14 @@ module Aws::Bedrock
|
|
117
109
|
# Information about the validation dataset.
|
118
110
|
# @return [Types::ValidationDataConfig]
|
119
111
|
#
|
112
|
+
# @!attribute [rw] output_data_config
|
113
|
+
# S3 location for the output data.
|
114
|
+
# @return [Types::OutputDataConfig]
|
115
|
+
#
|
116
|
+
# @!attribute [rw] hyper_parameters
|
117
|
+
# Parameters related to tuning the model.
|
118
|
+
# @return [Hash<String,String>]
|
119
|
+
#
|
120
120
|
# @!attribute [rw] vpc_config
|
121
121
|
# VPC configuration (optional). Configuration parameters for the
|
122
122
|
# private Virtual Private Cloud (VPC) that contains the resources you
|
@@ -126,18 +126,18 @@ module Aws::Bedrock
|
|
126
126
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelCustomizationJobRequest AWS API Documentation
|
127
127
|
#
|
128
128
|
class CreateModelCustomizationJobRequest < Struct.new(
|
129
|
-
:
|
129
|
+
:job_name,
|
130
|
+
:custom_model_name,
|
131
|
+
:role_arn,
|
130
132
|
:client_request_token,
|
133
|
+
:base_model_identifier,
|
131
134
|
:custom_model_kms_key_id,
|
132
|
-
:custom_model_name,
|
133
|
-
:custom_model_tags,
|
134
|
-
:hyper_parameters,
|
135
|
-
:job_name,
|
136
135
|
:job_tags,
|
137
|
-
:
|
138
|
-
:role_arn,
|
136
|
+
:custom_model_tags,
|
139
137
|
:training_data_config,
|
140
138
|
:validation_data_config,
|
139
|
+
:output_data_config,
|
140
|
+
:hyper_parameters,
|
141
141
|
:vpc_config)
|
142
142
|
SENSITIVE = []
|
143
143
|
include Aws::Structure
|
@@ -155,19 +155,62 @@ module Aws::Bedrock
|
|
155
155
|
include Aws::Structure
|
156
156
|
end
|
157
157
|
|
158
|
-
#
|
158
|
+
# @!attribute [rw] client_request_token
|
159
|
+
# Unique token value that you can provide. If this token matches a
|
160
|
+
# previous request, Bedrock ignores the request, but does not return
|
161
|
+
# an error.
|
159
162
|
#
|
160
|
-
#
|
161
|
-
#
|
163
|
+
# **A suitable default value is auto-generated.** You should normally
|
164
|
+
# not need to pass this option.
|
162
165
|
# @return [String]
|
163
166
|
#
|
164
|
-
# @!attribute [rw]
|
165
|
-
#
|
167
|
+
# @!attribute [rw] model_units
|
168
|
+
# Number of model units to allocate.
|
169
|
+
# @return [Integer]
|
170
|
+
#
|
171
|
+
# @!attribute [rw] provisioned_model_name
|
172
|
+
# Unique name for this provisioned throughput.
|
166
173
|
# @return [String]
|
167
174
|
#
|
168
|
-
# @!attribute [rw]
|
169
|
-
#
|
170
|
-
#
|
175
|
+
# @!attribute [rw] model_id
|
176
|
+
# Name or ARN of the model to associate with this provisioned
|
177
|
+
# throughput.
|
178
|
+
# @return [String]
|
179
|
+
#
|
180
|
+
# @!attribute [rw] commitment_duration
|
181
|
+
# Commitment duration requested for the provisioned throughput.
|
182
|
+
# @return [String]
|
183
|
+
#
|
184
|
+
# @!attribute [rw] tags
|
185
|
+
# Tags to associate with this provisioned throughput.
|
186
|
+
# @return [Array<Types::Tag>]
|
187
|
+
#
|
188
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateProvisionedModelThroughputRequest AWS API Documentation
|
189
|
+
#
|
190
|
+
class CreateProvisionedModelThroughputRequest < Struct.new(
|
191
|
+
:client_request_token,
|
192
|
+
:model_units,
|
193
|
+
:provisioned_model_name,
|
194
|
+
:model_id,
|
195
|
+
:commitment_duration,
|
196
|
+
:tags)
|
197
|
+
SENSITIVE = []
|
198
|
+
include Aws::Structure
|
199
|
+
end
|
200
|
+
|
201
|
+
# @!attribute [rw] provisioned_model_arn
|
202
|
+
# The ARN for this provisioned throughput.
|
203
|
+
# @return [String]
|
204
|
+
#
|
205
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateProvisionedModelThroughputResponse AWS API Documentation
|
206
|
+
#
|
207
|
+
class CreateProvisionedModelThroughputResponse < Struct.new(
|
208
|
+
:provisioned_model_arn)
|
209
|
+
SENSITIVE = []
|
210
|
+
include Aws::Structure
|
211
|
+
end
|
212
|
+
|
213
|
+
# Summary information for a custom model.
|
171
214
|
#
|
172
215
|
# @!attribute [rw] model_arn
|
173
216
|
# The ARN of the custom model.
|
@@ -177,14 +220,26 @@ module Aws::Bedrock
|
|
177
220
|
# The name of the custom model.
|
178
221
|
# @return [String]
|
179
222
|
#
|
223
|
+
# @!attribute [rw] creation_time
|
224
|
+
# Creation time of the model.
|
225
|
+
# @return [Time]
|
226
|
+
#
|
227
|
+
# @!attribute [rw] base_model_arn
|
228
|
+
# The base model ARN.
|
229
|
+
# @return [String]
|
230
|
+
#
|
231
|
+
# @!attribute [rw] base_model_name
|
232
|
+
# The base model name.
|
233
|
+
# @return [String]
|
234
|
+
#
|
180
235
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CustomModelSummary AWS API Documentation
|
181
236
|
#
|
182
237
|
class CustomModelSummary < Struct.new(
|
183
|
-
:base_model_arn,
|
184
|
-
:base_model_name,
|
185
|
-
:creation_time,
|
186
238
|
:model_arn,
|
187
|
-
:model_name
|
239
|
+
:model_name,
|
240
|
+
:creation_time,
|
241
|
+
:base_model_arn,
|
242
|
+
:base_model_name)
|
188
243
|
SENSITIVE = []
|
189
244
|
include Aws::Structure
|
190
245
|
end
|
@@ -215,19 +270,23 @@ module Aws::Bedrock
|
|
215
270
|
#
|
216
271
|
class DeleteModelInvocationLoggingConfigurationResponse < Aws::EmptyStructure; end
|
217
272
|
|
218
|
-
#
|
273
|
+
# @!attribute [rw] provisioned_model_id
|
274
|
+
# The ARN or name of the provisioned throughput.
|
275
|
+
# @return [String]
|
219
276
|
#
|
220
|
-
#
|
221
|
-
# The customization that the model supports.
|
222
|
-
# @return [Array<String>]
|
277
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteProvisionedModelThroughputRequest AWS API Documentation
|
223
278
|
#
|
224
|
-
|
225
|
-
|
226
|
-
|
279
|
+
class DeleteProvisionedModelThroughputRequest < Struct.new(
|
280
|
+
:provisioned_model_id)
|
281
|
+
SENSITIVE = []
|
282
|
+
include Aws::Structure
|
283
|
+
end
|
284
|
+
|
285
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteProvisionedModelThroughputResponse AWS API Documentation
|
227
286
|
#
|
228
|
-
|
229
|
-
|
230
|
-
#
|
287
|
+
class DeleteProvisionedModelThroughputResponse < Aws::EmptyStructure; end
|
288
|
+
|
289
|
+
# Information about a foundation model.
|
231
290
|
#
|
232
291
|
# @!attribute [rw] model_arn
|
233
292
|
# The model ARN.
|
@@ -241,48 +300,48 @@ module Aws::Bedrock
|
|
241
300
|
# The model name.
|
242
301
|
# @return [String]
|
243
302
|
#
|
244
|
-
# @!attribute [rw] output_modalities
|
245
|
-
# The output modalities that the model supports.
|
246
|
-
# @return [Array<String>]
|
247
|
-
#
|
248
303
|
# @!attribute [rw] provider_name
|
249
304
|
# he model's provider name.
|
250
305
|
# @return [String]
|
251
306
|
#
|
307
|
+
# @!attribute [rw] input_modalities
|
308
|
+
# The input modalities that the model supports.
|
309
|
+
# @return [Array<String>]
|
310
|
+
#
|
311
|
+
# @!attribute [rw] output_modalities
|
312
|
+
# The output modalities that the model supports.
|
313
|
+
# @return [Array<String>]
|
314
|
+
#
|
252
315
|
# @!attribute [rw] response_streaming_supported
|
253
316
|
# Indicates whether the model supports streaming.
|
254
317
|
# @return [Boolean]
|
255
318
|
#
|
319
|
+
# @!attribute [rw] customizations_supported
|
320
|
+
# The customization that the model supports.
|
321
|
+
# @return [Array<String>]
|
322
|
+
#
|
323
|
+
# @!attribute [rw] inference_types_supported
|
324
|
+
# The inference types that the model supports.
|
325
|
+
# @return [Array<String>]
|
326
|
+
#
|
256
327
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/FoundationModelDetails AWS API Documentation
|
257
328
|
#
|
258
329
|
class FoundationModelDetails < Struct.new(
|
259
|
-
:customizations_supported,
|
260
|
-
:inference_types_supported,
|
261
|
-
:input_modalities,
|
262
330
|
:model_arn,
|
263
331
|
:model_id,
|
264
332
|
:model_name,
|
265
|
-
:output_modalities,
|
266
333
|
:provider_name,
|
267
|
-
:
|
334
|
+
:input_modalities,
|
335
|
+
:output_modalities,
|
336
|
+
:response_streaming_supported,
|
337
|
+
:customizations_supported,
|
338
|
+
:inference_types_supported)
|
268
339
|
SENSITIVE = []
|
269
340
|
include Aws::Structure
|
270
341
|
end
|
271
342
|
|
272
343
|
# Summary information for a foundation model.
|
273
344
|
#
|
274
|
-
# @!attribute [rw] customizations_supported
|
275
|
-
# Whether the model supports fine-tuning or continual pre-training.
|
276
|
-
# @return [Array<String>]
|
277
|
-
#
|
278
|
-
# @!attribute [rw] inference_types_supported
|
279
|
-
# The inference types that the model supports.
|
280
|
-
# @return [Array<String>]
|
281
|
-
#
|
282
|
-
# @!attribute [rw] input_modalities
|
283
|
-
# The input modalities that the model supports.
|
284
|
-
# @return [Array<String>]
|
285
|
-
#
|
286
345
|
# @!attribute [rw] model_arn
|
287
346
|
# The ARN of the foundation model.
|
288
347
|
# @return [String]
|
@@ -295,30 +354,42 @@ module Aws::Bedrock
|
|
295
354
|
# The name of the model.
|
296
355
|
# @return [String]
|
297
356
|
#
|
298
|
-
# @!attribute [rw] output_modalities
|
299
|
-
# The output modalities that the model supports.
|
300
|
-
# @return [Array<String>]
|
301
|
-
#
|
302
357
|
# @!attribute [rw] provider_name
|
303
358
|
# The model's provider name.
|
304
359
|
# @return [String]
|
305
360
|
#
|
361
|
+
# @!attribute [rw] input_modalities
|
362
|
+
# The input modalities that the model supports.
|
363
|
+
# @return [Array<String>]
|
364
|
+
#
|
365
|
+
# @!attribute [rw] output_modalities
|
366
|
+
# The output modalities that the model supports.
|
367
|
+
# @return [Array<String>]
|
368
|
+
#
|
306
369
|
# @!attribute [rw] response_streaming_supported
|
307
370
|
# Indicates whether the model supports streaming.
|
308
371
|
# @return [Boolean]
|
309
372
|
#
|
373
|
+
# @!attribute [rw] customizations_supported
|
374
|
+
# Whether the model supports fine-tuning or continual pre-training.
|
375
|
+
# @return [Array<String>]
|
376
|
+
#
|
377
|
+
# @!attribute [rw] inference_types_supported
|
378
|
+
# The inference types that the model supports.
|
379
|
+
# @return [Array<String>]
|
380
|
+
#
|
310
381
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/FoundationModelSummary AWS API Documentation
|
311
382
|
#
|
312
383
|
class FoundationModelSummary < Struct.new(
|
313
|
-
:customizations_supported,
|
314
|
-
:inference_types_supported,
|
315
|
-
:input_modalities,
|
316
384
|
:model_arn,
|
317
385
|
:model_id,
|
318
386
|
:model_name,
|
319
|
-
:output_modalities,
|
320
387
|
:provider_name,
|
321
|
-
:
|
388
|
+
:input_modalities,
|
389
|
+
:output_modalities,
|
390
|
+
:response_streaming_supported,
|
391
|
+
:customizations_supported,
|
392
|
+
:inference_types_supported)
|
322
393
|
SENSITIVE = []
|
323
394
|
include Aws::Structure
|
324
395
|
end
|
@@ -335,74 +406,74 @@ module Aws::Bedrock
|
|
335
406
|
include Aws::Structure
|
336
407
|
end
|
337
408
|
|
338
|
-
# @!attribute [rw]
|
339
|
-
# ARN
|
409
|
+
# @!attribute [rw] model_arn
|
410
|
+
# ARN associated with this model.
|
340
411
|
# @return [String]
|
341
412
|
#
|
342
|
-
# @!attribute [rw]
|
343
|
-
#
|
344
|
-
# @return [Time]
|
345
|
-
#
|
346
|
-
# @!attribute [rw] hyper_parameters
|
347
|
-
# Hyperparameter values associated with this model.
|
348
|
-
# @return [Hash<String,String>]
|
349
|
-
#
|
350
|
-
# @!attribute [rw] job_arn
|
351
|
-
# Job ARN associated with this model.
|
413
|
+
# @!attribute [rw] model_name
|
414
|
+
# Model name associated with this model.
|
352
415
|
# @return [String]
|
353
416
|
#
|
354
417
|
# @!attribute [rw] job_name
|
355
418
|
# Job name associated with this model.
|
356
419
|
# @return [String]
|
357
420
|
#
|
358
|
-
# @!attribute [rw]
|
359
|
-
# ARN associated with this model.
|
421
|
+
# @!attribute [rw] job_arn
|
422
|
+
# Job ARN associated with this model.
|
360
423
|
# @return [String]
|
361
424
|
#
|
362
|
-
# @!attribute [rw]
|
363
|
-
#
|
425
|
+
# @!attribute [rw] base_model_arn
|
426
|
+
# ARN of the base model.
|
364
427
|
# @return [String]
|
365
428
|
#
|
366
|
-
# @!attribute [rw]
|
367
|
-
#
|
429
|
+
# @!attribute [rw] model_kms_key_arn
|
430
|
+
# The custom model is encrypted at rest using this key.
|
368
431
|
# @return [String]
|
369
432
|
#
|
370
|
-
# @!attribute [rw]
|
371
|
-
#
|
372
|
-
# @return [
|
433
|
+
# @!attribute [rw] hyper_parameters
|
434
|
+
# Hyperparameter values associated with this model.
|
435
|
+
# @return [Hash<String,String>]
|
373
436
|
#
|
374
437
|
# @!attribute [rw] training_data_config
|
375
438
|
# Information about the training dataset.
|
376
439
|
# @return [Types::TrainingDataConfig]
|
377
440
|
#
|
378
|
-
# @!attribute [rw] training_metrics
|
379
|
-
# The training metrics from the job creation.
|
380
|
-
# @return [Types::TrainingMetrics]
|
381
|
-
#
|
382
441
|
# @!attribute [rw] validation_data_config
|
383
442
|
# Array of up to 10 validators.
|
384
443
|
# @return [Types::ValidationDataConfig]
|
385
444
|
#
|
445
|
+
# @!attribute [rw] output_data_config
|
446
|
+
# Output data configuration associated with this custom model.
|
447
|
+
# @return [Types::OutputDataConfig]
|
448
|
+
#
|
449
|
+
# @!attribute [rw] training_metrics
|
450
|
+
# The training metrics from the job creation.
|
451
|
+
# @return [Types::TrainingMetrics]
|
452
|
+
#
|
386
453
|
# @!attribute [rw] validation_metrics
|
387
454
|
# The validation metrics from the job creation.
|
388
455
|
# @return [Array<Types::ValidatorMetric>]
|
389
456
|
#
|
457
|
+
# @!attribute [rw] creation_time
|
458
|
+
# Creation time of the model.
|
459
|
+
# @return [Time]
|
460
|
+
#
|
390
461
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetCustomModelResponse AWS API Documentation
|
391
462
|
#
|
392
463
|
class GetCustomModelResponse < Struct.new(
|
393
|
-
:base_model_arn,
|
394
|
-
:creation_time,
|
395
|
-
:hyper_parameters,
|
396
|
-
:job_arn,
|
397
|
-
:job_name,
|
398
464
|
:model_arn,
|
399
|
-
:model_kms_key_arn,
|
400
465
|
:model_name,
|
401
|
-
:
|
466
|
+
:job_name,
|
467
|
+
:job_arn,
|
468
|
+
:base_model_arn,
|
469
|
+
:model_kms_key_arn,
|
470
|
+
:hyper_parameters,
|
402
471
|
:training_data_config,
|
403
|
-
:training_metrics,
|
404
472
|
:validation_data_config,
|
405
|
-
:
|
473
|
+
:output_data_config,
|
474
|
+
:training_metrics,
|
475
|
+
:validation_metrics,
|
476
|
+
:creation_time)
|
406
477
|
SENSITIVE = []
|
407
478
|
include Aws::Structure
|
408
479
|
end
|
@@ -443,30 +514,6 @@ module Aws::Bedrock
|
|
443
514
|
include Aws::Structure
|
444
515
|
end
|
445
516
|
|
446
|
-
# @!attribute [rw] base_model_arn
|
447
|
-
# ARN of the base model.
|
448
|
-
# @return [String]
|
449
|
-
#
|
450
|
-
# @!attribute [rw] client_request_token
|
451
|
-
# The token that you specified in the CreateCustomizationJob request.
|
452
|
-
# @return [String]
|
453
|
-
#
|
454
|
-
# @!attribute [rw] creation_time
|
455
|
-
# Time that the resource was created.
|
456
|
-
# @return [Time]
|
457
|
-
#
|
458
|
-
# @!attribute [rw] end_time
|
459
|
-
# Time that the resource transitioned to terminal state.
|
460
|
-
# @return [Time]
|
461
|
-
#
|
462
|
-
# @!attribute [rw] failure_message
|
463
|
-
# Information about why the job failed.
|
464
|
-
# @return [String]
|
465
|
-
#
|
466
|
-
# @!attribute [rw] hyper_parameters
|
467
|
-
# The hyperparameter values for the job.
|
468
|
-
# @return [Hash<String,String>]
|
469
|
-
#
|
470
517
|
# @!attribute [rw] job_arn
|
471
518
|
# The ARN of the customization job.
|
472
519
|
# @return [String]
|
@@ -475,24 +522,16 @@ module Aws::Bedrock
|
|
475
522
|
# The name of the customization job.
|
476
523
|
# @return [String]
|
477
524
|
#
|
478
|
-
# @!attribute [rw]
|
479
|
-
#
|
480
|
-
# @return [
|
481
|
-
#
|
482
|
-
# @!attribute [rw] output_data_config
|
483
|
-
# Output data configuration
|
484
|
-
# @return [Types::OutputDataConfig]
|
525
|
+
# @!attribute [rw] output_model_name
|
526
|
+
# The name of the output model.
|
527
|
+
# @return [String]
|
485
528
|
#
|
486
529
|
# @!attribute [rw] output_model_arn
|
487
530
|
# The ARN of the output model.
|
488
531
|
# @return [String]
|
489
532
|
#
|
490
|
-
# @!attribute [rw]
|
491
|
-
# The
|
492
|
-
# @return [String]
|
493
|
-
#
|
494
|
-
# @!attribute [rw] output_model_name
|
495
|
-
# The name of the output model.
|
533
|
+
# @!attribute [rw] client_request_token
|
534
|
+
# The token that you specified in the CreateCustomizationJob request.
|
496
535
|
# @return [String]
|
497
536
|
#
|
498
537
|
# @!attribute [rw] role_arn
|
@@ -506,18 +545,50 @@ module Aws::Bedrock
|
|
506
545
|
# failed.
|
507
546
|
# @return [String]
|
508
547
|
#
|
548
|
+
# @!attribute [rw] failure_message
|
549
|
+
# Information about why the job failed.
|
550
|
+
# @return [String]
|
551
|
+
#
|
552
|
+
# @!attribute [rw] creation_time
|
553
|
+
# Time that the resource was created.
|
554
|
+
# @return [Time]
|
555
|
+
#
|
556
|
+
# @!attribute [rw] last_modified_time
|
557
|
+
# Time that the resource was last modified.
|
558
|
+
# @return [Time]
|
559
|
+
#
|
560
|
+
# @!attribute [rw] end_time
|
561
|
+
# Time that the resource transitioned to terminal state.
|
562
|
+
# @return [Time]
|
563
|
+
#
|
564
|
+
# @!attribute [rw] base_model_arn
|
565
|
+
# ARN of the base model.
|
566
|
+
# @return [String]
|
567
|
+
#
|
568
|
+
# @!attribute [rw] hyper_parameters
|
569
|
+
# The hyperparameter values for the job.
|
570
|
+
# @return [Hash<String,String>]
|
571
|
+
#
|
509
572
|
# @!attribute [rw] training_data_config
|
510
573
|
# S3 Location of the training data.
|
511
574
|
# @return [Types::TrainingDataConfig]
|
512
575
|
#
|
513
|
-
# @!attribute [rw] training_metrics
|
514
|
-
# Metrics associated with the custom job.
|
515
|
-
# @return [Types::TrainingMetrics]
|
516
|
-
#
|
517
576
|
# @!attribute [rw] validation_data_config
|
518
577
|
# Array of up to 10 validators.
|
519
578
|
# @return [Types::ValidationDataConfig]
|
520
579
|
#
|
580
|
+
# @!attribute [rw] output_data_config
|
581
|
+
# Output data configuration
|
582
|
+
# @return [Types::OutputDataConfig]
|
583
|
+
#
|
584
|
+
# @!attribute [rw] output_model_kms_key_arn
|
585
|
+
# The custom model is encrypted at rest using this key.
|
586
|
+
# @return [String]
|
587
|
+
#
|
588
|
+
# @!attribute [rw] training_metrics
|
589
|
+
# Metrics associated with the custom job.
|
590
|
+
# @return [Types::TrainingMetrics]
|
591
|
+
#
|
521
592
|
# @!attribute [rw] validation_metrics
|
522
593
|
# The loss metric for each validator that you provided in the
|
523
594
|
# createjob request.
|
@@ -530,24 +601,24 @@ module Aws::Bedrock
|
|
530
601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelCustomizationJobResponse AWS API Documentation
|
531
602
|
#
|
532
603
|
class GetModelCustomizationJobResponse < Struct.new(
|
533
|
-
:base_model_arn,
|
534
|
-
:client_request_token,
|
535
|
-
:creation_time,
|
536
|
-
:end_time,
|
537
|
-
:failure_message,
|
538
|
-
:hyper_parameters,
|
539
604
|
:job_arn,
|
540
605
|
:job_name,
|
541
|
-
:last_modified_time,
|
542
|
-
:output_data_config,
|
543
|
-
:output_model_arn,
|
544
|
-
:output_model_kms_key_arn,
|
545
606
|
:output_model_name,
|
607
|
+
:output_model_arn,
|
608
|
+
:client_request_token,
|
546
609
|
:role_arn,
|
547
610
|
:status,
|
611
|
+
:failure_message,
|
612
|
+
:creation_time,
|
613
|
+
:last_modified_time,
|
614
|
+
:end_time,
|
615
|
+
:base_model_arn,
|
616
|
+
:hyper_parameters,
|
548
617
|
:training_data_config,
|
549
|
-
:training_metrics,
|
550
618
|
:validation_data_config,
|
619
|
+
:output_data_config,
|
620
|
+
:output_model_kms_key_arn,
|
621
|
+
:training_metrics,
|
551
622
|
:validation_metrics,
|
552
623
|
:vpc_config)
|
553
624
|
SENSITIVE = []
|
@@ -572,6 +643,95 @@ module Aws::Bedrock
|
|
572
643
|
include Aws::Structure
|
573
644
|
end
|
574
645
|
|
646
|
+
# @!attribute [rw] provisioned_model_id
|
647
|
+
# The ARN or name of the provisioned throughput.
|
648
|
+
# @return [String]
|
649
|
+
#
|
650
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetProvisionedModelThroughputRequest AWS API Documentation
|
651
|
+
#
|
652
|
+
class GetProvisionedModelThroughputRequest < Struct.new(
|
653
|
+
:provisioned_model_id)
|
654
|
+
SENSITIVE = []
|
655
|
+
include Aws::Structure
|
656
|
+
end
|
657
|
+
|
658
|
+
# @!attribute [rw] model_units
|
659
|
+
# The current number of model units requested to be available for this
|
660
|
+
# provisioned throughput.
|
661
|
+
# @return [Integer]
|
662
|
+
#
|
663
|
+
# @!attribute [rw] desired_model_units
|
664
|
+
# The desired number of model units that was requested to be available
|
665
|
+
# for this provisioned throughput.
|
666
|
+
# @return [Integer]
|
667
|
+
#
|
668
|
+
# @!attribute [rw] provisioned_model_name
|
669
|
+
# The name of the provisioned throughput.
|
670
|
+
# @return [String]
|
671
|
+
#
|
672
|
+
# @!attribute [rw] provisioned_model_arn
|
673
|
+
# The ARN of the provisioned throughput.
|
674
|
+
# @return [String]
|
675
|
+
#
|
676
|
+
# @!attribute [rw] model_arn
|
677
|
+
# The ARN or name of the model associated with this provisioned
|
678
|
+
# throughput.
|
679
|
+
# @return [String]
|
680
|
+
#
|
681
|
+
# @!attribute [rw] desired_model_arn
|
682
|
+
# The ARN of the new model to asssociate with this provisioned
|
683
|
+
# throughput.
|
684
|
+
# @return [String]
|
685
|
+
#
|
686
|
+
# @!attribute [rw] foundation_model_arn
|
687
|
+
# ARN of the foundation model.
|
688
|
+
# @return [String]
|
689
|
+
#
|
690
|
+
# @!attribute [rw] status
|
691
|
+
# Status of the provisioned throughput.
|
692
|
+
# @return [String]
|
693
|
+
#
|
694
|
+
# @!attribute [rw] creation_time
|
695
|
+
# The timestamp of the creation time for this provisioned throughput.
|
696
|
+
# @return [Time]
|
697
|
+
#
|
698
|
+
# @!attribute [rw] last_modified_time
|
699
|
+
# The timestamp of the last modified time of this provisioned
|
700
|
+
# throughput.
|
701
|
+
# @return [Time]
|
702
|
+
#
|
703
|
+
# @!attribute [rw] failure_message
|
704
|
+
# Failure message for any issues that the create operation encounters.
|
705
|
+
# @return [String]
|
706
|
+
#
|
707
|
+
# @!attribute [rw] commitment_duration
|
708
|
+
# Commitment duration of the provisioned throughput.
|
709
|
+
# @return [String]
|
710
|
+
#
|
711
|
+
# @!attribute [rw] commitment_expiration_time
|
712
|
+
# Commitment expiration time for the provisioned throughput.
|
713
|
+
# @return [Time]
|
714
|
+
#
|
715
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetProvisionedModelThroughputResponse AWS API Documentation
|
716
|
+
#
|
717
|
+
class GetProvisionedModelThroughputResponse < Struct.new(
|
718
|
+
:model_units,
|
719
|
+
:desired_model_units,
|
720
|
+
:provisioned_model_name,
|
721
|
+
:provisioned_model_arn,
|
722
|
+
:model_arn,
|
723
|
+
:desired_model_arn,
|
724
|
+
:foundation_model_arn,
|
725
|
+
:status,
|
726
|
+
:creation_time,
|
727
|
+
:last_modified_time,
|
728
|
+
:failure_message,
|
729
|
+
:commitment_duration,
|
730
|
+
:commitment_expiration_time)
|
731
|
+
SENSITIVE = []
|
732
|
+
include Aws::Structure
|
733
|
+
end
|
734
|
+
|
575
735
|
# An internal server error occurred. Retry your request.
|
576
736
|
#
|
577
737
|
# @!attribute [rw] message
|
@@ -585,18 +745,22 @@ module Aws::Bedrock
|
|
585
745
|
include Aws::Structure
|
586
746
|
end
|
587
747
|
|
588
|
-
# @!attribute [rw]
|
589
|
-
# Return custom models
|
590
|
-
#
|
591
|
-
# @return [String]
|
748
|
+
# @!attribute [rw] creation_time_before
|
749
|
+
# Return custom models created before the specified time.
|
750
|
+
# @return [Time]
|
592
751
|
#
|
593
752
|
# @!attribute [rw] creation_time_after
|
594
753
|
# Return custom models created after the specified time.
|
595
754
|
# @return [Time]
|
596
755
|
#
|
597
|
-
# @!attribute [rw]
|
598
|
-
# Return custom models
|
599
|
-
# @return [
|
756
|
+
# @!attribute [rw] name_contains
|
757
|
+
# Return custom models only if the job name contains these characters.
|
758
|
+
# @return [String]
|
759
|
+
#
|
760
|
+
# @!attribute [rw] base_model_arn_equals
|
761
|
+
# Return custom models only if the base model ARN matches this
|
762
|
+
# parameter.
|
763
|
+
# @return [String]
|
600
764
|
#
|
601
765
|
# @!attribute [rw] foundation_model_arn_equals
|
602
766
|
# Return custom models only if the foundation model ARN matches this
|
@@ -607,10 +771,6 @@ module Aws::Bedrock
|
|
607
771
|
# Maximum number of results to return in the response.
|
608
772
|
# @return [Integer]
|
609
773
|
#
|
610
|
-
# @!attribute [rw] name_contains
|
611
|
-
# Return custom models only if the job name contains these characters.
|
612
|
-
# @return [String]
|
613
|
-
#
|
614
774
|
# @!attribute [rw] next_token
|
615
775
|
# Continuation token from the previous response, for Bedrock to list
|
616
776
|
# the next set of results.
|
@@ -627,12 +787,12 @@ module Aws::Bedrock
|
|
627
787
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListCustomModelsRequest AWS API Documentation
|
628
788
|
#
|
629
789
|
class ListCustomModelsRequest < Struct.new(
|
630
|
-
:base_model_arn_equals,
|
631
|
-
:creation_time_after,
|
632
790
|
:creation_time_before,
|
791
|
+
:creation_time_after,
|
792
|
+
:name_contains,
|
793
|
+
:base_model_arn_equals,
|
633
794
|
:foundation_model_arn_equals,
|
634
795
|
:max_results,
|
635
|
-
:name_contains,
|
636
796
|
:next_token,
|
637
797
|
:sort_by,
|
638
798
|
:sort_order)
|
@@ -640,47 +800,47 @@ module Aws::Bedrock
|
|
640
800
|
include Aws::Structure
|
641
801
|
end
|
642
802
|
|
643
|
-
# @!attribute [rw] model_summaries
|
644
|
-
# Model summaries.
|
645
|
-
# @return [Array<Types::CustomModelSummary>]
|
646
|
-
#
|
647
803
|
# @!attribute [rw] next_token
|
648
804
|
# Continuation token for the next request to list the next set of
|
649
805
|
# results.
|
650
806
|
# @return [String]
|
651
807
|
#
|
808
|
+
# @!attribute [rw] model_summaries
|
809
|
+
# Model summaries.
|
810
|
+
# @return [Array<Types::CustomModelSummary>]
|
811
|
+
#
|
652
812
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListCustomModelsResponse AWS API Documentation
|
653
813
|
#
|
654
814
|
class ListCustomModelsResponse < Struct.new(
|
655
|
-
:
|
656
|
-
:
|
815
|
+
:next_token,
|
816
|
+
:model_summaries)
|
657
817
|
SENSITIVE = []
|
658
818
|
include Aws::Structure
|
659
819
|
end
|
660
820
|
|
661
|
-
# @!attribute [rw]
|
662
|
-
#
|
821
|
+
# @!attribute [rw] by_provider
|
822
|
+
# A Bedrock model provider.
|
663
823
|
# @return [String]
|
664
824
|
#
|
665
|
-
# @!attribute [rw]
|
666
|
-
# List by
|
825
|
+
# @!attribute [rw] by_customization_type
|
826
|
+
# List by customization type.
|
667
827
|
# @return [String]
|
668
828
|
#
|
669
829
|
# @!attribute [rw] by_output_modality
|
670
830
|
# List by output modality type.
|
671
831
|
# @return [String]
|
672
832
|
#
|
673
|
-
# @!attribute [rw]
|
674
|
-
#
|
833
|
+
# @!attribute [rw] by_inference_type
|
834
|
+
# List by inference type.
|
675
835
|
# @return [String]
|
676
836
|
#
|
677
837
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListFoundationModelsRequest AWS API Documentation
|
678
838
|
#
|
679
839
|
class ListFoundationModelsRequest < Struct.new(
|
840
|
+
:by_provider,
|
680
841
|
:by_customization_type,
|
681
|
-
:by_inference_type,
|
682
842
|
:by_output_modality,
|
683
|
-
:
|
843
|
+
:by_inference_type)
|
684
844
|
SENSITIVE = []
|
685
845
|
include Aws::Structure
|
686
846
|
end
|
@@ -705,15 +865,19 @@ module Aws::Bedrock
|
|
705
865
|
# Return customization jobs created before the specified time.
|
706
866
|
# @return [Time]
|
707
867
|
#
|
708
|
-
# @!attribute [rw]
|
709
|
-
#
|
710
|
-
# @return [
|
868
|
+
# @!attribute [rw] status_equals
|
869
|
+
# Return customization jobs with the specified status.
|
870
|
+
# @return [String]
|
711
871
|
#
|
712
872
|
# @!attribute [rw] name_contains
|
713
873
|
# Return customization jobs only if the job name contains these
|
714
874
|
# characters.
|
715
875
|
# @return [String]
|
716
876
|
#
|
877
|
+
# @!attribute [rw] max_results
|
878
|
+
# Maximum number of results to return in the response.
|
879
|
+
# @return [Integer]
|
880
|
+
#
|
717
881
|
# @!attribute [rw] next_token
|
718
882
|
# Continuation token from the previous response, for Bedrock to list
|
719
883
|
# the next set of results.
|
@@ -727,38 +891,109 @@ module Aws::Bedrock
|
|
727
891
|
# The sort order of the results.
|
728
892
|
# @return [String]
|
729
893
|
#
|
730
|
-
# @!attribute [rw] status_equals
|
731
|
-
# Return customization jobs with the specified status.
|
732
|
-
# @return [String]
|
733
|
-
#
|
734
894
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelCustomizationJobsRequest AWS API Documentation
|
735
895
|
#
|
736
896
|
class ListModelCustomizationJobsRequest < Struct.new(
|
737
897
|
:creation_time_after,
|
738
898
|
:creation_time_before,
|
739
|
-
:
|
899
|
+
:status_equals,
|
740
900
|
:name_contains,
|
901
|
+
:max_results,
|
741
902
|
:next_token,
|
742
903
|
:sort_by,
|
743
|
-
:sort_order
|
744
|
-
:status_equals)
|
904
|
+
:sort_order)
|
745
905
|
SENSITIVE = []
|
746
906
|
include Aws::Structure
|
747
907
|
end
|
748
908
|
|
909
|
+
# @!attribute [rw] next_token
|
910
|
+
# Page continuation token to use in the next request.
|
911
|
+
# @return [String]
|
912
|
+
#
|
749
913
|
# @!attribute [rw] model_customization_job_summaries
|
750
914
|
# Job summaries.
|
751
915
|
# @return [Array<Types::ModelCustomizationJobSummary>]
|
752
916
|
#
|
917
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelCustomizationJobsResponse AWS API Documentation
|
918
|
+
#
|
919
|
+
class ListModelCustomizationJobsResponse < Struct.new(
|
920
|
+
:next_token,
|
921
|
+
:model_customization_job_summaries)
|
922
|
+
SENSITIVE = []
|
923
|
+
include Aws::Structure
|
924
|
+
end
|
925
|
+
|
926
|
+
# @!attribute [rw] creation_time_after
|
927
|
+
# Return provisioned capacities created after the specified time.
|
928
|
+
# @return [Time]
|
929
|
+
#
|
930
|
+
# @!attribute [rw] creation_time_before
|
931
|
+
# Return provisioned capacities created before the specified time.
|
932
|
+
# @return [Time]
|
933
|
+
#
|
934
|
+
# @!attribute [rw] status_equals
|
935
|
+
# Return the list of provisioned capacities that match the specified
|
936
|
+
# status.
|
937
|
+
# @return [String]
|
938
|
+
#
|
939
|
+
# @!attribute [rw] model_arn_equals
|
940
|
+
# Return the list of provisioned capacities where their model ARN is
|
941
|
+
# equal to this parameter.
|
942
|
+
# @return [String]
|
943
|
+
#
|
944
|
+
# @!attribute [rw] name_contains
|
945
|
+
# Return the list of provisioned capacities if their name contains
|
946
|
+
# these characters.
|
947
|
+
# @return [String]
|
948
|
+
#
|
949
|
+
# @!attribute [rw] max_results
|
950
|
+
# THe maximum number of results to return in the response.
|
951
|
+
# @return [Integer]
|
952
|
+
#
|
753
953
|
# @!attribute [rw] next_token
|
754
|
-
#
|
954
|
+
# Continuation token from the previous response, for Bedrock to list
|
955
|
+
# the next set of results.
|
755
956
|
# @return [String]
|
756
957
|
#
|
757
|
-
#
|
958
|
+
# @!attribute [rw] sort_by
|
959
|
+
# The field to sort by in the returned list of provisioned capacities.
|
960
|
+
# @return [String]
|
758
961
|
#
|
759
|
-
|
760
|
-
|
761
|
-
|
962
|
+
# @!attribute [rw] sort_order
|
963
|
+
# The sort order of the results.
|
964
|
+
# @return [String]
|
965
|
+
#
|
966
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListProvisionedModelThroughputsRequest AWS API Documentation
|
967
|
+
#
|
968
|
+
class ListProvisionedModelThroughputsRequest < Struct.new(
|
969
|
+
:creation_time_after,
|
970
|
+
:creation_time_before,
|
971
|
+
:status_equals,
|
972
|
+
:model_arn_equals,
|
973
|
+
:name_contains,
|
974
|
+
:max_results,
|
975
|
+
:next_token,
|
976
|
+
:sort_by,
|
977
|
+
:sort_order)
|
978
|
+
SENSITIVE = []
|
979
|
+
include Aws::Structure
|
980
|
+
end
|
981
|
+
|
982
|
+
# @!attribute [rw] next_token
|
983
|
+
# Continuation token for the next request to list the next set of
|
984
|
+
# results.
|
985
|
+
# @return [String]
|
986
|
+
#
|
987
|
+
# @!attribute [rw] provisioned_model_summaries
|
988
|
+
# List of summaries, one for each provisioned throughput in the
|
989
|
+
# response.
|
990
|
+
# @return [Array<Types::ProvisionedModelSummary>]
|
991
|
+
#
|
992
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListProvisionedModelThroughputsResponse AWS API Documentation
|
993
|
+
#
|
994
|
+
class ListProvisionedModelThroughputsResponse < Struct.new(
|
995
|
+
:next_token,
|
996
|
+
:provisioned_model_summaries)
|
762
997
|
SENSITIVE = []
|
763
998
|
include Aws::Structure
|
764
999
|
end
|
@@ -793,14 +1028,6 @@ module Aws::Bedrock
|
|
793
1028
|
# CloudWatch logging configuration.
|
794
1029
|
# @return [Types::CloudWatchConfig]
|
795
1030
|
#
|
796
|
-
# @!attribute [rw] embedding_data_delivery_enabled
|
797
|
-
# Set to include embeddings data in the log delivery.
|
798
|
-
# @return [Boolean]
|
799
|
-
#
|
800
|
-
# @!attribute [rw] image_data_delivery_enabled
|
801
|
-
# Set to include image data in the log delivery.
|
802
|
-
# @return [Boolean]
|
803
|
-
#
|
804
1031
|
# @!attribute [rw] s3_config
|
805
1032
|
# S3 configuration for storing log data.
|
806
1033
|
# @return [Types::S3Config]
|
@@ -809,68 +1036,76 @@ module Aws::Bedrock
|
|
809
1036
|
# Set to include text data in the log delivery.
|
810
1037
|
# @return [Boolean]
|
811
1038
|
#
|
1039
|
+
# @!attribute [rw] image_data_delivery_enabled
|
1040
|
+
# Set to include image data in the log delivery.
|
1041
|
+
# @return [Boolean]
|
1042
|
+
#
|
1043
|
+
# @!attribute [rw] embedding_data_delivery_enabled
|
1044
|
+
# Set to include embeddings data in the log delivery.
|
1045
|
+
# @return [Boolean]
|
1046
|
+
#
|
812
1047
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/LoggingConfig AWS API Documentation
|
813
1048
|
#
|
814
1049
|
class LoggingConfig < Struct.new(
|
815
1050
|
:cloud_watch_config,
|
816
|
-
:embedding_data_delivery_enabled,
|
817
|
-
:image_data_delivery_enabled,
|
818
1051
|
:s3_config,
|
819
|
-
:text_data_delivery_enabled
|
1052
|
+
:text_data_delivery_enabled,
|
1053
|
+
:image_data_delivery_enabled,
|
1054
|
+
:embedding_data_delivery_enabled)
|
820
1055
|
SENSITIVE = []
|
821
1056
|
include Aws::Structure
|
822
1057
|
end
|
823
1058
|
|
824
1059
|
# Information about one customization job
|
825
1060
|
#
|
1061
|
+
# @!attribute [rw] job_arn
|
1062
|
+
# ARN of the customization job.
|
1063
|
+
# @return [String]
|
1064
|
+
#
|
826
1065
|
# @!attribute [rw] base_model_arn
|
827
1066
|
# ARN of the base model.
|
828
1067
|
# @return [String]
|
829
1068
|
#
|
830
|
-
# @!attribute [rw]
|
831
|
-
#
|
832
|
-
# @return [Time]
|
833
|
-
#
|
834
|
-
# @!attribute [rw] custom_model_arn
|
835
|
-
# ARN of the custom model.
|
1069
|
+
# @!attribute [rw] job_name
|
1070
|
+
# Name of the customization job.
|
836
1071
|
# @return [String]
|
837
1072
|
#
|
838
|
-
# @!attribute [rw]
|
839
|
-
#
|
1073
|
+
# @!attribute [rw] status
|
1074
|
+
# Status of the customization job.
|
840
1075
|
# @return [String]
|
841
1076
|
#
|
1077
|
+
# @!attribute [rw] last_modified_time
|
1078
|
+
# Time that the customization job was last modified.
|
1079
|
+
# @return [Time]
|
1080
|
+
#
|
1081
|
+
# @!attribute [rw] creation_time
|
1082
|
+
# Creation time of the custom model.
|
1083
|
+
# @return [Time]
|
1084
|
+
#
|
842
1085
|
# @!attribute [rw] end_time
|
843
1086
|
# Time that the customization job ended.
|
844
1087
|
# @return [Time]
|
845
1088
|
#
|
846
|
-
# @!attribute [rw]
|
847
|
-
# ARN of the
|
848
|
-
# @return [String]
|
849
|
-
#
|
850
|
-
# @!attribute [rw] job_name
|
851
|
-
# Name of the customization job.
|
1089
|
+
# @!attribute [rw] custom_model_arn
|
1090
|
+
# ARN of the custom model.
|
852
1091
|
# @return [String]
|
853
1092
|
#
|
854
|
-
# @!attribute [rw]
|
855
|
-
#
|
856
|
-
# @return [Time]
|
857
|
-
#
|
858
|
-
# @!attribute [rw] status
|
859
|
-
# Status of the customization job.
|
1093
|
+
# @!attribute [rw] custom_model_name
|
1094
|
+
# Name of the custom model.
|
860
1095
|
# @return [String]
|
861
1096
|
#
|
862
1097
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelCustomizationJobSummary AWS API Documentation
|
863
1098
|
#
|
864
1099
|
class ModelCustomizationJobSummary < Struct.new(
|
865
|
-
:base_model_arn,
|
866
|
-
:creation_time,
|
867
|
-
:custom_model_arn,
|
868
|
-
:custom_model_name,
|
869
|
-
:end_time,
|
870
1100
|
:job_arn,
|
1101
|
+
:base_model_arn,
|
871
1102
|
:job_name,
|
1103
|
+
:status,
|
872
1104
|
:last_modified_time,
|
873
|
-
:
|
1105
|
+
:creation_time,
|
1106
|
+
:end_time,
|
1107
|
+
:custom_model_arn,
|
1108
|
+
:custom_model_name)
|
874
1109
|
SENSITIVE = []
|
875
1110
|
include Aws::Structure
|
876
1111
|
end
|
@@ -889,6 +1124,75 @@ module Aws::Bedrock
|
|
889
1124
|
include Aws::Structure
|
890
1125
|
end
|
891
1126
|
|
1127
|
+
# Set of fields associated with a provisioned throughput.
|
1128
|
+
#
|
1129
|
+
# @!attribute [rw] provisioned_model_name
|
1130
|
+
# The name of the provisioned throughput.
|
1131
|
+
# @return [String]
|
1132
|
+
#
|
1133
|
+
# @!attribute [rw] provisioned_model_arn
|
1134
|
+
# The ARN of the provisioned throughput.
|
1135
|
+
# @return [String]
|
1136
|
+
#
|
1137
|
+
# @!attribute [rw] model_arn
|
1138
|
+
# The ARN of the model associated with this provisioned throughput.
|
1139
|
+
# @return [String]
|
1140
|
+
#
|
1141
|
+
# @!attribute [rw] desired_model_arn
|
1142
|
+
# Desired model ARN.
|
1143
|
+
# @return [String]
|
1144
|
+
#
|
1145
|
+
# @!attribute [rw] foundation_model_arn
|
1146
|
+
# Foundation model ARN.
|
1147
|
+
# @return [String]
|
1148
|
+
#
|
1149
|
+
# @!attribute [rw] model_units
|
1150
|
+
# The number of model units allocated.
|
1151
|
+
# @return [Integer]
|
1152
|
+
#
|
1153
|
+
# @!attribute [rw] desired_model_units
|
1154
|
+
# Desired model units.
|
1155
|
+
# @return [Integer]
|
1156
|
+
#
|
1157
|
+
# @!attribute [rw] status
|
1158
|
+
# Status of the provisioned throughput.
|
1159
|
+
# @return [String]
|
1160
|
+
#
|
1161
|
+
# @!attribute [rw] commitment_duration
|
1162
|
+
# Commitment duration for the provisioned throughput.
|
1163
|
+
# @return [String]
|
1164
|
+
#
|
1165
|
+
# @!attribute [rw] commitment_expiration_time
|
1166
|
+
# Commitment expiration time for the provisioned throughput.
|
1167
|
+
# @return [Time]
|
1168
|
+
#
|
1169
|
+
# @!attribute [rw] creation_time
|
1170
|
+
# The time that this provisioned throughput was created.
|
1171
|
+
# @return [Time]
|
1172
|
+
#
|
1173
|
+
# @!attribute [rw] last_modified_time
|
1174
|
+
# The time that this provisioned throughput was last modified.
|
1175
|
+
# @return [Time]
|
1176
|
+
#
|
1177
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ProvisionedModelSummary AWS API Documentation
|
1178
|
+
#
|
1179
|
+
class ProvisionedModelSummary < Struct.new(
|
1180
|
+
:provisioned_model_name,
|
1181
|
+
:provisioned_model_arn,
|
1182
|
+
:model_arn,
|
1183
|
+
:desired_model_arn,
|
1184
|
+
:foundation_model_arn,
|
1185
|
+
:model_units,
|
1186
|
+
:desired_model_units,
|
1187
|
+
:status,
|
1188
|
+
:commitment_duration,
|
1189
|
+
:commitment_expiration_time,
|
1190
|
+
:creation_time,
|
1191
|
+
:last_modified_time)
|
1192
|
+
SENSITIVE = []
|
1193
|
+
include Aws::Structure
|
1194
|
+
end
|
1195
|
+
|
892
1196
|
# @!attribute [rw] logging_config
|
893
1197
|
# The logging configuration values to set.
|
894
1198
|
# @return [Types::LoggingConfig]
|
@@ -1090,6 +1394,33 @@ module Aws::Bedrock
|
|
1090
1394
|
#
|
1091
1395
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1092
1396
|
|
1397
|
+
# @!attribute [rw] provisioned_model_id
|
1398
|
+
# The ARN or name of the provisioned throughput to update.
|
1399
|
+
# @return [String]
|
1400
|
+
#
|
1401
|
+
# @!attribute [rw] desired_provisioned_model_name
|
1402
|
+
# The new name for this provisioned throughput.
|
1403
|
+
# @return [String]
|
1404
|
+
#
|
1405
|
+
# @!attribute [rw] desired_model_id
|
1406
|
+
# The ARN of the new model to associate with this provisioned
|
1407
|
+
# throughput.
|
1408
|
+
# @return [String]
|
1409
|
+
#
|
1410
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateProvisionedModelThroughputRequest AWS API Documentation
|
1411
|
+
#
|
1412
|
+
class UpdateProvisionedModelThroughputRequest < Struct.new(
|
1413
|
+
:provisioned_model_id,
|
1414
|
+
:desired_provisioned_model_name,
|
1415
|
+
:desired_model_id)
|
1416
|
+
SENSITIVE = []
|
1417
|
+
include Aws::Structure
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/UpdateProvisionedModelThroughputResponse AWS API Documentation
|
1421
|
+
#
|
1422
|
+
class UpdateProvisionedModelThroughputResponse < Aws::EmptyStructure; end
|
1423
|
+
|
1093
1424
|
# Array of up to 10 validators.
|
1094
1425
|
#
|
1095
1426
|
# @!attribute [rw] validators
|
@@ -1148,19 +1479,19 @@ module Aws::Bedrock
|
|
1148
1479
|
|
1149
1480
|
# VPC configuration.
|
1150
1481
|
#
|
1151
|
-
# @!attribute [rw] security_group_ids
|
1152
|
-
# VPC configuration security group Ids.
|
1153
|
-
# @return [Array<String>]
|
1154
|
-
#
|
1155
1482
|
# @!attribute [rw] subnet_ids
|
1156
1483
|
# VPC configuration subnets.
|
1157
1484
|
# @return [Array<String>]
|
1158
1485
|
#
|
1486
|
+
# @!attribute [rw] security_group_ids
|
1487
|
+
# VPC configuration security group Ids.
|
1488
|
+
# @return [Array<String>]
|
1489
|
+
#
|
1159
1490
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/VpcConfig AWS API Documentation
|
1160
1491
|
#
|
1161
1492
|
class VpcConfig < Struct.new(
|
1162
|
-
:
|
1163
|
-
:
|
1493
|
+
:subnet_ids,
|
1494
|
+
:security_group_ids)
|
1164
1495
|
SENSITIVE = []
|
1165
1496
|
include Aws::Structure
|
1166
1497
|
end
|