aws-sdk-bedrock 1.16.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +123 -10
- data/lib/aws-sdk-bedrock/client_api.rb +86 -0
- data/lib/aws-sdk-bedrock/endpoints.rb +28 -0
- data/lib/aws-sdk-bedrock/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-bedrock/types.rb +179 -0
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +31 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +48 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76aa654b52dfed3218ad5730090333c8be2d10533d69425e3d49f224dc182fa6
|
4
|
+
data.tar.gz: 30c0bdcd8d7743008624f8953d273a4c24052d16ef76cd3f8fa8c5d2b1d135a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66cf407371ac3b5d1acf559c031771c47ad939799af8ed90b8766c11d716e300348a7964ed2dbb80c1ea9909e987ad4bebbc490d7d6cccd9d2dde05777914911
|
7
|
+
data.tar.gz: 41e90fe367f7817eebfcbc4af839d8dd59c76458eb2e4cfe245f51b7da37210adcc1f7f5c55ea698cca150eb64426b063610c8ca0e7ec4a5558c357067aa92a8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.18.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.17.0 (2024-08-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon Bedrock SDK updates for Inference Profile.
|
13
|
+
|
4
14
|
1.16.0 (2024-08-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::Bedrock
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
88
90
|
add_plugin(Aws::Bedrock::Plugins::Endpoints)
|
@@ -330,6 +332,16 @@ module Aws::Bedrock
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
333
|
# requests are made, and retries are disabled.
|
332
334
|
#
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
339
|
+
# following telemetry providers:
|
340
|
+
#
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
344
|
+
#
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
347
|
# following classes:
|
@@ -1152,20 +1164,18 @@ module Aws::Bedrock
|
|
1152
1164
|
req.send_request(options)
|
1153
1165
|
end
|
1154
1166
|
|
1155
|
-
# Creates a job to invoke a model on multiple prompts
|
1167
|
+
# Creates a batch inference job to invoke a model on multiple prompts.
|
1156
1168
|
# Format your data according to [Format your inference data][1] and
|
1157
|
-
# upload it to an Amazon S3 bucket. For more information, see [
|
1158
|
-
# batch inference
|
1169
|
+
# upload it to an Amazon S3 bucket. For more information, see [Process
|
1170
|
+
# multiple prompts with batch inference][2].
|
1159
1171
|
#
|
1160
1172
|
# The response returns a `jobArn` that you can use to stop or get
|
1161
|
-
# details about the job.
|
1162
|
-
# a [GetModelCustomizationJob][3] request.
|
1173
|
+
# details about the job.
|
1163
1174
|
#
|
1164
1175
|
#
|
1165
1176
|
#
|
1166
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-
|
1167
|
-
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference
|
1168
|
-
# [3]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetModelCustomizationJob.html
|
1177
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data
|
1178
|
+
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference.html
|
1169
1179
|
#
|
1170
1180
|
# @option params [required, String] :job_name
|
1171
1181
|
# A name to give the batch inference job.
|
@@ -1821,6 +1831,52 @@ module Aws::Bedrock
|
|
1821
1831
|
req.send_request(options)
|
1822
1832
|
end
|
1823
1833
|
|
1834
|
+
# Gets information about an inference profile. For more information, see
|
1835
|
+
# the Amazon Bedrock User Guide.
|
1836
|
+
#
|
1837
|
+
# @option params [required, String] :inference_profile_identifier
|
1838
|
+
# The unique identifier of the inference profile.
|
1839
|
+
#
|
1840
|
+
# @return [Types::GetInferenceProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1841
|
+
#
|
1842
|
+
# * {Types::GetInferenceProfileResponse#inference_profile_name #inference_profile_name} => String
|
1843
|
+
# * {Types::GetInferenceProfileResponse#models #models} => Array<Types::InferenceProfileModel>
|
1844
|
+
# * {Types::GetInferenceProfileResponse#description #description} => String
|
1845
|
+
# * {Types::GetInferenceProfileResponse#created_at #created_at} => Time
|
1846
|
+
# * {Types::GetInferenceProfileResponse#updated_at #updated_at} => Time
|
1847
|
+
# * {Types::GetInferenceProfileResponse#inference_profile_arn #inference_profile_arn} => String
|
1848
|
+
# * {Types::GetInferenceProfileResponse#inference_profile_id #inference_profile_id} => String
|
1849
|
+
# * {Types::GetInferenceProfileResponse#status #status} => String
|
1850
|
+
# * {Types::GetInferenceProfileResponse#type #type} => String
|
1851
|
+
#
|
1852
|
+
# @example Request syntax with placeholder values
|
1853
|
+
#
|
1854
|
+
# resp = client.get_inference_profile({
|
1855
|
+
# inference_profile_identifier: "InferenceProfileIdentifier", # required
|
1856
|
+
# })
|
1857
|
+
#
|
1858
|
+
# @example Response structure
|
1859
|
+
#
|
1860
|
+
# resp.inference_profile_name #=> String
|
1861
|
+
# resp.models #=> Array
|
1862
|
+
# resp.models[0].model_arn #=> String
|
1863
|
+
# resp.description #=> String
|
1864
|
+
# resp.created_at #=> Time
|
1865
|
+
# resp.updated_at #=> Time
|
1866
|
+
# resp.inference_profile_arn #=> String
|
1867
|
+
# resp.inference_profile_id #=> String
|
1868
|
+
# resp.status #=> String, one of "ACTIVE"
|
1869
|
+
# resp.type #=> String, one of "SYSTEM_DEFINED"
|
1870
|
+
#
|
1871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetInferenceProfile AWS API Documentation
|
1872
|
+
#
|
1873
|
+
# @overload get_inference_profile(params = {})
|
1874
|
+
# @param [Hash] params ({})
|
1875
|
+
def get_inference_profile(params = {}, options = {})
|
1876
|
+
req = build_request(:get_inference_profile, params)
|
1877
|
+
req.send_request(options)
|
1878
|
+
end
|
1879
|
+
|
1824
1880
|
# Retrieves information about a model copy job. For more information,
|
1825
1881
|
# see [Copy models to be used in other regions][1] in the [Amazon
|
1826
1882
|
# Bedrock User Guide][2].
|
@@ -2539,6 +2595,58 @@ module Aws::Bedrock
|
|
2539
2595
|
req.send_request(options)
|
2540
2596
|
end
|
2541
2597
|
|
2598
|
+
# Returns a list of inference profiles that you can use.
|
2599
|
+
#
|
2600
|
+
# @option params [Integer] :max_results
|
2601
|
+
# The maximum number of results to return in the response. If the total
|
2602
|
+
# number of results is greater than this value, use the token returned
|
2603
|
+
# in the response in the `nextToken` field when making another request
|
2604
|
+
# to return the next batch of results.
|
2605
|
+
#
|
2606
|
+
# @option params [String] :next_token
|
2607
|
+
# If the total number of results is greater than the `maxResults` value
|
2608
|
+
# provided in the request, enter the token returned in the `nextToken`
|
2609
|
+
# field in the response in this field to return the next batch of
|
2610
|
+
# results.
|
2611
|
+
#
|
2612
|
+
# @return [Types::ListInferenceProfilesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2613
|
+
#
|
2614
|
+
# * {Types::ListInferenceProfilesResponse#inference_profile_summaries #inference_profile_summaries} => Array<Types::InferenceProfileSummary>
|
2615
|
+
# * {Types::ListInferenceProfilesResponse#next_token #next_token} => String
|
2616
|
+
#
|
2617
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2618
|
+
#
|
2619
|
+
# @example Request syntax with placeholder values
|
2620
|
+
#
|
2621
|
+
# resp = client.list_inference_profiles({
|
2622
|
+
# max_results: 1,
|
2623
|
+
# next_token: "PaginationToken",
|
2624
|
+
# })
|
2625
|
+
#
|
2626
|
+
# @example Response structure
|
2627
|
+
#
|
2628
|
+
# resp.inference_profile_summaries #=> Array
|
2629
|
+
# resp.inference_profile_summaries[0].inference_profile_name #=> String
|
2630
|
+
# resp.inference_profile_summaries[0].models #=> Array
|
2631
|
+
# resp.inference_profile_summaries[0].models[0].model_arn #=> String
|
2632
|
+
# resp.inference_profile_summaries[0].description #=> String
|
2633
|
+
# resp.inference_profile_summaries[0].created_at #=> Time
|
2634
|
+
# resp.inference_profile_summaries[0].updated_at #=> Time
|
2635
|
+
# resp.inference_profile_summaries[0].inference_profile_arn #=> String
|
2636
|
+
# resp.inference_profile_summaries[0].inference_profile_id #=> String
|
2637
|
+
# resp.inference_profile_summaries[0].status #=> String, one of "ACTIVE"
|
2638
|
+
# resp.inference_profile_summaries[0].type #=> String, one of "SYSTEM_DEFINED"
|
2639
|
+
# resp.next_token #=> String
|
2640
|
+
#
|
2641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListInferenceProfiles AWS API Documentation
|
2642
|
+
#
|
2643
|
+
# @overload list_inference_profiles(params = {})
|
2644
|
+
# @param [Hash] params ({})
|
2645
|
+
def list_inference_profiles(params = {}, options = {})
|
2646
|
+
req = build_request(:list_inference_profiles, params)
|
2647
|
+
req.send_request(options)
|
2648
|
+
end
|
2649
|
+
|
2542
2650
|
# Returns a list of model copy jobs that you have submitted. You can
|
2543
2651
|
# filter the jobs to return based on one or more criteria. For more
|
2544
2652
|
# information, see [Copy models to be used in other regions][1] in the
|
@@ -3436,14 +3544,19 @@ module Aws::Bedrock
|
|
3436
3544
|
# @api private
|
3437
3545
|
def build_request(operation_name, params = {})
|
3438
3546
|
handlers = @handlers.for(operation_name)
|
3547
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
3548
|
+
Aws::Telemetry.module_to_tracer_name('Aws::Bedrock')
|
3549
|
+
)
|
3439
3550
|
context = Seahorse::Client::RequestContext.new(
|
3440
3551
|
operation_name: operation_name,
|
3441
3552
|
operation: config.api.operation(operation_name),
|
3442
3553
|
client: self,
|
3443
3554
|
params: params,
|
3444
|
-
config: config
|
3555
|
+
config: config,
|
3556
|
+
tracer: tracer
|
3557
|
+
)
|
3445
3558
|
context[:gem_name] = 'aws-sdk-bedrock'
|
3446
|
-
context[:gem_version] = '1.
|
3559
|
+
context[:gem_version] = '1.18.0'
|
3447
3560
|
Seahorse::Client::Request.new(handlers, context)
|
3448
3561
|
end
|
3449
3562
|
|
@@ -109,6 +109,8 @@ module Aws::Bedrock
|
|
109
109
|
GetGuardrailResponse = Shapes::StructureShape.new(name: 'GetGuardrailResponse')
|
110
110
|
GetImportedModelRequest = Shapes::StructureShape.new(name: 'GetImportedModelRequest')
|
111
111
|
GetImportedModelResponse = Shapes::StructureShape.new(name: 'GetImportedModelResponse')
|
112
|
+
GetInferenceProfileRequest = Shapes::StructureShape.new(name: 'GetInferenceProfileRequest')
|
113
|
+
GetInferenceProfileResponse = Shapes::StructureShape.new(name: 'GetInferenceProfileResponse')
|
112
114
|
GetModelCopyJobRequest = Shapes::StructureShape.new(name: 'GetModelCopyJobRequest')
|
113
115
|
GetModelCopyJobResponse = Shapes::StructureShape.new(name: 'GetModelCopyJobResponse')
|
114
116
|
GetModelCustomizationJobRequest = Shapes::StructureShape.new(name: 'GetModelCustomizationJobRequest')
|
@@ -207,6 +209,17 @@ module Aws::Bedrock
|
|
207
209
|
ImportedModelName = Shapes::StringShape.new(name: 'ImportedModelName')
|
208
210
|
ImportedModelSummary = Shapes::StructureShape.new(name: 'ImportedModelSummary')
|
209
211
|
ImportedModelSummaryList = Shapes::ListShape.new(name: 'ImportedModelSummaryList')
|
212
|
+
InferenceProfileArn = Shapes::StringShape.new(name: 'InferenceProfileArn')
|
213
|
+
InferenceProfileDescription = Shapes::StringShape.new(name: 'InferenceProfileDescription')
|
214
|
+
InferenceProfileId = Shapes::StringShape.new(name: 'InferenceProfileId')
|
215
|
+
InferenceProfileIdentifier = Shapes::StringShape.new(name: 'InferenceProfileIdentifier')
|
216
|
+
InferenceProfileModel = Shapes::StructureShape.new(name: 'InferenceProfileModel')
|
217
|
+
InferenceProfileModels = Shapes::ListShape.new(name: 'InferenceProfileModels')
|
218
|
+
InferenceProfileName = Shapes::StringShape.new(name: 'InferenceProfileName')
|
219
|
+
InferenceProfileStatus = Shapes::StringShape.new(name: 'InferenceProfileStatus')
|
220
|
+
InferenceProfileSummaries = Shapes::ListShape.new(name: 'InferenceProfileSummaries')
|
221
|
+
InferenceProfileSummary = Shapes::StructureShape.new(name: 'InferenceProfileSummary')
|
222
|
+
InferenceProfileType = Shapes::StringShape.new(name: 'InferenceProfileType')
|
210
223
|
InferenceType = Shapes::StringShape.new(name: 'InferenceType')
|
211
224
|
InferenceTypeList = Shapes::ListShape.new(name: 'InferenceTypeList')
|
212
225
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
@@ -224,6 +237,8 @@ module Aws::Bedrock
|
|
224
237
|
ListGuardrailsResponse = Shapes::StructureShape.new(name: 'ListGuardrailsResponse')
|
225
238
|
ListImportedModelsRequest = Shapes::StructureShape.new(name: 'ListImportedModelsRequest')
|
226
239
|
ListImportedModelsResponse = Shapes::StructureShape.new(name: 'ListImportedModelsResponse')
|
240
|
+
ListInferenceProfilesRequest = Shapes::StructureShape.new(name: 'ListInferenceProfilesRequest')
|
241
|
+
ListInferenceProfilesResponse = Shapes::StructureShape.new(name: 'ListInferenceProfilesResponse')
|
227
242
|
ListModelCopyJobsRequest = Shapes::StructureShape.new(name: 'ListModelCopyJobsRequest')
|
228
243
|
ListModelCopyJobsResponse = Shapes::StructureShape.new(name: 'ListModelCopyJobsResponse')
|
229
244
|
ListModelCustomizationJobsRequest = Shapes::StructureShape.new(name: 'ListModelCustomizationJobsRequest')
|
@@ -696,6 +711,20 @@ module Aws::Bedrock
|
|
696
711
|
GetImportedModelResponse.add_member(:model_kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "modelKmsKeyArn"))
|
697
712
|
GetImportedModelResponse.struct_class = Types::GetImportedModelResponse
|
698
713
|
|
714
|
+
GetInferenceProfileRequest.add_member(:inference_profile_identifier, Shapes::ShapeRef.new(shape: InferenceProfileIdentifier, required: true, location: "uri", location_name: "inferenceProfileIdentifier"))
|
715
|
+
GetInferenceProfileRequest.struct_class = Types::GetInferenceProfileRequest
|
716
|
+
|
717
|
+
GetInferenceProfileResponse.add_member(:inference_profile_name, Shapes::ShapeRef.new(shape: InferenceProfileName, required: true, location_name: "inferenceProfileName"))
|
718
|
+
GetInferenceProfileResponse.add_member(:models, Shapes::ShapeRef.new(shape: InferenceProfileModels, required: true, location_name: "models"))
|
719
|
+
GetInferenceProfileResponse.add_member(:description, Shapes::ShapeRef.new(shape: InferenceProfileDescription, location_name: "description"))
|
720
|
+
GetInferenceProfileResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
721
|
+
GetInferenceProfileResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
722
|
+
GetInferenceProfileResponse.add_member(:inference_profile_arn, Shapes::ShapeRef.new(shape: InferenceProfileArn, required: true, location_name: "inferenceProfileArn"))
|
723
|
+
GetInferenceProfileResponse.add_member(:inference_profile_id, Shapes::ShapeRef.new(shape: InferenceProfileId, required: true, location_name: "inferenceProfileId"))
|
724
|
+
GetInferenceProfileResponse.add_member(:status, Shapes::ShapeRef.new(shape: InferenceProfileStatus, required: true, location_name: "status"))
|
725
|
+
GetInferenceProfileResponse.add_member(:type, Shapes::ShapeRef.new(shape: InferenceProfileType, required: true, location_name: "type"))
|
726
|
+
GetInferenceProfileResponse.struct_class = Types::GetInferenceProfileResponse
|
727
|
+
|
699
728
|
GetModelCopyJobRequest.add_member(:job_arn, Shapes::ShapeRef.new(shape: ModelCopyJobArn, required: true, location: "uri", location_name: "jobArn"))
|
700
729
|
GetModelCopyJobRequest.struct_class = Types::GetModelCopyJobRequest
|
701
730
|
|
@@ -963,6 +992,24 @@ module Aws::Bedrock
|
|
963
992
|
|
964
993
|
ImportedModelSummaryList.member = Shapes::ShapeRef.new(shape: ImportedModelSummary)
|
965
994
|
|
995
|
+
InferenceProfileModel.add_member(:model_arn, Shapes::ShapeRef.new(shape: FoundationModelArn, location_name: "modelArn"))
|
996
|
+
InferenceProfileModel.struct_class = Types::InferenceProfileModel
|
997
|
+
|
998
|
+
InferenceProfileModels.member = Shapes::ShapeRef.new(shape: InferenceProfileModel)
|
999
|
+
|
1000
|
+
InferenceProfileSummaries.member = Shapes::ShapeRef.new(shape: InferenceProfileSummary)
|
1001
|
+
|
1002
|
+
InferenceProfileSummary.add_member(:inference_profile_name, Shapes::ShapeRef.new(shape: InferenceProfileName, required: true, location_name: "inferenceProfileName"))
|
1003
|
+
InferenceProfileSummary.add_member(:models, Shapes::ShapeRef.new(shape: InferenceProfileModels, required: true, location_name: "models"))
|
1004
|
+
InferenceProfileSummary.add_member(:description, Shapes::ShapeRef.new(shape: InferenceProfileDescription, location_name: "description"))
|
1005
|
+
InferenceProfileSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1006
|
+
InferenceProfileSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
1007
|
+
InferenceProfileSummary.add_member(:inference_profile_arn, Shapes::ShapeRef.new(shape: InferenceProfileArn, required: true, location_name: "inferenceProfileArn"))
|
1008
|
+
InferenceProfileSummary.add_member(:inference_profile_id, Shapes::ShapeRef.new(shape: InferenceProfileId, required: true, location_name: "inferenceProfileId"))
|
1009
|
+
InferenceProfileSummary.add_member(:status, Shapes::ShapeRef.new(shape: InferenceProfileStatus, required: true, location_name: "status"))
|
1010
|
+
InferenceProfileSummary.add_member(:type, Shapes::ShapeRef.new(shape: InferenceProfileType, required: true, location_name: "type"))
|
1011
|
+
InferenceProfileSummary.struct_class = Types::InferenceProfileSummary
|
1012
|
+
|
966
1013
|
InferenceTypeList.member = Shapes::ShapeRef.new(shape: InferenceType)
|
967
1014
|
|
968
1015
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
@@ -1029,6 +1076,14 @@ module Aws::Bedrock
|
|
1029
1076
|
ListImportedModelsResponse.add_member(:model_summaries, Shapes::ShapeRef.new(shape: ImportedModelSummaryList, location_name: "modelSummaries"))
|
1030
1077
|
ListImportedModelsResponse.struct_class = Types::ListImportedModelsResponse
|
1031
1078
|
|
1079
|
+
ListInferenceProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1080
|
+
ListInferenceProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
1081
|
+
ListInferenceProfilesRequest.struct_class = Types::ListInferenceProfilesRequest
|
1082
|
+
|
1083
|
+
ListInferenceProfilesResponse.add_member(:inference_profile_summaries, Shapes::ShapeRef.new(shape: InferenceProfileSummaries, location_name: "inferenceProfileSummaries"))
|
1084
|
+
ListInferenceProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
1085
|
+
ListInferenceProfilesResponse.struct_class = Types::ListInferenceProfilesResponse
|
1086
|
+
|
1032
1087
|
ListModelCopyJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
1033
1088
|
ListModelCopyJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
1034
1089
|
ListModelCopyJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelCopyJobStatus, location: "querystring", location_name: "statusEquals"))
|
@@ -1627,6 +1682,19 @@ module Aws::Bedrock
|
|
1627
1682
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1628
1683
|
end)
|
1629
1684
|
|
1685
|
+
api.add_operation(:get_inference_profile, Seahorse::Model::Operation.new.tap do |o|
|
1686
|
+
o.name = "GetInferenceProfile"
|
1687
|
+
o.http_method = "GET"
|
1688
|
+
o.http_request_uri = "/inference-profiles/{inferenceProfileIdentifier}"
|
1689
|
+
o.input = Shapes::ShapeRef.new(shape: GetInferenceProfileRequest)
|
1690
|
+
o.output = Shapes::ShapeRef.new(shape: GetInferenceProfileResponse)
|
1691
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1692
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1693
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1694
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1695
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1696
|
+
end)
|
1697
|
+
|
1630
1698
|
api.add_operation(:get_model_copy_job, Seahorse::Model::Operation.new.tap do |o|
|
1631
1699
|
o.name = "GetModelCopyJob"
|
1632
1700
|
o.http_method = "GET"
|
@@ -1788,6 +1856,24 @@ module Aws::Bedrock
|
|
1788
1856
|
)
|
1789
1857
|
end)
|
1790
1858
|
|
1859
|
+
api.add_operation(:list_inference_profiles, Seahorse::Model::Operation.new.tap do |o|
|
1860
|
+
o.name = "ListInferenceProfiles"
|
1861
|
+
o.http_method = "GET"
|
1862
|
+
o.http_request_uri = "/inference-profiles"
|
1863
|
+
o.input = Shapes::ShapeRef.new(shape: ListInferenceProfilesRequest)
|
1864
|
+
o.output = Shapes::ShapeRef.new(shape: ListInferenceProfilesResponse)
|
1865
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1866
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1867
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1868
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1869
|
+
o[:pager] = Aws::Pager.new(
|
1870
|
+
limit_key: "max_results",
|
1871
|
+
tokens: {
|
1872
|
+
"next_token" => "next_token"
|
1873
|
+
}
|
1874
|
+
)
|
1875
|
+
end)
|
1876
|
+
|
1791
1877
|
api.add_operation(:list_model_copy_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1792
1878
|
o.name = "ListModelCopyJobs"
|
1793
1879
|
o.http_method = "GET"
|
@@ -278,6 +278,20 @@ module Aws::Bedrock
|
|
278
278
|
end
|
279
279
|
end
|
280
280
|
|
281
|
+
class GetInferenceProfile
|
282
|
+
def self.build(context)
|
283
|
+
unless context.config.regional_endpoint
|
284
|
+
endpoint = context.config.endpoint.to_s
|
285
|
+
end
|
286
|
+
Aws::Bedrock::EndpointParameters.new(
|
287
|
+
region: context.config.region,
|
288
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
289
|
+
use_fips: context.config.use_fips_endpoint,
|
290
|
+
endpoint: endpoint,
|
291
|
+
)
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
281
295
|
class GetModelCopyJob
|
282
296
|
def self.build(context)
|
283
297
|
unless context.config.regional_endpoint
|
@@ -432,6 +446,20 @@ module Aws::Bedrock
|
|
432
446
|
end
|
433
447
|
end
|
434
448
|
|
449
|
+
class ListInferenceProfiles
|
450
|
+
def self.build(context)
|
451
|
+
unless context.config.regional_endpoint
|
452
|
+
endpoint = context.config.endpoint.to_s
|
453
|
+
end
|
454
|
+
Aws::Bedrock::EndpointParameters.new(
|
455
|
+
region: context.config.region,
|
456
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
457
|
+
use_fips: context.config.use_fips_endpoint,
|
458
|
+
endpoint: endpoint,
|
459
|
+
)
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
435
463
|
class ListModelCopyJobs
|
436
464
|
def self.build(context)
|
437
465
|
unless context.config.regional_endpoint
|
@@ -96,6 +96,8 @@ module Aws::Bedrock
|
|
96
96
|
Aws::Bedrock::Endpoints::GetGuardrail.build(context)
|
97
97
|
when :get_imported_model
|
98
98
|
Aws::Bedrock::Endpoints::GetImportedModel.build(context)
|
99
|
+
when :get_inference_profile
|
100
|
+
Aws::Bedrock::Endpoints::GetInferenceProfile.build(context)
|
99
101
|
when :get_model_copy_job
|
100
102
|
Aws::Bedrock::Endpoints::GetModelCopyJob.build(context)
|
101
103
|
when :get_model_customization_job
|
@@ -118,6 +120,8 @@ module Aws::Bedrock
|
|
118
120
|
Aws::Bedrock::Endpoints::ListGuardrails.build(context)
|
119
121
|
when :list_imported_models
|
120
122
|
Aws::Bedrock::Endpoints::ListImportedModels.build(context)
|
123
|
+
when :list_inference_profiles
|
124
|
+
Aws::Bedrock::Endpoints::ListInferenceProfiles.build(context)
|
121
125
|
when :list_model_copy_jobs
|
122
126
|
Aws::Bedrock::Endpoints::ListModelCopyJobs.build(context)
|
123
127
|
when :list_model_customization_jobs
|
@@ -1731,6 +1731,72 @@ module Aws::Bedrock
|
|
1731
1731
|
include Aws::Structure
|
1732
1732
|
end
|
1733
1733
|
|
1734
|
+
# @!attribute [rw] inference_profile_identifier
|
1735
|
+
# The unique identifier of the inference profile.
|
1736
|
+
# @return [String]
|
1737
|
+
#
|
1738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetInferenceProfileRequest AWS API Documentation
|
1739
|
+
#
|
1740
|
+
class GetInferenceProfileRequest < Struct.new(
|
1741
|
+
:inference_profile_identifier)
|
1742
|
+
SENSITIVE = []
|
1743
|
+
include Aws::Structure
|
1744
|
+
end
|
1745
|
+
|
1746
|
+
# @!attribute [rw] inference_profile_name
|
1747
|
+
# The name of the inference profile.
|
1748
|
+
# @return [String]
|
1749
|
+
#
|
1750
|
+
# @!attribute [rw] models
|
1751
|
+
# A list of information about each model in the inference profile.
|
1752
|
+
# @return [Array<Types::InferenceProfileModel>]
|
1753
|
+
#
|
1754
|
+
# @!attribute [rw] description
|
1755
|
+
# The description of the inference profile.
|
1756
|
+
# @return [String]
|
1757
|
+
#
|
1758
|
+
# @!attribute [rw] created_at
|
1759
|
+
# The time at which the inference profile was created.
|
1760
|
+
# @return [Time]
|
1761
|
+
#
|
1762
|
+
# @!attribute [rw] updated_at
|
1763
|
+
# The time at which the inference profile was last updated.
|
1764
|
+
# @return [Time]
|
1765
|
+
#
|
1766
|
+
# @!attribute [rw] inference_profile_arn
|
1767
|
+
# The Amazon Resource Name (ARN) of the inference profile.
|
1768
|
+
# @return [String]
|
1769
|
+
#
|
1770
|
+
# @!attribute [rw] inference_profile_id
|
1771
|
+
# The unique identifier of the inference profile.
|
1772
|
+
# @return [String]
|
1773
|
+
#
|
1774
|
+
# @!attribute [rw] status
|
1775
|
+
# The status of the inference profile. `ACTIVE` means that the
|
1776
|
+
# inference profile is available to use.
|
1777
|
+
# @return [String]
|
1778
|
+
#
|
1779
|
+
# @!attribute [rw] type
|
1780
|
+
# The type of the inference profile. `SYSTEM_DEFINED` means that the
|
1781
|
+
# inference profile is defined by Amazon Bedrock.
|
1782
|
+
# @return [String]
|
1783
|
+
#
|
1784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetInferenceProfileResponse AWS API Documentation
|
1785
|
+
#
|
1786
|
+
class GetInferenceProfileResponse < Struct.new(
|
1787
|
+
:inference_profile_name,
|
1788
|
+
:models,
|
1789
|
+
:description,
|
1790
|
+
:created_at,
|
1791
|
+
:updated_at,
|
1792
|
+
:inference_profile_arn,
|
1793
|
+
:inference_profile_id,
|
1794
|
+
:status,
|
1795
|
+
:type)
|
1796
|
+
SENSITIVE = []
|
1797
|
+
include Aws::Structure
|
1798
|
+
end
|
1799
|
+
|
1734
1800
|
# @!attribute [rw] job_arn
|
1735
1801
|
# The Amazon Resource Name (ARN) of the model copy job.
|
1736
1802
|
# @return [String]
|
@@ -3251,6 +3317,76 @@ module Aws::Bedrock
|
|
3251
3317
|
include Aws::Structure
|
3252
3318
|
end
|
3253
3319
|
|
3320
|
+
# Contains information about a model.
|
3321
|
+
#
|
3322
|
+
# @!attribute [rw] model_arn
|
3323
|
+
# The Amazon Resource Name (ARN) of the model.
|
3324
|
+
# @return [String]
|
3325
|
+
#
|
3326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/InferenceProfileModel AWS API Documentation
|
3327
|
+
#
|
3328
|
+
class InferenceProfileModel < Struct.new(
|
3329
|
+
:model_arn)
|
3330
|
+
SENSITIVE = []
|
3331
|
+
include Aws::Structure
|
3332
|
+
end
|
3333
|
+
|
3334
|
+
# Contains information about an inference profile.
|
3335
|
+
#
|
3336
|
+
# @!attribute [rw] inference_profile_name
|
3337
|
+
# The name of the inference profile.
|
3338
|
+
# @return [String]
|
3339
|
+
#
|
3340
|
+
# @!attribute [rw] models
|
3341
|
+
# A list of information about each model in the inference profile.
|
3342
|
+
# @return [Array<Types::InferenceProfileModel>]
|
3343
|
+
#
|
3344
|
+
# @!attribute [rw] description
|
3345
|
+
# The description of the inference profile.
|
3346
|
+
# @return [String]
|
3347
|
+
#
|
3348
|
+
# @!attribute [rw] created_at
|
3349
|
+
# The time at which the inference profile was created.
|
3350
|
+
# @return [Time]
|
3351
|
+
#
|
3352
|
+
# @!attribute [rw] updated_at
|
3353
|
+
# The time at which the inference profile was last updated.
|
3354
|
+
# @return [Time]
|
3355
|
+
#
|
3356
|
+
# @!attribute [rw] inference_profile_arn
|
3357
|
+
# The Amazon Resource Name (ARN) of the inference profile.
|
3358
|
+
# @return [String]
|
3359
|
+
#
|
3360
|
+
# @!attribute [rw] inference_profile_id
|
3361
|
+
# The unique identifier of the inference profile.
|
3362
|
+
# @return [String]
|
3363
|
+
#
|
3364
|
+
# @!attribute [rw] status
|
3365
|
+
# The status of the inference profile. `ACTIVE` means that the
|
3366
|
+
# inference profile is available to use.
|
3367
|
+
# @return [String]
|
3368
|
+
#
|
3369
|
+
# @!attribute [rw] type
|
3370
|
+
# The type of the inference profile. `SYSTEM_DEFINED` means that the
|
3371
|
+
# inference profile is defined by Amazon Bedrock.
|
3372
|
+
# @return [String]
|
3373
|
+
#
|
3374
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/InferenceProfileSummary AWS API Documentation
|
3375
|
+
#
|
3376
|
+
class InferenceProfileSummary < Struct.new(
|
3377
|
+
:inference_profile_name,
|
3378
|
+
:models,
|
3379
|
+
:description,
|
3380
|
+
:created_at,
|
3381
|
+
:updated_at,
|
3382
|
+
:inference_profile_arn,
|
3383
|
+
:inference_profile_id,
|
3384
|
+
:status,
|
3385
|
+
:type)
|
3386
|
+
SENSITIVE = []
|
3387
|
+
include Aws::Structure
|
3388
|
+
end
|
3389
|
+
|
3254
3390
|
# An internal server error occurred. Retry your request.
|
3255
3391
|
#
|
3256
3392
|
# @!attribute [rw] message
|
@@ -3585,6 +3721,49 @@ module Aws::Bedrock
|
|
3585
3721
|
include Aws::Structure
|
3586
3722
|
end
|
3587
3723
|
|
3724
|
+
# @!attribute [rw] max_results
|
3725
|
+
# The maximum number of results to return in the response. If the
|
3726
|
+
# total number of results is greater than this value, use the token
|
3727
|
+
# returned in the response in the `nextToken` field when making
|
3728
|
+
# another request to return the next batch of results.
|
3729
|
+
# @return [Integer]
|
3730
|
+
#
|
3731
|
+
# @!attribute [rw] next_token
|
3732
|
+
# If the total number of results is greater than the `maxResults`
|
3733
|
+
# value provided in the request, enter the token returned in the
|
3734
|
+
# `nextToken` field in the response in this field to return the next
|
3735
|
+
# batch of results.
|
3736
|
+
# @return [String]
|
3737
|
+
#
|
3738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListInferenceProfilesRequest AWS API Documentation
|
3739
|
+
#
|
3740
|
+
class ListInferenceProfilesRequest < Struct.new(
|
3741
|
+
:max_results,
|
3742
|
+
:next_token)
|
3743
|
+
SENSITIVE = []
|
3744
|
+
include Aws::Structure
|
3745
|
+
end
|
3746
|
+
|
3747
|
+
# @!attribute [rw] inference_profile_summaries
|
3748
|
+
# A list of information about each inference profile that you can use.
|
3749
|
+
# @return [Array<Types::InferenceProfileSummary>]
|
3750
|
+
#
|
3751
|
+
# @!attribute [rw] next_token
|
3752
|
+
# If the total number of results is greater than the `maxResults`
|
3753
|
+
# value provided in the request, use this token when making another
|
3754
|
+
# request in the `nextToken` field to return the next batch of
|
3755
|
+
# results.
|
3756
|
+
# @return [String]
|
3757
|
+
#
|
3758
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListInferenceProfilesResponse AWS API Documentation
|
3759
|
+
#
|
3760
|
+
class ListInferenceProfilesResponse < Struct.new(
|
3761
|
+
:inference_profile_summaries,
|
3762
|
+
:next_token)
|
3763
|
+
SENSITIVE = []
|
3764
|
+
include Aws::Structure
|
3765
|
+
end
|
3766
|
+
|
3588
3767
|
# @!attribute [rw] creation_time_after
|
3589
3768
|
# Filters for model copy jobs created after the specified time.
|
3590
3769
|
# @return [Time]
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
@@ -547,6 +548,24 @@ module Aws
|
|
547
548
|
) -> _GetImportedModelResponseSuccess
|
548
549
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetImportedModelResponseSuccess
|
549
550
|
|
551
|
+
interface _GetInferenceProfileResponseSuccess
|
552
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInferenceProfileResponse]
|
553
|
+
def inference_profile_name: () -> ::String
|
554
|
+
def models: () -> ::Array[Types::InferenceProfileModel]
|
555
|
+
def description: () -> ::String
|
556
|
+
def created_at: () -> ::Time
|
557
|
+
def updated_at: () -> ::Time
|
558
|
+
def inference_profile_arn: () -> ::String
|
559
|
+
def inference_profile_id: () -> ::String
|
560
|
+
def status: () -> ("ACTIVE")
|
561
|
+
def type: () -> ("SYSTEM_DEFINED")
|
562
|
+
end
|
563
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_inference_profile-instance_method
|
564
|
+
def get_inference_profile: (
|
565
|
+
inference_profile_identifier: ::String
|
566
|
+
) -> _GetInferenceProfileResponseSuccess
|
567
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInferenceProfileResponseSuccess
|
568
|
+
|
550
569
|
interface _GetModelCopyJobResponseSuccess
|
551
570
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetModelCopyJobResponse]
|
552
571
|
def job_arn: () -> ::String
|
@@ -754,6 +773,18 @@ module Aws
|
|
754
773
|
) -> _ListImportedModelsResponseSuccess
|
755
774
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImportedModelsResponseSuccess
|
756
775
|
|
776
|
+
interface _ListInferenceProfilesResponseSuccess
|
777
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInferenceProfilesResponse]
|
778
|
+
def inference_profile_summaries: () -> ::Array[Types::InferenceProfileSummary]
|
779
|
+
def next_token: () -> ::String
|
780
|
+
end
|
781
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_inference_profiles-instance_method
|
782
|
+
def list_inference_profiles: (
|
783
|
+
?max_results: ::Integer,
|
784
|
+
?next_token: ::String
|
785
|
+
) -> _ListInferenceProfilesResponseSuccess
|
786
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInferenceProfilesResponseSuccess
|
787
|
+
|
757
788
|
interface _ListModelCopyJobsResponseSuccess
|
758
789
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListModelCopyJobsResponse]
|
759
790
|
def next_token: () -> ::String
|
data/sig/resource.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
data/sig/types.rbs
CHANGED
@@ -461,6 +461,24 @@ module Aws::Bedrock
|
|
461
461
|
SENSITIVE: []
|
462
462
|
end
|
463
463
|
|
464
|
+
class GetInferenceProfileRequest
|
465
|
+
attr_accessor inference_profile_identifier: ::String
|
466
|
+
SENSITIVE: []
|
467
|
+
end
|
468
|
+
|
469
|
+
class GetInferenceProfileResponse
|
470
|
+
attr_accessor inference_profile_name: ::String
|
471
|
+
attr_accessor models: ::Array[Types::InferenceProfileModel]
|
472
|
+
attr_accessor description: ::String
|
473
|
+
attr_accessor created_at: ::Time
|
474
|
+
attr_accessor updated_at: ::Time
|
475
|
+
attr_accessor inference_profile_arn: ::String
|
476
|
+
attr_accessor inference_profile_id: ::String
|
477
|
+
attr_accessor status: ("ACTIVE")
|
478
|
+
attr_accessor type: ("SYSTEM_DEFINED")
|
479
|
+
SENSITIVE: []
|
480
|
+
end
|
481
|
+
|
464
482
|
class GetModelCopyJobRequest
|
465
483
|
attr_accessor job_arn: ::String
|
466
484
|
SENSITIVE: []
|
@@ -769,6 +787,24 @@ module Aws::Bedrock
|
|
769
787
|
SENSITIVE: []
|
770
788
|
end
|
771
789
|
|
790
|
+
class InferenceProfileModel
|
791
|
+
attr_accessor model_arn: ::String
|
792
|
+
SENSITIVE: []
|
793
|
+
end
|
794
|
+
|
795
|
+
class InferenceProfileSummary
|
796
|
+
attr_accessor inference_profile_name: ::String
|
797
|
+
attr_accessor models: ::Array[Types::InferenceProfileModel]
|
798
|
+
attr_accessor description: ::String
|
799
|
+
attr_accessor created_at: ::Time
|
800
|
+
attr_accessor updated_at: ::Time
|
801
|
+
attr_accessor inference_profile_arn: ::String
|
802
|
+
attr_accessor inference_profile_id: ::String
|
803
|
+
attr_accessor status: ("ACTIVE")
|
804
|
+
attr_accessor type: ("SYSTEM_DEFINED")
|
805
|
+
SENSITIVE: []
|
806
|
+
end
|
807
|
+
|
772
808
|
class InternalServerException
|
773
809
|
attr_accessor message: ::String
|
774
810
|
SENSITIVE: []
|
@@ -855,6 +891,18 @@ module Aws::Bedrock
|
|
855
891
|
SENSITIVE: []
|
856
892
|
end
|
857
893
|
|
894
|
+
class ListInferenceProfilesRequest
|
895
|
+
attr_accessor max_results: ::Integer
|
896
|
+
attr_accessor next_token: ::String
|
897
|
+
SENSITIVE: []
|
898
|
+
end
|
899
|
+
|
900
|
+
class ListInferenceProfilesResponse
|
901
|
+
attr_accessor inference_profile_summaries: ::Array[Types::InferenceProfileSummary]
|
902
|
+
attr_accessor next_token: ::String
|
903
|
+
SENSITIVE: []
|
904
|
+
end
|
905
|
+
|
858
906
|
class ListModelCopyJobsRequest
|
859
907
|
attr_accessor creation_time_after: ::Time
|
860
908
|
attr_accessor creation_time_before: ::Time
|
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.
|
4
|
+
version: 1.18.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-
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.203.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|