aws-sdk-bedrock 1.66.0 → 1.67.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +105 -1
- data/lib/aws-sdk-bedrock/client_api.rb +97 -0
- data/lib/aws-sdk-bedrock/types.rb +167 -0
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +37 -0
- data/sig/types.rbs +53 -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: 9d377019bfc35e650d86e1bc619a8b85ba238a10a597998127e1da6a8e1ec2ed
|
|
4
|
+
data.tar.gz: daea0efd0af60c43a687c54b6333a5bd2cc4c47a1cf441b1baae81a216a072d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92b3f4b6eca8c5e985f9315014bc4e5400fa8b03b5a7806ddd0c350d0550dc0cde311125c47ca5668cd223309a11c05d354f2f6bebea4aac06e982e82f63acf1
|
|
7
|
+
data.tar.gz: 8defda555a899ed7e3cfdf3d26f4ab1637f3eafdcdd70e7531e5f37115d8fc8aa18164ef0d2cadbf6f2becb159a53af315abde56904d3f4419e4450a66560e87
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.67.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
|
|
@@ -5447,6 +5469,48 @@ module Aws::Bedrock
|
|
|
5447
5469
|
req.send_request(options)
|
|
5448
5470
|
end
|
|
5449
5471
|
|
|
5472
|
+
# Lists the account-level enforced guardrail configurations.
|
|
5473
|
+
#
|
|
5474
|
+
# @option params [String] :next_token
|
|
5475
|
+
# Opaque continuation token of previous paginated response.
|
|
5476
|
+
#
|
|
5477
|
+
# @return [Types::ListEnforcedGuardrailsConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5478
|
+
#
|
|
5479
|
+
# * {Types::ListEnforcedGuardrailsConfigurationResponse#guardrails_config #guardrails_config} => Array<Types::AccountEnforcedGuardrailOutputConfiguration>
|
|
5480
|
+
# * {Types::ListEnforcedGuardrailsConfigurationResponse#next_token #next_token} => String
|
|
5481
|
+
#
|
|
5482
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
5483
|
+
#
|
|
5484
|
+
# @example Request syntax with placeholder values
|
|
5485
|
+
#
|
|
5486
|
+
# resp = client.list_enforced_guardrails_configuration({
|
|
5487
|
+
# next_token: "PaginationToken",
|
|
5488
|
+
# })
|
|
5489
|
+
#
|
|
5490
|
+
# @example Response structure
|
|
5491
|
+
#
|
|
5492
|
+
# resp.guardrails_config #=> Array
|
|
5493
|
+
# resp.guardrails_config[0].config_id #=> String
|
|
5494
|
+
# resp.guardrails_config[0].guardrail_arn #=> String
|
|
5495
|
+
# resp.guardrails_config[0].guardrail_id #=> String
|
|
5496
|
+
# resp.guardrails_config[0].input_tags #=> String, one of "HONOR", "IGNORE"
|
|
5497
|
+
# resp.guardrails_config[0].guardrail_version #=> String
|
|
5498
|
+
# resp.guardrails_config[0].created_at #=> Time
|
|
5499
|
+
# resp.guardrails_config[0].created_by #=> String
|
|
5500
|
+
# resp.guardrails_config[0].updated_at #=> Time
|
|
5501
|
+
# resp.guardrails_config[0].updated_by #=> String
|
|
5502
|
+
# resp.guardrails_config[0].owner #=> String, one of "ACCOUNT"
|
|
5503
|
+
# resp.next_token #=> String
|
|
5504
|
+
#
|
|
5505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListEnforcedGuardrailsConfiguration AWS API Documentation
|
|
5506
|
+
#
|
|
5507
|
+
# @overload list_enforced_guardrails_configuration(params = {})
|
|
5508
|
+
# @param [Hash] params ({})
|
|
5509
|
+
def list_enforced_guardrails_configuration(params = {}, options = {})
|
|
5510
|
+
req = build_request(:list_enforced_guardrails_configuration, params)
|
|
5511
|
+
req.send_request(options)
|
|
5512
|
+
end
|
|
5513
|
+
|
|
5450
5514
|
# Lists all existing evaluation jobs.
|
|
5451
5515
|
#
|
|
5452
5516
|
# @option params [Time,DateTime,Date,Integer,String] :creation_time_after
|
|
@@ -6523,6 +6587,46 @@ module Aws::Bedrock
|
|
|
6523
6587
|
req.send_request(options)
|
|
6524
6588
|
end
|
|
6525
6589
|
|
|
6590
|
+
# Sets the account-level enforced guardrail configuration.
|
|
6591
|
+
#
|
|
6592
|
+
# @option params [String] :config_id
|
|
6593
|
+
# Unique ID for the account enforced configuration.
|
|
6594
|
+
#
|
|
6595
|
+
# @option params [required, Types::AccountEnforcedGuardrailInferenceInputConfiguration] :guardrail_inference_config
|
|
6596
|
+
# Account-level enforced guardrail input configuration.
|
|
6597
|
+
#
|
|
6598
|
+
# @return [Types::PutEnforcedGuardrailConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6599
|
+
#
|
|
6600
|
+
# * {Types::PutEnforcedGuardrailConfigurationResponse#config_id #config_id} => String
|
|
6601
|
+
# * {Types::PutEnforcedGuardrailConfigurationResponse#updated_at #updated_at} => Time
|
|
6602
|
+
# * {Types::PutEnforcedGuardrailConfigurationResponse#updated_by #updated_by} => String
|
|
6603
|
+
#
|
|
6604
|
+
# @example Request syntax with placeholder values
|
|
6605
|
+
#
|
|
6606
|
+
# resp = client.put_enforced_guardrail_configuration({
|
|
6607
|
+
# config_id: "AccountEnforcedGuardrailConfigurationId",
|
|
6608
|
+
# guardrail_inference_config: { # required
|
|
6609
|
+
# guardrail_identifier: "GuardrailIdentifier", # required
|
|
6610
|
+
# guardrail_version: "GuardrailNumericalVersion", # required
|
|
6611
|
+
# input_tags: "HONOR", # required, accepts HONOR, IGNORE
|
|
6612
|
+
# },
|
|
6613
|
+
# })
|
|
6614
|
+
#
|
|
6615
|
+
# @example Response structure
|
|
6616
|
+
#
|
|
6617
|
+
# resp.config_id #=> String
|
|
6618
|
+
# resp.updated_at #=> Time
|
|
6619
|
+
# resp.updated_by #=> String
|
|
6620
|
+
#
|
|
6621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutEnforcedGuardrailConfiguration AWS API Documentation
|
|
6622
|
+
#
|
|
6623
|
+
# @overload put_enforced_guardrail_configuration(params = {})
|
|
6624
|
+
# @param [Hash] params ({})
|
|
6625
|
+
def put_enforced_guardrail_configuration(params = {}, options = {})
|
|
6626
|
+
req = build_request(:put_enforced_guardrail_configuration, params)
|
|
6627
|
+
req.send_request(options)
|
|
6628
|
+
end
|
|
6629
|
+
|
|
6526
6630
|
# Set the configuration values for model invocation logging.
|
|
6527
6631
|
#
|
|
6528
6632
|
# @option params [required, Types::LoggingConfig] :logging_config
|
|
@@ -7632,7 +7736,7 @@ module Aws::Bedrock
|
|
|
7632
7736
|
tracer: tracer
|
|
7633
7737
|
)
|
|
7634
7738
|
context[:gem_name] = 'aws-sdk-bedrock'
|
|
7635
|
-
context[:gem_version] = '1.
|
|
7739
|
+
context[:gem_version] = '1.67.0'
|
|
7636
7740
|
Seahorse::Client::Request.new(handlers, context)
|
|
7637
7741
|
end
|
|
7638
7742
|
|
|
@@ -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"))
|
|
@@ -2961,6 +3004,15 @@ module Aws::Bedrock
|
|
|
2961
3004
|
ProvisionedModelSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedTime"))
|
|
2962
3005
|
ProvisionedModelSummary.struct_class = Types::ProvisionedModelSummary
|
|
2963
3006
|
|
|
3007
|
+
PutEnforcedGuardrailConfigurationRequest.add_member(:config_id, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailConfigurationId, location_name: "configId"))
|
|
3008
|
+
PutEnforcedGuardrailConfigurationRequest.add_member(:guardrail_inference_config, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailInferenceInputConfiguration, required: true, location_name: "guardrailInferenceConfig"))
|
|
3009
|
+
PutEnforcedGuardrailConfigurationRequest.struct_class = Types::PutEnforcedGuardrailConfigurationRequest
|
|
3010
|
+
|
|
3011
|
+
PutEnforcedGuardrailConfigurationResponse.add_member(:config_id, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailConfigurationId, location_name: "configId"))
|
|
3012
|
+
PutEnforcedGuardrailConfigurationResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
3013
|
+
PutEnforcedGuardrailConfigurationResponse.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, location_name: "updatedBy"))
|
|
3014
|
+
PutEnforcedGuardrailConfigurationResponse.struct_class = Types::PutEnforcedGuardrailConfigurationResponse
|
|
3015
|
+
|
|
2964
3016
|
PutModelInvocationLoggingConfigurationRequest.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, required: true, location_name: "loggingConfig"))
|
|
2965
3017
|
PutModelInvocationLoggingConfigurationRequest.struct_class = Types::PutModelInvocationLoggingConfigurationRequest
|
|
2966
3018
|
|
|
@@ -3707,6 +3759,19 @@ module Aws::Bedrock
|
|
|
3707
3759
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3708
3760
|
end)
|
|
3709
3761
|
|
|
3762
|
+
api.add_operation(:delete_enforced_guardrail_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
3763
|
+
o.name = "DeleteEnforcedGuardrailConfiguration"
|
|
3764
|
+
o.http_method = "DELETE"
|
|
3765
|
+
o.http_request_uri = "/enforcedGuardrailsConfiguration/{configId}"
|
|
3766
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteEnforcedGuardrailConfigurationRequest)
|
|
3767
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteEnforcedGuardrailConfigurationResponse)
|
|
3768
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3769
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3770
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3771
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3772
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3773
|
+
end)
|
|
3774
|
+
|
|
3710
3775
|
api.add_operation(:delete_foundation_model_agreement, Seahorse::Model::Operation.new.tap do |o|
|
|
3711
3776
|
o.name = "DeleteFoundationModelAgreement"
|
|
3712
3777
|
o.http_method = "POST"
|
|
@@ -4263,6 +4328,24 @@ module Aws::Bedrock
|
|
|
4263
4328
|
)
|
|
4264
4329
|
end)
|
|
4265
4330
|
|
|
4331
|
+
api.add_operation(:list_enforced_guardrails_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
4332
|
+
o.name = "ListEnforcedGuardrailsConfiguration"
|
|
4333
|
+
o.http_method = "GET"
|
|
4334
|
+
o.http_request_uri = "/enforcedGuardrailsConfiguration"
|
|
4335
|
+
o.input = Shapes::ShapeRef.new(shape: ListEnforcedGuardrailsConfigurationRequest)
|
|
4336
|
+
o.output = Shapes::ShapeRef.new(shape: ListEnforcedGuardrailsConfigurationResponse)
|
|
4337
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4338
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4339
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4340
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4341
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4342
|
+
o[:pager] = Aws::Pager.new(
|
|
4343
|
+
tokens: {
|
|
4344
|
+
"next_token" => "next_token"
|
|
4345
|
+
}
|
|
4346
|
+
)
|
|
4347
|
+
end)
|
|
4348
|
+
|
|
4266
4349
|
api.add_operation(:list_evaluation_jobs, Seahorse::Model::Operation.new.tap do |o|
|
|
4267
4350
|
o.name = "ListEvaluationJobs"
|
|
4268
4351
|
o.http_method = "GET"
|
|
@@ -4502,6 +4585,20 @@ module Aws::Bedrock
|
|
|
4502
4585
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4503
4586
|
end)
|
|
4504
4587
|
|
|
4588
|
+
api.add_operation(:put_enforced_guardrail_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
4589
|
+
o.name = "PutEnforcedGuardrailConfiguration"
|
|
4590
|
+
o.http_method = "PUT"
|
|
4591
|
+
o.http_request_uri = "/enforcedGuardrailsConfiguration"
|
|
4592
|
+
o.input = Shapes::ShapeRef.new(shape: PutEnforcedGuardrailConfigurationRequest)
|
|
4593
|
+
o.output = Shapes::ShapeRef.new(shape: PutEnforcedGuardrailConfigurationResponse)
|
|
4594
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
4595
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4596
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4597
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
4598
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4599
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4600
|
+
end)
|
|
4601
|
+
|
|
4505
4602
|
api.add_operation(:put_model_invocation_logging_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
4506
4603
|
o.name = "PutModelInvocationLoggingConfiguration"
|
|
4507
4604
|
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.
|
|
@@ -11104,6 +11232,45 @@ module Aws::Bedrock
|
|
|
11104
11232
|
include Aws::Structure
|
|
11105
11233
|
end
|
|
11106
11234
|
|
|
11235
|
+
# @!attribute [rw] config_id
|
|
11236
|
+
# Unique ID for the account enforced configuration.
|
|
11237
|
+
# @return [String]
|
|
11238
|
+
#
|
|
11239
|
+
# @!attribute [rw] guardrail_inference_config
|
|
11240
|
+
# Account-level enforced guardrail input configuration.
|
|
11241
|
+
# @return [Types::AccountEnforcedGuardrailInferenceInputConfiguration]
|
|
11242
|
+
#
|
|
11243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutEnforcedGuardrailConfigurationRequest AWS API Documentation
|
|
11244
|
+
#
|
|
11245
|
+
class PutEnforcedGuardrailConfigurationRequest < Struct.new(
|
|
11246
|
+
:config_id,
|
|
11247
|
+
:guardrail_inference_config)
|
|
11248
|
+
SENSITIVE = []
|
|
11249
|
+
include Aws::Structure
|
|
11250
|
+
end
|
|
11251
|
+
|
|
11252
|
+
# @!attribute [rw] config_id
|
|
11253
|
+
# Unique ID for the account enforced configuration.
|
|
11254
|
+
# @return [String]
|
|
11255
|
+
#
|
|
11256
|
+
# @!attribute [rw] updated_at
|
|
11257
|
+
# Timestamp.
|
|
11258
|
+
# @return [Time]
|
|
11259
|
+
#
|
|
11260
|
+
# @!attribute [rw] updated_by
|
|
11261
|
+
# The ARN of the role used to update the configuration.
|
|
11262
|
+
# @return [String]
|
|
11263
|
+
#
|
|
11264
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutEnforcedGuardrailConfigurationResponse AWS API Documentation
|
|
11265
|
+
#
|
|
11266
|
+
class PutEnforcedGuardrailConfigurationResponse < Struct.new(
|
|
11267
|
+
:config_id,
|
|
11268
|
+
:updated_at,
|
|
11269
|
+
:updated_by)
|
|
11270
|
+
SENSITIVE = []
|
|
11271
|
+
include Aws::Structure
|
|
11272
|
+
end
|
|
11273
|
+
|
|
11107
11274
|
# @!attribute [rw] logging_config
|
|
11108
11275
|
# The logging configuration values to set.
|
|
11109
11276
|
# @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
|
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
|
|
@@ -2771,6 +2811,19 @@ module Aws::Bedrock
|
|
|
2771
2811
|
SENSITIVE: []
|
|
2772
2812
|
end
|
|
2773
2813
|
|
|
2814
|
+
class PutEnforcedGuardrailConfigurationRequest
|
|
2815
|
+
attr_accessor config_id: ::String
|
|
2816
|
+
attr_accessor guardrail_inference_config: Types::AccountEnforcedGuardrailInferenceInputConfiguration
|
|
2817
|
+
SENSITIVE: []
|
|
2818
|
+
end
|
|
2819
|
+
|
|
2820
|
+
class PutEnforcedGuardrailConfigurationResponse
|
|
2821
|
+
attr_accessor config_id: ::String
|
|
2822
|
+
attr_accessor updated_at: ::Time
|
|
2823
|
+
attr_accessor updated_by: ::String
|
|
2824
|
+
SENSITIVE: []
|
|
2825
|
+
end
|
|
2826
|
+
|
|
2774
2827
|
class PutModelInvocationLoggingConfigurationRequest
|
|
2775
2828
|
attr_accessor logging_config: Types::LoggingConfig
|
|
2776
2829
|
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.67.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
|