aws-sdk-bedrock 1.13.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 940f9b98f26f78fa4dcb4947bc118c17fb892cc3ffb9cb68f894bfd309d1ebe3
4
- data.tar.gz: 6da404fc7f30d3e88aa83992b4f92df9529cdad2d612a245a86303afa3cdb64c
3
+ metadata.gz: 3d5404baad0ebe18b05672141134ddaf930dc4f9adad7badeba58df21273ef38
4
+ data.tar.gz: 1c9027f0e5614a3f812eca473f8c93ee932954d54023f8e9a2f438613bd5c8d4
5
5
  SHA512:
6
- metadata.gz: dabe0b5dfd0ad269e82dbf67286cb37925574523a0f0fc93bae1e9aec534d8311d4707ac6fb450925f29c14eb37c7e3a7b68baaffe0c84323dce7b1a048d1f34
7
- data.tar.gz: 7f4d4d95021fe815f4dab29c00269fffc3c344d793992c23731b2e72bb4bb008a06419651fba94302d63ad66aafd90a758e88706d29d3e5a342ca16d1852e392
6
+ metadata.gz: c2d86ef82c8ebd5134769d157356124c521cf42c991e69f46b3f5b3446ed92ae1fc6a267979ddecb36d2e4e8fc24c6fcae62b9d43716ee6b92ed4d2d8751eb81
7
+ data.tar.gz: 48170c89885404b9ed1fb9f7f618dc8f40880ba1a01abc97a1a8cd4ee1de21064429f767c08d66a842f3c4f26fa5f4a9cfaf964b931f71873bd2ca57f5a1d0e8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.14.0 (2024-08-01)
5
+ ------------------
6
+
7
+ * Feature - API and Documentation for Bedrock Model Copy feature. This feature lets you share and copy a custom model from one region to another or one account to another.
8
+
4
9
  1.13.0 (2024-07-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.0
1
+ 1.14.0
@@ -428,7 +428,7 @@ module Aws::Bedrock
428
428
  # API operation for creating and managing Amazon Bedrock automatic model
429
429
  # evaluation jobs and model evaluation jobs that use human workers. To
430
430
  # learn more about the requirements for creating a model evaluation job
431
- # see, [Model evaluations][1].
431
+ # see, [Model evaluation][1].
432
432
  #
433
433
  #
434
434
  #
@@ -801,6 +801,78 @@ module Aws::Bedrock
801
801
  req.send_request(options)
802
802
  end
803
803
 
804
+ # Copies a model to another region so that it can be used there. For
805
+ # more information, see [Copy models to be used in other regions][1] in
806
+ # the [Amazon Bedrock User Guide][2].
807
+ #
808
+ #
809
+ #
810
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/copy-model.html
811
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
812
+ #
813
+ # @option params [required, String] :source_model_arn
814
+ # The Amazon Resource Name (ARN) of the model to be copied.
815
+ #
816
+ # @option params [required, String] :target_model_name
817
+ # A name for the copied model.
818
+ #
819
+ # @option params [String] :model_kms_key_id
820
+ # The ARN of the KMS key that you use to encrypt the model copy.
821
+ #
822
+ # @option params [Array<Types::Tag>] :target_model_tags
823
+ # Tags to associate with the target model. For more information, see
824
+ # [Tag resources][1] in the [Amazon Bedrock User Guide][2].
825
+ #
826
+ #
827
+ #
828
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html
829
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
830
+ #
831
+ # @option params [String] :client_request_token
832
+ # A unique, case-sensitive identifier to ensure that the API request
833
+ # completes no more than one time. If this token matches a previous
834
+ # request, Amazon Bedrock ignores the request, but does not return an
835
+ # error. For more information, see [Ensuring idempotency][1].
836
+ #
837
+ # **A suitable default value is auto-generated.** You should normally
838
+ # not need to pass this option.**
839
+ #
840
+ #
841
+ #
842
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
843
+ #
844
+ # @return [Types::CreateModelCopyJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
845
+ #
846
+ # * {Types::CreateModelCopyJobResponse#job_arn #job_arn} => String
847
+ #
848
+ # @example Request syntax with placeholder values
849
+ #
850
+ # resp = client.create_model_copy_job({
851
+ # source_model_arn: "ModelArn", # required
852
+ # target_model_name: "CustomModelName", # required
853
+ # model_kms_key_id: "KmsKeyId",
854
+ # target_model_tags: [
855
+ # {
856
+ # key: "TagKey", # required
857
+ # value: "TagValue", # required
858
+ # },
859
+ # ],
860
+ # client_request_token: "IdempotencyToken",
861
+ # })
862
+ #
863
+ # @example Response structure
864
+ #
865
+ # resp.job_arn #=> String
866
+ #
867
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelCopyJob AWS API Documentation
868
+ #
869
+ # @overload create_model_copy_job(params = {})
870
+ # @param [Hash] params ({})
871
+ def create_model_copy_job(params = {}, options = {})
872
+ req = build_request(:create_model_copy_job, params)
873
+ req.send_request(options)
874
+ end
875
+
804
876
  # Creates a fine-tuning job to customize a base model.
805
877
  #
806
878
  # You specify the base foundation model and the location of the training
@@ -817,13 +889,14 @@ module Aws::Bedrock
817
889
  # monitor a job, use the `GetModelCustomizationJob` operation to
818
890
  # retrieve the job status.
819
891
  #
820
- # For more information, see [Custom models][2] in the Amazon Bedrock
821
- # User Guide.
892
+ # For more information, see [Custom models][2] in the [Amazon Bedrock
893
+ # User Guide][3].
822
894
  #
823
895
  #
824
896
  #
825
897
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-prepare.html
826
898
  # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html
899
+ # [3]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
827
900
  #
828
901
  # @option params [required, String] :job_name
829
902
  # A name for the fine-tuning job.
@@ -953,12 +1026,13 @@ module Aws::Bedrock
953
1026
  # Creates dedicated throughput for a base or custom model with the model
954
1027
  # units and for the duration that you specify. For pricing details, see
955
1028
  # [Amazon Bedrock Pricing][1]. For more information, see [Provisioned
956
- # Throughput][2] in the Amazon Bedrock User Guide.
1029
+ # Throughput][2] in the [Amazon Bedrock User Guide][3].
957
1030
  #
958
1031
  #
959
1032
  #
960
1033
  # [1]: http://aws.amazon.com/bedrock/pricing/
961
1034
  # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html
1035
+ # [3]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
962
1036
  #
963
1037
  # @option params [String] :client_request_token
964
1038
  # A unique, case-sensitive identifier to ensure that the API request
@@ -984,7 +1058,7 @@ module Aws::Bedrock
984
1058
  # center][1] to request MUs.
985
1059
  #
986
1060
  # For model unit quotas, see [Provisioned Throughput quotas][2] in the
987
- # Amazon Bedrock User Guide.
1061
+ # [Amazon Bedrock User Guide][3].
988
1062
  #
989
1063
  # For more information about what an MU specifies, contact your Amazon
990
1064
  # Web Services account manager.
@@ -993,6 +1067,7 @@ module Aws::Bedrock
993
1067
  #
994
1068
  # [1]: https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase
995
1069
  # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html#prov-thru-quotas
1070
+ # [3]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
996
1071
  #
997
1072
  # @option params [required, String] :provisioned_model_name
998
1073
  # The name for this Provisioned Throughput.
@@ -1001,12 +1076,13 @@ module Aws::Bedrock
1001
1076
  # The Amazon Resource Name (ARN) or name of the model to associate with
1002
1077
  # this Provisioned Throughput. For a list of models for which you can
1003
1078
  # purchase Provisioned Throughput, see [Amazon Bedrock model IDs for
1004
- # purchasing Provisioned Throughput][1] in the Amazon Bedrock User
1005
- # Guide.
1079
+ # purchasing Provisioned Throughput][1] in the [Amazon Bedrock User
1080
+ # Guide][2].
1006
1081
  #
1007
1082
  #
1008
1083
  #
1009
1084
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#prov-throughput-models
1085
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1010
1086
  #
1011
1087
  # @option params [String] :commitment_duration
1012
1088
  # The commitment duration requested for the Provisioned Throughput.
@@ -1015,11 +1091,12 @@ module Aws::Bedrock
1015
1091
  #
1016
1092
  # Custom models support all levels of commitment. To see which base
1017
1093
  # models support no commitment, see [Supported regions and models for
1018
- # Provisioned Throughput][1] in the Amazon Bedrock User Guide
1094
+ # Provisioned Throughput][1] in the [Amazon Bedrock User Guide][2]
1019
1095
  #
1020
1096
  #
1021
1097
  #
1022
1098
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/pt-supported.html
1099
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1023
1100
  #
1024
1101
  # @option params [Array<Types::Tag>] :tags
1025
1102
  # Tags to associate with this Provisioned Throughput.
@@ -1058,11 +1135,12 @@ module Aws::Bedrock
1058
1135
  end
1059
1136
 
1060
1137
  # Deletes a custom model that you created earlier. For more information,
1061
- # see [Custom models][1] in the Amazon Bedrock User Guide.
1138
+ # see [Custom models][1] in the [Amazon Bedrock User Guide][2].
1062
1139
  #
1063
1140
  #
1064
1141
  #
1065
1142
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html
1143
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1066
1144
  #
1067
1145
  # @option params [required, String] :model_identifier
1068
1146
  # Name of the model to delete.
@@ -1133,11 +1211,12 @@ module Aws::Bedrock
1133
1211
 
1134
1212
  # Deletes a Provisioned Throughput. You can't delete a Provisioned
1135
1213
  # Throughput before the commitment term is over. For more information,
1136
- # see [Provisioned Throughput][1] in the Amazon Bedrock User Guide.
1214
+ # see [Provisioned Throughput][1] in the [Amazon Bedrock User Guide][2].
1137
1215
  #
1138
1216
  #
1139
1217
  #
1140
1218
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html
1219
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1141
1220
  #
1142
1221
  # @option params [required, String] :provisioned_model_id
1143
1222
  # The Amazon Resource Name (ARN) or name of the Provisioned Throughput.
@@ -1161,11 +1240,12 @@ module Aws::Bedrock
1161
1240
 
1162
1241
  # Get the properties associated with a Amazon Bedrock custom model that
1163
1242
  # you have created.For more information, see [Custom models][1] in the
1164
- # Amazon Bedrock User Guide.
1243
+ # [Amazon Bedrock User Guide][2].
1165
1244
  #
1166
1245
  #
1167
1246
  #
1168
1247
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html
1248
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1169
1249
  #
1170
1250
  # @option params [required, String] :model_identifier
1171
1251
  # Name or Amazon Resource Name (ARN) of the custom model.
@@ -1224,11 +1304,11 @@ module Aws::Bedrock
1224
1304
 
1225
1305
  # Retrieves the properties associated with a model evaluation job,
1226
1306
  # including the status of the job. For more information, see [Model
1227
- # evaluations][1].
1307
+ # evaluation][1].
1228
1308
  #
1229
1309
  #
1230
1310
  #
1231
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/latest/userguide/model-evaluation.html
1311
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation.html
1232
1312
  #
1233
1313
  # @option params [required, String] :job_identifier
1234
1314
  # The Amazon Resource Name (ARN) of the model evaluation job.
@@ -1433,13 +1513,71 @@ module Aws::Bedrock
1433
1513
  req.send_request(options)
1434
1514
  end
1435
1515
 
1516
+ # Retrieves information about a model copy job. For more information,
1517
+ # see [Copy models to be used in other regions][1] in the [Amazon
1518
+ # Bedrock User Guide][2].
1519
+ #
1520
+ #
1521
+ #
1522
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/copy-model.html
1523
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1524
+ #
1525
+ # @option params [required, String] :job_arn
1526
+ # The Amazon Resource Name (ARN) of the model copy job.
1527
+ #
1528
+ # @return [Types::GetModelCopyJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1529
+ #
1530
+ # * {Types::GetModelCopyJobResponse#job_arn #job_arn} => String
1531
+ # * {Types::GetModelCopyJobResponse#status #status} => String
1532
+ # * {Types::GetModelCopyJobResponse#creation_time #creation_time} => Time
1533
+ # * {Types::GetModelCopyJobResponse#target_model_arn #target_model_arn} => String
1534
+ # * {Types::GetModelCopyJobResponse#target_model_name #target_model_name} => String
1535
+ # * {Types::GetModelCopyJobResponse#source_account_id #source_account_id} => String
1536
+ # * {Types::GetModelCopyJobResponse#source_model_arn #source_model_arn} => String
1537
+ # * {Types::GetModelCopyJobResponse#target_model_kms_key_arn #target_model_kms_key_arn} => String
1538
+ # * {Types::GetModelCopyJobResponse#target_model_tags #target_model_tags} => Array&lt;Types::Tag&gt;
1539
+ # * {Types::GetModelCopyJobResponse#failure_message #failure_message} => String
1540
+ # * {Types::GetModelCopyJobResponse#source_model_name #source_model_name} => String
1541
+ #
1542
+ # @example Request syntax with placeholder values
1543
+ #
1544
+ # resp = client.get_model_copy_job({
1545
+ # job_arn: "ModelCopyJobArn", # required
1546
+ # })
1547
+ #
1548
+ # @example Response structure
1549
+ #
1550
+ # resp.job_arn #=> String
1551
+ # resp.status #=> String, one of "InProgress", "Completed", "Failed"
1552
+ # resp.creation_time #=> Time
1553
+ # resp.target_model_arn #=> String
1554
+ # resp.target_model_name #=> String
1555
+ # resp.source_account_id #=> String
1556
+ # resp.source_model_arn #=> String
1557
+ # resp.target_model_kms_key_arn #=> String
1558
+ # resp.target_model_tags #=> Array
1559
+ # resp.target_model_tags[0].key #=> String
1560
+ # resp.target_model_tags[0].value #=> String
1561
+ # resp.failure_message #=> String
1562
+ # resp.source_model_name #=> String
1563
+ #
1564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelCopyJob AWS API Documentation
1565
+ #
1566
+ # @overload get_model_copy_job(params = {})
1567
+ # @param [Hash] params ({})
1568
+ def get_model_copy_job(params = {}, options = {})
1569
+ req = build_request(:get_model_copy_job, params)
1570
+ req.send_request(options)
1571
+ end
1572
+
1436
1573
  # Retrieves the properties associated with a model-customization job,
1437
1574
  # including the status of the job. For more information, see [Custom
1438
- # models][1] in the Amazon Bedrock User Guide.
1575
+ # models][1] in the [Amazon Bedrock User Guide][2].
1439
1576
  #
1440
1577
  #
1441
1578
  #
1442
1579
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html
1580
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1443
1581
  #
1444
1582
  # @option params [required, String] :job_identifier
1445
1583
  # Identifier for the customization job.
@@ -1541,11 +1679,12 @@ module Aws::Bedrock
1541
1679
  end
1542
1680
 
1543
1681
  # Returns details for a Provisioned Throughput. For more information,
1544
- # see [Provisioned Throughput][1] in the Amazon Bedrock User Guide.
1682
+ # see [Provisioned Throughput][1] in the [Amazon Bedrock User Guide][2].
1545
1683
  #
1546
1684
  #
1547
1685
  #
1548
1686
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html
1687
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1549
1688
  #
1550
1689
  # @option params [required, String] :provisioned_model_id
1551
1690
  # The Amazon Resource Name (ARN) or name of the Provisioned Throughput.
@@ -1600,12 +1739,13 @@ module Aws::Bedrock
1600
1739
  # Returns a list of the custom models that you have created with the
1601
1740
  # `CreateModelCustomizationJob` operation.
1602
1741
  #
1603
- # For more information, see [Custom models][1] in the Amazon Bedrock
1604
- # User Guide.
1742
+ # For more information, see [Custom models][1] in the [Amazon Bedrock
1743
+ # User Guide][2].
1605
1744
  #
1606
1745
  #
1607
1746
  #
1608
1747
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html
1748
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1609
1749
  #
1610
1750
  # @option params [Time,DateTime,Date,Integer,String] :creation_time_before
1611
1751
  # Return custom models created before the specified time.
@@ -1625,11 +1765,16 @@ module Aws::Bedrock
1625
1765
  # (ARN) matches this parameter.
1626
1766
  #
1627
1767
  # @option params [Integer] :max_results
1628
- # Maximum number of results to return in the response.
1768
+ # The maximum number of results to return in the response. If the total
1769
+ # number of results is greater than this value, use the token returned
1770
+ # in the response in the `nextToken` field when making another request
1771
+ # to return the next batch of results.
1629
1772
  #
1630
1773
  # @option params [String] :next_token
1631
- # Continuation token from the previous response, for Amazon Bedrock to
1632
- # list the next set of results.
1774
+ # If the total number of results is greater than the `maxResults` value
1775
+ # provided in the request, enter the token returned in the `nextToken`
1776
+ # field in the response in this field to return the next batch of
1777
+ # results.
1633
1778
  #
1634
1779
  # @option params [String] :sort_by
1635
1780
  # The field to sort by in the returned list of models.
@@ -1637,6 +1782,10 @@ module Aws::Bedrock
1637
1782
  # @option params [String] :sort_order
1638
1783
  # The sort order of the results.
1639
1784
  #
1785
+ # @option params [Boolean] :is_owned
1786
+ # Return custom models depending on if the current account owns them
1787
+ # (`true`) or if they were shared with the current account (`false`).
1788
+ #
1640
1789
  # @return [Types::ListCustomModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1641
1790
  #
1642
1791
  # * {Types::ListCustomModelsResponse#next_token #next_token} => String
@@ -1656,6 +1805,7 @@ module Aws::Bedrock
1656
1805
  # next_token: "PaginationToken",
1657
1806
  # sort_by: "CreationTime", # accepts CreationTime
1658
1807
  # sort_order: "Ascending", # accepts Ascending, Descending
1808
+ # is_owned: false,
1659
1809
  # })
1660
1810
  #
1661
1811
  # @example Response structure
@@ -1668,6 +1818,7 @@ module Aws::Bedrock
1668
1818
  # resp.model_summaries[0].base_model_arn #=> String
1669
1819
  # resp.model_summaries[0].base_model_name #=> String
1670
1820
  # resp.model_summaries[0].customization_type #=> String, one of "FINE_TUNING", "CONTINUED_PRE_TRAINING"
1821
+ # resp.model_summaries[0].owner_account_id #=> String
1671
1822
  #
1672
1823
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListCustomModels AWS API Documentation
1673
1824
  #
@@ -1752,35 +1903,38 @@ module Aws::Bedrock
1752
1903
 
1753
1904
  # Lists Amazon Bedrock foundation models that you can use. You can
1754
1905
  # filter the results with the request parameters. For more information,
1755
- # see [Foundation models][1] in the Amazon Bedrock User Guide.
1906
+ # see [Foundation models][1] in the [Amazon Bedrock User Guide][2].
1756
1907
  #
1757
1908
  #
1758
1909
  #
1759
1910
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/foundation-models.html
1911
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1760
1912
  #
1761
1913
  # @option params [String] :by_provider
1762
1914
  # Return models belonging to the model provider that you specify.
1763
1915
  #
1764
1916
  # @option params [String] :by_customization_type
1765
1917
  # Return models that support the customization type that you specify.
1766
- # For more information, see [Custom models][1] in the Amazon Bedrock
1767
- # User Guide.
1918
+ # For more information, see [Custom models][1] in the [Amazon Bedrock
1919
+ # User Guide][2].
1768
1920
  #
1769
1921
  #
1770
1922
  #
1771
1923
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html
1924
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1772
1925
  #
1773
1926
  # @option params [String] :by_output_modality
1774
1927
  # Return models that support the output modality that you specify.
1775
1928
  #
1776
1929
  # @option params [String] :by_inference_type
1777
1930
  # Return models that support the inference type that you specify. For
1778
- # more information, see [Provisioned Throughput][1] in the Amazon
1779
- # Bedrock User Guide.
1931
+ # more information, see [Provisioned Throughput][1] in the [Amazon
1932
+ # Bedrock User Guide][2].
1780
1933
  #
1781
1934
  #
1782
1935
  #
1783
1936
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html
1937
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1784
1938
  #
1785
1939
  # @return [Types::ListFoundationModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1786
1940
  #
@@ -1880,15 +2034,116 @@ module Aws::Bedrock
1880
2034
  req.send_request(options)
1881
2035
  end
1882
2036
 
2037
+ # Returns a list of model copy jobs that you have submitted. You can
2038
+ # filter the jobs to return based on one or more criteria. For more
2039
+ # information, see [Copy models to be used in other regions][1] in the
2040
+ # [Amazon Bedrock User Guide][2].
2041
+ #
2042
+ #
2043
+ #
2044
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/copy-model.html
2045
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
2046
+ #
2047
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_after
2048
+ # Filters for model copy jobs created after the specified time.
2049
+ #
2050
+ # @option params [Time,DateTime,Date,Integer,String] :creation_time_before
2051
+ # Filters for model copy jobs created before the specified time.
2052
+ #
2053
+ # @option params [String] :status_equals
2054
+ # Filters for model copy jobs whose status matches the value that you
2055
+ # specify.
2056
+ #
2057
+ # @option params [String] :source_account_equals
2058
+ # Filters for model copy jobs in which the account that the source model
2059
+ # belongs to is equal to the value that you specify.
2060
+ #
2061
+ # @option params [String] :source_model_arn_equals
2062
+ # Filters for model copy jobs in which the Amazon Resource Name (ARN) of
2063
+ # the source model to is equal to the value that you specify.
2064
+ #
2065
+ # @option params [String] :target_model_name_contains
2066
+ # Filters for model copy jobs in which the name of the copied model
2067
+ # contains the string that you specify.
2068
+ #
2069
+ # @option params [Integer] :max_results
2070
+ # The maximum number of results to return in the response. If the total
2071
+ # number of results is greater than this value, use the token returned
2072
+ # in the response in the `nextToken` field when making another request
2073
+ # to return the next batch of results.
2074
+ #
2075
+ # @option params [String] :next_token
2076
+ # If the total number of results is greater than the `maxResults` value
2077
+ # provided in the request, enter the token returned in the `nextToken`
2078
+ # field in the response in this field to return the next batch of
2079
+ # results.
2080
+ #
2081
+ # @option params [String] :sort_by
2082
+ # The field to sort by in the returned list of model copy jobs.
2083
+ #
2084
+ # @option params [String] :sort_order
2085
+ # Specifies whether to sort the results in ascending or descending
2086
+ # order.
2087
+ #
2088
+ # @return [Types::ListModelCopyJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2089
+ #
2090
+ # * {Types::ListModelCopyJobsResponse#next_token #next_token} => String
2091
+ # * {Types::ListModelCopyJobsResponse#model_copy_job_summaries #model_copy_job_summaries} => Array&lt;Types::ModelCopyJobSummary&gt;
2092
+ #
2093
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2094
+ #
2095
+ # @example Request syntax with placeholder values
2096
+ #
2097
+ # resp = client.list_model_copy_jobs({
2098
+ # creation_time_after: Time.now,
2099
+ # creation_time_before: Time.now,
2100
+ # status_equals: "InProgress", # accepts InProgress, Completed, Failed
2101
+ # source_account_equals: "AccountId",
2102
+ # source_model_arn_equals: "ModelArn",
2103
+ # target_model_name_contains: "CustomModelName",
2104
+ # max_results: 1,
2105
+ # next_token: "PaginationToken",
2106
+ # sort_by: "CreationTime", # accepts CreationTime
2107
+ # sort_order: "Ascending", # accepts Ascending, Descending
2108
+ # })
2109
+ #
2110
+ # @example Response structure
2111
+ #
2112
+ # resp.next_token #=> String
2113
+ # resp.model_copy_job_summaries #=> Array
2114
+ # resp.model_copy_job_summaries[0].job_arn #=> String
2115
+ # resp.model_copy_job_summaries[0].status #=> String, one of "InProgress", "Completed", "Failed"
2116
+ # resp.model_copy_job_summaries[0].creation_time #=> Time
2117
+ # resp.model_copy_job_summaries[0].target_model_arn #=> String
2118
+ # resp.model_copy_job_summaries[0].target_model_name #=> String
2119
+ # resp.model_copy_job_summaries[0].source_account_id #=> String
2120
+ # resp.model_copy_job_summaries[0].source_model_arn #=> String
2121
+ # resp.model_copy_job_summaries[0].target_model_kms_key_arn #=> String
2122
+ # resp.model_copy_job_summaries[0].target_model_tags #=> Array
2123
+ # resp.model_copy_job_summaries[0].target_model_tags[0].key #=> String
2124
+ # resp.model_copy_job_summaries[0].target_model_tags[0].value #=> String
2125
+ # resp.model_copy_job_summaries[0].failure_message #=> String
2126
+ # resp.model_copy_job_summaries[0].source_model_name #=> String
2127
+ #
2128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelCopyJobs AWS API Documentation
2129
+ #
2130
+ # @overload list_model_copy_jobs(params = {})
2131
+ # @param [Hash] params ({})
2132
+ def list_model_copy_jobs(params = {}, options = {})
2133
+ req = build_request(:list_model_copy_jobs, params)
2134
+ req.send_request(options)
2135
+ end
2136
+
1883
2137
  # Returns a list of model customization jobs that you have submitted.
1884
2138
  # You can filter the jobs to return based on one or more criteria.
1885
2139
  #
1886
- # For more information, see [Custom models][1] in the Amazon Bedrock
1887
- # User Guide.
2140
+ # For more information, see [Custom models][1] in the [Amazon Bedrock
2141
+ # User Guide][2].
1888
2142
  #
1889
2143
  #
1890
2144
  #
1891
2145
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html
2146
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1892
2147
  #
1893
2148
  # @option params [Time,DateTime,Date,Integer,String] :creation_time_after
1894
2149
  # Return customization jobs created after the specified time.
@@ -1904,11 +2159,16 @@ module Aws::Bedrock
1904
2159
  # characters.
1905
2160
  #
1906
2161
  # @option params [Integer] :max_results
1907
- # Maximum number of results to return in the response.
2162
+ # The maximum number of results to return in the response. If the total
2163
+ # number of results is greater than this value, use the token returned
2164
+ # in the response in the `nextToken` field when making another request
2165
+ # to return the next batch of results.
1908
2166
  #
1909
2167
  # @option params [String] :next_token
1910
- # Continuation token from the previous response, for Amazon Bedrock to
1911
- # list the next set of results.
2168
+ # If the total number of results is greater than the `maxResults` value
2169
+ # provided in the request, enter the token returned in the `nextToken`
2170
+ # field in the response in this field to return the next batch of
2171
+ # results.
1912
2172
  #
1913
2173
  # @option params [String] :sort_by
1914
2174
  # The field to sort by in the returned list of jobs.
@@ -1961,12 +2221,13 @@ module Aws::Bedrock
1961
2221
  end
1962
2222
 
1963
2223
  # Lists the Provisioned Throughputs in the account. For more
1964
- # information, see [Provisioned Throughput][1] in the Amazon Bedrock
1965
- # User Guide.
2224
+ # information, see [Provisioned Throughput][1] in the [Amazon Bedrock
2225
+ # User Guide][2].
1966
2226
  #
1967
2227
  #
1968
2228
  #
1969
2229
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html
2230
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
1970
2231
  #
1971
2232
  # @option params [Time,DateTime,Date,Integer,String] :creation_time_after
1972
2233
  # A filter that returns Provisioned Throughputs created after the
@@ -2056,12 +2317,13 @@ module Aws::Bedrock
2056
2317
 
2057
2318
  # List the tags associated with the specified resource.
2058
2319
  #
2059
- # For more information, see [Tagging resources][1] in the Amazon Bedrock
2060
- # User Guide.
2320
+ # For more information, see [Tagging resources][1] in the [Amazon
2321
+ # Bedrock User Guide][2].
2061
2322
  #
2062
2323
  #
2063
2324
  #
2064
2325
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html
2326
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
2065
2327
  #
2066
2328
  # @option params [required, String] :resource_arn
2067
2329
  # The Amazon Resource Name (ARN) of the resource.
@@ -2152,11 +2414,12 @@ module Aws::Bedrock
2152
2414
  end
2153
2415
 
2154
2416
  # Stops an active model customization job. For more information, see
2155
- # [Custom models][1] in the Amazon Bedrock User Guide.
2417
+ # [Custom models][1] in the [Amazon Bedrock User Guide][2].
2156
2418
  #
2157
2419
  #
2158
2420
  #
2159
2421
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html
2422
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
2160
2423
  #
2161
2424
  # @option params [required, String] :job_identifier
2162
2425
  # Job identifier of the job to stop.
@@ -2179,11 +2442,12 @@ module Aws::Bedrock
2179
2442
  end
2180
2443
 
2181
2444
  # Associate tags with a resource. For more information, see [Tagging
2182
- # resources][1] in the Amazon Bedrock User Guide.
2445
+ # resources][1] in the [Amazon Bedrock User Guide][2].
2183
2446
  #
2184
2447
  #
2185
2448
  #
2186
2449
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html
2450
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
2187
2451
  #
2188
2452
  # @option params [required, String] :resource_arn
2189
2453
  # The Amazon Resource Name (ARN) of the resource to tag.
@@ -2215,11 +2479,12 @@ module Aws::Bedrock
2215
2479
  end
2216
2480
 
2217
2481
  # Remove one or more tags from a resource. For more information, see
2218
- # [Tagging resources][1] in the Amazon Bedrock User Guide.
2482
+ # [Tagging resources][1] in the [Amazon Bedrock User Guide][2].
2219
2483
  #
2220
2484
  #
2221
2485
  #
2222
2486
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html
2487
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
2223
2488
  #
2224
2489
  # @option params [required, String] :resource_arn
2225
2490
  # The Amazon Resource Name (ARN) of the resource to untag.
@@ -2411,12 +2676,13 @@ module Aws::Bedrock
2411
2676
  end
2412
2677
 
2413
2678
  # Updates the name or associated model for a Provisioned Throughput. For
2414
- # more information, see [Provisioned Throughput][1] in the Amazon
2415
- # Bedrock User Guide.
2679
+ # more information, see [Provisioned Throughput][1] in the [Amazon
2680
+ # Bedrock User Guide][2].
2416
2681
  #
2417
2682
  #
2418
2683
  #
2419
2684
  # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html
2685
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
2420
2686
  #
2421
2687
  # @option params [required, String] :provisioned_model_id
2422
2688
  # The Amazon Resource Name (ARN) or name of the Provisioned Throughput
@@ -2470,7 +2736,7 @@ module Aws::Bedrock
2470
2736
  params: params,
2471
2737
  config: config)
2472
2738
  context[:gem_name] = 'aws-sdk-bedrock'
2473
- context[:gem_version] = '1.13.0'
2739
+ context[:gem_version] = '1.14.0'
2474
2740
  Seahorse::Client::Request.new(handlers, context)
2475
2741
  end
2476
2742