aws-sdk-bedrock 1.66.0 → 1.68.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +107 -1
- data/lib/aws-sdk-bedrock/client_api.rb +98 -0
- data/lib/aws-sdk-bedrock/types.rb +173 -1
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +39 -1
- data/sig/types.rbs +54 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 149972ad92dd6f17205fbb4a3fdd49f8ca4ea4c83d81c4f5870130e2d2288378
|
|
4
|
+
data.tar.gz: bb77cc363a8274aa9589ff4e73195afd7d715b0c1791e7b7e239a82e374c9c2a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a401c74bb19c77f38f21780a023ebeb1730de20769c10cd29b69dea82c8a9b1c13f032407eba7dd36bb9992a6319f2422695bdd34fa0b1d08d82e865b8778170
|
|
7
|
+
data.tar.gz: 374debf64d258d0059b1d766bad48b19575bfb4a79013e9f051ccb5c382adb460b02216b54b76e197d8dbb4cf5ffa127fe43e5c33344ffb91a1c7e156c103c9b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.68.0 (2025-12-02)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds the audioDataDeliveryEnabled boolean field to the Model Invocation Logging Configuration.
|
|
8
|
+
|
|
9
|
+
1.67.0 (2025-11-21)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Add support to automatically enforce safeguards across accounts within an AWS Organization.
|
|
13
|
+
|
|
4
14
|
1.66.0 (2025-11-17)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.68.0
|
|
@@ -2940,6 +2940,28 @@ module Aws::Bedrock
|
|
|
2940
2940
|
req.send_request(options)
|
|
2941
2941
|
end
|
|
2942
2942
|
|
|
2943
|
+
# Deletes the account-level enforced guardrail configuration.
|
|
2944
|
+
#
|
|
2945
|
+
# @option params [required, String] :config_id
|
|
2946
|
+
# Unique ID for the account enforced configuration.
|
|
2947
|
+
#
|
|
2948
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2949
|
+
#
|
|
2950
|
+
# @example Request syntax with placeholder values
|
|
2951
|
+
#
|
|
2952
|
+
# resp = client.delete_enforced_guardrail_configuration({
|
|
2953
|
+
# config_id: "AccountEnforcedGuardrailConfigurationId", # required
|
|
2954
|
+
# })
|
|
2955
|
+
#
|
|
2956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteEnforcedGuardrailConfiguration AWS API Documentation
|
|
2957
|
+
#
|
|
2958
|
+
# @overload delete_enforced_guardrail_configuration(params = {})
|
|
2959
|
+
# @param [Hash] params ({})
|
|
2960
|
+
def delete_enforced_guardrail_configuration(params = {}, options = {})
|
|
2961
|
+
req = build_request(:delete_enforced_guardrail_configuration, params)
|
|
2962
|
+
req.send_request(options)
|
|
2963
|
+
end
|
|
2964
|
+
|
|
2943
2965
|
# Delete the model access agreement for the specified model.
|
|
2944
2966
|
#
|
|
2945
2967
|
# @option params [required, String] :model_id
|
|
@@ -4786,6 +4808,7 @@ module Aws::Bedrock
|
|
|
4786
4808
|
# resp.logging_config.image_data_delivery_enabled #=> Boolean
|
|
4787
4809
|
# resp.logging_config.embedding_data_delivery_enabled #=> Boolean
|
|
4788
4810
|
# resp.logging_config.video_data_delivery_enabled #=> Boolean
|
|
4811
|
+
# resp.logging_config.audio_data_delivery_enabled #=> Boolean
|
|
4789
4812
|
#
|
|
4790
4813
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelInvocationLoggingConfiguration AWS API Documentation
|
|
4791
4814
|
#
|
|
@@ -5447,6 +5470,48 @@ module Aws::Bedrock
|
|
|
5447
5470
|
req.send_request(options)
|
|
5448
5471
|
end
|
|
5449
5472
|
|
|
5473
|
+
# Lists the account-level enforced guardrail configurations.
|
|
5474
|
+
#
|
|
5475
|
+
# @option params [String] :next_token
|
|
5476
|
+
# Opaque continuation token of previous paginated response.
|
|
5477
|
+
#
|
|
5478
|
+
# @return [Types::ListEnforcedGuardrailsConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5479
|
+
#
|
|
5480
|
+
# * {Types::ListEnforcedGuardrailsConfigurationResponse#guardrails_config #guardrails_config} => Array<Types::AccountEnforcedGuardrailOutputConfiguration>
|
|
5481
|
+
# * {Types::ListEnforcedGuardrailsConfigurationResponse#next_token #next_token} => String
|
|
5482
|
+
#
|
|
5483
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
5484
|
+
#
|
|
5485
|
+
# @example Request syntax with placeholder values
|
|
5486
|
+
#
|
|
5487
|
+
# resp = client.list_enforced_guardrails_configuration({
|
|
5488
|
+
# next_token: "PaginationToken",
|
|
5489
|
+
# })
|
|
5490
|
+
#
|
|
5491
|
+
# @example Response structure
|
|
5492
|
+
#
|
|
5493
|
+
# resp.guardrails_config #=> Array
|
|
5494
|
+
# resp.guardrails_config[0].config_id #=> String
|
|
5495
|
+
# resp.guardrails_config[0].guardrail_arn #=> String
|
|
5496
|
+
# resp.guardrails_config[0].guardrail_id #=> String
|
|
5497
|
+
# resp.guardrails_config[0].input_tags #=> String, one of "HONOR", "IGNORE"
|
|
5498
|
+
# resp.guardrails_config[0].guardrail_version #=> String
|
|
5499
|
+
# resp.guardrails_config[0].created_at #=> Time
|
|
5500
|
+
# resp.guardrails_config[0].created_by #=> String
|
|
5501
|
+
# resp.guardrails_config[0].updated_at #=> Time
|
|
5502
|
+
# resp.guardrails_config[0].updated_by #=> String
|
|
5503
|
+
# resp.guardrails_config[0].owner #=> String, one of "ACCOUNT"
|
|
5504
|
+
# resp.next_token #=> String
|
|
5505
|
+
#
|
|
5506
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListEnforcedGuardrailsConfiguration AWS API Documentation
|
|
5507
|
+
#
|
|
5508
|
+
# @overload list_enforced_guardrails_configuration(params = {})
|
|
5509
|
+
# @param [Hash] params ({})
|
|
5510
|
+
def list_enforced_guardrails_configuration(params = {}, options = {})
|
|
5511
|
+
req = build_request(:list_enforced_guardrails_configuration, params)
|
|
5512
|
+
req.send_request(options)
|
|
5513
|
+
end
|
|
5514
|
+
|
|
5450
5515
|
# Lists all existing evaluation jobs.
|
|
5451
5516
|
#
|
|
5452
5517
|
# @option params [Time,DateTime,Date,Integer,String] :creation_time_after
|
|
@@ -6523,6 +6588,46 @@ module Aws::Bedrock
|
|
|
6523
6588
|
req.send_request(options)
|
|
6524
6589
|
end
|
|
6525
6590
|
|
|
6591
|
+
# Sets the account-level enforced guardrail configuration.
|
|
6592
|
+
#
|
|
6593
|
+
# @option params [String] :config_id
|
|
6594
|
+
# Unique ID for the account enforced configuration.
|
|
6595
|
+
#
|
|
6596
|
+
# @option params [required, Types::AccountEnforcedGuardrailInferenceInputConfiguration] :guardrail_inference_config
|
|
6597
|
+
# Account-level enforced guardrail input configuration.
|
|
6598
|
+
#
|
|
6599
|
+
# @return [Types::PutEnforcedGuardrailConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6600
|
+
#
|
|
6601
|
+
# * {Types::PutEnforcedGuardrailConfigurationResponse#config_id #config_id} => String
|
|
6602
|
+
# * {Types::PutEnforcedGuardrailConfigurationResponse#updated_at #updated_at} => Time
|
|
6603
|
+
# * {Types::PutEnforcedGuardrailConfigurationResponse#updated_by #updated_by} => String
|
|
6604
|
+
#
|
|
6605
|
+
# @example Request syntax with placeholder values
|
|
6606
|
+
#
|
|
6607
|
+
# resp = client.put_enforced_guardrail_configuration({
|
|
6608
|
+
# config_id: "AccountEnforcedGuardrailConfigurationId",
|
|
6609
|
+
# guardrail_inference_config: { # required
|
|
6610
|
+
# guardrail_identifier: "GuardrailIdentifier", # required
|
|
6611
|
+
# guardrail_version: "GuardrailNumericalVersion", # required
|
|
6612
|
+
# input_tags: "HONOR", # required, accepts HONOR, IGNORE
|
|
6613
|
+
# },
|
|
6614
|
+
# })
|
|
6615
|
+
#
|
|
6616
|
+
# @example Response structure
|
|
6617
|
+
#
|
|
6618
|
+
# resp.config_id #=> String
|
|
6619
|
+
# resp.updated_at #=> Time
|
|
6620
|
+
# resp.updated_by #=> String
|
|
6621
|
+
#
|
|
6622
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutEnforcedGuardrailConfiguration AWS API Documentation
|
|
6623
|
+
#
|
|
6624
|
+
# @overload put_enforced_guardrail_configuration(params = {})
|
|
6625
|
+
# @param [Hash] params ({})
|
|
6626
|
+
def put_enforced_guardrail_configuration(params = {}, options = {})
|
|
6627
|
+
req = build_request(:put_enforced_guardrail_configuration, params)
|
|
6628
|
+
req.send_request(options)
|
|
6629
|
+
end
|
|
6630
|
+
|
|
6526
6631
|
# Set the configuration values for model invocation logging.
|
|
6527
6632
|
#
|
|
6528
6633
|
# @option params [required, Types::LoggingConfig] :logging_config
|
|
@@ -6550,6 +6655,7 @@ module Aws::Bedrock
|
|
|
6550
6655
|
# image_data_delivery_enabled: false,
|
|
6551
6656
|
# embedding_data_delivery_enabled: false,
|
|
6552
6657
|
# video_data_delivery_enabled: false,
|
|
6658
|
+
# audio_data_delivery_enabled: false,
|
|
6553
6659
|
# },
|
|
6554
6660
|
# })
|
|
6555
6661
|
#
|
|
@@ -7632,7 +7738,7 @@ module Aws::Bedrock
|
|
|
7632
7738
|
tracer: tracer
|
|
7633
7739
|
)
|
|
7634
7740
|
context[:gem_name] = 'aws-sdk-bedrock'
|
|
7635
|
-
context[:gem_version] = '1.
|
|
7741
|
+
context[:gem_version] = '1.68.0'
|
|
7636
7742
|
Seahorse::Client::Request.new(handlers, context)
|
|
7637
7743
|
end
|
|
7638
7744
|
|
|
@@ -16,6 +16,10 @@ module Aws::Bedrock
|
|
|
16
16
|
|
|
17
17
|
AcceptEula = Shapes::BooleanShape.new(name: 'AcceptEula')
|
|
18
18
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
|
19
|
+
AccountEnforcedGuardrailConfigurationId = Shapes::StringShape.new(name: 'AccountEnforcedGuardrailConfigurationId')
|
|
20
|
+
AccountEnforcedGuardrailInferenceInputConfiguration = Shapes::StructureShape.new(name: 'AccountEnforcedGuardrailInferenceInputConfiguration')
|
|
21
|
+
AccountEnforcedGuardrailOutputConfiguration = Shapes::StructureShape.new(name: 'AccountEnforcedGuardrailOutputConfiguration')
|
|
22
|
+
AccountEnforcedGuardrailsOutputConfiguration = Shapes::ListShape.new(name: 'AccountEnforcedGuardrailsOutputConfiguration')
|
|
19
23
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
|
20
24
|
AcknowledgementFormDataBody = Shapes::BlobShape.new(name: 'AcknowledgementFormDataBody')
|
|
21
25
|
AdditionalModelRequestFields = Shapes::MapShape.new(name: 'AdditionalModelRequestFields')
|
|
@@ -194,6 +198,7 @@ module Aws::Bedrock
|
|
|
194
198
|
CancelAutomatedReasoningPolicyBuildWorkflowResponse = Shapes::StructureShape.new(name: 'CancelAutomatedReasoningPolicyBuildWorkflowResponse')
|
|
195
199
|
CloudWatchConfig = Shapes::StructureShape.new(name: 'CloudWatchConfig')
|
|
196
200
|
CommitmentDuration = Shapes::StringShape.new(name: 'CommitmentDuration')
|
|
201
|
+
ConfigurationOwner = Shapes::StringShape.new(name: 'ConfigurationOwner')
|
|
197
202
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
198
203
|
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
|
199
204
|
CreateAutomatedReasoningPolicyRequest = Shapes::StructureShape.new(name: 'CreateAutomatedReasoningPolicyRequest')
|
|
@@ -260,6 +265,8 @@ module Aws::Bedrock
|
|
|
260
265
|
DeleteCustomModelDeploymentResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelDeploymentResponse')
|
|
261
266
|
DeleteCustomModelRequest = Shapes::StructureShape.new(name: 'DeleteCustomModelRequest')
|
|
262
267
|
DeleteCustomModelResponse = Shapes::StructureShape.new(name: 'DeleteCustomModelResponse')
|
|
268
|
+
DeleteEnforcedGuardrailConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteEnforcedGuardrailConfigurationRequest')
|
|
269
|
+
DeleteEnforcedGuardrailConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteEnforcedGuardrailConfigurationResponse')
|
|
263
270
|
DeleteFoundationModelAgreementRequest = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementRequest')
|
|
264
271
|
DeleteFoundationModelAgreementResponse = Shapes::StructureShape.new(name: 'DeleteFoundationModelAgreementResponse')
|
|
265
272
|
DeleteGuardrailRequest = Shapes::StructureShape.new(name: 'DeleteGuardrailRequest')
|
|
@@ -527,6 +534,7 @@ module Aws::Bedrock
|
|
|
527
534
|
InferenceProfileType = Shapes::StringShape.new(name: 'InferenceProfileType')
|
|
528
535
|
InferenceType = Shapes::StringShape.new(name: 'InferenceType')
|
|
529
536
|
InferenceTypeList = Shapes::ListShape.new(name: 'InferenceTypeList')
|
|
537
|
+
InputTags = Shapes::StringShape.new(name: 'InputTags')
|
|
530
538
|
InstanceCount = Shapes::IntegerShape.new(name: 'InstanceCount')
|
|
531
539
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
|
532
540
|
InstructSupported = Shapes::BooleanShape.new(name: 'InstructSupported')
|
|
@@ -559,6 +567,8 @@ module Aws::Bedrock
|
|
|
559
567
|
ListCustomModelDeploymentsResponse = Shapes::StructureShape.new(name: 'ListCustomModelDeploymentsResponse')
|
|
560
568
|
ListCustomModelsRequest = Shapes::StructureShape.new(name: 'ListCustomModelsRequest')
|
|
561
569
|
ListCustomModelsResponse = Shapes::StructureShape.new(name: 'ListCustomModelsResponse')
|
|
570
|
+
ListEnforcedGuardrailsConfigurationRequest = Shapes::StructureShape.new(name: 'ListEnforcedGuardrailsConfigurationRequest')
|
|
571
|
+
ListEnforcedGuardrailsConfigurationResponse = Shapes::StructureShape.new(name: 'ListEnforcedGuardrailsConfigurationResponse')
|
|
562
572
|
ListEvaluationJobsRequest = Shapes::StructureShape.new(name: 'ListEvaluationJobsRequest')
|
|
563
573
|
ListEvaluationJobsResponse = Shapes::StructureShape.new(name: 'ListEvaluationJobsResponse')
|
|
564
574
|
ListFoundationModelAgreementOffersRequest = Shapes::StructureShape.new(name: 'ListFoundationModelAgreementOffersRequest')
|
|
@@ -673,6 +683,8 @@ module Aws::Bedrock
|
|
|
673
683
|
ProvisionedModelStatus = Shapes::StringShape.new(name: 'ProvisionedModelStatus')
|
|
674
684
|
ProvisionedModelSummaries = Shapes::ListShape.new(name: 'ProvisionedModelSummaries')
|
|
675
685
|
ProvisionedModelSummary = Shapes::StructureShape.new(name: 'ProvisionedModelSummary')
|
|
686
|
+
PutEnforcedGuardrailConfigurationRequest = Shapes::StructureShape.new(name: 'PutEnforcedGuardrailConfigurationRequest')
|
|
687
|
+
PutEnforcedGuardrailConfigurationResponse = Shapes::StructureShape.new(name: 'PutEnforcedGuardrailConfigurationResponse')
|
|
676
688
|
PutModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationRequest')
|
|
677
689
|
PutModelInvocationLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationResponse')
|
|
678
690
|
PutUseCaseForModelAccessRequest = Shapes::StructureShape.new(name: 'PutUseCaseForModelAccessRequest')
|
|
@@ -797,6 +809,25 @@ module Aws::Bedrock
|
|
|
797
809
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
798
810
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
|
799
811
|
|
|
812
|
+
AccountEnforcedGuardrailInferenceInputConfiguration.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location_name: "guardrailIdentifier"))
|
|
813
|
+
AccountEnforcedGuardrailInferenceInputConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailNumericalVersion, required: true, location_name: "guardrailVersion"))
|
|
814
|
+
AccountEnforcedGuardrailInferenceInputConfiguration.add_member(:input_tags, Shapes::ShapeRef.new(shape: InputTags, required: true, location_name: "inputTags"))
|
|
815
|
+
AccountEnforcedGuardrailInferenceInputConfiguration.struct_class = Types::AccountEnforcedGuardrailInferenceInputConfiguration
|
|
816
|
+
|
|
817
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:config_id, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailConfigurationId, location_name: "configId"))
|
|
818
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:guardrail_arn, Shapes::ShapeRef.new(shape: GuardrailArn, location_name: "guardrailArn"))
|
|
819
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:guardrail_id, Shapes::ShapeRef.new(shape: GuardrailId, location_name: "guardrailId"))
|
|
820
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:input_tags, Shapes::ShapeRef.new(shape: InputTags, location_name: "inputTags"))
|
|
821
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailNumericalVersion, location_name: "guardrailVersion"))
|
|
822
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
|
823
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:created_by, Shapes::ShapeRef.new(shape: String, location_name: "createdBy"))
|
|
824
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
825
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, location_name: "updatedBy"))
|
|
826
|
+
AccountEnforcedGuardrailOutputConfiguration.add_member(:owner, Shapes::ShapeRef.new(shape: ConfigurationOwner, location_name: "owner"))
|
|
827
|
+
AccountEnforcedGuardrailOutputConfiguration.struct_class = Types::AccountEnforcedGuardrailOutputConfiguration
|
|
828
|
+
|
|
829
|
+
AccountEnforcedGuardrailsOutputConfiguration.member = Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailOutputConfiguration)
|
|
830
|
+
|
|
800
831
|
AdditionalModelRequestFields.key = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsKey)
|
|
801
832
|
AdditionalModelRequestFields.value = Shapes::ShapeRef.new(shape: AdditionalModelRequestFieldsValue)
|
|
802
833
|
|
|
@@ -1618,6 +1649,11 @@ module Aws::Bedrock
|
|
|
1618
1649
|
|
|
1619
1650
|
DeleteCustomModelResponse.struct_class = Types::DeleteCustomModelResponse
|
|
1620
1651
|
|
|
1652
|
+
DeleteEnforcedGuardrailConfigurationRequest.add_member(:config_id, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailConfigurationId, required: true, location: "uri", location_name: "configId"))
|
|
1653
|
+
DeleteEnforcedGuardrailConfigurationRequest.struct_class = Types::DeleteEnforcedGuardrailConfigurationRequest
|
|
1654
|
+
|
|
1655
|
+
DeleteEnforcedGuardrailConfigurationResponse.struct_class = Types::DeleteEnforcedGuardrailConfigurationResponse
|
|
1656
|
+
|
|
1621
1657
|
DeleteFoundationModelAgreementRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: BedrockModelId, required: true, location_name: "modelId"))
|
|
1622
1658
|
DeleteFoundationModelAgreementRequest.struct_class = Types::DeleteFoundationModelAgreementRequest
|
|
1623
1659
|
|
|
@@ -2608,6 +2644,13 @@ module Aws::Bedrock
|
|
|
2608
2644
|
ListCustomModelsResponse.add_member(:model_summaries, Shapes::ShapeRef.new(shape: CustomModelSummaryList, location_name: "modelSummaries"))
|
|
2609
2645
|
ListCustomModelsResponse.struct_class = Types::ListCustomModelsResponse
|
|
2610
2646
|
|
|
2647
|
+
ListEnforcedGuardrailsConfigurationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
|
2648
|
+
ListEnforcedGuardrailsConfigurationRequest.struct_class = Types::ListEnforcedGuardrailsConfigurationRequest
|
|
2649
|
+
|
|
2650
|
+
ListEnforcedGuardrailsConfigurationResponse.add_member(:guardrails_config, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailsOutputConfiguration, required: true, location_name: "guardrailsConfig"))
|
|
2651
|
+
ListEnforcedGuardrailsConfigurationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
|
2652
|
+
ListEnforcedGuardrailsConfigurationResponse.struct_class = Types::ListEnforcedGuardrailsConfigurationResponse
|
|
2653
|
+
|
|
2611
2654
|
ListEvaluationJobsRequest.add_member(:creation_time_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeAfter"))
|
|
2612
2655
|
ListEvaluationJobsRequest.add_member(:creation_time_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "creationTimeBefore"))
|
|
2613
2656
|
ListEvaluationJobsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: EvaluationJobStatus, location: "querystring", location_name: "statusEquals"))
|
|
@@ -2774,6 +2817,7 @@ module Aws::Bedrock
|
|
|
2774
2817
|
LoggingConfig.add_member(:image_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "imageDataDeliveryEnabled"))
|
|
2775
2818
|
LoggingConfig.add_member(:embedding_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "embeddingDataDeliveryEnabled"))
|
|
2776
2819
|
LoggingConfig.add_member(:video_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "videoDataDeliveryEnabled"))
|
|
2820
|
+
LoggingConfig.add_member(:audio_data_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "audioDataDeliveryEnabled"))
|
|
2777
2821
|
LoggingConfig.struct_class = Types::LoggingConfig
|
|
2778
2822
|
|
|
2779
2823
|
MarketplaceModelEndpoint.add_member(:endpoint_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "endpointArn"))
|
|
@@ -2961,6 +3005,15 @@ module Aws::Bedrock
|
|
|
2961
3005
|
ProvisionedModelSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedTime"))
|
|
2962
3006
|
ProvisionedModelSummary.struct_class = Types::ProvisionedModelSummary
|
|
2963
3007
|
|
|
3008
|
+
PutEnforcedGuardrailConfigurationRequest.add_member(:config_id, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailConfigurationId, location_name: "configId"))
|
|
3009
|
+
PutEnforcedGuardrailConfigurationRequest.add_member(:guardrail_inference_config, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailInferenceInputConfiguration, required: true, location_name: "guardrailInferenceConfig"))
|
|
3010
|
+
PutEnforcedGuardrailConfigurationRequest.struct_class = Types::PutEnforcedGuardrailConfigurationRequest
|
|
3011
|
+
|
|
3012
|
+
PutEnforcedGuardrailConfigurationResponse.add_member(:config_id, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailConfigurationId, location_name: "configId"))
|
|
3013
|
+
PutEnforcedGuardrailConfigurationResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
3014
|
+
PutEnforcedGuardrailConfigurationResponse.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, location_name: "updatedBy"))
|
|
3015
|
+
PutEnforcedGuardrailConfigurationResponse.struct_class = Types::PutEnforcedGuardrailConfigurationResponse
|
|
3016
|
+
|
|
2964
3017
|
PutModelInvocationLoggingConfigurationRequest.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, required: true, location_name: "loggingConfig"))
|
|
2965
3018
|
PutModelInvocationLoggingConfigurationRequest.struct_class = Types::PutModelInvocationLoggingConfigurationRequest
|
|
2966
3019
|
|
|
@@ -3707,6 +3760,19 @@ module Aws::Bedrock
|
|
|
3707
3760
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3708
3761
|
end)
|
|
3709
3762
|
|
|
3763
|
+
api.add_operation(:delete_enforced_guardrail_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
3764
|
+
o.name = "DeleteEnforcedGuardrailConfiguration"
|
|
3765
|
+
o.http_method = "DELETE"
|
|
3766
|
+
o.http_request_uri = "/enforcedGuardrailsConfiguration/{configId}"
|
|
3767
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteEnforcedGuardrailConfigurationRequest)
|
|
3768
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteEnforcedGuardrailConfigurationResponse)
|
|
3769
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3770
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3771
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3772
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3773
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3774
|
+
end)
|
|
3775
|
+
|
|
3710
3776
|
api.add_operation(:delete_foundation_model_agreement, Seahorse::Model::Operation.new.tap do |o|
|
|
3711
3777
|
o.name = "DeleteFoundationModelAgreement"
|
|
3712
3778
|
o.http_method = "POST"
|
|
@@ -4263,6 +4329,24 @@ module Aws::Bedrock
|
|
|
4263
4329
|
)
|
|
4264
4330
|
end)
|
|
4265
4331
|
|
|
4332
|
+
api.add_operation(:list_enforced_guardrails_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
4333
|
+
o.name = "ListEnforcedGuardrailsConfiguration"
|
|
4334
|
+
o.http_method = "GET"
|
|
4335
|
+
o.http_request_uri = "/enforcedGuardrailsConfiguration"
|
|
4336
|
+
o.input = Shapes::ShapeRef.new(shape: ListEnforcedGuardrailsConfigurationRequest)
|
|
4337
|
+
o.output = Shapes::ShapeRef.new(shape: ListEnforcedGuardrailsConfigurationResponse)
|
|
4338
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4339
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4340
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4341
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4342
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4343
|
+
o[:pager] = Aws::Pager.new(
|
|
4344
|
+
tokens: {
|
|
4345
|
+
"next_token" => "next_token"
|
|
4346
|
+
}
|
|
4347
|
+
)
|
|
4348
|
+
end)
|
|
4349
|
+
|
|
4266
4350
|
api.add_operation(:list_evaluation_jobs, Seahorse::Model::Operation.new.tap do |o|
|
|
4267
4351
|
o.name = "ListEvaluationJobs"
|
|
4268
4352
|
o.http_method = "GET"
|
|
@@ -4502,6 +4586,20 @@ module Aws::Bedrock
|
|
|
4502
4586
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4503
4587
|
end)
|
|
4504
4588
|
|
|
4589
|
+
api.add_operation(:put_enforced_guardrail_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
4590
|
+
o.name = "PutEnforcedGuardrailConfiguration"
|
|
4591
|
+
o.http_method = "PUT"
|
|
4592
|
+
o.http_request_uri = "/enforcedGuardrailsConfiguration"
|
|
4593
|
+
o.input = Shapes::ShapeRef.new(shape: PutEnforcedGuardrailConfigurationRequest)
|
|
4594
|
+
o.output = Shapes::ShapeRef.new(shape: PutEnforcedGuardrailConfigurationResponse)
|
|
4595
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4596
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4597
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4598
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
4599
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4600
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4601
|
+
end)
|
|
4602
|
+
|
|
4505
4603
|
api.add_operation(:put_model_invocation_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
4506
4604
|
o.name = "PutModelInvocationLoggingConfiguration"
|
|
4507
4605
|
o.http_method = "PUT"
|
|
@@ -23,6 +23,89 @@ module Aws::Bedrock
|
|
|
23
23
|
include Aws::Structure
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
+
# Account-level enforced guardrail input configuration.
|
|
27
|
+
#
|
|
28
|
+
# @!attribute [rw] guardrail_identifier
|
|
29
|
+
# Identifier for the guardrail, could be the ID or the ARN.
|
|
30
|
+
# @return [String]
|
|
31
|
+
#
|
|
32
|
+
# @!attribute [rw] guardrail_version
|
|
33
|
+
# Numerical guardrail version.
|
|
34
|
+
# @return [String]
|
|
35
|
+
#
|
|
36
|
+
# @!attribute [rw] input_tags
|
|
37
|
+
# Whether to honor or ignore input tags at runtime.
|
|
38
|
+
# @return [String]
|
|
39
|
+
#
|
|
40
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AccountEnforcedGuardrailInferenceInputConfiguration AWS API Documentation
|
|
41
|
+
#
|
|
42
|
+
class AccountEnforcedGuardrailInferenceInputConfiguration < Struct.new(
|
|
43
|
+
:guardrail_identifier,
|
|
44
|
+
:guardrail_version,
|
|
45
|
+
:input_tags)
|
|
46
|
+
SENSITIVE = []
|
|
47
|
+
include Aws::Structure
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Account enforced guardrail output configuration.
|
|
51
|
+
#
|
|
52
|
+
# @!attribute [rw] config_id
|
|
53
|
+
# Unique ID for the account enforced configuration.
|
|
54
|
+
# @return [String]
|
|
55
|
+
#
|
|
56
|
+
# @!attribute [rw] guardrail_arn
|
|
57
|
+
# ARN representation for the guardrail.
|
|
58
|
+
# @return [String]
|
|
59
|
+
#
|
|
60
|
+
# @!attribute [rw] guardrail_id
|
|
61
|
+
# Unique ID for the guardrail.
|
|
62
|
+
# @return [String]
|
|
63
|
+
#
|
|
64
|
+
# @!attribute [rw] input_tags
|
|
65
|
+
# Whether to honor or ignore input tags at runtime.
|
|
66
|
+
# @return [String]
|
|
67
|
+
#
|
|
68
|
+
# @!attribute [rw] guardrail_version
|
|
69
|
+
# Numerical guardrail version.
|
|
70
|
+
# @return [String]
|
|
71
|
+
#
|
|
72
|
+
# @!attribute [rw] created_at
|
|
73
|
+
# Timestamp.
|
|
74
|
+
# @return [Time]
|
|
75
|
+
#
|
|
76
|
+
# @!attribute [rw] created_by
|
|
77
|
+
# The ARN of the role used to update the configuration.
|
|
78
|
+
# @return [String]
|
|
79
|
+
#
|
|
80
|
+
# @!attribute [rw] updated_at
|
|
81
|
+
# Timestamp.
|
|
82
|
+
# @return [Time]
|
|
83
|
+
#
|
|
84
|
+
# @!attribute [rw] updated_by
|
|
85
|
+
# The ARN of the role used to update the configuration.
|
|
86
|
+
# @return [String]
|
|
87
|
+
#
|
|
88
|
+
# @!attribute [rw] owner
|
|
89
|
+
# Configuration owner type.
|
|
90
|
+
# @return [String]
|
|
91
|
+
#
|
|
92
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AccountEnforcedGuardrailOutputConfiguration AWS API Documentation
|
|
93
|
+
#
|
|
94
|
+
class AccountEnforcedGuardrailOutputConfiguration < Struct.new(
|
|
95
|
+
:config_id,
|
|
96
|
+
:guardrail_arn,
|
|
97
|
+
:guardrail_id,
|
|
98
|
+
:input_tags,
|
|
99
|
+
:guardrail_version,
|
|
100
|
+
:created_at,
|
|
101
|
+
:created_by,
|
|
102
|
+
:updated_at,
|
|
103
|
+
:updated_by,
|
|
104
|
+
:owner)
|
|
105
|
+
SENSITIVE = []
|
|
106
|
+
include Aws::Structure
|
|
107
|
+
end
|
|
108
|
+
|
|
26
109
|
# Information about the agreement availability
|
|
27
110
|
#
|
|
28
111
|
# @!attribute [rw] status
|
|
@@ -4020,6 +4103,22 @@ module Aws::Bedrock
|
|
|
4020
4103
|
#
|
|
4021
4104
|
class DeleteCustomModelResponse < Aws::EmptyStructure; end
|
|
4022
4105
|
|
|
4106
|
+
# @!attribute [rw] config_id
|
|
4107
|
+
# Unique ID for the account enforced configuration.
|
|
4108
|
+
# @return [String]
|
|
4109
|
+
#
|
|
4110
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteEnforcedGuardrailConfigurationRequest AWS API Documentation
|
|
4111
|
+
#
|
|
4112
|
+
class DeleteEnforcedGuardrailConfigurationRequest < Struct.new(
|
|
4113
|
+
:config_id)
|
|
4114
|
+
SENSITIVE = []
|
|
4115
|
+
include Aws::Structure
|
|
4116
|
+
end
|
|
4117
|
+
|
|
4118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteEnforcedGuardrailConfigurationResponse AWS API Documentation
|
|
4119
|
+
#
|
|
4120
|
+
class DeleteEnforcedGuardrailConfigurationResponse < Aws::EmptyStructure; end
|
|
4121
|
+
|
|
4023
4122
|
# @!attribute [rw] model_id
|
|
4024
4123
|
# Model Id of the model access to delete.
|
|
4025
4124
|
# @return [String]
|
|
@@ -9274,6 +9373,35 @@ module Aws::Bedrock
|
|
|
9274
9373
|
include Aws::Structure
|
|
9275
9374
|
end
|
|
9276
9375
|
|
|
9376
|
+
# @!attribute [rw] next_token
|
|
9377
|
+
# Opaque continuation token of previous paginated response.
|
|
9378
|
+
# @return [String]
|
|
9379
|
+
#
|
|
9380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListEnforcedGuardrailsConfigurationRequest AWS API Documentation
|
|
9381
|
+
#
|
|
9382
|
+
class ListEnforcedGuardrailsConfigurationRequest < Struct.new(
|
|
9383
|
+
:next_token)
|
|
9384
|
+
SENSITIVE = []
|
|
9385
|
+
include Aws::Structure
|
|
9386
|
+
end
|
|
9387
|
+
|
|
9388
|
+
# @!attribute [rw] guardrails_config
|
|
9389
|
+
# Array of AccountEnforcedGuardrailOutputConfiguration objects.
|
|
9390
|
+
# @return [Array<Types::AccountEnforcedGuardrailOutputConfiguration>]
|
|
9391
|
+
#
|
|
9392
|
+
# @!attribute [rw] next_token
|
|
9393
|
+
# Opaque continuation token of previous paginated response.
|
|
9394
|
+
# @return [String]
|
|
9395
|
+
#
|
|
9396
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListEnforcedGuardrailsConfigurationResponse AWS API Documentation
|
|
9397
|
+
#
|
|
9398
|
+
class ListEnforcedGuardrailsConfigurationResponse < Struct.new(
|
|
9399
|
+
:guardrails_config,
|
|
9400
|
+
:next_token)
|
|
9401
|
+
SENSITIVE = []
|
|
9402
|
+
include Aws::Structure
|
|
9403
|
+
end
|
|
9404
|
+
|
|
9277
9405
|
# @!attribute [rw] creation_time_after
|
|
9278
9406
|
# A filter to only list evaluation jobs created after a specified
|
|
9279
9407
|
# time.
|
|
@@ -10194,6 +10322,10 @@ module Aws::Bedrock
|
|
|
10194
10322
|
# Set to include video data in the log delivery.
|
|
10195
10323
|
# @return [Boolean]
|
|
10196
10324
|
#
|
|
10325
|
+
# @!attribute [rw] audio_data_delivery_enabled
|
|
10326
|
+
# Set to include audio data in the log delivery.
|
|
10327
|
+
# @return [Boolean]
|
|
10328
|
+
#
|
|
10197
10329
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/LoggingConfig AWS API Documentation
|
|
10198
10330
|
#
|
|
10199
10331
|
class LoggingConfig < Struct.new(
|
|
@@ -10202,7 +10334,8 @@ module Aws::Bedrock
|
|
|
10202
10334
|
:text_data_delivery_enabled,
|
|
10203
10335
|
:image_data_delivery_enabled,
|
|
10204
10336
|
:embedding_data_delivery_enabled,
|
|
10205
|
-
:video_data_delivery_enabled
|
|
10337
|
+
:video_data_delivery_enabled,
|
|
10338
|
+
:audio_data_delivery_enabled)
|
|
10206
10339
|
SENSITIVE = []
|
|
10207
10340
|
include Aws::Structure
|
|
10208
10341
|
end
|
|
@@ -11104,6 +11237,45 @@ module Aws::Bedrock
|
|
|
11104
11237
|
include Aws::Structure
|
|
11105
11238
|
end
|
|
11106
11239
|
|
|
11240
|
+
# @!attribute [rw] config_id
|
|
11241
|
+
# Unique ID for the account enforced configuration.
|
|
11242
|
+
# @return [String]
|
|
11243
|
+
#
|
|
11244
|
+
# @!attribute [rw] guardrail_inference_config
|
|
11245
|
+
# Account-level enforced guardrail input configuration.
|
|
11246
|
+
# @return [Types::AccountEnforcedGuardrailInferenceInputConfiguration]
|
|
11247
|
+
#
|
|
11248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutEnforcedGuardrailConfigurationRequest AWS API Documentation
|
|
11249
|
+
#
|
|
11250
|
+
class PutEnforcedGuardrailConfigurationRequest < Struct.new(
|
|
11251
|
+
:config_id,
|
|
11252
|
+
:guardrail_inference_config)
|
|
11253
|
+
SENSITIVE = []
|
|
11254
|
+
include Aws::Structure
|
|
11255
|
+
end
|
|
11256
|
+
|
|
11257
|
+
# @!attribute [rw] config_id
|
|
11258
|
+
# Unique ID for the account enforced configuration.
|
|
11259
|
+
# @return [String]
|
|
11260
|
+
#
|
|
11261
|
+
# @!attribute [rw] updated_at
|
|
11262
|
+
# Timestamp.
|
|
11263
|
+
# @return [Time]
|
|
11264
|
+
#
|
|
11265
|
+
# @!attribute [rw] updated_by
|
|
11266
|
+
# The ARN of the role used to update the configuration.
|
|
11267
|
+
# @return [String]
|
|
11268
|
+
#
|
|
11269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutEnforcedGuardrailConfigurationResponse AWS API Documentation
|
|
11270
|
+
#
|
|
11271
|
+
class PutEnforcedGuardrailConfigurationResponse < Struct.new(
|
|
11272
|
+
:config_id,
|
|
11273
|
+
:updated_at,
|
|
11274
|
+
:updated_by)
|
|
11275
|
+
SENSITIVE = []
|
|
11276
|
+
include Aws::Structure
|
|
11277
|
+
end
|
|
11278
|
+
|
|
11107
11279
|
# @!attribute [rw] logging_config
|
|
11108
11280
|
# The logging configuration values to set.
|
|
11109
11281
|
# @return [Types::LoggingConfig]
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1106,6 +1106,15 @@ module Aws
|
|
|
1106
1106
|
) -> _DeleteCustomModelDeploymentResponseSuccess
|
|
1107
1107
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomModelDeploymentResponseSuccess
|
|
1108
1108
|
|
|
1109
|
+
interface _DeleteEnforcedGuardrailConfigurationResponseSuccess
|
|
1110
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEnforcedGuardrailConfigurationResponse]
|
|
1111
|
+
end
|
|
1112
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_enforced_guardrail_configuration-instance_method
|
|
1113
|
+
def delete_enforced_guardrail_configuration: (
|
|
1114
|
+
config_id: ::String
|
|
1115
|
+
) -> _DeleteEnforcedGuardrailConfigurationResponseSuccess
|
|
1116
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEnforcedGuardrailConfigurationResponseSuccess
|
|
1117
|
+
|
|
1109
1118
|
interface _DeleteFoundationModelAgreementResponseSuccess
|
|
1110
1119
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFoundationModelAgreementResponse]
|
|
1111
1120
|
end
|
|
@@ -1717,6 +1726,17 @@ module Aws
|
|
|
1717
1726
|
) -> _ListCustomModelsResponseSuccess
|
|
1718
1727
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomModelsResponseSuccess
|
|
1719
1728
|
|
|
1729
|
+
interface _ListEnforcedGuardrailsConfigurationResponseSuccess
|
|
1730
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEnforcedGuardrailsConfigurationResponse]
|
|
1731
|
+
def guardrails_config: () -> ::Array[Types::AccountEnforcedGuardrailOutputConfiguration]
|
|
1732
|
+
def next_token: () -> ::String
|
|
1733
|
+
end
|
|
1734
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_enforced_guardrails_configuration-instance_method
|
|
1735
|
+
def list_enforced_guardrails_configuration: (
|
|
1736
|
+
?next_token: ::String
|
|
1737
|
+
) -> _ListEnforcedGuardrailsConfigurationResponseSuccess
|
|
1738
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEnforcedGuardrailsConfigurationResponseSuccess
|
|
1739
|
+
|
|
1720
1740
|
interface _ListEvaluationJobsResponseSuccess
|
|
1721
1741
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListEvaluationJobsResponse]
|
|
1722
1742
|
def next_token: () -> ::String
|
|
@@ -1933,6 +1953,23 @@ module Aws
|
|
|
1933
1953
|
) -> _ListTagsForResourceResponseSuccess
|
|
1934
1954
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
|
1935
1955
|
|
|
1956
|
+
interface _PutEnforcedGuardrailConfigurationResponseSuccess
|
|
1957
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutEnforcedGuardrailConfigurationResponse]
|
|
1958
|
+
def config_id: () -> ::String
|
|
1959
|
+
def updated_at: () -> ::Time
|
|
1960
|
+
def updated_by: () -> ::String
|
|
1961
|
+
end
|
|
1962
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#put_enforced_guardrail_configuration-instance_method
|
|
1963
|
+
def put_enforced_guardrail_configuration: (
|
|
1964
|
+
?config_id: ::String,
|
|
1965
|
+
guardrail_inference_config: {
|
|
1966
|
+
guardrail_identifier: ::String,
|
|
1967
|
+
guardrail_version: ::String,
|
|
1968
|
+
input_tags: ("HONOR" | "IGNORE")
|
|
1969
|
+
}
|
|
1970
|
+
) -> _PutEnforcedGuardrailConfigurationResponseSuccess
|
|
1971
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEnforcedGuardrailConfigurationResponseSuccess
|
|
1972
|
+
|
|
1936
1973
|
interface _PutModelInvocationLoggingConfigurationResponseSuccess
|
|
1937
1974
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutModelInvocationLoggingConfigurationResponse]
|
|
1938
1975
|
end
|
|
@@ -1954,7 +1991,8 @@ module Aws
|
|
|
1954
1991
|
text_data_delivery_enabled: bool?,
|
|
1955
1992
|
image_data_delivery_enabled: bool?,
|
|
1956
1993
|
embedding_data_delivery_enabled: bool?,
|
|
1957
|
-
video_data_delivery_enabled: bool
|
|
1994
|
+
video_data_delivery_enabled: bool?,
|
|
1995
|
+
audio_data_delivery_enabled: bool?
|
|
1958
1996
|
}
|
|
1959
1997
|
) -> _PutModelInvocationLoggingConfigurationResponseSuccess
|
|
1960
1998
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutModelInvocationLoggingConfigurationResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -13,6 +13,27 @@ module Aws::Bedrock
|
|
|
13
13
|
SENSITIVE: []
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
+
class AccountEnforcedGuardrailInferenceInputConfiguration
|
|
17
|
+
attr_accessor guardrail_identifier: ::String
|
|
18
|
+
attr_accessor guardrail_version: ::String
|
|
19
|
+
attr_accessor input_tags: ("HONOR" | "IGNORE")
|
|
20
|
+
SENSITIVE: []
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
class AccountEnforcedGuardrailOutputConfiguration
|
|
24
|
+
attr_accessor config_id: ::String
|
|
25
|
+
attr_accessor guardrail_arn: ::String
|
|
26
|
+
attr_accessor guardrail_id: ::String
|
|
27
|
+
attr_accessor input_tags: ("HONOR" | "IGNORE")
|
|
28
|
+
attr_accessor guardrail_version: ::String
|
|
29
|
+
attr_accessor created_at: ::Time
|
|
30
|
+
attr_accessor created_by: ::String
|
|
31
|
+
attr_accessor updated_at: ::Time
|
|
32
|
+
attr_accessor updated_by: ::String
|
|
33
|
+
attr_accessor owner: ("ACCOUNT")
|
|
34
|
+
SENSITIVE: []
|
|
35
|
+
end
|
|
36
|
+
|
|
16
37
|
class AgreementAvailability
|
|
17
38
|
attr_accessor status: ("AVAILABLE" | "PENDING" | "NOT_AVAILABLE" | "ERROR")
|
|
18
39
|
attr_accessor error_message: ::String
|
|
@@ -1085,6 +1106,14 @@ module Aws::Bedrock
|
|
|
1085
1106
|
class DeleteCustomModelResponse < Aws::EmptyStructure
|
|
1086
1107
|
end
|
|
1087
1108
|
|
|
1109
|
+
class DeleteEnforcedGuardrailConfigurationRequest
|
|
1110
|
+
attr_accessor config_id: ::String
|
|
1111
|
+
SENSITIVE: []
|
|
1112
|
+
end
|
|
1113
|
+
|
|
1114
|
+
class DeleteEnforcedGuardrailConfigurationResponse < Aws::EmptyStructure
|
|
1115
|
+
end
|
|
1116
|
+
|
|
1088
1117
|
class DeleteFoundationModelAgreementRequest
|
|
1089
1118
|
attr_accessor model_id: ::String
|
|
1090
1119
|
SENSITIVE: []
|
|
@@ -2334,6 +2363,17 @@ module Aws::Bedrock
|
|
|
2334
2363
|
SENSITIVE: []
|
|
2335
2364
|
end
|
|
2336
2365
|
|
|
2366
|
+
class ListEnforcedGuardrailsConfigurationRequest
|
|
2367
|
+
attr_accessor next_token: ::String
|
|
2368
|
+
SENSITIVE: []
|
|
2369
|
+
end
|
|
2370
|
+
|
|
2371
|
+
class ListEnforcedGuardrailsConfigurationResponse
|
|
2372
|
+
attr_accessor guardrails_config: ::Array[Types::AccountEnforcedGuardrailOutputConfiguration]
|
|
2373
|
+
attr_accessor next_token: ::String
|
|
2374
|
+
SENSITIVE: []
|
|
2375
|
+
end
|
|
2376
|
+
|
|
2337
2377
|
class ListEvaluationJobsRequest
|
|
2338
2378
|
attr_accessor creation_time_after: ::Time
|
|
2339
2379
|
attr_accessor creation_time_before: ::Time
|
|
@@ -2557,6 +2597,7 @@ module Aws::Bedrock
|
|
|
2557
2597
|
attr_accessor image_data_delivery_enabled: bool
|
|
2558
2598
|
attr_accessor embedding_data_delivery_enabled: bool
|
|
2559
2599
|
attr_accessor video_data_delivery_enabled: bool
|
|
2600
|
+
attr_accessor audio_data_delivery_enabled: bool
|
|
2560
2601
|
SENSITIVE: []
|
|
2561
2602
|
end
|
|
2562
2603
|
|
|
@@ -2771,6 +2812,19 @@ module Aws::Bedrock
|
|
|
2771
2812
|
SENSITIVE: []
|
|
2772
2813
|
end
|
|
2773
2814
|
|
|
2815
|
+
class PutEnforcedGuardrailConfigurationRequest
|
|
2816
|
+
attr_accessor config_id: ::String
|
|
2817
|
+
attr_accessor guardrail_inference_config: Types::AccountEnforcedGuardrailInferenceInputConfiguration
|
|
2818
|
+
SENSITIVE: []
|
|
2819
|
+
end
|
|
2820
|
+
|
|
2821
|
+
class PutEnforcedGuardrailConfigurationResponse
|
|
2822
|
+
attr_accessor config_id: ::String
|
|
2823
|
+
attr_accessor updated_at: ::Time
|
|
2824
|
+
attr_accessor updated_by: ::String
|
|
2825
|
+
SENSITIVE: []
|
|
2826
|
+
end
|
|
2827
|
+
|
|
2774
2828
|
class PutModelInvocationLoggingConfigurationRequest
|
|
2775
2829
|
attr_accessor logging_config: Types::LoggingConfig
|
|
2776
2830
|
SENSITIVE: []
|
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.
|
|
4
|
+
version: 1.68.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.239.1
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.239.1
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|