aws-sdk-bedrock 1.27.0 → 1.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86059e1507fc771fd0c28d2c83b3f830e63f79f214076ca180724e695f6df73e
4
- data.tar.gz: d260b1acdd950b45af3ad43ea5ab57bcff9b2e6168b87c16a396fc974ccaa9e4
3
+ metadata.gz: 9e24c7decd63e78875bb734b6caf576b97c3960d66b6e552bc854ade938537da
4
+ data.tar.gz: fd6d224e271df235cebadcdb8909ba527d6a57c7fa75c411b44e1477ca3195fe
5
5
  SHA512:
6
- metadata.gz: 98538c7f5c569b7ae5ac5e77021a60b3e0c66f8671d6236dba5938ec246cb34c39f256489e01d5ea3b893702074c316ab7015b59f381c9c9572f88a75d79602c
7
- data.tar.gz: 9616f9e681a6f35fcbce2e9b03869767a386573ffe02c193d8ca209217686162e6ac2f6e07e7f52ea10473e5eb6b0993a06be118623f5c9327c265046304046a
6
+ metadata.gz: 13c46f4eb9c41543a894a629c6a7352a24d7bd56b133fca45b624308be44467daf2f740280fd5ba97b849f0f294f56946e06e52e860f8d3823b5431dc7c23c0b
7
+ data.tar.gz: f1c8d6e2b209336e6c638ca3e1a13d704c61f4b8a2ca53ee0cac3b7b9874562384dc1fe878908f41b652328ebe2c04bda4e4624635f8b2d93b3a02722ccf79c4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.28.0 (2024-10-29)
5
+ ------------------
6
+
7
+ * Feature - Update Application Inference Profile
8
+
4
9
  1.27.0 (2024-10-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.27.0
1
+ 1.28.0
@@ -866,6 +866,88 @@ module Aws::Bedrock
866
866
  req.send_request(options)
867
867
  end
868
868
 
869
+ # Creates an application inference profile to track metrics and costs
870
+ # when invoking a model. To create an application inference profile for
871
+ # a foundation model in one region, specify the ARN of the model in that
872
+ # region. To create an application inference profile for a foundation
873
+ # model across multiple regions, specify the ARN of the system-defined
874
+ # inference profile that contains the regions that you want to route
875
+ # requests to. For more information, see [Increase throughput and
876
+ # resilience with cross-region inference in Amazon Bedrock][1]. in the
877
+ # Amazon Bedrock User Guide.
878
+ #
879
+ #
880
+ #
881
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
882
+ #
883
+ # @option params [required, String] :inference_profile_name
884
+ # A name for the inference profile.
885
+ #
886
+ # @option params [String] :description
887
+ # A description for the inference profile.
888
+ #
889
+ # @option params [String] :client_request_token
890
+ # A unique, case-sensitive identifier to ensure that the API request
891
+ # completes no more than one time. If this token matches a previous
892
+ # request, Amazon Bedrock ignores the request, but does not return an
893
+ # error. For more information, see [Ensuring idempotency][1].
894
+ #
895
+ # **A suitable default value is auto-generated.** You should normally
896
+ # not need to pass this option.**
897
+ #
898
+ #
899
+ #
900
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
901
+ #
902
+ # @option params [required, Types::InferenceProfileModelSource] :model_source
903
+ # The foundation model or system-defined inference profile that the
904
+ # inference profile will track metrics and costs for.
905
+ #
906
+ # @option params [Array<Types::Tag>] :tags
907
+ # An array of objects, each of which contains a tag and its value. For
908
+ # more information, see [Tagging resources][1] in the [Amazon Bedrock
909
+ # User Guide][1].
910
+ #
911
+ #
912
+ #
913
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
914
+ #
915
+ # @return [Types::CreateInferenceProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
916
+ #
917
+ # * {Types::CreateInferenceProfileResponse#inference_profile_arn #inference_profile_arn} => String
918
+ # * {Types::CreateInferenceProfileResponse#status #status} => String
919
+ #
920
+ # @example Request syntax with placeholder values
921
+ #
922
+ # resp = client.create_inference_profile({
923
+ # inference_profile_name: "InferenceProfileName", # required
924
+ # description: "InferenceProfileDescription",
925
+ # client_request_token: "IdempotencyToken",
926
+ # model_source: { # required
927
+ # copy_from: "InferenceProfileModelSourceArn",
928
+ # },
929
+ # tags: [
930
+ # {
931
+ # key: "TagKey", # required
932
+ # value: "TagValue", # required
933
+ # },
934
+ # ],
935
+ # })
936
+ #
937
+ # @example Response structure
938
+ #
939
+ # resp.inference_profile_arn #=> String
940
+ # resp.status #=> String, one of "ACTIVE"
941
+ #
942
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateInferenceProfile AWS API Documentation
943
+ #
944
+ # @overload create_inference_profile(params = {})
945
+ # @param [Hash] params ({})
946
+ def create_inference_profile(params = {}, options = {})
947
+ req = build_request(:create_inference_profile, params)
948
+ req.send_request(options)
949
+ end
950
+
869
951
  # Copies a model to another region so that it can be used there. For
870
952
  # more information, see [Copy models to be used in other regions][1] in
871
953
  # the [Amazon Bedrock User Guide][2].
@@ -1506,6 +1588,35 @@ module Aws::Bedrock
1506
1588
  req.send_request(options)
1507
1589
  end
1508
1590
 
1591
+ # Deletes an application inference profile. For more information, see
1592
+ # [Increase throughput and resilience with cross-region inference in
1593
+ # Amazon Bedrock][1]. in the Amazon Bedrock User Guide.
1594
+ #
1595
+ #
1596
+ #
1597
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
1598
+ #
1599
+ # @option params [required, String] :inference_profile_identifier
1600
+ # The Amazon Resource Name (ARN) or ID of the application inference
1601
+ # profile to delete.
1602
+ #
1603
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1604
+ #
1605
+ # @example Request syntax with placeholder values
1606
+ #
1607
+ # resp = client.delete_inference_profile({
1608
+ # inference_profile_identifier: "InferenceProfileIdentifier", # required
1609
+ # })
1610
+ #
1611
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteInferenceProfile AWS API Documentation
1612
+ #
1613
+ # @overload delete_inference_profile(params = {})
1614
+ # @param [Hash] params ({})
1615
+ def delete_inference_profile(params = {}, options = {})
1616
+ req = build_request(:delete_inference_profile, params)
1617
+ req.send_request(options)
1618
+ end
1619
+
1509
1620
  # Delete the invocation logging.
1510
1621
  #
1511
1622
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -1868,19 +1979,24 @@ module Aws::Bedrock
1868
1979
  end
1869
1980
 
1870
1981
  # Gets information about an inference profile. For more information, see
1871
- # the Amazon Bedrock User Guide.
1982
+ # [Increase throughput and resilience with cross-region inference in
1983
+ # Amazon Bedrock][1]. in the Amazon Bedrock User Guide.
1984
+ #
1985
+ #
1986
+ #
1987
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
1872
1988
  #
1873
1989
  # @option params [required, String] :inference_profile_identifier
1874
- # The unique identifier of the inference profile.
1990
+ # The ID or Amazon Resource Name (ARN) of the inference profile.
1875
1991
  #
1876
1992
  # @return [Types::GetInferenceProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1877
1993
  #
1878
1994
  # * {Types::GetInferenceProfileResponse#inference_profile_name #inference_profile_name} => String
1879
- # * {Types::GetInferenceProfileResponse#models #models} => Array&lt;Types::InferenceProfileModel&gt;
1880
1995
  # * {Types::GetInferenceProfileResponse#description #description} => String
1881
1996
  # * {Types::GetInferenceProfileResponse#created_at #created_at} => Time
1882
1997
  # * {Types::GetInferenceProfileResponse#updated_at #updated_at} => Time
1883
1998
  # * {Types::GetInferenceProfileResponse#inference_profile_arn #inference_profile_arn} => String
1999
+ # * {Types::GetInferenceProfileResponse#models #models} => Array&lt;Types::InferenceProfileModel&gt;
1884
2000
  # * {Types::GetInferenceProfileResponse#inference_profile_id #inference_profile_id} => String
1885
2001
  # * {Types::GetInferenceProfileResponse#status #status} => String
1886
2002
  # * {Types::GetInferenceProfileResponse#type #type} => String
@@ -1894,15 +2010,15 @@ module Aws::Bedrock
1894
2010
  # @example Response structure
1895
2011
  #
1896
2012
  # resp.inference_profile_name #=> String
1897
- # resp.models #=> Array
1898
- # resp.models[0].model_arn #=> String
1899
2013
  # resp.description #=> String
1900
2014
  # resp.created_at #=> Time
1901
2015
  # resp.updated_at #=> Time
1902
2016
  # resp.inference_profile_arn #=> String
2017
+ # resp.models #=> Array
2018
+ # resp.models[0].model_arn #=> String
1903
2019
  # resp.inference_profile_id #=> String
1904
2020
  # resp.status #=> String, one of "ACTIVE"
1905
- # resp.type #=> String, one of "SYSTEM_DEFINED"
2021
+ # resp.type #=> String, one of "SYSTEM_DEFINED", "APPLICATION"
1906
2022
  #
1907
2023
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetInferenceProfile AWS API Documentation
1908
2024
  #
@@ -2640,7 +2756,13 @@ module Aws::Bedrock
2640
2756
  req.send_request(options)
2641
2757
  end
2642
2758
 
2643
- # Returns a list of inference profiles that you can use.
2759
+ # Returns a list of inference profiles that you can use. For more
2760
+ # information, see [Increase throughput and resilience with cross-region
2761
+ # inference in Amazon Bedrock][1]. in the Amazon Bedrock User Guide.
2762
+ #
2763
+ #
2764
+ #
2765
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
2644
2766
  #
2645
2767
  # @option params [Integer] :max_results
2646
2768
  # The maximum number of results to return in the response. If the total
@@ -2654,6 +2776,18 @@ module Aws::Bedrock
2654
2776
  # field in the response in this field to return the next batch of
2655
2777
  # results.
2656
2778
  #
2779
+ # @option params [String] :type_equals
2780
+ # Filters for inference profiles that match the type you specify.
2781
+ #
2782
+ # * `SYSTEM_DEFINED` – The inference profile is defined by Amazon
2783
+ # Bedrock. You can route inference requests across regions with these
2784
+ # inference profiles.
2785
+ #
2786
+ # * `APPLICATION` – The inference profile was created by a user. This
2787
+ # type of inference profile can track metrics and costs when invoking
2788
+ # the model in it. The inference profile may route requests to one or
2789
+ # multiple regions.
2790
+ #
2657
2791
  # @return [Types::ListInferenceProfilesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2658
2792
  #
2659
2793
  # * {Types::ListInferenceProfilesResponse#inference_profile_summaries #inference_profile_summaries} => Array&lt;Types::InferenceProfileSummary&gt;
@@ -2666,21 +2800,22 @@ module Aws::Bedrock
2666
2800
  # resp = client.list_inference_profiles({
2667
2801
  # max_results: 1,
2668
2802
  # next_token: "PaginationToken",
2803
+ # type_equals: "SYSTEM_DEFINED", # accepts SYSTEM_DEFINED, APPLICATION
2669
2804
  # })
2670
2805
  #
2671
2806
  # @example Response structure
2672
2807
  #
2673
2808
  # resp.inference_profile_summaries #=> Array
2674
2809
  # resp.inference_profile_summaries[0].inference_profile_name #=> String
2675
- # resp.inference_profile_summaries[0].models #=> Array
2676
- # resp.inference_profile_summaries[0].models[0].model_arn #=> String
2677
2810
  # resp.inference_profile_summaries[0].description #=> String
2678
2811
  # resp.inference_profile_summaries[0].created_at #=> Time
2679
2812
  # resp.inference_profile_summaries[0].updated_at #=> Time
2680
2813
  # resp.inference_profile_summaries[0].inference_profile_arn #=> String
2814
+ # resp.inference_profile_summaries[0].models #=> Array
2815
+ # resp.inference_profile_summaries[0].models[0].model_arn #=> String
2681
2816
  # resp.inference_profile_summaries[0].inference_profile_id #=> String
2682
2817
  # resp.inference_profile_summaries[0].status #=> String, one of "ACTIVE"
2683
- # resp.inference_profile_summaries[0].type #=> String, one of "SYSTEM_DEFINED"
2818
+ # resp.inference_profile_summaries[0].type #=> String, one of "SYSTEM_DEFINED", "APPLICATION"
2684
2819
  # resp.next_token #=> String
2685
2820
  #
2686
2821
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListInferenceProfiles AWS API Documentation
@@ -3156,12 +3291,11 @@ module Aws::Bedrock
3156
3291
  # List the tags associated with the specified resource.
3157
3292
  #
3158
3293
  # For more information, see [Tagging resources][1] in the [Amazon
3159
- # Bedrock User Guide][2].
3294
+ # Bedrock User Guide][1].
3160
3295
  #
3161
3296
  #
3162
3297
  #
3163
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html
3164
- # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
3298
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
3165
3299
  #
3166
3300
  # @option params [required, String] :resource_arn
3167
3301
  # The Amazon Resource Name (ARN) of the resource.
@@ -3308,12 +3442,11 @@ module Aws::Bedrock
3308
3442
  end
3309
3443
 
3310
3444
  # Associate tags with a resource. For more information, see [Tagging
3311
- # resources][1] in the [Amazon Bedrock User Guide][2].
3445
+ # resources][1] in the [Amazon Bedrock User Guide][1].
3312
3446
  #
3313
3447
  #
3314
3448
  #
3315
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html
3316
- # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
3449
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
3317
3450
  #
3318
3451
  # @option params [required, String] :resource_arn
3319
3452
  # The Amazon Resource Name (ARN) of the resource to tag.
@@ -3345,12 +3478,11 @@ module Aws::Bedrock
3345
3478
  end
3346
3479
 
3347
3480
  # Remove one or more tags from a resource. For more information, see
3348
- # [Tagging resources][1] in the [Amazon Bedrock User Guide][2].
3481
+ # [Tagging resources][1] in the [Amazon Bedrock User Guide][1].
3349
3482
  #
3350
3483
  #
3351
3484
  #
3352
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html
3353
- # [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
3485
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
3354
3486
  #
3355
3487
  # @option params [required, String] :resource_arn
3356
3488
  # The Amazon Resource Name (ARN) of the resource to untag.
@@ -3607,7 +3739,7 @@ module Aws::Bedrock
3607
3739
  tracer: tracer
3608
3740
  )
3609
3741
  context[:gem_name] = 'aws-sdk-bedrock'
3610
- context[:gem_version] = '1.27.0'
3742
+ context[:gem_version] = '1.28.0'
3611
3743
  Seahorse::Client::Request.new(handlers, context)
3612
3744
  end
3613
3745
 
@@ -37,6 +37,8 @@ module Aws::Bedrock
37
37
  CreateGuardrailResponse = Shapes::StructureShape.new(name: 'CreateGuardrailResponse')
38
38
  CreateGuardrailVersionRequest = Shapes::StructureShape.new(name: 'CreateGuardrailVersionRequest')
39
39
  CreateGuardrailVersionResponse = Shapes::StructureShape.new(name: 'CreateGuardrailVersionResponse')
40
+ CreateInferenceProfileRequest = Shapes::StructureShape.new(name: 'CreateInferenceProfileRequest')
41
+ CreateInferenceProfileResponse = Shapes::StructureShape.new(name: 'CreateInferenceProfileResponse')
40
42
  CreateModelCopyJobRequest = Shapes::StructureShape.new(name: 'CreateModelCopyJobRequest')
41
43
  CreateModelCopyJobResponse = Shapes::StructureShape.new(name: 'CreateModelCopyJobResponse')
42
44
  CreateModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'CreateModelCustomizationJobRequest')
@@ -58,6 +60,8 @@ module Aws::Bedrock
58
60
  DeleteGuardrailResponse = Shapes::StructureShape.new(name: 'DeleteGuardrailResponse')
59
61
  DeleteImportedModelRequest = Shapes::StructureShape.new(name: 'DeleteImportedModelRequest')
60
62
  DeleteImportedModelResponse = Shapes::StructureShape.new(name: 'DeleteImportedModelResponse')
63
+ DeleteInferenceProfileRequest = Shapes::StructureShape.new(name: 'DeleteInferenceProfileRequest')
64
+ DeleteInferenceProfileResponse = Shapes::StructureShape.new(name: 'DeleteInferenceProfileResponse')
61
65
  DeleteModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteModelInvocationLoggingConfigurationRequest')
62
66
  DeleteModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteModelInvocationLoggingConfigurationResponse')
63
67
  DeleteProvisionedModelThroughputRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedModelThroughputRequest')
@@ -215,6 +219,8 @@ module Aws::Bedrock
215
219
  InferenceProfileId = Shapes::StringShape.new(name: 'InferenceProfileId')
216
220
  InferenceProfileIdentifier = Shapes::StringShape.new(name: 'InferenceProfileIdentifier')
217
221
  InferenceProfileModel = Shapes::StructureShape.new(name: 'InferenceProfileModel')
222
+ InferenceProfileModelSource = Shapes::UnionShape.new(name: 'InferenceProfileModelSource')
223
+ InferenceProfileModelSourceArn = Shapes::StringShape.new(name: 'InferenceProfileModelSourceArn')
218
224
  InferenceProfileModels = Shapes::ListShape.new(name: 'InferenceProfileModels')
219
225
  InferenceProfileName = Shapes::StringShape.new(name: 'InferenceProfileName')
220
226
  InferenceProfileStatus = Shapes::StringShape.new(name: 'InferenceProfileStatus')
@@ -435,6 +441,17 @@ module Aws::Bedrock
435
441
  CreateGuardrailVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: GuardrailNumericalVersion, required: true, location_name: "version"))
436
442
  CreateGuardrailVersionResponse.struct_class = Types::CreateGuardrailVersionResponse
437
443
 
444
+ CreateInferenceProfileRequest.add_member(:inference_profile_name, Shapes::ShapeRef.new(shape: InferenceProfileName, required: true, location_name: "inferenceProfileName"))
445
+ CreateInferenceProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: InferenceProfileDescription, location_name: "description"))
446
+ CreateInferenceProfileRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
447
+ CreateInferenceProfileRequest.add_member(:model_source, Shapes::ShapeRef.new(shape: InferenceProfileModelSource, required: true, location_name: "modelSource"))
448
+ CreateInferenceProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
449
+ CreateInferenceProfileRequest.struct_class = Types::CreateInferenceProfileRequest
450
+
451
+ CreateInferenceProfileResponse.add_member(:inference_profile_arn, Shapes::ShapeRef.new(shape: InferenceProfileArn, required: true, location_name: "inferenceProfileArn"))
452
+ CreateInferenceProfileResponse.add_member(:status, Shapes::ShapeRef.new(shape: InferenceProfileStatus, location_name: "status"))
453
+ CreateInferenceProfileResponse.struct_class = Types::CreateInferenceProfileResponse
454
+
438
455
  CreateModelCopyJobRequest.add_member(:source_model_arn, Shapes::ShapeRef.new(shape: ModelArn, required: true, location_name: "sourceModelArn"))
439
456
  CreateModelCopyJobRequest.add_member(:target_model_name, Shapes::ShapeRef.new(shape: CustomModelName, required: true, location_name: "targetModelName"))
440
457
  CreateModelCopyJobRequest.add_member(:model_kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "modelKmsKeyId"))
@@ -530,6 +547,11 @@ module Aws::Bedrock
530
547
 
531
548
  DeleteImportedModelResponse.struct_class = Types::DeleteImportedModelResponse
532
549
 
550
+ DeleteInferenceProfileRequest.add_member(:inference_profile_identifier, Shapes::ShapeRef.new(shape: InferenceProfileIdentifier, required: true, location: "uri", location_name: "inferenceProfileIdentifier"))
551
+ DeleteInferenceProfileRequest.struct_class = Types::DeleteInferenceProfileRequest
552
+
553
+ DeleteInferenceProfileResponse.struct_class = Types::DeleteInferenceProfileResponse
554
+
533
555
  DeleteModelInvocationLoggingConfigurationRequest.struct_class = Types::DeleteModelInvocationLoggingConfigurationRequest
534
556
 
535
557
  DeleteModelInvocationLoggingConfigurationResponse.struct_class = Types::DeleteModelInvocationLoggingConfigurationResponse
@@ -720,11 +742,11 @@ module Aws::Bedrock
720
742
  GetInferenceProfileRequest.struct_class = Types::GetInferenceProfileRequest
721
743
 
722
744
  GetInferenceProfileResponse.add_member(:inference_profile_name, Shapes::ShapeRef.new(shape: InferenceProfileName, required: true, location_name: "inferenceProfileName"))
723
- GetInferenceProfileResponse.add_member(:models, Shapes::ShapeRef.new(shape: InferenceProfileModels, required: true, location_name: "models"))
724
745
  GetInferenceProfileResponse.add_member(:description, Shapes::ShapeRef.new(shape: InferenceProfileDescription, location_name: "description"))
725
746
  GetInferenceProfileResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
726
747
  GetInferenceProfileResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
727
748
  GetInferenceProfileResponse.add_member(:inference_profile_arn, Shapes::ShapeRef.new(shape: InferenceProfileArn, required: true, location_name: "inferenceProfileArn"))
749
+ GetInferenceProfileResponse.add_member(:models, Shapes::ShapeRef.new(shape: InferenceProfileModels, required: true, location_name: "models"))
728
750
  GetInferenceProfileResponse.add_member(:inference_profile_id, Shapes::ShapeRef.new(shape: InferenceProfileId, required: true, location_name: "inferenceProfileId"))
729
751
  GetInferenceProfileResponse.add_member(:status, Shapes::ShapeRef.new(shape: InferenceProfileStatus, required: true, location_name: "status"))
730
752
  GetInferenceProfileResponse.add_member(:type, Shapes::ShapeRef.new(shape: InferenceProfileType, required: true, location_name: "type"))
@@ -1003,16 +1025,22 @@ module Aws::Bedrock
1003
1025
  InferenceProfileModel.add_member(:model_arn, Shapes::ShapeRef.new(shape: FoundationModelArn, location_name: "modelArn"))
1004
1026
  InferenceProfileModel.struct_class = Types::InferenceProfileModel
1005
1027
 
1028
+ InferenceProfileModelSource.add_member(:copy_from, Shapes::ShapeRef.new(shape: InferenceProfileModelSourceArn, location_name: "copyFrom"))
1029
+ InferenceProfileModelSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1030
+ InferenceProfileModelSource.add_member_subclass(:copy_from, Types::InferenceProfileModelSource::CopyFrom)
1031
+ InferenceProfileModelSource.add_member_subclass(:unknown, Types::InferenceProfileModelSource::Unknown)
1032
+ InferenceProfileModelSource.struct_class = Types::InferenceProfileModelSource
1033
+
1006
1034
  InferenceProfileModels.member = Shapes::ShapeRef.new(shape: InferenceProfileModel)
1007
1035
 
1008
1036
  InferenceProfileSummaries.member = Shapes::ShapeRef.new(shape: InferenceProfileSummary)
1009
1037
 
1010
1038
  InferenceProfileSummary.add_member(:inference_profile_name, Shapes::ShapeRef.new(shape: InferenceProfileName, required: true, location_name: "inferenceProfileName"))
1011
- InferenceProfileSummary.add_member(:models, Shapes::ShapeRef.new(shape: InferenceProfileModels, required: true, location_name: "models"))
1012
1039
  InferenceProfileSummary.add_member(:description, Shapes::ShapeRef.new(shape: InferenceProfileDescription, location_name: "description"))
1013
1040
  InferenceProfileSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
1014
1041
  InferenceProfileSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
1015
1042
  InferenceProfileSummary.add_member(:inference_profile_arn, Shapes::ShapeRef.new(shape: InferenceProfileArn, required: true, location_name: "inferenceProfileArn"))
1043
+ InferenceProfileSummary.add_member(:models, Shapes::ShapeRef.new(shape: InferenceProfileModels, required: true, location_name: "models"))
1016
1044
  InferenceProfileSummary.add_member(:inference_profile_id, Shapes::ShapeRef.new(shape: InferenceProfileId, required: true, location_name: "inferenceProfileId"))
1017
1045
  InferenceProfileSummary.add_member(:status, Shapes::ShapeRef.new(shape: InferenceProfileStatus, required: true, location_name: "status"))
1018
1046
  InferenceProfileSummary.add_member(:type, Shapes::ShapeRef.new(shape: InferenceProfileType, required: true, location_name: "type"))
@@ -1086,6 +1114,7 @@ module Aws::Bedrock
1086
1114
 
1087
1115
  ListInferenceProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1088
1116
  ListInferenceProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
1117
+ ListInferenceProfilesRequest.add_member(:type_equals, Shapes::ShapeRef.new(shape: InferenceProfileType, location: "querystring", location_name: "type"))
1089
1118
  ListInferenceProfilesRequest.struct_class = Types::ListInferenceProfilesRequest
1090
1119
 
1091
1120
  ListInferenceProfilesResponse.add_member(:inference_profile_summaries, Shapes::ShapeRef.new(shape: InferenceProfileSummaries, location_name: "inferenceProfileSummaries"))
@@ -1487,6 +1516,22 @@ module Aws::Bedrock
1487
1516
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1488
1517
  end)
1489
1518
 
1519
+ api.add_operation(:create_inference_profile, Seahorse::Model::Operation.new.tap do |o|
1520
+ o.name = "CreateInferenceProfile"
1521
+ o.http_method = "POST"
1522
+ o.http_request_uri = "/inference-profiles"
1523
+ o.input = Shapes::ShapeRef.new(shape: CreateInferenceProfileRequest)
1524
+ o.output = Shapes::ShapeRef.new(shape: CreateInferenceProfileResponse)
1525
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1526
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1527
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1528
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1529
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1530
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1531
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1532
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1533
+ end)
1534
+
1490
1535
  api.add_operation(:create_model_copy_job, Seahorse::Model::Operation.new.tap do |o|
1491
1536
  o.name = "CreateModelCopyJob"
1492
1537
  o.http_method = "POST"
@@ -1603,6 +1648,20 @@ module Aws::Bedrock
1603
1648
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1604
1649
  end)
1605
1650
 
1651
+ api.add_operation(:delete_inference_profile, Seahorse::Model::Operation.new.tap do |o|
1652
+ o.name = "DeleteInferenceProfile"
1653
+ o.http_method = "DELETE"
1654
+ o.http_request_uri = "/inference-profiles/{inferenceProfileIdentifier}"
1655
+ o.input = Shapes::ShapeRef.new(shape: DeleteInferenceProfileRequest)
1656
+ o.output = Shapes::ShapeRef.new(shape: DeleteInferenceProfileResponse)
1657
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1658
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1659
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1660
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1661
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1662
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1663
+ end)
1664
+
1606
1665
  api.add_operation(:delete_model_invocation_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
1607
1666
  o.name = "DeleteModelInvocationLoggingConfiguration"
1608
1667
  o.http_method = "DELETE"
@@ -405,6 +405,73 @@ module Aws::Bedrock
405
405
  include Aws::Structure
406
406
  end
407
407
 
408
+ # @!attribute [rw] inference_profile_name
409
+ # A name for the inference profile.
410
+ # @return [String]
411
+ #
412
+ # @!attribute [rw] description
413
+ # A description for the inference profile.
414
+ # @return [String]
415
+ #
416
+ # @!attribute [rw] client_request_token
417
+ # A unique, case-sensitive identifier to ensure that the API request
418
+ # completes no more than one time. If this token matches a previous
419
+ # request, Amazon Bedrock ignores the request, but does not return an
420
+ # error. For more information, see [Ensuring idempotency][1].
421
+ #
422
+ # **A suitable default value is auto-generated.** You should normally
423
+ # not need to pass this option.
424
+ #
425
+ #
426
+ #
427
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
428
+ # @return [String]
429
+ #
430
+ # @!attribute [rw] model_source
431
+ # The foundation model or system-defined inference profile that the
432
+ # inference profile will track metrics and costs for.
433
+ # @return [Types::InferenceProfileModelSource]
434
+ #
435
+ # @!attribute [rw] tags
436
+ # An array of objects, each of which contains a tag and its value. For
437
+ # more information, see [Tagging resources][1] in the [Amazon Bedrock
438
+ # User Guide][1].
439
+ #
440
+ #
441
+ #
442
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html
443
+ # @return [Array<Types::Tag>]
444
+ #
445
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateInferenceProfileRequest AWS API Documentation
446
+ #
447
+ class CreateInferenceProfileRequest < Struct.new(
448
+ :inference_profile_name,
449
+ :description,
450
+ :client_request_token,
451
+ :model_source,
452
+ :tags)
453
+ SENSITIVE = [:description]
454
+ include Aws::Structure
455
+ end
456
+
457
+ # @!attribute [rw] inference_profile_arn
458
+ # The ARN of the inference profile that you created.
459
+ # @return [String]
460
+ #
461
+ # @!attribute [rw] status
462
+ # The status of the inference profile. `ACTIVE` means that the
463
+ # inference profile is ready to be used.
464
+ # @return [String]
465
+ #
466
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateInferenceProfileResponse AWS API Documentation
467
+ #
468
+ class CreateInferenceProfileResponse < Struct.new(
469
+ :inference_profile_arn,
470
+ :status)
471
+ SENSITIVE = []
472
+ include Aws::Structure
473
+ end
474
+
408
475
  # @!attribute [rw] source_model_arn
409
476
  # The Amazon Resource Name (ARN) of the model to be copied.
410
477
  # @return [String]
@@ -948,6 +1015,23 @@ module Aws::Bedrock
948
1015
  #
949
1016
  class DeleteImportedModelResponse < Aws::EmptyStructure; end
950
1017
 
1018
+ # @!attribute [rw] inference_profile_identifier
1019
+ # The Amazon Resource Name (ARN) or ID of the application inference
1020
+ # profile to delete.
1021
+ # @return [String]
1022
+ #
1023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteInferenceProfileRequest AWS API Documentation
1024
+ #
1025
+ class DeleteInferenceProfileRequest < Struct.new(
1026
+ :inference_profile_identifier)
1027
+ SENSITIVE = []
1028
+ include Aws::Structure
1029
+ end
1030
+
1031
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteInferenceProfileResponse AWS API Documentation
1032
+ #
1033
+ class DeleteInferenceProfileResponse < Aws::EmptyStructure; end
1034
+
951
1035
  # @api private
952
1036
  #
953
1037
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteModelInvocationLoggingConfigurationRequest AWS API Documentation
@@ -1758,7 +1842,7 @@ module Aws::Bedrock
1758
1842
  end
1759
1843
 
1760
1844
  # @!attribute [rw] inference_profile_identifier
1761
- # The unique identifier of the inference profile.
1845
+ # The ID or Amazon Resource Name (ARN) of the inference profile.
1762
1846
  # @return [String]
1763
1847
  #
1764
1848
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetInferenceProfileRequest AWS API Documentation
@@ -1773,10 +1857,6 @@ module Aws::Bedrock
1773
1857
  # The name of the inference profile.
1774
1858
  # @return [String]
1775
1859
  #
1776
- # @!attribute [rw] models
1777
- # A list of information about each model in the inference profile.
1778
- # @return [Array<Types::InferenceProfileModel>]
1779
- #
1780
1860
  # @!attribute [rw] description
1781
1861
  # The description of the inference profile.
1782
1862
  # @return [String]
@@ -1793,33 +1873,45 @@ module Aws::Bedrock
1793
1873
  # The Amazon Resource Name (ARN) of the inference profile.
1794
1874
  # @return [String]
1795
1875
  #
1876
+ # @!attribute [rw] models
1877
+ # A list of information about each model in the inference profile.
1878
+ # @return [Array<Types::InferenceProfileModel>]
1879
+ #
1796
1880
  # @!attribute [rw] inference_profile_id
1797
1881
  # The unique identifier of the inference profile.
1798
1882
  # @return [String]
1799
1883
  #
1800
1884
  # @!attribute [rw] status
1801
1885
  # The status of the inference profile. `ACTIVE` means that the
1802
- # inference profile is available to use.
1886
+ # inference profile is ready to be used.
1803
1887
  # @return [String]
1804
1888
  #
1805
1889
  # @!attribute [rw] type
1806
- # The type of the inference profile. `SYSTEM_DEFINED` means that the
1807
- # inference profile is defined by Amazon Bedrock.
1890
+ # The type of the inference profile. The following types are possible:
1891
+ #
1892
+ # * `SYSTEM_DEFINED` – The inference profile is defined by Amazon
1893
+ # Bedrock. You can route inference requests across regions with
1894
+ # these inference profiles.
1895
+ #
1896
+ # * `APPLICATION` – The inference profile was created by a user. This
1897
+ # type of inference profile can track metrics and costs when
1898
+ # invoking the model in it. The inference profile may route requests
1899
+ # to one or multiple regions.
1808
1900
  # @return [String]
1809
1901
  #
1810
1902
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetInferenceProfileResponse AWS API Documentation
1811
1903
  #
1812
1904
  class GetInferenceProfileResponse < Struct.new(
1813
1905
  :inference_profile_name,
1814
- :models,
1815
1906
  :description,
1816
1907
  :created_at,
1817
1908
  :updated_at,
1818
1909
  :inference_profile_arn,
1910
+ :models,
1819
1911
  :inference_profile_id,
1820
1912
  :status,
1821
1913
  :type)
1822
- SENSITIVE = []
1914
+ SENSITIVE = [:description]
1823
1915
  include Aws::Structure
1824
1916
  end
1825
1917
 
@@ -3378,16 +3470,35 @@ module Aws::Bedrock
3378
3470
  include Aws::Structure
3379
3471
  end
3380
3472
 
3473
+ # Contains information about the model or system-defined inference
3474
+ # profile that is the source for an inference profile..
3475
+ #
3476
+ # @note InferenceProfileModelSource is a union - when making an API calls you must set exactly one of the members.
3477
+ #
3478
+ # @!attribute [rw] copy_from
3479
+ # The ARN of the model or system-defined inference profile that is the
3480
+ # source for the inference profile.
3481
+ # @return [String]
3482
+ #
3483
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/InferenceProfileModelSource AWS API Documentation
3484
+ #
3485
+ class InferenceProfileModelSource < Struct.new(
3486
+ :copy_from,
3487
+ :unknown)
3488
+ SENSITIVE = []
3489
+ include Aws::Structure
3490
+ include Aws::Structure::Union
3491
+
3492
+ class CopyFrom < InferenceProfileModelSource; end
3493
+ class Unknown < InferenceProfileModelSource; end
3494
+ end
3495
+
3381
3496
  # Contains information about an inference profile.
3382
3497
  #
3383
3498
  # @!attribute [rw] inference_profile_name
3384
3499
  # The name of the inference profile.
3385
3500
  # @return [String]
3386
3501
  #
3387
- # @!attribute [rw] models
3388
- # A list of information about each model in the inference profile.
3389
- # @return [Array<Types::InferenceProfileModel>]
3390
- #
3391
3502
  # @!attribute [rw] description
3392
3503
  # The description of the inference profile.
3393
3504
  # @return [String]
@@ -3404,33 +3515,45 @@ module Aws::Bedrock
3404
3515
  # The Amazon Resource Name (ARN) of the inference profile.
3405
3516
  # @return [String]
3406
3517
  #
3518
+ # @!attribute [rw] models
3519
+ # A list of information about each model in the inference profile.
3520
+ # @return [Array<Types::InferenceProfileModel>]
3521
+ #
3407
3522
  # @!attribute [rw] inference_profile_id
3408
3523
  # The unique identifier of the inference profile.
3409
3524
  # @return [String]
3410
3525
  #
3411
3526
  # @!attribute [rw] status
3412
3527
  # The status of the inference profile. `ACTIVE` means that the
3413
- # inference profile is available to use.
3528
+ # inference profile is ready to be used.
3414
3529
  # @return [String]
3415
3530
  #
3416
3531
  # @!attribute [rw] type
3417
- # The type of the inference profile. `SYSTEM_DEFINED` means that the
3418
- # inference profile is defined by Amazon Bedrock.
3532
+ # The type of the inference profile. The following types are possible:
3533
+ #
3534
+ # * `SYSTEM_DEFINED` – The inference profile is defined by Amazon
3535
+ # Bedrock. You can route inference requests across regions with
3536
+ # these inference profiles.
3537
+ #
3538
+ # * `APPLICATION` – The inference profile was created by a user. This
3539
+ # type of inference profile can track metrics and costs when
3540
+ # invoking the model in it. The inference profile may route requests
3541
+ # to one or multiple regions.
3419
3542
  # @return [String]
3420
3543
  #
3421
3544
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/InferenceProfileSummary AWS API Documentation
3422
3545
  #
3423
3546
  class InferenceProfileSummary < Struct.new(
3424
3547
  :inference_profile_name,
3425
- :models,
3426
3548
  :description,
3427
3549
  :created_at,
3428
3550
  :updated_at,
3429
3551
  :inference_profile_arn,
3552
+ :models,
3430
3553
  :inference_profile_id,
3431
3554
  :status,
3432
3555
  :type)
3433
- SENSITIVE = []
3556
+ SENSITIVE = [:description]
3434
3557
  include Aws::Structure
3435
3558
  end
3436
3559
 
@@ -3782,11 +3905,25 @@ module Aws::Bedrock
3782
3905
  # batch of results.
3783
3906
  # @return [String]
3784
3907
  #
3908
+ # @!attribute [rw] type_equals
3909
+ # Filters for inference profiles that match the type you specify.
3910
+ #
3911
+ # * `SYSTEM_DEFINED` – The inference profile is defined by Amazon
3912
+ # Bedrock. You can route inference requests across regions with
3913
+ # these inference profiles.
3914
+ #
3915
+ # * `APPLICATION` – The inference profile was created by a user. This
3916
+ # type of inference profile can track metrics and costs when
3917
+ # invoking the model in it. The inference profile may route requests
3918
+ # to one or multiple regions.
3919
+ # @return [String]
3920
+ #
3785
3921
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListInferenceProfilesRequest AWS API Documentation
3786
3922
  #
3787
3923
  class ListInferenceProfilesRequest < Struct.new(
3788
3924
  :max_results,
3789
- :next_token)
3925
+ :next_token,
3926
+ :type_equals)
3790
3927
  SENSITIVE = []
3791
3928
  include Aws::Structure
3792
3929
  end
@@ -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.27.0'
58
+ GEM_VERSION = '1.28.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -252,6 +252,28 @@ module Aws
252
252
  ) -> _CreateGuardrailVersionResponseSuccess
253
253
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGuardrailVersionResponseSuccess
254
254
 
255
+ interface _CreateInferenceProfileResponseSuccess
256
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateInferenceProfileResponse]
257
+ def inference_profile_arn: () -> ::String
258
+ def status: () -> ("ACTIVE")
259
+ end
260
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_inference_profile-instance_method
261
+ def create_inference_profile: (
262
+ inference_profile_name: ::String,
263
+ ?description: ::String,
264
+ ?client_request_token: ::String,
265
+ model_source: {
266
+ copy_from: ::String?
267
+ },
268
+ ?tags: Array[
269
+ {
270
+ key: ::String,
271
+ value: ::String
272
+ },
273
+ ]
274
+ ) -> _CreateInferenceProfileResponseSuccess
275
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInferenceProfileResponseSuccess
276
+
255
277
  interface _CreateModelCopyJobResponseSuccess
256
278
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelCopyJobResponse]
257
279
  def job_arn: () -> ::String
@@ -438,6 +460,15 @@ module Aws
438
460
  ) -> _DeleteImportedModelResponseSuccess
439
461
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteImportedModelResponseSuccess
440
462
 
463
+ interface _DeleteInferenceProfileResponseSuccess
464
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteInferenceProfileResponse]
465
+ end
466
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_inference_profile-instance_method
467
+ def delete_inference_profile: (
468
+ inference_profile_identifier: ::String
469
+ ) -> _DeleteInferenceProfileResponseSuccess
470
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInferenceProfileResponseSuccess
471
+
441
472
  interface _DeleteModelInvocationLoggingConfigurationResponseSuccess
442
473
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteModelInvocationLoggingConfigurationResponse]
443
474
  end
@@ -559,14 +590,14 @@ module Aws
559
590
  interface _GetInferenceProfileResponseSuccess
560
591
  include ::Seahorse::Client::_ResponseSuccess[Types::GetInferenceProfileResponse]
561
592
  def inference_profile_name: () -> ::String
562
- def models: () -> ::Array[Types::InferenceProfileModel]
563
593
  def description: () -> ::String
564
594
  def created_at: () -> ::Time
565
595
  def updated_at: () -> ::Time
566
596
  def inference_profile_arn: () -> ::String
597
+ def models: () -> ::Array[Types::InferenceProfileModel]
567
598
  def inference_profile_id: () -> ::String
568
599
  def status: () -> ("ACTIVE")
569
- def type: () -> ("SYSTEM_DEFINED")
600
+ def type: () -> ("SYSTEM_DEFINED" | "APPLICATION")
570
601
  end
571
602
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_inference_profile-instance_method
572
603
  def get_inference_profile: (
@@ -790,7 +821,8 @@ module Aws
790
821
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_inference_profiles-instance_method
791
822
  def list_inference_profiles: (
792
823
  ?max_results: ::Integer,
793
- ?next_token: ::String
824
+ ?next_token: ::String,
825
+ ?type_equals: ("SYSTEM_DEFINED" | "APPLICATION")
794
826
  ) -> _ListInferenceProfilesResponseSuccess
795
827
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInferenceProfilesResponseSuccess
796
828
 
data/sig/types.rbs CHANGED
@@ -109,6 +109,21 @@ module Aws::Bedrock
109
109
  SENSITIVE: []
110
110
  end
111
111
 
112
+ class CreateInferenceProfileRequest
113
+ attr_accessor inference_profile_name: ::String
114
+ attr_accessor description: ::String
115
+ attr_accessor client_request_token: ::String
116
+ attr_accessor model_source: Types::InferenceProfileModelSource
117
+ attr_accessor tags: ::Array[Types::Tag]
118
+ SENSITIVE: [:description]
119
+ end
120
+
121
+ class CreateInferenceProfileResponse
122
+ attr_accessor inference_profile_arn: ::String
123
+ attr_accessor status: ("ACTIVE")
124
+ SENSITIVE: []
125
+ end
126
+
112
127
  class CreateModelCopyJobRequest
113
128
  attr_accessor source_model_arn: ::String
114
129
  attr_accessor target_model_name: ::String
@@ -233,6 +248,14 @@ module Aws::Bedrock
233
248
  class DeleteImportedModelResponse < Aws::EmptyStructure
234
249
  end
235
250
 
251
+ class DeleteInferenceProfileRequest
252
+ attr_accessor inference_profile_identifier: ::String
253
+ SENSITIVE: []
254
+ end
255
+
256
+ class DeleteInferenceProfileResponse < Aws::EmptyStructure
257
+ end
258
+
236
259
  class DeleteModelInvocationLoggingConfigurationRequest < Aws::EmptyStructure
237
260
  end
238
261
 
@@ -470,15 +493,15 @@ module Aws::Bedrock
470
493
 
471
494
  class GetInferenceProfileResponse
472
495
  attr_accessor inference_profile_name: ::String
473
- attr_accessor models: ::Array[Types::InferenceProfileModel]
474
496
  attr_accessor description: ::String
475
497
  attr_accessor created_at: ::Time
476
498
  attr_accessor updated_at: ::Time
477
499
  attr_accessor inference_profile_arn: ::String
500
+ attr_accessor models: ::Array[Types::InferenceProfileModel]
478
501
  attr_accessor inference_profile_id: ::String
479
502
  attr_accessor status: ("ACTIVE")
480
- attr_accessor type: ("SYSTEM_DEFINED")
481
- SENSITIVE: []
503
+ attr_accessor type: ("SYSTEM_DEFINED" | "APPLICATION")
504
+ SENSITIVE: [:description]
482
505
  end
483
506
 
484
507
  class GetModelCopyJobRequest
@@ -797,17 +820,28 @@ module Aws::Bedrock
797
820
  SENSITIVE: []
798
821
  end
799
822
 
823
+ class InferenceProfileModelSource
824
+ attr_accessor copy_from: ::String
825
+ attr_accessor unknown: untyped
826
+ SENSITIVE: []
827
+
828
+ class CopyFrom < InferenceProfileModelSource
829
+ end
830
+ class Unknown < InferenceProfileModelSource
831
+ end
832
+ end
833
+
800
834
  class InferenceProfileSummary
801
835
  attr_accessor inference_profile_name: ::String
802
- attr_accessor models: ::Array[Types::InferenceProfileModel]
803
836
  attr_accessor description: ::String
804
837
  attr_accessor created_at: ::Time
805
838
  attr_accessor updated_at: ::Time
806
839
  attr_accessor inference_profile_arn: ::String
840
+ attr_accessor models: ::Array[Types::InferenceProfileModel]
807
841
  attr_accessor inference_profile_id: ::String
808
842
  attr_accessor status: ("ACTIVE")
809
- attr_accessor type: ("SYSTEM_DEFINED")
810
- SENSITIVE: []
843
+ attr_accessor type: ("SYSTEM_DEFINED" | "APPLICATION")
844
+ SENSITIVE: [:description]
811
845
  end
812
846
 
813
847
  class InternalServerException
@@ -899,6 +933,7 @@ module Aws::Bedrock
899
933
  class ListInferenceProfilesRequest
900
934
  attr_accessor max_results: ::Integer
901
935
  attr_accessor next_token: ::String
936
+ attr_accessor type_equals: ("SYSTEM_DEFINED" | "APPLICATION")
902
937
  SENSITIVE: []
903
938
  end
904
939
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.27.0
4
+ version: 1.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-23 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core