aws-sdk-bedrock 1.42.0 → 1.43.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +20 -1
- data/lib/aws-sdk-bedrock/client_api.rb +27 -0
- data/lib/aws-sdk-bedrock/types.rb +124 -1
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/types.rbs +30 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da9a4a3137989ff07b7c213ab481e7a6924fc5cd98a1fdd5d26a273a22be805f
|
4
|
+
data.tar.gz: d6dbdd7f05ca3baf18e28aeac824c18a26bc1702ecd1384221cd7c29a224e96b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c74851d78a6fdbad7a190ad2632416cadd2bd75fe640430fc3b421c1e3a0f3cb3fda727a1bb3d0fe3f8a319c057f7f0fde77dd8b5bbcf6af21b3713299d7466e
|
7
|
+
data.tar.gz: 5986afdb2816cbd7f36df64e6e42b13ca1bea2ffb28ee043bc3517884aacf13592107d46d76dc230f6280ee4bc596452e548e30c510f629b3933c228ba87c69b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.43.0 (2025-04-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - You can now specify a cross region inference profile as a teacher model for the CreateModelCustomizationJob API. Additionally, the GetModelCustomizationJob API has been enhanced to return the sub-task statuses of a customization job within the StatusDetails response field.
|
8
|
+
|
4
9
|
1.42.0 (2025-04-17)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
@@ -2915,6 +2915,7 @@ module Aws::Bedrock
|
|
2915
2915
|
# * {Types::GetModelCustomizationJobResponse#role_arn #role_arn} => String
|
2916
2916
|
# * {Types::GetModelCustomizationJobResponse#status #status} => String
|
2917
2917
|
# * {Types::GetModelCustomizationJobResponse#failure_message #failure_message} => String
|
2918
|
+
# * {Types::GetModelCustomizationJobResponse#status_details #status_details} => Types::StatusDetails
|
2918
2919
|
# * {Types::GetModelCustomizationJobResponse#creation_time #creation_time} => Time
|
2919
2920
|
# * {Types::GetModelCustomizationJobResponse#last_modified_time #last_modified_time} => Time
|
2920
2921
|
# * {Types::GetModelCustomizationJobResponse#end_time #end_time} => Time
|
@@ -2946,6 +2947,15 @@ module Aws::Bedrock
|
|
2946
2947
|
# resp.role_arn #=> String
|
2947
2948
|
# resp.status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
|
2948
2949
|
# resp.failure_message #=> String
|
2950
|
+
# resp.status_details.validation_details.status #=> String, one of "InProgress", "Completed", "Stopping", "Stopped", "Failed", "NotStarted"
|
2951
|
+
# resp.status_details.validation_details.creation_time #=> Time
|
2952
|
+
# resp.status_details.validation_details.last_modified_time #=> Time
|
2953
|
+
# resp.status_details.data_processing_details.status #=> String, one of "InProgress", "Completed", "Stopping", "Stopped", "Failed", "NotStarted"
|
2954
|
+
# resp.status_details.data_processing_details.creation_time #=> Time
|
2955
|
+
# resp.status_details.data_processing_details.last_modified_time #=> Time
|
2956
|
+
# resp.status_details.training_details.status #=> String, one of "InProgress", "Completed", "Stopping", "Stopped", "Failed", "NotStarted"
|
2957
|
+
# resp.status_details.training_details.creation_time #=> Time
|
2958
|
+
# resp.status_details.training_details.last_modified_time #=> Time
|
2949
2959
|
# resp.creation_time #=> Time
|
2950
2960
|
# resp.last_modified_time #=> Time
|
2951
2961
|
# resp.end_time #=> Time
|
@@ -3943,6 +3953,15 @@ module Aws::Bedrock
|
|
3943
3953
|
# resp.model_customization_job_summaries[0].job_name #=> String
|
3944
3954
|
# resp.model_customization_job_summaries[0].status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped"
|
3945
3955
|
# resp.model_customization_job_summaries[0].last_modified_time #=> Time
|
3956
|
+
# resp.model_customization_job_summaries[0].status_details.validation_details.status #=> String, one of "InProgress", "Completed", "Stopping", "Stopped", "Failed", "NotStarted"
|
3957
|
+
# resp.model_customization_job_summaries[0].status_details.validation_details.creation_time #=> Time
|
3958
|
+
# resp.model_customization_job_summaries[0].status_details.validation_details.last_modified_time #=> Time
|
3959
|
+
# resp.model_customization_job_summaries[0].status_details.data_processing_details.status #=> String, one of "InProgress", "Completed", "Stopping", "Stopped", "Failed", "NotStarted"
|
3960
|
+
# resp.model_customization_job_summaries[0].status_details.data_processing_details.creation_time #=> Time
|
3961
|
+
# resp.model_customization_job_summaries[0].status_details.data_processing_details.last_modified_time #=> Time
|
3962
|
+
# resp.model_customization_job_summaries[0].status_details.training_details.status #=> String, one of "InProgress", "Completed", "Stopping", "Stopped", "Failed", "NotStarted"
|
3963
|
+
# resp.model_customization_job_summaries[0].status_details.training_details.creation_time #=> Time
|
3964
|
+
# resp.model_customization_job_summaries[0].status_details.training_details.last_modified_time #=> Time
|
3946
3965
|
# resp.model_customization_job_summaries[0].creation_time #=> Time
|
3947
3966
|
# resp.model_customization_job_summaries[0].end_time #=> Time
|
3948
3967
|
# resp.model_customization_job_summaries[0].custom_model_arn #=> String
|
@@ -4932,7 +4951,7 @@ module Aws::Bedrock
|
|
4932
4951
|
tracer: tracer
|
4933
4952
|
)
|
4934
4953
|
context[:gem_name] = 'aws-sdk-bedrock'
|
4935
|
-
context[:gem_version] = '1.
|
4954
|
+
context[:gem_version] = '1.43.0'
|
4936
4955
|
Seahorse::Client::Request.new(handlers, context)
|
4937
4956
|
end
|
4938
4957
|
|
@@ -81,6 +81,7 @@ module Aws::Bedrock
|
|
81
81
|
CustomModelUnitsVersion = Shapes::StringShape.new(name: 'CustomModelUnitsVersion')
|
82
82
|
CustomizationConfig = Shapes::UnionShape.new(name: 'CustomizationConfig')
|
83
83
|
CustomizationType = Shapes::StringShape.new(name: 'CustomizationType')
|
84
|
+
DataProcessingDetails = Shapes::StructureShape.new(name: 'DataProcessingDetails')
|
84
85
|
DeleteCustomModelRequest = Shapes::StructureShape.new(name: 'DeleteCustomModelRequest')
|
85
86
|
DeleteCustomModelResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelResponse')
|
86
87
|
DeleteGuardrailRequest = Shapes::StructureShape.new(name: 'DeleteGuardrailRequest')
|
@@ -312,6 +313,7 @@ module Aws::Bedrock
|
|
312
313
|
InvocationLogSource = Shapes::UnionShape.new(name: 'InvocationLogSource')
|
313
314
|
InvocationLogsConfig = Shapes::StructureShape.new(name: 'InvocationLogsConfig')
|
314
315
|
JobName = Shapes::StringShape.new(name: 'JobName')
|
316
|
+
JobStatusDetails = Shapes::StringShape.new(name: 'JobStatusDetails')
|
315
317
|
KbInferenceConfig = Shapes::StructureShape.new(name: 'KbInferenceConfig')
|
316
318
|
KeyPrefix = Shapes::StringShape.new(name: 'KeyPrefix')
|
317
319
|
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
@@ -470,6 +472,7 @@ module Aws::Bedrock
|
|
470
472
|
SortModelsBy = Shapes::StringShape.new(name: 'SortModelsBy')
|
471
473
|
SortOrder = Shapes::StringShape.new(name: 'SortOrder')
|
472
474
|
Status = Shapes::StringShape.new(name: 'Status')
|
475
|
+
StatusDetails = Shapes::StructureShape.new(name: 'StatusDetails')
|
473
476
|
StopEvaluationJobRequest = Shapes::StructureShape.new(name: 'StopEvaluationJobRequest')
|
474
477
|
StopEvaluationJobResponse = Shapes::StructureShape.new(name: 'StopEvaluationJobResponse')
|
475
478
|
StopModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'StopModelCustomizationJobRequest')
|
@@ -497,6 +500,7 @@ module Aws::Bedrock
|
|
497
500
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
498
501
|
TopP = Shapes::FloatShape.new(name: 'TopP')
|
499
502
|
TrainingDataConfig = Shapes::StructureShape.new(name: 'TrainingDataConfig')
|
503
|
+
TrainingDetails = Shapes::StructureShape.new(name: 'TrainingDetails')
|
500
504
|
TrainingMetrics = Shapes::StructureShape.new(name: 'TrainingMetrics')
|
501
505
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
502
506
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
@@ -508,6 +512,7 @@ module Aws::Bedrock
|
|
508
512
|
UpdateProvisionedModelThroughputResponse = Shapes::StructureShape.new(name: 'UpdateProvisionedModelThroughputResponse')
|
509
513
|
UsePromptResponse = Shapes::BooleanShape.new(name: 'UsePromptResponse')
|
510
514
|
ValidationDataConfig = Shapes::StructureShape.new(name: 'ValidationDataConfig')
|
515
|
+
ValidationDetails = Shapes::StructureShape.new(name: 'ValidationDetails')
|
511
516
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
512
517
|
ValidationMetrics = Shapes::ListShape.new(name: 'ValidationMetrics')
|
513
518
|
Validator = Shapes::StructureShape.new(name: 'Validator')
|
@@ -758,6 +763,11 @@ module Aws::Bedrock
|
|
758
763
|
CustomizationConfig.add_member_subclass(:unknown, Types::CustomizationConfig::Unknown)
|
759
764
|
CustomizationConfig.struct_class = Types::CustomizationConfig
|
760
765
|
|
766
|
+
DataProcessingDetails.add_member(:status, Shapes::ShapeRef.new(shape: JobStatusDetails, location_name: "status"))
|
767
|
+
DataProcessingDetails.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
768
|
+
DataProcessingDetails.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
769
|
+
DataProcessingDetails.struct_class = Types::DataProcessingDetails
|
770
|
+
|
761
771
|
DeleteCustomModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
|
762
772
|
DeleteCustomModelRequest.struct_class = Types::DeleteCustomModelRequest
|
763
773
|
|
@@ -1120,6 +1130,7 @@ module Aws::Bedrock
|
|
1120
1130
|
GetModelCustomizationJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
1121
1131
|
GetModelCustomizationJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: ModelCustomizationJobStatus, location_name: "status"))
|
1122
1132
|
GetModelCustomizationJobResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
|
1133
|
+
GetModelCustomizationJobResponse.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "statusDetails"))
|
1123
1134
|
GetModelCustomizationJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
1124
1135
|
GetModelCustomizationJobResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
1125
1136
|
GetModelCustomizationJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
@@ -1729,6 +1740,7 @@ module Aws::Bedrock
|
|
1729
1740
|
ModelCustomizationJobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: JobName, required: true, location_name: "jobName"))
|
1730
1741
|
ModelCustomizationJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: ModelCustomizationJobStatus, required: true, location_name: "status"))
|
1731
1742
|
ModelCustomizationJobSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
1743
|
+
ModelCustomizationJobSummary.add_member(:status_details, Shapes::ShapeRef.new(shape: StatusDetails, location_name: "statusDetails"))
|
1732
1744
|
ModelCustomizationJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
1733
1745
|
ModelCustomizationJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
1734
1746
|
ModelCustomizationJobSummary.add_member(:custom_model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, location_name: "customModelArn"))
|
@@ -1980,6 +1992,11 @@ module Aws::Bedrock
|
|
1980
1992
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
1981
1993
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
1982
1994
|
|
1995
|
+
StatusDetails.add_member(:validation_details, Shapes::ShapeRef.new(shape: ValidationDetails, location_name: "validationDetails"))
|
1996
|
+
StatusDetails.add_member(:data_processing_details, Shapes::ShapeRef.new(shape: DataProcessingDetails, location_name: "dataProcessingDetails"))
|
1997
|
+
StatusDetails.add_member(:training_details, Shapes::ShapeRef.new(shape: TrainingDetails, location_name: "trainingDetails"))
|
1998
|
+
StatusDetails.struct_class = Types::StatusDetails
|
1999
|
+
|
1983
2000
|
StopEvaluationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: EvaluationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
|
1984
2001
|
StopEvaluationJobRequest.struct_class = Types::StopEvaluationJobRequest
|
1985
2002
|
|
@@ -2032,6 +2049,11 @@ module Aws::Bedrock
|
|
2032
2049
|
TrainingDataConfig.add_member(:invocation_logs_config, Shapes::ShapeRef.new(shape: InvocationLogsConfig, location_name: "invocationLogsConfig"))
|
2033
2050
|
TrainingDataConfig.struct_class = Types::TrainingDataConfig
|
2034
2051
|
|
2052
|
+
TrainingDetails.add_member(:status, Shapes::ShapeRef.new(shape: JobStatusDetails, location_name: "status"))
|
2053
|
+
TrainingDetails.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
2054
|
+
TrainingDetails.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
2055
|
+
TrainingDetails.struct_class = Types::TrainingDetails
|
2056
|
+
|
2035
2057
|
TrainingMetrics.add_member(:training_loss, Shapes::ShapeRef.new(shape: MetricFloat, location_name: "trainingLoss"))
|
2036
2058
|
TrainingMetrics.struct_class = Types::TrainingMetrics
|
2037
2059
|
|
@@ -2078,6 +2100,11 @@ module Aws::Bedrock
|
|
2078
2100
|
ValidationDataConfig.add_member(:validators, Shapes::ShapeRef.new(shape: Validators, required: true, location_name: "validators"))
|
2079
2101
|
ValidationDataConfig.struct_class = Types::ValidationDataConfig
|
2080
2102
|
|
2103
|
+
ValidationDetails.add_member(:status, Shapes::ShapeRef.new(shape: JobStatusDetails, location_name: "status"))
|
2104
|
+
ValidationDetails.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
2105
|
+
ValidationDetails.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
|
2106
|
+
ValidationDetails.struct_class = Types::ValidationDetails
|
2107
|
+
|
2081
2108
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
2082
2109
|
ValidationException.struct_class = Types::ValidationException
|
2083
2110
|
|
@@ -1337,7 +1337,7 @@ module Aws::Bedrock
|
|
1337
1337
|
# @note CustomizationConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CustomizationConfig corresponding to the set member.
|
1338
1338
|
#
|
1339
1339
|
# @!attribute [rw] distillation_config
|
1340
|
-
# The
|
1340
|
+
# The Distillation configuration for the custom model.
|
1341
1341
|
# @return [Types::DistillationConfig]
|
1342
1342
|
#
|
1343
1343
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CustomizationConfig AWS API Documentation
|
@@ -1353,6 +1353,31 @@ module Aws::Bedrock
|
|
1353
1353
|
class Unknown < CustomizationConfig; end
|
1354
1354
|
end
|
1355
1355
|
|
1356
|
+
# For a Distillation job, the status details for the data processing
|
1357
|
+
# sub-task of the job.
|
1358
|
+
#
|
1359
|
+
# @!attribute [rw] status
|
1360
|
+
# The status of the data processing sub-task of the job.
|
1361
|
+
# @return [String]
|
1362
|
+
#
|
1363
|
+
# @!attribute [rw] creation_time
|
1364
|
+
# The start time of the data processing sub-task of the job.
|
1365
|
+
# @return [Time]
|
1366
|
+
#
|
1367
|
+
# @!attribute [rw] last_modified_time
|
1368
|
+
# The latest update to the data processing sub-task of the job.
|
1369
|
+
# @return [Time]
|
1370
|
+
#
|
1371
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DataProcessingDetails AWS API Documentation
|
1372
|
+
#
|
1373
|
+
class DataProcessingDetails < Struct.new(
|
1374
|
+
:status,
|
1375
|
+
:creation_time,
|
1376
|
+
:last_modified_time)
|
1377
|
+
SENSITIVE = []
|
1378
|
+
include Aws::Structure
|
1379
|
+
end
|
1380
|
+
|
1356
1381
|
# @!attribute [rw] model_identifier
|
1357
1382
|
# Name of the model to delete.
|
1358
1383
|
# @return [String]
|
@@ -2978,6 +3003,11 @@ module Aws::Bedrock
|
|
2978
3003
|
# Information about why the job failed.
|
2979
3004
|
# @return [String]
|
2980
3005
|
#
|
3006
|
+
# @!attribute [rw] status_details
|
3007
|
+
# For a Distillation job, the details about the statuses of the
|
3008
|
+
# sub-tasks of the customization job.
|
3009
|
+
# @return [Types::StatusDetails]
|
3010
|
+
#
|
2981
3011
|
# @!attribute [rw] creation_time
|
2982
3012
|
# Time that the resource was created.
|
2983
3013
|
# @return [Time]
|
@@ -3051,6 +3081,7 @@ module Aws::Bedrock
|
|
3051
3081
|
:role_arn,
|
3052
3082
|
:status,
|
3053
3083
|
:failure_message,
|
3084
|
+
:status_details,
|
3054
3085
|
:creation_time,
|
3055
3086
|
:last_modified_time,
|
3056
3087
|
:end_time,
|
@@ -6518,6 +6549,10 @@ module Aws::Bedrock
|
|
6518
6549
|
# Time that the customization job was last modified.
|
6519
6550
|
# @return [Time]
|
6520
6551
|
#
|
6552
|
+
# @!attribute [rw] status_details
|
6553
|
+
# Details about the status of the data processing sub-task of the job.
|
6554
|
+
# @return [Types::StatusDetails]
|
6555
|
+
#
|
6521
6556
|
# @!attribute [rw] creation_time
|
6522
6557
|
# Creation time of the custom model.
|
6523
6558
|
# @return [Time]
|
@@ -6552,6 +6587,7 @@ module Aws::Bedrock
|
|
6552
6587
|
:job_name,
|
6553
6588
|
:status,
|
6554
6589
|
:last_modified_time,
|
6590
|
+
:status_details,
|
6555
6591
|
:creation_time,
|
6556
6592
|
:end_time,
|
6557
6593
|
:custom_model_arn,
|
@@ -7693,6 +7729,43 @@ module Aws::Bedrock
|
|
7693
7729
|
include Aws::Structure
|
7694
7730
|
end
|
7695
7731
|
|
7732
|
+
# For a Distillation job, the status details for sub-tasks of the job.
|
7733
|
+
# Possible statuses for each sub-task include the following:
|
7734
|
+
#
|
7735
|
+
# * NotStarted
|
7736
|
+
#
|
7737
|
+
# * InProgress
|
7738
|
+
#
|
7739
|
+
# * Completed
|
7740
|
+
#
|
7741
|
+
# * Stopping
|
7742
|
+
#
|
7743
|
+
# * Stopped
|
7744
|
+
#
|
7745
|
+
# * Failed
|
7746
|
+
#
|
7747
|
+
# @!attribute [rw] validation_details
|
7748
|
+
# The status details for the validation sub-task of the job.
|
7749
|
+
# @return [Types::ValidationDetails]
|
7750
|
+
#
|
7751
|
+
# @!attribute [rw] data_processing_details
|
7752
|
+
# The status details for the data processing sub-task of the job.
|
7753
|
+
# @return [Types::DataProcessingDetails]
|
7754
|
+
#
|
7755
|
+
# @!attribute [rw] training_details
|
7756
|
+
# The status details for the training sub-task of the job.
|
7757
|
+
# @return [Types::TrainingDetails]
|
7758
|
+
#
|
7759
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/StatusDetails AWS API Documentation
|
7760
|
+
#
|
7761
|
+
class StatusDetails < Struct.new(
|
7762
|
+
:validation_details,
|
7763
|
+
:data_processing_details,
|
7764
|
+
:training_details)
|
7765
|
+
SENSITIVE = []
|
7766
|
+
include Aws::Structure
|
7767
|
+
end
|
7768
|
+
|
7696
7769
|
# @!attribute [rw] job_identifier
|
7697
7770
|
# The Amazon Resource Name (ARN) of the evaluation job you want to
|
7698
7771
|
# stop.
|
@@ -7899,6 +7972,31 @@ module Aws::Bedrock
|
|
7899
7972
|
include Aws::Structure
|
7900
7973
|
end
|
7901
7974
|
|
7975
|
+
# For a Distillation job, the status details for the training sub-task
|
7976
|
+
# of the job.
|
7977
|
+
#
|
7978
|
+
# @!attribute [rw] status
|
7979
|
+
# The status of the training sub-task of the job.
|
7980
|
+
# @return [String]
|
7981
|
+
#
|
7982
|
+
# @!attribute [rw] creation_time
|
7983
|
+
# The start time of the training sub-task of the job.
|
7984
|
+
# @return [Time]
|
7985
|
+
#
|
7986
|
+
# @!attribute [rw] last_modified_time
|
7987
|
+
# The latest update to the training sub-task of the job.
|
7988
|
+
# @return [Time]
|
7989
|
+
#
|
7990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/TrainingDetails AWS API Documentation
|
7991
|
+
#
|
7992
|
+
class TrainingDetails < Struct.new(
|
7993
|
+
:status,
|
7994
|
+
:creation_time,
|
7995
|
+
:last_modified_time)
|
7996
|
+
SENSITIVE = []
|
7997
|
+
include Aws::Structure
|
7998
|
+
end
|
7999
|
+
|
7902
8000
|
# Metrics associated with the custom job.
|
7903
8001
|
#
|
7904
8002
|
# @!attribute [rw] training_loss
|
@@ -8118,6 +8216,31 @@ module Aws::Bedrock
|
|
8118
8216
|
include Aws::Structure
|
8119
8217
|
end
|
8120
8218
|
|
8219
|
+
# For a Distillation job, the status details for the validation sub-task
|
8220
|
+
# of the job.
|
8221
|
+
#
|
8222
|
+
# @!attribute [rw] status
|
8223
|
+
# The status of the validation sub-task of the job.
|
8224
|
+
# @return [String]
|
8225
|
+
#
|
8226
|
+
# @!attribute [rw] creation_time
|
8227
|
+
# The start time of the validation sub-task of the job.
|
8228
|
+
# @return [Time]
|
8229
|
+
#
|
8230
|
+
# @!attribute [rw] last_modified_time
|
8231
|
+
# The latest update to the validation sub-task of the job.
|
8232
|
+
# @return [Time]
|
8233
|
+
#
|
8234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ValidationDetails AWS API Documentation
|
8235
|
+
#
|
8236
|
+
class ValidationDetails < Struct.new(
|
8237
|
+
:status,
|
8238
|
+
:creation_time,
|
8239
|
+
:last_modified_time)
|
8240
|
+
SENSITIVE = []
|
8241
|
+
include Aws::Structure
|
8242
|
+
end
|
8243
|
+
|
8121
8244
|
# Input validation failed. Check your request parameters and retry the
|
8122
8245
|
# request.
|
8123
8246
|
#
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1056,6 +1056,7 @@ module Aws
|
|
1056
1056
|
def role_arn: () -> ::String
|
1057
1057
|
def status: () -> ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
|
1058
1058
|
def failure_message: () -> ::String
|
1059
|
+
def status_details: () -> Types::StatusDetails
|
1059
1060
|
def creation_time: () -> ::Time
|
1060
1061
|
def last_modified_time: () -> ::Time
|
1061
1062
|
def end_time: () -> ::Time
|
data/sig/types.rbs
CHANGED
@@ -321,6 +321,13 @@ module Aws::Bedrock
|
|
321
321
|
end
|
322
322
|
end
|
323
323
|
|
324
|
+
class DataProcessingDetails
|
325
|
+
attr_accessor status: ("InProgress" | "Completed" | "Stopping" | "Stopped" | "Failed" | "NotStarted")
|
326
|
+
attr_accessor creation_time: ::Time
|
327
|
+
attr_accessor last_modified_time: ::Time
|
328
|
+
SENSITIVE: []
|
329
|
+
end
|
330
|
+
|
324
331
|
class DeleteCustomModelRequest
|
325
332
|
attr_accessor model_identifier: ::String
|
326
333
|
SENSITIVE: []
|
@@ -795,6 +802,7 @@ module Aws::Bedrock
|
|
795
802
|
attr_accessor role_arn: ::String
|
796
803
|
attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
|
797
804
|
attr_accessor failure_message: ::String
|
805
|
+
attr_accessor status_details: Types::StatusDetails
|
798
806
|
attr_accessor creation_time: ::Time
|
799
807
|
attr_accessor last_modified_time: ::Time
|
800
808
|
attr_accessor end_time: ::Time
|
@@ -1524,6 +1532,7 @@ module Aws::Bedrock
|
|
1524
1532
|
attr_accessor job_name: ::String
|
1525
1533
|
attr_accessor status: ("InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped")
|
1526
1534
|
attr_accessor last_modified_time: ::Time
|
1535
|
+
attr_accessor status_details: Types::StatusDetails
|
1527
1536
|
attr_accessor creation_time: ::Time
|
1528
1537
|
attr_accessor end_time: ::Time
|
1529
1538
|
attr_accessor custom_model_arn: ::String
|
@@ -1854,6 +1863,13 @@ module Aws::Bedrock
|
|
1854
1863
|
SENSITIVE: []
|
1855
1864
|
end
|
1856
1865
|
|
1866
|
+
class StatusDetails
|
1867
|
+
attr_accessor validation_details: Types::ValidationDetails
|
1868
|
+
attr_accessor data_processing_details: Types::DataProcessingDetails
|
1869
|
+
attr_accessor training_details: Types::TrainingDetails
|
1870
|
+
SENSITIVE: []
|
1871
|
+
end
|
1872
|
+
|
1857
1873
|
class StopEvaluationJobRequest
|
1858
1874
|
attr_accessor job_identifier: ::String
|
1859
1875
|
SENSITIVE: [:job_identifier]
|
@@ -1924,6 +1940,13 @@ module Aws::Bedrock
|
|
1924
1940
|
SENSITIVE: []
|
1925
1941
|
end
|
1926
1942
|
|
1943
|
+
class TrainingDetails
|
1944
|
+
attr_accessor status: ("InProgress" | "Completed" | "Stopping" | "Stopped" | "Failed" | "NotStarted")
|
1945
|
+
attr_accessor creation_time: ::Time
|
1946
|
+
attr_accessor last_modified_time: ::Time
|
1947
|
+
SENSITIVE: []
|
1948
|
+
end
|
1949
|
+
|
1927
1950
|
class TrainingMetrics
|
1928
1951
|
attr_accessor training_loss: ::Float
|
1929
1952
|
SENSITIVE: []
|
@@ -1988,6 +2011,13 @@ module Aws::Bedrock
|
|
1988
2011
|
SENSITIVE: []
|
1989
2012
|
end
|
1990
2013
|
|
2014
|
+
class ValidationDetails
|
2015
|
+
attr_accessor status: ("InProgress" | "Completed" | "Stopping" | "Stopped" | "Failed" | "NotStarted")
|
2016
|
+
attr_accessor creation_time: ::Time
|
2017
|
+
attr_accessor last_modified_time: ::Time
|
2018
|
+
SENSITIVE: []
|
2019
|
+
end
|
2020
|
+
|
1991
2021
|
class ValidationException
|
1992
2022
|
attr_accessor message: ::String
|
1993
2023
|
SENSITIVE: []
|
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.
|
4
|
+
version: 1.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|