aws-sdk-bedrock 1.53.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: d949463ffa3761ba4c843b884658ce2833c3f0ceaaeeb4d99a952bb15a866635
4
- data.tar.gz: 795c2cc017319a18581c041f81db7f4ba041bd1345071baebd022aa2c58fac0d
3
+ metadata.gz: 47aeba16546bcfb6877c2b9dc53ed10c08f747c7b9b973e1c42025511f21805a
4
+ data.tar.gz: 759b99098d731afb7f33d93eefbfe9bd8f299cad733e939df106785415282fdc
5
5
  SHA512:
6
- metadata.gz: cd4c231fd4c2b626085a79708ab2d16e2b08c55f805c8fef2383be0b6926492a5d6d8a0657bb1a5b65ccf199c913321ccc0567ec48263317f0ff457f0a908257
7
- data.tar.gz: '0875fe8ddbd14c58019cc256e67369ef0d7584c72a587c85e3f4ea5a50bf912bc309189ec1f85ec0f3de5ad4ef038f3b7ffecfdcceee7cca78a16692e791791c'
6
+ metadata.gz: a82253c1b74783690d7528c157178c6e20b60ac6abb7acb9ef13a39d509decb692003bde97bbe224264acbd7787bf7c4c292e5c2a593296371568b263deb5c86
7
+ data.tar.gz: 78f63fcdd8012c9895f93252467e9b7068fc6a937943146557467e5e15b80792784a782fa859daab4c8b2902ddf3e6183a68b38ca94b6f0089bfd2f9ec48d66c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.53.0 (2025-06-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.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
@@ -2377,6 +2463,46 @@ module Aws::Bedrock
2377
2463
  req.send_request(options)
2378
2464
  end
2379
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
+
2380
2506
  # Delete the model access agreement for the specified model.
2381
2507
  #
2382
2508
  # @option params [required, String] :model_id
@@ -2688,6 +2814,66 @@ module Aws::Bedrock
2688
2814
  req.send_request(options)
2689
2815
  end
2690
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
+
2691
2877
  # Gets information about an evaluation job, such as the status of the
2692
2878
  # job.
2693
2879
  #
@@ -3669,6 +3855,102 @@ module Aws::Bedrock
3669
3855
  req.send_request(options)
3670
3856
  end
3671
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
+
3672
3954
  # Returns a list of the custom models that you have created with the
3673
3955
  # `CreateModelCustomizationJob` operation.
3674
3956
  #
@@ -5459,7 +5741,7 @@ module Aws::Bedrock
5459
5741
  tracer: tracer
5460
5742
  )
5461
5743
  context[:gem_name] = 'aws-sdk-bedrock'
5462
- context[:gem_version] = '1.53.0'
5744
+ context[:gem_version] = '1.54.0'
5463
5745
  Seahorse::Client::Request.new(handlers, context)
5464
5746
  end
5465
5747
 
@@ -52,6 +52,8 @@ module Aws::Bedrock
52
52
  CommitmentDuration = Shapes::StringShape.new(name: 'CommitmentDuration')
53
53
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
54
54
  ContentType = Shapes::StringShape.new(name: 'ContentType')
55
+ CreateCustomModelDeploymentRequest = Shapes::StructureShape.new(name: 'CreateCustomModelDeploymentRequest')
56
+ CreateCustomModelDeploymentResponse = Shapes::StructureShape.new(name: 'CreateCustomModelDeploymentResponse')
55
57
  CreateCustomModelRequest = Shapes::StructureShape.new(name: 'CreateCustomModelRequest')
56
58
  CreateCustomModelResponse = Shapes::StructureShape.new(name: 'CreateCustomModelResponse')
57
59
  CreateEvaluationJobRequest = Shapes::StructureShape.new(name: 'CreateEvaluationJobRequest')
@@ -84,6 +86,12 @@ module Aws::Bedrock
84
86
  CustomMetricEvaluatorModelConfig = Shapes::StructureShape.new(name: 'CustomMetricEvaluatorModelConfig')
85
87
  CustomMetricInstructions = Shapes::StringShape.new(name: 'CustomMetricInstructions')
86
88
  CustomModelArn = Shapes::StringShape.new(name: 'CustomModelArn')
89
+ CustomModelDeploymentArn = Shapes::StringShape.new(name: 'CustomModelDeploymentArn')
90
+ CustomModelDeploymentDescription = Shapes::StringShape.new(name: 'CustomModelDeploymentDescription')
91
+ CustomModelDeploymentIdentifier = Shapes::StringShape.new(name: 'CustomModelDeploymentIdentifier')
92
+ CustomModelDeploymentStatus = Shapes::StringShape.new(name: 'CustomModelDeploymentStatus')
93
+ CustomModelDeploymentSummary = Shapes::StructureShape.new(name: 'CustomModelDeploymentSummary')
94
+ CustomModelDeploymentSummaryList = Shapes::ListShape.new(name: 'CustomModelDeploymentSummaryList')
87
95
  CustomModelName = Shapes::StringShape.new(name: 'CustomModelName')
88
96
  CustomModelSummary = Shapes::StructureShape.new(name: 'CustomModelSummary')
89
97
  CustomModelSummaryList = Shapes::ListShape.new(name: 'CustomModelSummaryList')
@@ -92,6 +100,8 @@ module Aws::Bedrock
92
100
  CustomizationConfig = Shapes::UnionShape.new(name: 'CustomizationConfig')
93
101
  CustomizationType = Shapes::StringShape.new(name: 'CustomizationType')
94
102
  DataProcessingDetails = Shapes::StructureShape.new(name: 'DataProcessingDetails')
103
+ DeleteCustomModelDeploymentRequest = Shapes::StructureShape.new(name: 'DeleteCustomModelDeploymentRequest')
104
+ DeleteCustomModelDeploymentResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelDeploymentResponse')
95
105
  DeleteCustomModelRequest = Shapes::StructureShape.new(name: 'DeleteCustomModelRequest')
96
106
  DeleteCustomModelResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelResponse')
97
107
  DeleteFoundationModelAgreementRequest = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementRequest')
@@ -183,6 +193,8 @@ module Aws::Bedrock
183
193
  FoundationModelSummary = Shapes::StructureShape.new(name: 'FoundationModelSummary')
184
194
  FoundationModelSummaryList = Shapes::ListShape.new(name: 'FoundationModelSummaryList')
185
195
  GenerationConfiguration = Shapes::StructureShape.new(name: 'GenerationConfiguration')
196
+ GetCustomModelDeploymentRequest = Shapes::StructureShape.new(name: 'GetCustomModelDeploymentRequest')
197
+ GetCustomModelDeploymentResponse = Shapes::StructureShape.new(name: 'GetCustomModelDeploymentResponse')
186
198
  GetCustomModelRequest = Shapes::StructureShape.new(name: 'GetCustomModelRequest')
187
199
  GetCustomModelResponse = Shapes::StructureShape.new(name: 'GetCustomModelResponse')
188
200
  GetEvaluationJobRequest = Shapes::StructureShape.new(name: 'GetEvaluationJobRequest')
@@ -358,6 +370,8 @@ module Aws::Bedrock
358
370
  KnowledgeBaseVectorSearchConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseVectorSearchConfiguration')
359
371
  KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger')
360
372
  LegalTerm = Shapes::StructureShape.new(name: 'LegalTerm')
373
+ ListCustomModelDeploymentsRequest = Shapes::StructureShape.new(name: 'ListCustomModelDeploymentsRequest')
374
+ ListCustomModelDeploymentsResponse = Shapes::StructureShape.new(name: 'ListCustomModelDeploymentsResponse')
361
375
  ListCustomModelsRequest = Shapes::StructureShape.new(name: 'ListCustomModelsRequest')
362
376
  ListCustomModelsResponse = Shapes::StructureShape.new(name: 'ListCustomModelsResponse')
363
377
  ListEvaluationJobsRequest = Shapes::StructureShape.new(name: 'ListEvaluationJobsRequest')
@@ -418,6 +432,7 @@ module Aws::Bedrock
418
432
  ModelCustomizationJobSummary = Shapes::StructureShape.new(name: 'ModelCustomizationJobSummary')
419
433
  ModelCustomizationList = Shapes::ListShape.new(name: 'ModelCustomizationList')
420
434
  ModelDataSource = Shapes::UnionShape.new(name: 'ModelDataSource')
435
+ ModelDeploymentName = Shapes::StringShape.new(name: 'ModelDeploymentName')
421
436
  ModelId = Shapes::StringShape.new(name: 'ModelId')
422
437
  ModelIdentifier = Shapes::StringShape.new(name: 'ModelIdentifier')
423
438
  ModelImportJobArn = Shapes::StringShape.new(name: 'ModelImportJobArn')
@@ -648,6 +663,16 @@ module Aws::Bedrock
648
663
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
649
664
  ConflictException.struct_class = Types::ConflictException
650
665
 
666
+ CreateCustomModelDeploymentRequest.add_member(:model_deployment_name, Shapes::ShapeRef.new(shape: ModelDeploymentName, required: true, location_name: "modelDeploymentName"))
667
+ CreateCustomModelDeploymentRequest.add_member(:model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "modelArn"))
668
+ CreateCustomModelDeploymentRequest.add_member(:description, Shapes::ShapeRef.new(shape: CustomModelDeploymentDescription, location_name: "description"))
669
+ CreateCustomModelDeploymentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
670
+ CreateCustomModelDeploymentRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
671
+ CreateCustomModelDeploymentRequest.struct_class = Types::CreateCustomModelDeploymentRequest
672
+
673
+ CreateCustomModelDeploymentResponse.add_member(:custom_model_deployment_arn, Shapes::ShapeRef.new(shape: CustomModelDeploymentArn, required: true, location_name: "customModelDeploymentArn"))
674
+ CreateCustomModelDeploymentResponse.struct_class = Types::CreateCustomModelDeploymentResponse
675
+
651
676
  CreateCustomModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
652
677
  CreateCustomModelRequest.add_member(:model_source_config, Shapes::ShapeRef.new(shape: ModelDataSource, required: true, location_name: "modelSourceConfig"))
653
678
  CreateCustomModelRequest.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
@@ -827,6 +852,17 @@ module Aws::Bedrock
827
852
  CustomMetricEvaluatorModelConfig.add_member(:bedrock_evaluator_models, Shapes::ShapeRef.new(shape: CustomMetricBedrockEvaluatorModels, required: true, location_name: "bedrockEvaluatorModels"))
828
853
  CustomMetricEvaluatorModelConfig.struct_class = Types::CustomMetricEvaluatorModelConfig
829
854
 
855
+ CustomModelDeploymentSummary.add_member(:custom_model_deployment_arn, Shapes::ShapeRef.new(shape: CustomModelDeploymentArn, required: true, location_name: "customModelDeploymentArn"))
856
+ CustomModelDeploymentSummary.add_member(:custom_model_deployment_name, Shapes::ShapeRef.new(shape: ModelDeploymentName, required: true, location_name: "customModelDeploymentName"))
857
+ CustomModelDeploymentSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "modelArn"))
858
+ CustomModelDeploymentSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
859
+ CustomModelDeploymentSummary.add_member(:status, Shapes::ShapeRef.new(shape: CustomModelDeploymentStatus, required: true, location_name: "status"))
860
+ CustomModelDeploymentSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
861
+ CustomModelDeploymentSummary.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
862
+ CustomModelDeploymentSummary.struct_class = Types::CustomModelDeploymentSummary
863
+
864
+ CustomModelDeploymentSummaryList.member = Shapes::ShapeRef.new(shape: CustomModelDeploymentSummary)
865
+
830
866
  CustomModelSummary.add_member(:model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "modelArn"))
831
867
  CustomModelSummary.add_member(:model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "modelName"))
832
868
  CustomModelSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
@@ -854,6 +890,11 @@ module Aws::Bedrock
854
890
  DataProcessingDetails.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedTime"))
855
891
  DataProcessingDetails.struct_class = Types::DataProcessingDetails
856
892
 
893
+ DeleteCustomModelDeploymentRequest.add_member(:custom_model_deployment_identifier, Shapes::ShapeRef.new(shape: CustomModelDeploymentIdentifier, required: true, location: "uri", location_name: "customModelDeploymentIdentifier"))
894
+ DeleteCustomModelDeploymentRequest.struct_class = Types::DeleteCustomModelDeploymentRequest
895
+
896
+ DeleteCustomModelDeploymentResponse.struct_class = Types::DeleteCustomModelDeploymentResponse
897
+
857
898
  DeleteCustomModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
858
899
  DeleteCustomModelRequest.struct_class = Types::DeleteCustomModelRequest
859
900
 
@@ -1101,6 +1142,19 @@ module Aws::Bedrock
1101
1142
  GenerationConfiguration.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: AdditionalModelRequestFields, location_name: "additionalModelRequestFields"))
1102
1143
  GenerationConfiguration.struct_class = Types::GenerationConfiguration
1103
1144
 
1145
+ GetCustomModelDeploymentRequest.add_member(:custom_model_deployment_identifier, Shapes::ShapeRef.new(shape: CustomModelDeploymentIdentifier, required: true, location: "uri", location_name: "customModelDeploymentIdentifier"))
1146
+ GetCustomModelDeploymentRequest.struct_class = Types::GetCustomModelDeploymentRequest
1147
+
1148
+ GetCustomModelDeploymentResponse.add_member(:custom_model_deployment_arn, Shapes::ShapeRef.new(shape: CustomModelDeploymentArn, required: true, location_name: "customModelDeploymentArn"))
1149
+ GetCustomModelDeploymentResponse.add_member(:model_deployment_name, Shapes::ShapeRef.new(shape: ModelDeploymentName, required: true, location_name: "modelDeploymentName"))
1150
+ GetCustomModelDeploymentResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: CustomModelArn, required: true, location_name: "modelArn"))
1151
+ GetCustomModelDeploymentResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
1152
+ GetCustomModelDeploymentResponse.add_member(:status, Shapes::ShapeRef.new(shape: CustomModelDeploymentStatus, required: true, location_name: "status"))
1153
+ GetCustomModelDeploymentResponse.add_member(:description, Shapes::ShapeRef.new(shape: CustomModelDeploymentDescription, location_name: "description"))
1154
+ GetCustomModelDeploymentResponse.add_member(:failure_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "failureMessage"))
1155
+ GetCustomModelDeploymentResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
1156
+ GetCustomModelDeploymentResponse.struct_class = Types::GetCustomModelDeploymentResponse
1157
+
1104
1158
  GetCustomModelRequest.add_member(:model_identifier, Shapes::ShapeRef.new(shape: ModelIdentifier, required: true, location: "uri", location_name: "modelIdentifier"))
1105
1159
  GetCustomModelRequest.struct_class = Types::GetCustomModelRequest
1106
1160
 
@@ -1671,6 +1725,21 @@ module Aws::Bedrock
1671
1725
  LegalTerm.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
1672
1726
  LegalTerm.struct_class = Types::LegalTerm
1673
1727
 
1728
+ ListCustomModelDeploymentsRequest.add_member(:created_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "createdBefore"))
1729
+ ListCustomModelDeploymentsRequest.add_member(:created_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "createdAfter"))
1730
+ ListCustomModelDeploymentsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: ModelDeploymentName, location: "querystring", location_name: "nameContains"))
1731
+ ListCustomModelDeploymentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1732
+ ListCustomModelDeploymentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
1733
+ ListCustomModelDeploymentsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SortModelsBy, location: "querystring", location_name: "sortBy"))
1734
+ ListCustomModelDeploymentsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
1735
+ ListCustomModelDeploymentsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: CustomModelDeploymentStatus, location: "querystring", location_name: "statusEquals"))
1736
+ ListCustomModelDeploymentsRequest.add_member(:model_arn_equals, Shapes::ShapeRef.new(shape: CustomModelArn, location: "querystring", location_name: "modelArnEquals"))
1737
+ ListCustomModelDeploymentsRequest.struct_class = Types::ListCustomModelDeploymentsRequest
1738
+
1739
+ ListCustomModelDeploymentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
1740
+ ListCustomModelDeploymentsResponse.add_member(:model_deployment_summaries, Shapes::ShapeRef.new(shape: CustomModelDeploymentSummaryList, location_name: "modelDeploymentSummaries"))
1741
+ ListCustomModelDeploymentsResponse.struct_class = Types::ListCustomModelDeploymentsResponse
1742
+
1674
1743
  ListCustomModelsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
1675
1744
  ListCustomModelsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
1676
1745
  ListCustomModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: CustomModelName, location: "querystring", location_name: "nameContains"))
@@ -2395,6 +2464,21 @@ module Aws::Bedrock
2395
2464
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2396
2465
  end)
2397
2466
 
2467
+ api.add_operation(:create_custom_model_deployment, Seahorse::Model::Operation.new.tap do |o|
2468
+ o.name = "CreateCustomModelDeployment"
2469
+ o.http_method = "POST"
2470
+ o.http_request_uri = "/model-customization/custom-model-deployments"
2471
+ o.input = Shapes::ShapeRef.new(shape: CreateCustomModelDeploymentRequest)
2472
+ o.output = Shapes::ShapeRef.new(shape: CreateCustomModelDeploymentResponse)
2473
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2474
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2475
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2476
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2477
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
2478
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2479
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2480
+ end)
2481
+
2398
2482
  api.add_operation(:create_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
2399
2483
  o.name = "CreateEvaluationJob"
2400
2484
  o.http_method = "POST"
@@ -2590,6 +2674,20 @@ module Aws::Bedrock
2590
2674
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2591
2675
  end)
2592
2676
 
2677
+ api.add_operation(:delete_custom_model_deployment, Seahorse::Model::Operation.new.tap do |o|
2678
+ o.name = "DeleteCustomModelDeployment"
2679
+ o.http_method = "DELETE"
2680
+ o.http_request_uri = "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}"
2681
+ o.input = Shapes::ShapeRef.new(shape: DeleteCustomModelDeploymentRequest)
2682
+ o.output = Shapes::ShapeRef.new(shape: DeleteCustomModelDeploymentResponse)
2683
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2684
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2685
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2686
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2687
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2688
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2689
+ end)
2690
+
2593
2691
  api.add_operation(:delete_foundation_model_agreement, Seahorse::Model::Operation.new.tap do |o|
2594
2692
  o.name = "DeleteFoundationModelAgreement"
2595
2693
  o.http_method = "POST"
@@ -2724,6 +2822,19 @@ module Aws::Bedrock
2724
2822
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2725
2823
  end)
2726
2824
 
2825
+ api.add_operation(:get_custom_model_deployment, Seahorse::Model::Operation.new.tap do |o|
2826
+ o.name = "GetCustomModelDeployment"
2827
+ o.http_method = "GET"
2828
+ o.http_request_uri = "/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}"
2829
+ o.input = Shapes::ShapeRef.new(shape: GetCustomModelDeploymentRequest)
2830
+ o.output = Shapes::ShapeRef.new(shape: GetCustomModelDeploymentResponse)
2831
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2832
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2833
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2834
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2835
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2836
+ end)
2837
+
2727
2838
  api.add_operation(:get_evaluation_job, Seahorse::Model::Operation.new.tap do |o|
2728
2839
  o.name = "GetEvaluationJob"
2729
2840
  o.http_method = "GET"
@@ -2916,6 +3027,24 @@ module Aws::Bedrock
2916
3027
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2917
3028
  end)
2918
3029
 
3030
+ api.add_operation(:list_custom_model_deployments, Seahorse::Model::Operation.new.tap do |o|
3031
+ o.name = "ListCustomModelDeployments"
3032
+ o.http_method = "GET"
3033
+ o.http_request_uri = "/model-customization/custom-model-deployments"
3034
+ o.input = Shapes::ShapeRef.new(shape: ListCustomModelDeploymentsRequest)
3035
+ o.output = Shapes::ShapeRef.new(shape: ListCustomModelDeploymentsResponse)
3036
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3037
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3038
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3039
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3040
+ o[:pager] = Aws::Pager.new(
3041
+ limit_key: "max_results",
3042
+ tokens: {
3043
+ "next_token" => "next_token"
3044
+ }
3045
+ )
3046
+ end)
3047
+
2919
3048
  api.add_operation(:list_custom_models, Seahorse::Model::Operation.new.tap do |o|
2920
3049
  o.name = "ListCustomModels"
2921
3050
  o.http_method = "GET"
@@ -283,6 +283,67 @@ module Aws::Bedrock
283
283
  include Aws::Structure
284
284
  end
285
285
 
286
+ # @!attribute [rw] model_deployment_name
287
+ # The name for the custom model deployment. The name must be unique
288
+ # within your Amazon Web Services account and Region.
289
+ # @return [String]
290
+ #
291
+ # @!attribute [rw] model_arn
292
+ # The Amazon Resource Name (ARN) of the custom model to deploy for
293
+ # on-demand inference. The custom model must be in the `Active` state.
294
+ # @return [String]
295
+ #
296
+ # @!attribute [rw] description
297
+ # A description for the custom model deployment to help you identify
298
+ # its purpose.
299
+ # @return [String]
300
+ #
301
+ # @!attribute [rw] tags
302
+ # Tags to assign to the custom model deployment. You can use tags to
303
+ # organize and track your Amazon Web Services resources for cost
304
+ # allocation and management purposes.
305
+ # @return [Array<Types::Tag>]
306
+ #
307
+ # @!attribute [rw] client_request_token
308
+ # A unique, case-sensitive identifier to ensure that the operation
309
+ # completes no more than one time. If this token matches a previous
310
+ # request, Amazon Bedrock ignores the request, but does not return an
311
+ # error. For more information, see [Ensuring idempotency][1].
312
+ #
313
+ # **A suitable default value is auto-generated.** You should normally
314
+ # not need to pass this option.
315
+ #
316
+ #
317
+ #
318
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-idempotency.html
319
+ # @return [String]
320
+ #
321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateCustomModelDeploymentRequest AWS API Documentation
322
+ #
323
+ class CreateCustomModelDeploymentRequest < Struct.new(
324
+ :model_deployment_name,
325
+ :model_arn,
326
+ :description,
327
+ :tags,
328
+ :client_request_token)
329
+ SENSITIVE = []
330
+ include Aws::Structure
331
+ end
332
+
333
+ # @!attribute [rw] custom_model_deployment_arn
334
+ # The Amazon Resource Name (ARN) of the custom model deployment. Use
335
+ # this ARN as the `modelId` parameter when invoking the model with the
336
+ # `InvokeModel` or `Converse` operations.
337
+ # @return [String]
338
+ #
339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateCustomModelDeploymentResponse AWS API Documentation
340
+ #
341
+ class CreateCustomModelDeploymentResponse < Struct.new(
342
+ :custom_model_deployment_arn)
343
+ SENSITIVE = []
344
+ include Aws::Structure
345
+ end
346
+
286
347
  # @!attribute [rw] model_name
287
348
  # A unique name for the custom model.
288
349
  # @return [String]
@@ -1404,6 +1465,55 @@ module Aws::Bedrock
1404
1465
  include Aws::Structure
1405
1466
  end
1406
1467
 
1468
+ # Contains summary information about a custom model deployment,
1469
+ # including its ARN, name, status, and associated custom model.
1470
+ #
1471
+ # @!attribute [rw] custom_model_deployment_arn
1472
+ # The Amazon Resource Name (ARN) of the custom model deployment.
1473
+ # @return [String]
1474
+ #
1475
+ # @!attribute [rw] custom_model_deployment_name
1476
+ # The name of the custom model deployment.
1477
+ # @return [String]
1478
+ #
1479
+ # @!attribute [rw] model_arn
1480
+ # The Amazon Resource Name (ARN) of the custom model associated with
1481
+ # this deployment.
1482
+ # @return [String]
1483
+ #
1484
+ # @!attribute [rw] created_at
1485
+ # The date and time when the custom model deployment was created.
1486
+ # @return [Time]
1487
+ #
1488
+ # @!attribute [rw] status
1489
+ # The status of the custom model deployment. Possible values are
1490
+ # `CREATING`, `ACTIVE`, and `FAILED`.
1491
+ # @return [String]
1492
+ #
1493
+ # @!attribute [rw] last_updated_at
1494
+ # The date and time when the custom model deployment was last
1495
+ # modified.
1496
+ # @return [Time]
1497
+ #
1498
+ # @!attribute [rw] failure_message
1499
+ # If the deployment status is `FAILED`, this field contains a message
1500
+ # describing the failure reason.
1501
+ # @return [String]
1502
+ #
1503
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CustomModelDeploymentSummary AWS API Documentation
1504
+ #
1505
+ class CustomModelDeploymentSummary < Struct.new(
1506
+ :custom_model_deployment_arn,
1507
+ :custom_model_deployment_name,
1508
+ :model_arn,
1509
+ :created_at,
1510
+ :status,
1511
+ :last_updated_at,
1512
+ :failure_message)
1513
+ SENSITIVE = []
1514
+ include Aws::Structure
1515
+ end
1516
+
1407
1517
  # Summary information for a custom model.
1408
1518
  #
1409
1519
  # @!attribute [rw] model_arn
@@ -1543,6 +1653,23 @@ module Aws::Bedrock
1543
1653
  include Aws::Structure
1544
1654
  end
1545
1655
 
1656
+ # @!attribute [rw] custom_model_deployment_identifier
1657
+ # The Amazon Resource Name (ARN) or name of the custom model
1658
+ # deployment to delete.
1659
+ # @return [String]
1660
+ #
1661
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteCustomModelDeploymentRequest AWS API Documentation
1662
+ #
1663
+ class DeleteCustomModelDeploymentRequest < Struct.new(
1664
+ :custom_model_deployment_identifier)
1665
+ SENSITIVE = []
1666
+ include Aws::Structure
1667
+ end
1668
+
1669
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteCustomModelDeploymentResponse AWS API Documentation
1670
+ #
1671
+ class DeleteCustomModelDeploymentResponse < Aws::EmptyStructure; end
1672
+
1546
1673
  # @!attribute [rw] model_identifier
1547
1674
  # Name of the model to delete.
1548
1675
  # @return [String]
@@ -2597,6 +2724,77 @@ module Aws::Bedrock
2597
2724
  include Aws::Structure
2598
2725
  end
2599
2726
 
2727
+ # @!attribute [rw] custom_model_deployment_identifier
2728
+ # The Amazon Resource Name (ARN) or name of the custom model
2729
+ # deployment to retrieve information about.
2730
+ # @return [String]
2731
+ #
2732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetCustomModelDeploymentRequest AWS API Documentation
2733
+ #
2734
+ class GetCustomModelDeploymentRequest < Struct.new(
2735
+ :custom_model_deployment_identifier)
2736
+ SENSITIVE = []
2737
+ include Aws::Structure
2738
+ end
2739
+
2740
+ # @!attribute [rw] custom_model_deployment_arn
2741
+ # The Amazon Resource Name (ARN) of the custom model deployment.
2742
+ # @return [String]
2743
+ #
2744
+ # @!attribute [rw] model_deployment_name
2745
+ # The name of the custom model deployment.
2746
+ # @return [String]
2747
+ #
2748
+ # @!attribute [rw] model_arn
2749
+ # The Amazon Resource Name (ARN) of the custom model associated with
2750
+ # this deployment.
2751
+ # @return [String]
2752
+ #
2753
+ # @!attribute [rw] created_at
2754
+ # The date and time when the custom model deployment was created.
2755
+ # @return [Time]
2756
+ #
2757
+ # @!attribute [rw] status
2758
+ # The status of the custom model deployment. Possible values are:
2759
+ #
2760
+ # * `CREATING` - The deployment is being set up and prepared for
2761
+ # inference.
2762
+ #
2763
+ # * `ACTIVE` - The deployment is ready and available for inference
2764
+ # requests.
2765
+ #
2766
+ # * `FAILED` - The deployment failed to be created or became
2767
+ # unavailable.
2768
+ # @return [String]
2769
+ #
2770
+ # @!attribute [rw] description
2771
+ # The description of the custom model deployment.
2772
+ # @return [String]
2773
+ #
2774
+ # @!attribute [rw] failure_message
2775
+ # If the deployment status is `FAILED`, this field contains a message
2776
+ # describing the failure reason.
2777
+ # @return [String]
2778
+ #
2779
+ # @!attribute [rw] last_updated_at
2780
+ # The date and time when the custom model deployment was last updated.
2781
+ # @return [Time]
2782
+ #
2783
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetCustomModelDeploymentResponse AWS API Documentation
2784
+ #
2785
+ class GetCustomModelDeploymentResponse < Struct.new(
2786
+ :custom_model_deployment_arn,
2787
+ :model_deployment_name,
2788
+ :model_arn,
2789
+ :created_at,
2790
+ :status,
2791
+ :description,
2792
+ :failure_message,
2793
+ :last_updated_at)
2794
+ SENSITIVE = []
2795
+ include Aws::Structure
2796
+ end
2797
+
2600
2798
  # @!attribute [rw] model_identifier
2601
2799
  # Name or Amazon Resource Name (ARN) of the custom model.
2602
2800
  # @return [String]
@@ -5943,6 +6141,81 @@ module Aws::Bedrock
5943
6141
  include Aws::Structure
5944
6142
  end
5945
6143
 
6144
+ # @!attribute [rw] created_before
6145
+ # Filters deployments created before the specified date and time.
6146
+ # @return [Time]
6147
+ #
6148
+ # @!attribute [rw] created_after
6149
+ # Filters deployments created after the specified date and time.
6150
+ # @return [Time]
6151
+ #
6152
+ # @!attribute [rw] name_contains
6153
+ # Filters deployments whose names contain the specified string.
6154
+ # @return [String]
6155
+ #
6156
+ # @!attribute [rw] max_results
6157
+ # The maximum number of results to return in a single call.
6158
+ # @return [Integer]
6159
+ #
6160
+ # @!attribute [rw] next_token
6161
+ # The token for the next set of results. Use this token to retrieve
6162
+ # additional results when the response is truncated.
6163
+ # @return [String]
6164
+ #
6165
+ # @!attribute [rw] sort_by
6166
+ # The field to sort the results by. The only supported value is
6167
+ # `CreationTime`.
6168
+ # @return [String]
6169
+ #
6170
+ # @!attribute [rw] sort_order
6171
+ # The sort order for the results. Valid values are `Ascending` and
6172
+ # `Descending`. Default is `Descending`.
6173
+ # @return [String]
6174
+ #
6175
+ # @!attribute [rw] status_equals
6176
+ # Filters deployments by status. Valid values are `CREATING`,
6177
+ # `ACTIVE`, and `FAILED`.
6178
+ # @return [String]
6179
+ #
6180
+ # @!attribute [rw] model_arn_equals
6181
+ # Filters deployments by the Amazon Resource Name (ARN) of the
6182
+ # associated custom model.
6183
+ # @return [String]
6184
+ #
6185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListCustomModelDeploymentsRequest AWS API Documentation
6186
+ #
6187
+ class ListCustomModelDeploymentsRequest < Struct.new(
6188
+ :created_before,
6189
+ :created_after,
6190
+ :name_contains,
6191
+ :max_results,
6192
+ :next_token,
6193
+ :sort_by,
6194
+ :sort_order,
6195
+ :status_equals,
6196
+ :model_arn_equals)
6197
+ SENSITIVE = []
6198
+ include Aws::Structure
6199
+ end
6200
+
6201
+ # @!attribute [rw] next_token
6202
+ # The token for the next set of results. This value is null when there
6203
+ # are no more results to return.
6204
+ # @return [String]
6205
+ #
6206
+ # @!attribute [rw] model_deployment_summaries
6207
+ # A list of custom model deployment summaries.
6208
+ # @return [Array<Types::CustomModelDeploymentSummary>]
6209
+ #
6210
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListCustomModelDeploymentsResponse AWS API Documentation
6211
+ #
6212
+ class ListCustomModelDeploymentsResponse < Struct.new(
6213
+ :next_token,
6214
+ :model_deployment_summaries)
6215
+ SENSITIVE = []
6216
+ include Aws::Structure
6217
+ end
6218
+
5946
6219
  # @!attribute [rw] creation_time_before
5947
6220
  # Return custom models created before the specified time.
5948
6221
  # @return [Time]
@@ -55,7 +55,7 @@ module Aws::Bedrock
55
55
  autoload :EndpointProvider, 'aws-sdk-bedrock/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-bedrock/endpoints'
57
57
 
58
- GEM_VERSION = '1.53.0'
58
+ GEM_VERSION = '1.54.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -112,6 +112,25 @@ module Aws
112
112
  ) -> _CreateCustomModelResponseSuccess
113
113
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCustomModelResponseSuccess
114
114
 
115
+ interface _CreateCustomModelDeploymentResponseSuccess
116
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCustomModelDeploymentResponse]
117
+ def custom_model_deployment_arn: () -> ::String
118
+ end
119
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_custom_model_deployment-instance_method
120
+ def create_custom_model_deployment: (
121
+ model_deployment_name: ::String,
122
+ model_arn: ::String,
123
+ ?description: ::String,
124
+ ?tags: Array[
125
+ {
126
+ key: ::String,
127
+ value: ::String
128
+ },
129
+ ],
130
+ ?client_request_token: ::String
131
+ ) -> _CreateCustomModelDeploymentResponseSuccess
132
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCustomModelDeploymentResponseSuccess
133
+
115
134
  interface _CreateEvaluationJobResponseSuccess
116
135
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateEvaluationJobResponse]
117
136
  def job_arn: () -> ::String
@@ -938,6 +957,15 @@ module Aws
938
957
  ) -> _DeleteCustomModelResponseSuccess
939
958
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomModelResponseSuccess
940
959
 
960
+ interface _DeleteCustomModelDeploymentResponseSuccess
961
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCustomModelDeploymentResponse]
962
+ end
963
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_custom_model_deployment-instance_method
964
+ def delete_custom_model_deployment: (
965
+ custom_model_deployment_identifier: ::String
966
+ ) -> _DeleteCustomModelDeploymentResponseSuccess
967
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomModelDeploymentResponseSuccess
968
+
941
969
  interface _DeleteFoundationModelAgreementResponseSuccess
942
970
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFoundationModelAgreementResponse]
943
971
  end
@@ -1045,6 +1073,23 @@ module Aws
1045
1073
  ) -> _GetCustomModelResponseSuccess
1046
1074
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCustomModelResponseSuccess
1047
1075
 
1076
+ interface _GetCustomModelDeploymentResponseSuccess
1077
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCustomModelDeploymentResponse]
1078
+ def custom_model_deployment_arn: () -> ::String
1079
+ def model_deployment_name: () -> ::String
1080
+ def model_arn: () -> ::String
1081
+ def created_at: () -> ::Time
1082
+ def status: () -> ("Creating" | "Active" | "Failed")
1083
+ def description: () -> ::String
1084
+ def failure_message: () -> ::String
1085
+ def last_updated_at: () -> ::Time
1086
+ end
1087
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_custom_model_deployment-instance_method
1088
+ def get_custom_model_deployment: (
1089
+ custom_model_deployment_identifier: ::String
1090
+ ) -> _GetCustomModelDeploymentResponseSuccess
1091
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCustomModelDeploymentResponseSuccess
1092
+
1048
1093
  interface _GetEvaluationJobResponseSuccess
1049
1094
  include ::Seahorse::Client::_ResponseSuccess[Types::GetEvaluationJobResponse]
1050
1095
  def job_name: () -> ::String
@@ -1325,6 +1370,25 @@ module Aws
1325
1370
  ) -> _GetUseCaseForModelAccessResponseSuccess
1326
1371
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUseCaseForModelAccessResponseSuccess
1327
1372
 
1373
+ interface _ListCustomModelDeploymentsResponseSuccess
1374
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomModelDeploymentsResponse]
1375
+ def next_token: () -> ::String
1376
+ def model_deployment_summaries: () -> ::Array[Types::CustomModelDeploymentSummary]
1377
+ end
1378
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_custom_model_deployments-instance_method
1379
+ def list_custom_model_deployments: (
1380
+ ?created_before: ::Time,
1381
+ ?created_after: ::Time,
1382
+ ?name_contains: ::String,
1383
+ ?max_results: ::Integer,
1384
+ ?next_token: ::String,
1385
+ ?sort_by: ("CreationTime"),
1386
+ ?sort_order: ("Ascending" | "Descending"),
1387
+ ?status_equals: ("Creating" | "Active" | "Failed"),
1388
+ ?model_arn_equals: ::String
1389
+ ) -> _ListCustomModelDeploymentsResponseSuccess
1390
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomModelDeploymentsResponseSuccess
1391
+
1328
1392
  interface _ListCustomModelsResponseSuccess
1329
1393
  include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomModelsResponse]
1330
1394
  def next_token: () -> ::String
data/sig/types.rbs CHANGED
@@ -91,6 +91,20 @@ module Aws::Bedrock
91
91
  SENSITIVE: []
92
92
  end
93
93
 
94
+ class CreateCustomModelDeploymentRequest
95
+ attr_accessor model_deployment_name: ::String
96
+ attr_accessor model_arn: ::String
97
+ attr_accessor description: ::String
98
+ attr_accessor tags: ::Array[Types::Tag]
99
+ attr_accessor client_request_token: ::String
100
+ SENSITIVE: []
101
+ end
102
+
103
+ class CreateCustomModelDeploymentResponse
104
+ attr_accessor custom_model_deployment_arn: ::String
105
+ SENSITIVE: []
106
+ end
107
+
94
108
  class CreateCustomModelRequest
95
109
  attr_accessor model_name: ::String
96
110
  attr_accessor model_source_config: Types::ModelDataSource
@@ -326,6 +340,17 @@ module Aws::Bedrock
326
340
  SENSITIVE: []
327
341
  end
328
342
 
343
+ class CustomModelDeploymentSummary
344
+ attr_accessor custom_model_deployment_arn: ::String
345
+ attr_accessor custom_model_deployment_name: ::String
346
+ attr_accessor model_arn: ::String
347
+ attr_accessor created_at: ::Time
348
+ attr_accessor status: ("Creating" | "Active" | "Failed")
349
+ attr_accessor last_updated_at: ::Time
350
+ attr_accessor failure_message: ::String
351
+ SENSITIVE: []
352
+ end
353
+
329
354
  class CustomModelSummary
330
355
  attr_accessor model_arn: ::String
331
356
  attr_accessor model_name: ::String
@@ -362,6 +387,14 @@ module Aws::Bedrock
362
387
  SENSITIVE: []
363
388
  end
364
389
 
390
+ class DeleteCustomModelDeploymentRequest
391
+ attr_accessor custom_model_deployment_identifier: ::String
392
+ SENSITIVE: []
393
+ end
394
+
395
+ class DeleteCustomModelDeploymentResponse < Aws::EmptyStructure
396
+ end
397
+
365
398
  class DeleteCustomModelRequest
366
399
  attr_accessor model_identifier: ::String
367
400
  SENSITIVE: []
@@ -691,6 +724,23 @@ module Aws::Bedrock
691
724
  SENSITIVE: []
692
725
  end
693
726
 
727
+ class GetCustomModelDeploymentRequest
728
+ attr_accessor custom_model_deployment_identifier: ::String
729
+ SENSITIVE: []
730
+ end
731
+
732
+ class GetCustomModelDeploymentResponse
733
+ attr_accessor custom_model_deployment_arn: ::String
734
+ attr_accessor model_deployment_name: ::String
735
+ attr_accessor model_arn: ::String
736
+ attr_accessor created_at: ::Time
737
+ attr_accessor status: ("Creating" | "Active" | "Failed")
738
+ attr_accessor description: ::String
739
+ attr_accessor failure_message: ::String
740
+ attr_accessor last_updated_at: ::Time
741
+ SENSITIVE: []
742
+ end
743
+
694
744
  class GetCustomModelRequest
695
745
  attr_accessor model_identifier: ::String
696
746
  SENSITIVE: []
@@ -1383,6 +1433,25 @@ module Aws::Bedrock
1383
1433
  SENSITIVE: []
1384
1434
  end
1385
1435
 
1436
+ class ListCustomModelDeploymentsRequest
1437
+ attr_accessor created_before: ::Time
1438
+ attr_accessor created_after: ::Time
1439
+ attr_accessor name_contains: ::String
1440
+ attr_accessor max_results: ::Integer
1441
+ attr_accessor next_token: ::String
1442
+ attr_accessor sort_by: ("CreationTime")
1443
+ attr_accessor sort_order: ("Ascending" | "Descending")
1444
+ attr_accessor status_equals: ("Creating" | "Active" | "Failed")
1445
+ attr_accessor model_arn_equals: ::String
1446
+ SENSITIVE: []
1447
+ end
1448
+
1449
+ class ListCustomModelDeploymentsResponse
1450
+ attr_accessor next_token: ::String
1451
+ attr_accessor model_deployment_summaries: ::Array[Types::CustomModelDeploymentSummary]
1452
+ SENSITIVE: []
1453
+ end
1454
+
1386
1455
  class ListCustomModelsRequest
1387
1456
  attr_accessor creation_time_before: ::Time
1388
1457
  attr_accessor creation_time_after: ::Time
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.53.0
4
+ version: 1.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services