aws-sdk-bedrock 1.52.0 → 1.54.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: ae20fa3d3957875282be41d1e011f62189d2ae1524021a06d23d514ade0bd55a
4
- data.tar.gz: 5f457d933a6d94f5429c96da436fc82a95956ae4b942b34b6eff4393bcf24fb6
3
+ metadata.gz: 47aeba16546bcfb6877c2b9dc53ed10c08f747c7b9b973e1c42025511f21805a
4
+ data.tar.gz: 759b99098d731afb7f33d93eefbfe9bd8f299cad733e939df106785415282fdc
5
5
  SHA512:
6
- metadata.gz: b28788b72bea6c4bfe2d594fe190263092c4b5cb5b26d50e03faa8518d0473859ffc9b24fe55c376915c976b66b12f48862eb476091fb79a1aaf18b494e4529d
7
- data.tar.gz: 9ff361e643a2429d6419d09f26dba829374b501148786e9b5ff6c551b9d2fec298bbb2f45cb2afb5d5bd186c4eabaa24f8eabf146b966b8c6b88f48b41ab8a39
6
+ metadata.gz: a82253c1b74783690d7528c157178c6e20b60ac6abb7acb9ef13a39d509decb692003bde97bbe224264acbd7787bf7c4c292e5c2a593296371568b263deb5c86
7
+ data.tar.gz: 78f63fcdd8012c9895f93252467e9b7068fc6a937943146557467e5e15b80792784a782fa859daab4c8b2902ddf3e6183a68b38ca94b6f0089bfd2f9ec48d66c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.54.0 (2025-07-16)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for on-demand custom model inference through CustomModelDeployment APIs for Amazon Bedrock.
8
+
9
+ 1.53.0 (2025-06-30)
10
+ ------------------
11
+
12
+ * Feature - Add support for API Keys, Re-Ranker, implicit filter for RAG / KB evaluation for Bedrock APIs.
13
+
4
14
  1.52.0 (2025-06-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.52.0
1
+ 1.54.0
@@ -697,6 +697,92 @@ module Aws::Bedrock
697
697
  req.send_request(options)
698
698
  end
699
699
 
700
+ # Deploys a custom model for on-demand inference in Amazon Bedrock.
701
+ # After you deploy your custom model, you use the deployment's Amazon
702
+ # Resource Name (ARN) as the `modelId` parameter when you submit prompts
703
+ # and generate responses with model inference.
704
+ #
705
+ # For more information about setting up on-demand inference for custom
706
+ # models, see [Set up inference for a custom model][1].
707
+ #
708
+ # The following actions are related to the `CreateCustomModelDeployment`
709
+ # operation:
710
+ #
711
+ # * [GetCustomModelDeployment][2]
712
+ #
713
+ # * [ListCustomModelDeployments][3]
714
+ #
715
+ # * [DeleteCustomModelDeployment][4]
716
+ #
717
+ #
718
+ #
719
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html
720
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetCustomModelDeployment.html
721
+ # [3]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListCustomModelDeployments.html
722
+ # [4]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteCustomModelDeployment.html
723
+ #
724
+ # @option params [required, String] :model_deployment_name
725
+ # The name for the custom model deployment. The name must be unique
726
+ # within your Amazon Web Services account and Region.
727
+ #
728
+ # @option params [required, String] :model_arn
729
+ # The Amazon Resource Name (ARN) of the custom model to deploy for
730
+ # on-demand inference. The custom model must be in the `Active` state.
731
+ #
732
+ # @option params [String] :description
733
+ # A description for the custom model deployment to help you identify its
734
+ # purpose.
735
+ #
736
+ # @option params [Array<Types::Tag>] :tags
737
+ # Tags to assign to the custom model deployment. You can use tags to
738
+ # organize and track your Amazon Web Services resources for cost
739
+ # allocation and management purposes.
740
+ #
741
+ # @option params [String] :client_request_token
742
+ # A unique, case-sensitive identifier to ensure that the operation
743
+ # completes no more than one time. If this token matches a previous
744
+ # request, Amazon Bedrock ignores the request, but does not return an
745
+ # error. For more information, see [Ensuring idempotency][1].
746
+ #
747
+ # **A suitable default value is auto-generated.** You should normally
748
+ # not need to pass this option.**
749
+ #
750
+ #
751
+ #
752
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-idempotency.html
753
+ #
754
+ # @return [Types::CreateCustomModelDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
755
+ #
756
+ # * {Types::CreateCustomModelDeploymentResponse#custom_model_deployment_arn #custom_model_deployment_arn} => String
757
+ #
758
+ # @example Request syntax with placeholder values
759
+ #
760
+ # resp = client.create_custom_model_deployment({
761
+ # model_deployment_name: "ModelDeploymentName", # required
762
+ # model_arn: "CustomModelArn", # required
763
+ # description: "CustomModelDeploymentDescription",
764
+ # tags: [
765
+ # {
766
+ # key: "TagKey", # required
767
+ # value: "TagValue", # required
768
+ # },
769
+ # ],
770
+ # client_request_token: "IdempotencyToken",
771
+ # })
772
+ #
773
+ # @example Response structure
774
+ #
775
+ # resp.custom_model_deployment_arn #=> String
776
+ #
777
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateCustomModelDeployment AWS API Documentation
778
+ #
779
+ # @overload create_custom_model_deployment(params = {})
780
+ # @param [Hash] params ({})
781
+ def create_custom_model_deployment(params = {}, options = {})
782
+ req = build_request(:create_custom_model_deployment, params)
783
+ req.send_request(options)
784
+ end
785
+
700
786
  # Creates an evaluation job.
701
787
  #
702
788
  # @option params [required, String] :job_name
@@ -944,6 +1030,44 @@ module Aws::Bedrock
944
1030
  # },
945
1031
  # ],
946
1032
  # },
1033
+ # implicit_filter_configuration: {
1034
+ # metadata_attributes: [ # required
1035
+ # {
1036
+ # key: "MetadataAttributeSchemaKeyString", # required
1037
+ # type: "STRING", # required, accepts STRING, NUMBER, BOOLEAN, STRING_LIST
1038
+ # description: "MetadataAttributeSchemaDescriptionString", # required
1039
+ # },
1040
+ # ],
1041
+ # model_arn: "BedrockModelArn", # required
1042
+ # },
1043
+ # reranking_configuration: {
1044
+ # type: "BEDROCK_RERANKING_MODEL", # required, accepts BEDROCK_RERANKING_MODEL
1045
+ # bedrock_reranking_configuration: {
1046
+ # model_configuration: { # required
1047
+ # model_arn: "BedrockRerankingModelArn", # required
1048
+ # additional_model_request_fields: {
1049
+ # "AdditionalModelRequestFieldsKey" => {
1050
+ # },
1051
+ # },
1052
+ # },
1053
+ # number_of_reranked_results: 1,
1054
+ # metadata_configuration: {
1055
+ # selection_mode: "SELECTIVE", # required, accepts SELECTIVE, ALL
1056
+ # selective_mode_configuration: {
1057
+ # fields_to_include: [
1058
+ # {
1059
+ # field_name: "FieldForRerankingFieldNameString", # required
1060
+ # },
1061
+ # ],
1062
+ # fields_to_exclude: [
1063
+ # {
1064
+ # field_name: "FieldForRerankingFieldNameString", # required
1065
+ # },
1066
+ # ],
1067
+ # },
1068
+ # },
1069
+ # },
1070
+ # },
947
1071
  # },
948
1072
  # },
949
1073
  # },
@@ -1023,6 +1147,44 @@ module Aws::Bedrock
1023
1147
  # },
1024
1148
  # ],
1025
1149
  # },
1150
+ # implicit_filter_configuration: {
1151
+ # metadata_attributes: [ # required
1152
+ # {
1153
+ # key: "MetadataAttributeSchemaKeyString", # required
1154
+ # type: "STRING", # required, accepts STRING, NUMBER, BOOLEAN, STRING_LIST
1155
+ # description: "MetadataAttributeSchemaDescriptionString", # required
1156
+ # },
1157
+ # ],
1158
+ # model_arn: "BedrockModelArn", # required
1159
+ # },
1160
+ # reranking_configuration: {
1161
+ # type: "BEDROCK_RERANKING_MODEL", # required, accepts BEDROCK_RERANKING_MODEL
1162
+ # bedrock_reranking_configuration: {
1163
+ # model_configuration: { # required
1164
+ # model_arn: "BedrockRerankingModelArn", # required
1165
+ # additional_model_request_fields: {
1166
+ # "AdditionalModelRequestFieldsKey" => {
1167
+ # },
1168
+ # },
1169
+ # },
1170
+ # number_of_reranked_results: 1,
1171
+ # metadata_configuration: {
1172
+ # selection_mode: "SELECTIVE", # required, accepts SELECTIVE, ALL
1173
+ # selective_mode_configuration: {
1174
+ # fields_to_include: [
1175
+ # {
1176
+ # field_name: "FieldForRerankingFieldNameString", # required
1177
+ # },
1178
+ # ],
1179
+ # fields_to_exclude: [
1180
+ # {
1181
+ # field_name: "FieldForRerankingFieldNameString", # required
1182
+ # },
1183
+ # ],
1184
+ # },
1185
+ # },
1186
+ # },
1187
+ # },
1026
1188
  # },
1027
1189
  # },
1028
1190
  # generation_configuration: {
@@ -2301,6 +2463,46 @@ module Aws::Bedrock
2301
2463
  req.send_request(options)
2302
2464
  end
2303
2465
 
2466
+ # Deletes a custom model deployment. This operation stops the deployment
2467
+ # and removes it from your account. After deletion, the deployment ARN
2468
+ # can no longer be used for inference requests.
2469
+ #
2470
+ # The following actions are related to the `DeleteCustomModelDeployment`
2471
+ # operation:
2472
+ #
2473
+ # * [CreateCustomModelDeployment][1]
2474
+ #
2475
+ # * [GetCustomModelDeployment][2]
2476
+ #
2477
+ # * [ListCustomModelDeployments][3]
2478
+ #
2479
+ #
2480
+ #
2481
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateCustomModelDeployment.html
2482
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetCustomModelDeployment.html
2483
+ # [3]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListCustomModelDeployments.html
2484
+ #
2485
+ # @option params [required, String] :custom_model_deployment_identifier
2486
+ # The Amazon Resource Name (ARN) or name of the custom model deployment
2487
+ # to delete.
2488
+ #
2489
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2490
+ #
2491
+ # @example Request syntax with placeholder values
2492
+ #
2493
+ # resp = client.delete_custom_model_deployment({
2494
+ # custom_model_deployment_identifier: "CustomModelDeploymentIdentifier", # required
2495
+ # })
2496
+ #
2497
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteCustomModelDeployment AWS API Documentation
2498
+ #
2499
+ # @overload delete_custom_model_deployment(params = {})
2500
+ # @param [Hash] params ({})
2501
+ def delete_custom_model_deployment(params = {}, options = {})
2502
+ req = build_request(:delete_custom_model_deployment, params)
2503
+ req.send_request(options)
2504
+ end
2505
+
2304
2506
  # Delete the model access agreement for the specified model.
2305
2507
  #
2306
2508
  # @option params [required, String] :model_id
@@ -2612,6 +2814,66 @@ module Aws::Bedrock
2612
2814
  req.send_request(options)
2613
2815
  end
2614
2816
 
2817
+ # Retrieves information about a custom model deployment, including its
2818
+ # status, configuration, and metadata. Use this operation to monitor the
2819
+ # deployment status and retrieve details needed for inference requests.
2820
+ #
2821
+ # The following actions are related to the `GetCustomModelDeployment`
2822
+ # operation:
2823
+ #
2824
+ # * [CreateCustomModelDeployment][1]
2825
+ #
2826
+ # * [ListCustomModelDeployments][2]
2827
+ #
2828
+ # * [DeleteCustomModelDeployment][3]
2829
+ #
2830
+ #
2831
+ #
2832
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateCustomModelDeployment.html
2833
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListCustomModelDeployments.html
2834
+ # [3]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteCustomModelDeployment.html
2835
+ #
2836
+ # @option params [required, String] :custom_model_deployment_identifier
2837
+ # The Amazon Resource Name (ARN) or name of the custom model deployment
2838
+ # to retrieve information about.
2839
+ #
2840
+ # @return [Types::GetCustomModelDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2841
+ #
2842
+ # * {Types::GetCustomModelDeploymentResponse#custom_model_deployment_arn #custom_model_deployment_arn} => String
2843
+ # * {Types::GetCustomModelDeploymentResponse#model_deployment_name #model_deployment_name} => String
2844
+ # * {Types::GetCustomModelDeploymentResponse#model_arn #model_arn} => String
2845
+ # * {Types::GetCustomModelDeploymentResponse#created_at #created_at} => Time
2846
+ # * {Types::GetCustomModelDeploymentResponse#status #status} => String
2847
+ # * {Types::GetCustomModelDeploymentResponse#description #description} => String
2848
+ # * {Types::GetCustomModelDeploymentResponse#failure_message #failure_message} => String
2849
+ # * {Types::GetCustomModelDeploymentResponse#last_updated_at #last_updated_at} => Time
2850
+ #
2851
+ # @example Request syntax with placeholder values
2852
+ #
2853
+ # resp = client.get_custom_model_deployment({
2854
+ # custom_model_deployment_identifier: "CustomModelDeploymentIdentifier", # required
2855
+ # })
2856
+ #
2857
+ # @example Response structure
2858
+ #
2859
+ # resp.custom_model_deployment_arn #=> String
2860
+ # resp.model_deployment_name #=> String
2861
+ # resp.model_arn #=> String
2862
+ # resp.created_at #=> Time
2863
+ # resp.status #=> String, one of "Creating", "Active", "Failed"
2864
+ # resp.description #=> String
2865
+ # resp.failure_message #=> String
2866
+ # resp.last_updated_at #=> Time
2867
+ #
2868
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetCustomModelDeployment AWS API Documentation
2869
+ #
2870
+ # @overload get_custom_model_deployment(params = {})
2871
+ # @param [Hash] params ({})
2872
+ def get_custom_model_deployment(params = {}, options = {})
2873
+ req = build_request(:get_custom_model_deployment, params)
2874
+ req.send_request(options)
2875
+ end
2876
+
2615
2877
  # Gets information about an evaluation job, such as the status of the
2616
2878
  # job.
2617
2879
  #
@@ -2705,6 +2967,20 @@ module Aws::Bedrock
2705
2967
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.filter.and_all[0] #=> Types::RetrievalFilter
2706
2968
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.filter.or_all #=> Array
2707
2969
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.filter.or_all[0] #=> Types::RetrievalFilter
2970
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.implicit_filter_configuration.metadata_attributes #=> Array
2971
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.implicit_filter_configuration.metadata_attributes[0].key #=> String
2972
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.implicit_filter_configuration.metadata_attributes[0].type #=> String, one of "STRING", "NUMBER", "BOOLEAN", "STRING_LIST"
2973
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.implicit_filter_configuration.metadata_attributes[0].description #=> String
2974
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.implicit_filter_configuration.model_arn #=> String
2975
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.reranking_configuration.type #=> String, one of "BEDROCK_RERANKING_MODEL"
2976
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.model_configuration.model_arn #=> String
2977
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.model_configuration.additional_model_request_fields #=> Hash
2978
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.number_of_reranked_results #=> Integer
2979
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.metadata_configuration.selection_mode #=> String, one of "SELECTIVE", "ALL"
2980
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.metadata_configuration.selective_mode_configuration.fields_to_include #=> Array
2981
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.metadata_configuration.selective_mode_configuration.fields_to_include[0].field_name #=> String
2982
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.metadata_configuration.selective_mode_configuration.fields_to_exclude #=> Array
2983
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.metadata_configuration.selective_mode_configuration.fields_to_exclude[0].field_name #=> String
2708
2984
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.type #=> String, one of "KNOWLEDGE_BASE", "EXTERNAL_SOURCES"
2709
2985
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.knowledge_base_id #=> String
2710
2986
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.model_arn #=> String
@@ -2725,6 +3001,20 @@ module Aws::Bedrock
2725
3001
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.filter.and_all[0] #=> Types::RetrievalFilter
2726
3002
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.filter.or_all #=> Array
2727
3003
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.filter.or_all[0] #=> Types::RetrievalFilter
3004
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.implicit_filter_configuration.metadata_attributes #=> Array
3005
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.implicit_filter_configuration.metadata_attributes[0].key #=> String
3006
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.implicit_filter_configuration.metadata_attributes[0].type #=> String, one of "STRING", "NUMBER", "BOOLEAN", "STRING_LIST"
3007
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.implicit_filter_configuration.metadata_attributes[0].description #=> String
3008
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.implicit_filter_configuration.model_arn #=> String
3009
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.reranking_configuration.type #=> String, one of "BEDROCK_RERANKING_MODEL"
3010
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.model_configuration.model_arn #=> String
3011
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.model_configuration.additional_model_request_fields #=> Hash
3012
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.number_of_reranked_results #=> Integer
3013
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.metadata_configuration.selection_mode #=> String, one of "SELECTIVE", "ALL"
3014
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.metadata_configuration.selective_mode_configuration.fields_to_include #=> Array
3015
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.metadata_configuration.selective_mode_configuration.fields_to_include[0].field_name #=> String
3016
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.metadata_configuration.selective_mode_configuration.fields_to_exclude #=> Array
3017
+ # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.retrieval_configuration.vector_search_configuration.reranking_configuration.bedrock_reranking_configuration.metadata_configuration.selective_mode_configuration.fields_to_exclude[0].field_name #=> String
2728
3018
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.generation_configuration.prompt_template.text_prompt_template #=> String
2729
3019
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.generation_configuration.guardrail_configuration.guardrail_id #=> String
2730
3020
  # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_and_generate_config.knowledge_base_configuration.generation_configuration.guardrail_configuration.guardrail_version #=> String
@@ -3565,6 +3855,102 @@ module Aws::Bedrock
3565
3855
  req.send_request(options)
3566
3856
  end
3567
3857
 
3858
+ # Lists custom model deployments in your account. You can filter the
3859
+ # results by creation time, name, status, and associated model. Use this
3860
+ # operation to manage and monitor your custom model deployments.
3861
+ #
3862
+ # We recommend using pagination to ensure that the operation returns
3863
+ # quickly and successfully.
3864
+ #
3865
+ # The following actions are related to the `ListCustomModelDeployments`
3866
+ # operation:
3867
+ #
3868
+ # * [CreateCustomModelDeployment][1]
3869
+ #
3870
+ # * [GetCustomModelDeployment][2]
3871
+ #
3872
+ # * [DeleteCustomModelDeployment][3]
3873
+ #
3874
+ #
3875
+ #
3876
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateCustomModelDeployment.html
3877
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetCustomModelDeployment.html
3878
+ # [3]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteCustomModelDeployment.html
3879
+ #
3880
+ # @option params [Time,DateTime,Date,Integer,String] :created_before
3881
+ # Filters deployments created before the specified date and time.
3882
+ #
3883
+ # @option params [Time,DateTime,Date,Integer,String] :created_after
3884
+ # Filters deployments created after the specified date and time.
3885
+ #
3886
+ # @option params [String] :name_contains
3887
+ # Filters deployments whose names contain the specified string.
3888
+ #
3889
+ # @option params [Integer] :max_results
3890
+ # The maximum number of results to return in a single call.
3891
+ #
3892
+ # @option params [String] :next_token
3893
+ # The token for the next set of results. Use this token to retrieve
3894
+ # additional results when the response is truncated.
3895
+ #
3896
+ # @option params [String] :sort_by
3897
+ # The field to sort the results by. The only supported value is
3898
+ # `CreationTime`.
3899
+ #
3900
+ # @option params [String] :sort_order
3901
+ # The sort order for the results. Valid values are `Ascending` and
3902
+ # `Descending`. Default is `Descending`.
3903
+ #
3904
+ # @option params [String] :status_equals
3905
+ # Filters deployments by status. Valid values are `CREATING`, `ACTIVE`,
3906
+ # and `FAILED`.
3907
+ #
3908
+ # @option params [String] :model_arn_equals
3909
+ # Filters deployments by the Amazon Resource Name (ARN) of the
3910
+ # associated custom model.
3911
+ #
3912
+ # @return [Types::ListCustomModelDeploymentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3913
+ #
3914
+ # * {Types::ListCustomModelDeploymentsResponse#next_token #next_token} => String
3915
+ # * {Types::ListCustomModelDeploymentsResponse#model_deployment_summaries #model_deployment_summaries} => Array&lt;Types::CustomModelDeploymentSummary&gt;
3916
+ #
3917
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3918
+ #
3919
+ # @example Request syntax with placeholder values
3920
+ #
3921
+ # resp = client.list_custom_model_deployments({
3922
+ # created_before: Time.now,
3923
+ # created_after: Time.now,
3924
+ # name_contains: "ModelDeploymentName",
3925
+ # max_results: 1,
3926
+ # next_token: "PaginationToken",
3927
+ # sort_by: "CreationTime", # accepts CreationTime
3928
+ # sort_order: "Ascending", # accepts Ascending, Descending
3929
+ # status_equals: "Creating", # accepts Creating, Active, Failed
3930
+ # model_arn_equals: "CustomModelArn",
3931
+ # })
3932
+ #
3933
+ # @example Response structure
3934
+ #
3935
+ # resp.next_token #=> String
3936
+ # resp.model_deployment_summaries #=> Array
3937
+ # resp.model_deployment_summaries[0].custom_model_deployment_arn #=> String
3938
+ # resp.model_deployment_summaries[0].custom_model_deployment_name #=> String
3939
+ # resp.model_deployment_summaries[0].model_arn #=> String
3940
+ # resp.model_deployment_summaries[0].created_at #=> Time
3941
+ # resp.model_deployment_summaries[0].status #=> String, one of "Creating", "Active", "Failed"
3942
+ # resp.model_deployment_summaries[0].last_updated_at #=> Time
3943
+ # resp.model_deployment_summaries[0].failure_message #=> String
3944
+ #
3945
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListCustomModelDeployments AWS API Documentation
3946
+ #
3947
+ # @overload list_custom_model_deployments(params = {})
3948
+ # @param [Hash] params ({})
3949
+ def list_custom_model_deployments(params = {}, options = {})
3950
+ req = build_request(:list_custom_model_deployments, params)
3951
+ req.send_request(options)
3952
+ end
3953
+
3568
3954
  # Returns a list of the custom models that you have created with the
3569
3955
  # `CreateModelCustomizationJob` operation.
3570
3956
  #
@@ -5355,7 +5741,7 @@ module Aws::Bedrock
5355
5741
  tracer: tracer
5356
5742
  )
5357
5743
  context[:gem_name] = 'aws-sdk-bedrock'
5358
- context[:gem_version] = '1.52.0'
5744
+ context[:gem_version] = '1.54.0'
5359
5745
  Seahorse::Client::Request.new(handlers, context)
5360
5746
  end
5361
5747