aws-sdk-bedrock 1.15.0 → 1.16.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 +423 -4
- data/lib/aws-sdk-bedrock/client_api.rb +264 -0
- data/lib/aws-sdk-bedrock/endpoints.rb +98 -0
- data/lib/aws-sdk-bedrock/plugins/endpoints.rb +14 -0
- data/lib/aws-sdk-bedrock/types.rb +567 -2
- data/lib/aws-sdk-bedrock.rb +2 -2
- data/sig/client.rbs +131 -2
- data/sig/types.rbs +162 -3
- metadata +2 -2
@@ -58,6 +58,8 @@ module Aws::Bedrock
|
|
58
58
|
|
59
59
|
def parameters_for_operation(context)
|
60
60
|
case context.operation_name
|
61
|
+
when :batch_delete_evaluation_job
|
62
|
+
Aws::Bedrock::Endpoints::BatchDeleteEvaluationJob.build(context)
|
61
63
|
when :create_evaluation_job
|
62
64
|
Aws::Bedrock::Endpoints::CreateEvaluationJob.build(context)
|
63
65
|
when :create_guardrail
|
@@ -68,6 +70,8 @@ module Aws::Bedrock
|
|
68
70
|
Aws::Bedrock::Endpoints::CreateModelCopyJob.build(context)
|
69
71
|
when :create_model_customization_job
|
70
72
|
Aws::Bedrock::Endpoints::CreateModelCustomizationJob.build(context)
|
73
|
+
when :create_model_import_job
|
74
|
+
Aws::Bedrock::Endpoints::CreateModelImportJob.build(context)
|
71
75
|
when :create_model_invocation_job
|
72
76
|
Aws::Bedrock::Endpoints::CreateModelInvocationJob.build(context)
|
73
77
|
when :create_provisioned_model_throughput
|
@@ -76,6 +80,8 @@ module Aws::Bedrock
|
|
76
80
|
Aws::Bedrock::Endpoints::DeleteCustomModel.build(context)
|
77
81
|
when :delete_guardrail
|
78
82
|
Aws::Bedrock::Endpoints::DeleteGuardrail.build(context)
|
83
|
+
when :delete_imported_model
|
84
|
+
Aws::Bedrock::Endpoints::DeleteImportedModel.build(context)
|
79
85
|
when :delete_model_invocation_logging_configuration
|
80
86
|
Aws::Bedrock::Endpoints::DeleteModelInvocationLoggingConfiguration.build(context)
|
81
87
|
when :delete_provisioned_model_throughput
|
@@ -88,10 +94,14 @@ module Aws::Bedrock
|
|
88
94
|
Aws::Bedrock::Endpoints::GetFoundationModel.build(context)
|
89
95
|
when :get_guardrail
|
90
96
|
Aws::Bedrock::Endpoints::GetGuardrail.build(context)
|
97
|
+
when :get_imported_model
|
98
|
+
Aws::Bedrock::Endpoints::GetImportedModel.build(context)
|
91
99
|
when :get_model_copy_job
|
92
100
|
Aws::Bedrock::Endpoints::GetModelCopyJob.build(context)
|
93
101
|
when :get_model_customization_job
|
94
102
|
Aws::Bedrock::Endpoints::GetModelCustomizationJob.build(context)
|
103
|
+
when :get_model_import_job
|
104
|
+
Aws::Bedrock::Endpoints::GetModelImportJob.build(context)
|
95
105
|
when :get_model_invocation_job
|
96
106
|
Aws::Bedrock::Endpoints::GetModelInvocationJob.build(context)
|
97
107
|
when :get_model_invocation_logging_configuration
|
@@ -106,10 +116,14 @@ module Aws::Bedrock
|
|
106
116
|
Aws::Bedrock::Endpoints::ListFoundationModels.build(context)
|
107
117
|
when :list_guardrails
|
108
118
|
Aws::Bedrock::Endpoints::ListGuardrails.build(context)
|
119
|
+
when :list_imported_models
|
120
|
+
Aws::Bedrock::Endpoints::ListImportedModels.build(context)
|
109
121
|
when :list_model_copy_jobs
|
110
122
|
Aws::Bedrock::Endpoints::ListModelCopyJobs.build(context)
|
111
123
|
when :list_model_customization_jobs
|
112
124
|
Aws::Bedrock::Endpoints::ListModelCustomizationJobs.build(context)
|
125
|
+
when :list_model_import_jobs
|
126
|
+
Aws::Bedrock::Endpoints::ListModelImportJobs.build(context)
|
113
127
|
when :list_model_invocation_jobs
|
114
128
|
Aws::Bedrock::Endpoints::ListModelInvocationJobs.build(context)
|
115
129
|
when :list_provisioned_model_throughputs
|
@@ -40,6 +40,81 @@ module Aws::Bedrock
|
|
40
40
|
include Aws::Structure
|
41
41
|
end
|
42
42
|
|
43
|
+
# A JSON array that provides the status of the model evaluation jobs
|
44
|
+
# being deleted.
|
45
|
+
#
|
46
|
+
# @!attribute [rw] job_identifier
|
47
|
+
# The ARN of the model evaluation job being deleted.
|
48
|
+
# @return [String]
|
49
|
+
#
|
50
|
+
# @!attribute [rw] code
|
51
|
+
# A HTTP status code of the model evaluation job being deleted.
|
52
|
+
# @return [String]
|
53
|
+
#
|
54
|
+
# @!attribute [rw] message
|
55
|
+
# A status message about the model evaluation job deletion.
|
56
|
+
# @return [String]
|
57
|
+
#
|
58
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/BatchDeleteEvaluationJobError AWS API Documentation
|
59
|
+
#
|
60
|
+
class BatchDeleteEvaluationJobError < Struct.new(
|
61
|
+
:job_identifier,
|
62
|
+
:code,
|
63
|
+
:message)
|
64
|
+
SENSITIVE = [:job_identifier]
|
65
|
+
include Aws::Structure
|
66
|
+
end
|
67
|
+
|
68
|
+
# An array of model evaluation jobs to be deleted, and their associated
|
69
|
+
# statuses.
|
70
|
+
#
|
71
|
+
# @!attribute [rw] job_identifier
|
72
|
+
# The ARN of model evaluation job to be deleted.
|
73
|
+
# @return [String]
|
74
|
+
#
|
75
|
+
# @!attribute [rw] job_status
|
76
|
+
# The status of the job's deletion.
|
77
|
+
# @return [String]
|
78
|
+
#
|
79
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/BatchDeleteEvaluationJobItem AWS API Documentation
|
80
|
+
#
|
81
|
+
class BatchDeleteEvaluationJobItem < Struct.new(
|
82
|
+
:job_identifier,
|
83
|
+
:job_status)
|
84
|
+
SENSITIVE = [:job_identifier]
|
85
|
+
include Aws::Structure
|
86
|
+
end
|
87
|
+
|
88
|
+
# @!attribute [rw] job_identifiers
|
89
|
+
# An array of model evaluation job ARNs to be deleted.
|
90
|
+
# @return [Array<String>]
|
91
|
+
#
|
92
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/BatchDeleteEvaluationJobRequest AWS API Documentation
|
93
|
+
#
|
94
|
+
class BatchDeleteEvaluationJobRequest < Struct.new(
|
95
|
+
:job_identifiers)
|
96
|
+
SENSITIVE = [:job_identifiers]
|
97
|
+
include Aws::Structure
|
98
|
+
end
|
99
|
+
|
100
|
+
# @!attribute [rw] errors
|
101
|
+
# A JSON object containing the HTTP status codes and the ARNs of model
|
102
|
+
# evaluation jobs that failed to be deleted.
|
103
|
+
# @return [Array<Types::BatchDeleteEvaluationJobError>]
|
104
|
+
#
|
105
|
+
# @!attribute [rw] evaluation_jobs
|
106
|
+
# The list of model evaluation jobs to be deleted.
|
107
|
+
# @return [Array<Types::BatchDeleteEvaluationJobItem>]
|
108
|
+
#
|
109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/BatchDeleteEvaluationJobResponse AWS API Documentation
|
110
|
+
#
|
111
|
+
class BatchDeleteEvaluationJobResponse < Struct.new(
|
112
|
+
:errors,
|
113
|
+
:evaluation_jobs)
|
114
|
+
SENSITIVE = []
|
115
|
+
include Aws::Structure
|
116
|
+
end
|
117
|
+
|
43
118
|
# CloudWatch logging configuration.
|
44
119
|
#
|
45
120
|
# @!attribute [rw] log_group_name
|
@@ -496,6 +571,78 @@ module Aws::Bedrock
|
|
496
571
|
include Aws::Structure
|
497
572
|
end
|
498
573
|
|
574
|
+
# @!attribute [rw] job_name
|
575
|
+
# The name of the import job.
|
576
|
+
# @return [String]
|
577
|
+
#
|
578
|
+
# @!attribute [rw] imported_model_name
|
579
|
+
# The name of the imported model.
|
580
|
+
# @return [String]
|
581
|
+
#
|
582
|
+
# @!attribute [rw] role_arn
|
583
|
+
# The Amazon Resource Name (ARN) of the model import job.
|
584
|
+
# @return [String]
|
585
|
+
#
|
586
|
+
# @!attribute [rw] model_data_source
|
587
|
+
# The data source for the imported model.
|
588
|
+
# @return [Types::ModelDataSource]
|
589
|
+
#
|
590
|
+
# @!attribute [rw] job_tags
|
591
|
+
# Tags to attach to this import job.
|
592
|
+
# @return [Array<Types::Tag>]
|
593
|
+
#
|
594
|
+
# @!attribute [rw] imported_model_tags
|
595
|
+
# Tags to attach to the imported model.
|
596
|
+
# @return [Array<Types::Tag>]
|
597
|
+
#
|
598
|
+
# @!attribute [rw] client_request_token
|
599
|
+
# A unique, case-sensitive identifier to ensure that the API request
|
600
|
+
# completes no more than one time. If this token matches a previous
|
601
|
+
# request, Amazon Bedrock ignores the request, but does not return an
|
602
|
+
# error. For more information, see [Ensuring idempotency][1].
|
603
|
+
#
|
604
|
+
#
|
605
|
+
#
|
606
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
607
|
+
# @return [String]
|
608
|
+
#
|
609
|
+
# @!attribute [rw] vpc_config
|
610
|
+
# VPC configuration parameters for the private Virtual Private Cloud
|
611
|
+
# (VPC) that contains the resources you are using for the import job.
|
612
|
+
# @return [Types::VpcConfig]
|
613
|
+
#
|
614
|
+
# @!attribute [rw] imported_model_kms_key_id
|
615
|
+
# The imported model is encrypted at rest using this key.
|
616
|
+
# @return [String]
|
617
|
+
#
|
618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelImportJobRequest AWS API Documentation
|
619
|
+
#
|
620
|
+
class CreateModelImportJobRequest < Struct.new(
|
621
|
+
:job_name,
|
622
|
+
:imported_model_name,
|
623
|
+
:role_arn,
|
624
|
+
:model_data_source,
|
625
|
+
:job_tags,
|
626
|
+
:imported_model_tags,
|
627
|
+
:client_request_token,
|
628
|
+
:vpc_config,
|
629
|
+
:imported_model_kms_key_id)
|
630
|
+
SENSITIVE = []
|
631
|
+
include Aws::Structure
|
632
|
+
end
|
633
|
+
|
634
|
+
# @!attribute [rw] job_arn
|
635
|
+
# The Amazon Resource Name (ARN) of the model import job.
|
636
|
+
# @return [String]
|
637
|
+
#
|
638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelImportJobResponse AWS API Documentation
|
639
|
+
#
|
640
|
+
class CreateModelImportJobResponse < Struct.new(
|
641
|
+
:job_arn)
|
642
|
+
SENSITIVE = []
|
643
|
+
include Aws::Structure
|
644
|
+
end
|
645
|
+
|
499
646
|
# @!attribute [rw] job_name
|
500
647
|
# A name to give the batch inference job.
|
501
648
|
# @return [String]
|
@@ -765,6 +912,22 @@ module Aws::Bedrock
|
|
765
912
|
#
|
766
913
|
class DeleteGuardrailResponse < Aws::EmptyStructure; end
|
767
914
|
|
915
|
+
# @!attribute [rw] model_identifier
|
916
|
+
# Name of the imported model to delete.
|
917
|
+
# @return [String]
|
918
|
+
#
|
919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteImportedModelRequest AWS API Documentation
|
920
|
+
#
|
921
|
+
class DeleteImportedModelRequest < Struct.new(
|
922
|
+
:model_identifier)
|
923
|
+
SENSITIVE = []
|
924
|
+
include Aws::Structure
|
925
|
+
end
|
926
|
+
|
927
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteImportedModelResponse AWS API Documentation
|
928
|
+
#
|
929
|
+
class DeleteImportedModelResponse < Aws::EmptyStructure; end
|
930
|
+
|
768
931
|
# @api private
|
769
932
|
#
|
770
933
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteModelInvocationLoggingConfigurationRequest AWS API Documentation
|
@@ -806,7 +969,7 @@ module Aws::Bedrock
|
|
806
969
|
#
|
807
970
|
#
|
808
971
|
#
|
809
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-
|
972
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html
|
810
973
|
#
|
811
974
|
# @!attribute [rw] model_identifier
|
812
975
|
# The ARN of the Amazon Bedrock model specified.
|
@@ -865,7 +1028,7 @@ module Aws::Bedrock
|
|
865
1028
|
# Used to specify supported built-in prompt datasets. Valid values are
|
866
1029
|
# `Builtin.Bold`, `Builtin.BoolQ`, `Builtin.NaturalQuestions`,
|
867
1030
|
# `Builtin.Gigaword`, `Builtin.RealToxicityPrompts`,
|
868
|
-
# `Builtin.
|
1031
|
+
# `Builtin.TriviaQA`, `Builtin.T-Rex`,
|
869
1032
|
# `Builtin.WomensEcommerceClothingReviews` and `Builtin.Wikitext2`.
|
870
1033
|
# @return [String]
|
871
1034
|
#
|
@@ -1509,6 +1672,65 @@ module Aws::Bedrock
|
|
1509
1672
|
include Aws::Structure
|
1510
1673
|
end
|
1511
1674
|
|
1675
|
+
# @!attribute [rw] model_identifier
|
1676
|
+
# Name or Amazon Resource Name (ARN) of the imported model.
|
1677
|
+
# @return [String]
|
1678
|
+
#
|
1679
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetImportedModelRequest AWS API Documentation
|
1680
|
+
#
|
1681
|
+
class GetImportedModelRequest < Struct.new(
|
1682
|
+
:model_identifier)
|
1683
|
+
SENSITIVE = []
|
1684
|
+
include Aws::Structure
|
1685
|
+
end
|
1686
|
+
|
1687
|
+
# @!attribute [rw] model_arn
|
1688
|
+
# The Amazon Resource Name (ARN) associated with this imported model.
|
1689
|
+
# @return [String]
|
1690
|
+
#
|
1691
|
+
# @!attribute [rw] model_name
|
1692
|
+
# The name of the imported model.
|
1693
|
+
# @return [String]
|
1694
|
+
#
|
1695
|
+
# @!attribute [rw] job_name
|
1696
|
+
# Job name associated with the imported model.
|
1697
|
+
# @return [String]
|
1698
|
+
#
|
1699
|
+
# @!attribute [rw] job_arn
|
1700
|
+
# Job Amazon Resource Name (ARN) associated with the imported model.
|
1701
|
+
# @return [String]
|
1702
|
+
#
|
1703
|
+
# @!attribute [rw] model_data_source
|
1704
|
+
# The data source for this imported model.
|
1705
|
+
# @return [Types::ModelDataSource]
|
1706
|
+
#
|
1707
|
+
# @!attribute [rw] creation_time
|
1708
|
+
# Creation time of the imported model.
|
1709
|
+
# @return [Time]
|
1710
|
+
#
|
1711
|
+
# @!attribute [rw] model_architecture
|
1712
|
+
# The architecture of the imported model.
|
1713
|
+
# @return [String]
|
1714
|
+
#
|
1715
|
+
# @!attribute [rw] model_kms_key_arn
|
1716
|
+
# The imported model is encrypted at rest using this key.
|
1717
|
+
# @return [String]
|
1718
|
+
#
|
1719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetImportedModelResponse AWS API Documentation
|
1720
|
+
#
|
1721
|
+
class GetImportedModelResponse < Struct.new(
|
1722
|
+
:model_arn,
|
1723
|
+
:model_name,
|
1724
|
+
:job_name,
|
1725
|
+
:job_arn,
|
1726
|
+
:model_data_source,
|
1727
|
+
:creation_time,
|
1728
|
+
:model_architecture,
|
1729
|
+
:model_kms_key_arn)
|
1730
|
+
SENSITIVE = []
|
1731
|
+
include Aws::Structure
|
1732
|
+
end
|
1733
|
+
|
1512
1734
|
# @!attribute [rw] job_arn
|
1513
1735
|
# The Amazon Resource Name (ARN) of the model copy job.
|
1514
1736
|
# @return [String]
|
@@ -1719,6 +1941,95 @@ module Aws::Bedrock
|
|
1719
1941
|
include Aws::Structure
|
1720
1942
|
end
|
1721
1943
|
|
1944
|
+
# @!attribute [rw] job_identifier
|
1945
|
+
# The identifier of the import job.
|
1946
|
+
# @return [String]
|
1947
|
+
#
|
1948
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelImportJobRequest AWS API Documentation
|
1949
|
+
#
|
1950
|
+
class GetModelImportJobRequest < Struct.new(
|
1951
|
+
:job_identifier)
|
1952
|
+
SENSITIVE = []
|
1953
|
+
include Aws::Structure
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
# @!attribute [rw] job_arn
|
1957
|
+
# The Amazon Resource Name (ARN) of the import job.
|
1958
|
+
# @return [String]
|
1959
|
+
#
|
1960
|
+
# @!attribute [rw] job_name
|
1961
|
+
# The name of the import job.
|
1962
|
+
# @return [String]
|
1963
|
+
#
|
1964
|
+
# @!attribute [rw] imported_model_name
|
1965
|
+
# The name of the imported model.
|
1966
|
+
# @return [String]
|
1967
|
+
#
|
1968
|
+
# @!attribute [rw] imported_model_arn
|
1969
|
+
# The Amazon Resource Name (ARN) of the imported model.
|
1970
|
+
# @return [String]
|
1971
|
+
#
|
1972
|
+
# @!attribute [rw] role_arn
|
1973
|
+
# The Amazon Resource Name (ARN) of the IAM role associated with this
|
1974
|
+
# job.
|
1975
|
+
# @return [String]
|
1976
|
+
#
|
1977
|
+
# @!attribute [rw] model_data_source
|
1978
|
+
# The data source for the imported model.
|
1979
|
+
# @return [Types::ModelDataSource]
|
1980
|
+
#
|
1981
|
+
# @!attribute [rw] status
|
1982
|
+
# The status of the job. A successful job transitions from in-progress
|
1983
|
+
# to completed when the imported model is ready to use. If the job
|
1984
|
+
# failed, the failure message contains information about why the job
|
1985
|
+
# failed.
|
1986
|
+
# @return [String]
|
1987
|
+
#
|
1988
|
+
# @!attribute [rw] failure_message
|
1989
|
+
# Information about why the import job failed.
|
1990
|
+
# @return [String]
|
1991
|
+
#
|
1992
|
+
# @!attribute [rw] creation_time
|
1993
|
+
# The time the resource was created.
|
1994
|
+
# @return [Time]
|
1995
|
+
#
|
1996
|
+
# @!attribute [rw] last_modified_time
|
1997
|
+
# Time the resource was last modified.
|
1998
|
+
# @return [Time]
|
1999
|
+
#
|
2000
|
+
# @!attribute [rw] end_time
|
2001
|
+
# Time that the resource transitioned to terminal state.
|
2002
|
+
# @return [Time]
|
2003
|
+
#
|
2004
|
+
# @!attribute [rw] vpc_config
|
2005
|
+
# The Virtual Private Cloud (VPC) configuration of the import model
|
2006
|
+
# job.
|
2007
|
+
# @return [Types::VpcConfig]
|
2008
|
+
#
|
2009
|
+
# @!attribute [rw] imported_model_kms_key_arn
|
2010
|
+
# The imported model is encrypted at rest using this key.
|
2011
|
+
# @return [String]
|
2012
|
+
#
|
2013
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelImportJobResponse AWS API Documentation
|
2014
|
+
#
|
2015
|
+
class GetModelImportJobResponse < Struct.new(
|
2016
|
+
:job_arn,
|
2017
|
+
:job_name,
|
2018
|
+
:imported_model_name,
|
2019
|
+
:imported_model_arn,
|
2020
|
+
:role_arn,
|
2021
|
+
:model_data_source,
|
2022
|
+
:status,
|
2023
|
+
:failure_message,
|
2024
|
+
:creation_time,
|
2025
|
+
:last_modified_time,
|
2026
|
+
:end_time,
|
2027
|
+
:vpc_config,
|
2028
|
+
:imported_model_kms_key_arn)
|
2029
|
+
SENSITIVE = []
|
2030
|
+
include Aws::Structure
|
2031
|
+
end
|
2032
|
+
|
1722
2033
|
# @!attribute [rw] job_identifier
|
1723
2034
|
# The Amazon Resource Name (ARN) of the batch inference job.
|
1724
2035
|
# @return [String]
|
@@ -2916,6 +3227,30 @@ module Aws::Bedrock
|
|
2916
3227
|
include Aws::Structure
|
2917
3228
|
end
|
2918
3229
|
|
3230
|
+
# Information about tne imported model.
|
3231
|
+
#
|
3232
|
+
# @!attribute [rw] model_arn
|
3233
|
+
# The Amazon Resource Name (ARN) of the imported model.
|
3234
|
+
# @return [String]
|
3235
|
+
#
|
3236
|
+
# @!attribute [rw] model_name
|
3237
|
+
# Name of the imported model.
|
3238
|
+
# @return [String]
|
3239
|
+
#
|
3240
|
+
# @!attribute [rw] creation_time
|
3241
|
+
# Creation time of the imported model.
|
3242
|
+
# @return [Time]
|
3243
|
+
#
|
3244
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ImportedModelSummary AWS API Documentation
|
3245
|
+
#
|
3246
|
+
class ImportedModelSummary < Struct.new(
|
3247
|
+
:model_arn,
|
3248
|
+
:model_name,
|
3249
|
+
:creation_time)
|
3250
|
+
SENSITIVE = []
|
3251
|
+
include Aws::Structure
|
3252
|
+
end
|
3253
|
+
|
2919
3254
|
# An internal server error occurred. Retry your request.
|
2920
3255
|
#
|
2921
3256
|
# @!attribute [rw] message
|
@@ -3180,6 +3515,76 @@ module Aws::Bedrock
|
|
3180
3515
|
include Aws::Structure
|
3181
3516
|
end
|
3182
3517
|
|
3518
|
+
# @!attribute [rw] creation_time_before
|
3519
|
+
# Return imported models that created before the specified time.
|
3520
|
+
# @return [Time]
|
3521
|
+
#
|
3522
|
+
# @!attribute [rw] creation_time_after
|
3523
|
+
# Return imported models that were created after the specified time.
|
3524
|
+
# @return [Time]
|
3525
|
+
#
|
3526
|
+
# @!attribute [rw] name_contains
|
3527
|
+
# Return imported models only if the model name contains these
|
3528
|
+
# characters.
|
3529
|
+
# @return [String]
|
3530
|
+
#
|
3531
|
+
# @!attribute [rw] max_results
|
3532
|
+
# The maximum number of results to return in the response. If the
|
3533
|
+
# total number of results is greater than this value, use the token
|
3534
|
+
# returned in the response in the `nextToken` field when making
|
3535
|
+
# another request to return the next batch of results.
|
3536
|
+
# @return [Integer]
|
3537
|
+
#
|
3538
|
+
# @!attribute [rw] next_token
|
3539
|
+
# If the total number of results is greater than the `maxResults`
|
3540
|
+
# value provided in the request, enter the token returned in the
|
3541
|
+
# `nextToken` field in the response in this field to return the next
|
3542
|
+
# batch of results.
|
3543
|
+
# @return [String]
|
3544
|
+
#
|
3545
|
+
# @!attribute [rw] sort_by
|
3546
|
+
# The field to sort by in the returned list of imported models.
|
3547
|
+
# @return [String]
|
3548
|
+
#
|
3549
|
+
# @!attribute [rw] sort_order
|
3550
|
+
# Specifies whetehr to sort the results in ascending or descending
|
3551
|
+
# order.
|
3552
|
+
# @return [String]
|
3553
|
+
#
|
3554
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListImportedModelsRequest AWS API Documentation
|
3555
|
+
#
|
3556
|
+
class ListImportedModelsRequest < Struct.new(
|
3557
|
+
:creation_time_before,
|
3558
|
+
:creation_time_after,
|
3559
|
+
:name_contains,
|
3560
|
+
:max_results,
|
3561
|
+
:next_token,
|
3562
|
+
:sort_by,
|
3563
|
+
:sort_order)
|
3564
|
+
SENSITIVE = []
|
3565
|
+
include Aws::Structure
|
3566
|
+
end
|
3567
|
+
|
3568
|
+
# @!attribute [rw] next_token
|
3569
|
+
# If the total number of results is greater than the `maxResults`
|
3570
|
+
# value provided in the request, use this token when making another
|
3571
|
+
# request in the `nextToken` field to return the next batch of
|
3572
|
+
# results.
|
3573
|
+
# @return [String]
|
3574
|
+
#
|
3575
|
+
# @!attribute [rw] model_summaries
|
3576
|
+
# Model summaries.
|
3577
|
+
# @return [Array<Types::ImportedModelSummary>]
|
3578
|
+
#
|
3579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListImportedModelsResponse AWS API Documentation
|
3580
|
+
#
|
3581
|
+
class ListImportedModelsResponse < Struct.new(
|
3582
|
+
:next_token,
|
3583
|
+
:model_summaries)
|
3584
|
+
SENSITIVE = []
|
3585
|
+
include Aws::Structure
|
3586
|
+
end
|
3587
|
+
|
3183
3588
|
# @!attribute [rw] creation_time_after
|
3184
3589
|
# Filters for model copy jobs created after the specified time.
|
3185
3590
|
# @return [Time]
|
@@ -3342,6 +3747,80 @@ module Aws::Bedrock
|
|
3342
3747
|
include Aws::Structure
|
3343
3748
|
end
|
3344
3749
|
|
3750
|
+
# @!attribute [rw] creation_time_after
|
3751
|
+
# Return import jobs that were created after the specified time.
|
3752
|
+
# @return [Time]
|
3753
|
+
#
|
3754
|
+
# @!attribute [rw] creation_time_before
|
3755
|
+
# Return import jobs that were created before the specified time.
|
3756
|
+
# @return [Time]
|
3757
|
+
#
|
3758
|
+
# @!attribute [rw] status_equals
|
3759
|
+
# Return imported jobs with the specified status.
|
3760
|
+
# @return [String]
|
3761
|
+
#
|
3762
|
+
# @!attribute [rw] name_contains
|
3763
|
+
# Return imported jobs only if the job name contains these characters.
|
3764
|
+
# @return [String]
|
3765
|
+
#
|
3766
|
+
# @!attribute [rw] max_results
|
3767
|
+
# The maximum number of results to return in the response. If the
|
3768
|
+
# total number of results is greater than this value, use the token
|
3769
|
+
# returned in the response in the `nextToken` field when making
|
3770
|
+
# another request to return the next batch of results.
|
3771
|
+
# @return [Integer]
|
3772
|
+
#
|
3773
|
+
# @!attribute [rw] next_token
|
3774
|
+
# If the total number of results is greater than the `maxResults`
|
3775
|
+
# value provided in the request, enter the token returned in the
|
3776
|
+
# `nextToken` field in the response in this field to return the next
|
3777
|
+
# batch of results.
|
3778
|
+
# @return [String]
|
3779
|
+
#
|
3780
|
+
# @!attribute [rw] sort_by
|
3781
|
+
# The field to sort by in the returned list of imported jobs.
|
3782
|
+
# @return [String]
|
3783
|
+
#
|
3784
|
+
# @!attribute [rw] sort_order
|
3785
|
+
# Specifies whether to sort the results in ascending or descending
|
3786
|
+
# order.
|
3787
|
+
# @return [String]
|
3788
|
+
#
|
3789
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelImportJobsRequest AWS API Documentation
|
3790
|
+
#
|
3791
|
+
class ListModelImportJobsRequest < Struct.new(
|
3792
|
+
:creation_time_after,
|
3793
|
+
:creation_time_before,
|
3794
|
+
:status_equals,
|
3795
|
+
:name_contains,
|
3796
|
+
:max_results,
|
3797
|
+
:next_token,
|
3798
|
+
:sort_by,
|
3799
|
+
:sort_order)
|
3800
|
+
SENSITIVE = []
|
3801
|
+
include Aws::Structure
|
3802
|
+
end
|
3803
|
+
|
3804
|
+
# @!attribute [rw] next_token
|
3805
|
+
# If the total number of results is greater than the `maxResults`
|
3806
|
+
# value provided in the request, enter the token returned in the
|
3807
|
+
# `nextToken` field in the response in this field to return the next
|
3808
|
+
# batch of results.
|
3809
|
+
# @return [String]
|
3810
|
+
#
|
3811
|
+
# @!attribute [rw] model_import_job_summaries
|
3812
|
+
# Import job summaries.
|
3813
|
+
# @return [Array<Types::ModelImportJobSummary>]
|
3814
|
+
#
|
3815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelImportJobsResponse AWS API Documentation
|
3816
|
+
#
|
3817
|
+
class ListModelImportJobsResponse < Struct.new(
|
3818
|
+
:next_token,
|
3819
|
+
:model_import_job_summaries)
|
3820
|
+
SENSITIVE = []
|
3821
|
+
include Aws::Structure
|
3822
|
+
end
|
3823
|
+
|
3345
3824
|
# @!attribute [rw] submit_time_after
|
3346
3825
|
# Specify a time to filter for batch inference jobs that were
|
3347
3826
|
# submitted after the time you specify.
|
@@ -3706,6 +4185,78 @@ module Aws::Bedrock
|
|
3706
4185
|
include Aws::Structure
|
3707
4186
|
end
|
3708
4187
|
|
4188
|
+
# Data source for the imported model.
|
4189
|
+
#
|
4190
|
+
# @note ModelDataSource is a union - when making an API calls you must set exactly one of the members.
|
4191
|
+
#
|
4192
|
+
# @note ModelDataSource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ModelDataSource corresponding to the set member.
|
4193
|
+
#
|
4194
|
+
# @!attribute [rw] s3_data_source
|
4195
|
+
# The Amazon S3 data source of the imported model.
|
4196
|
+
# @return [Types::S3DataSource]
|
4197
|
+
#
|
4198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelDataSource AWS API Documentation
|
4199
|
+
#
|
4200
|
+
class ModelDataSource < Struct.new(
|
4201
|
+
:s3_data_source,
|
4202
|
+
:unknown)
|
4203
|
+
SENSITIVE = []
|
4204
|
+
include Aws::Structure
|
4205
|
+
include Aws::Structure::Union
|
4206
|
+
|
4207
|
+
class S3DataSource < ModelDataSource; end
|
4208
|
+
class Unknown < ModelDataSource; end
|
4209
|
+
end
|
4210
|
+
|
4211
|
+
# Information about the import job.
|
4212
|
+
#
|
4213
|
+
# @!attribute [rw] job_arn
|
4214
|
+
# The Amazon Resource Name (ARN) of the import job.
|
4215
|
+
# @return [String]
|
4216
|
+
#
|
4217
|
+
# @!attribute [rw] job_name
|
4218
|
+
# The name of the import job.
|
4219
|
+
# @return [String]
|
4220
|
+
#
|
4221
|
+
# @!attribute [rw] status
|
4222
|
+
# The status of the imported job.
|
4223
|
+
# @return [String]
|
4224
|
+
#
|
4225
|
+
# @!attribute [rw] last_modified_time
|
4226
|
+
# The time when the import job was last modified.
|
4227
|
+
# @return [Time]
|
4228
|
+
#
|
4229
|
+
# @!attribute [rw] creation_time
|
4230
|
+
# The time import job was created.
|
4231
|
+
# @return [Time]
|
4232
|
+
#
|
4233
|
+
# @!attribute [rw] end_time
|
4234
|
+
# The time when import job ended.
|
4235
|
+
# @return [Time]
|
4236
|
+
#
|
4237
|
+
# @!attribute [rw] imported_model_arn
|
4238
|
+
# The Amazon resource Name (ARN) of the imported model.
|
4239
|
+
# @return [String]
|
4240
|
+
#
|
4241
|
+
# @!attribute [rw] imported_model_name
|
4242
|
+
# The name of the imported model.
|
4243
|
+
# @return [String]
|
4244
|
+
#
|
4245
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelImportJobSummary AWS API Documentation
|
4246
|
+
#
|
4247
|
+
class ModelImportJobSummary < Struct.new(
|
4248
|
+
:job_arn,
|
4249
|
+
:job_name,
|
4250
|
+
:status,
|
4251
|
+
:last_modified_time,
|
4252
|
+
:creation_time,
|
4253
|
+
:end_time,
|
4254
|
+
:imported_model_arn,
|
4255
|
+
:imported_model_name)
|
4256
|
+
SENSITIVE = []
|
4257
|
+
include Aws::Structure
|
4258
|
+
end
|
4259
|
+
|
3709
4260
|
# Details about the location of the input to the batch inference job.
|
3710
4261
|
#
|
3711
4262
|
# @note ModelInvocationJobInputDataConfig is a union - when making an API calls you must set exactly one of the members.
|
@@ -4037,6 +4588,20 @@ module Aws::Bedrock
|
|
4037
4588
|
include Aws::Structure
|
4038
4589
|
end
|
4039
4590
|
|
4591
|
+
# The Amazon S3 data source of the imported job.
|
4592
|
+
#
|
4593
|
+
# @!attribute [rw] s3_uri
|
4594
|
+
# The URI of the Amazon S3 data source.
|
4595
|
+
# @return [String]
|
4596
|
+
#
|
4597
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/S3DataSource AWS API Documentation
|
4598
|
+
#
|
4599
|
+
class S3DataSource < Struct.new(
|
4600
|
+
:s3_uri)
|
4601
|
+
SENSITIVE = []
|
4602
|
+
include Aws::Structure
|
4603
|
+
end
|
4604
|
+
|
4040
4605
|
# The number of requests exceeds the service quota. Resubmit your
|
4041
4606
|
# request later.
|
4042
4607
|
#
|