aws-sdk-bedrock 1.40.0 → 1.41.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 +85 -7
- data/lib/aws-sdk-bedrock/client_api.rb +56 -0
- data/lib/aws-sdk-bedrock/types.rb +504 -24
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +66 -14
- data/sig/types.rbs +66 -14
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87923521772094c9ec78f8e86a115fe80cc75f9094a6123b8d7d094fe4cbc07d
|
4
|
+
data.tar.gz: 73e72424273ad3dc26502454113fa810107fba80b7e02a4ef69ebb6ba2730e05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 837e2fd591a620addc22e9f1e68947b679af09089f7663ee38e04c2eec6a58589b1828b462f92c1adf4fa3695ca2ccee62d53443680194ab4e4e75433cfeabd9
|
7
|
+
data.tar.gz: 25c1c7e1756a78927a4836a66bdaf27dd443d6f0daa1aedfca9c68938c7569353fa11f0d78d67b31f30629bcc6da40c81d1e55466cf7bffe8b88f4e095304866
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.0
|
@@ -1006,6 +1006,10 @@ module Aws::Bedrock
|
|
1006
1006
|
# definition: "GuardrailTopicDefinition", # required
|
1007
1007
|
# examples: ["GuardrailTopicExample"],
|
1008
1008
|
# type: "DENY", # required, accepts DENY
|
1009
|
+
# input_action: "BLOCK", # accepts BLOCK, NONE
|
1010
|
+
# output_action: "BLOCK", # accepts BLOCK, NONE
|
1011
|
+
# input_enabled: false,
|
1012
|
+
# output_enabled: false,
|
1009
1013
|
# },
|
1010
1014
|
# ],
|
1011
1015
|
# },
|
@@ -1017,6 +1021,10 @@ module Aws::Bedrock
|
|
1017
1021
|
# output_strength: "NONE", # required, accepts NONE, LOW, MEDIUM, HIGH
|
1018
1022
|
# input_modalities: ["TEXT"], # accepts TEXT, IMAGE
|
1019
1023
|
# output_modalities: ["TEXT"], # accepts TEXT, IMAGE
|
1024
|
+
# input_action: "BLOCK", # accepts BLOCK, NONE
|
1025
|
+
# output_action: "BLOCK", # accepts BLOCK, NONE
|
1026
|
+
# input_enabled: false,
|
1027
|
+
# output_enabled: false,
|
1020
1028
|
# },
|
1021
1029
|
# ],
|
1022
1030
|
# },
|
@@ -1024,11 +1032,19 @@ module Aws::Bedrock
|
|
1024
1032
|
# words_config: [
|
1025
1033
|
# {
|
1026
1034
|
# text: "GuardrailWordConfigTextString", # required
|
1035
|
+
# input_action: "BLOCK", # accepts BLOCK, NONE
|
1036
|
+
# output_action: "BLOCK", # accepts BLOCK, NONE
|
1037
|
+
# input_enabled: false,
|
1038
|
+
# output_enabled: false,
|
1027
1039
|
# },
|
1028
1040
|
# ],
|
1029
1041
|
# managed_word_lists_config: [
|
1030
1042
|
# {
|
1031
1043
|
# type: "PROFANITY", # required, accepts PROFANITY
|
1044
|
+
# input_action: "BLOCK", # accepts BLOCK, NONE
|
1045
|
+
# output_action: "BLOCK", # accepts BLOCK, NONE
|
1046
|
+
# input_enabled: false,
|
1047
|
+
# output_enabled: false,
|
1032
1048
|
# },
|
1033
1049
|
# ],
|
1034
1050
|
# },
|
@@ -1036,7 +1052,11 @@ module Aws::Bedrock
|
|
1036
1052
|
# pii_entities_config: [
|
1037
1053
|
# {
|
1038
1054
|
# type: "ADDRESS", # required, accepts ADDRESS, AGE, AWS_ACCESS_KEY, AWS_SECRET_KEY, CA_HEALTH_NUMBER, CA_SOCIAL_INSURANCE_NUMBER, CREDIT_DEBIT_CARD_CVV, CREDIT_DEBIT_CARD_EXPIRY, CREDIT_DEBIT_CARD_NUMBER, DRIVER_ID, EMAIL, INTERNATIONAL_BANK_ACCOUNT_NUMBER, IP_ADDRESS, LICENSE_PLATE, MAC_ADDRESS, NAME, PASSWORD, PHONE, PIN, SWIFT_CODE, UK_NATIONAL_HEALTH_SERVICE_NUMBER, UK_NATIONAL_INSURANCE_NUMBER, UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER, URL, USERNAME, US_BANK_ACCOUNT_NUMBER, US_BANK_ROUTING_NUMBER, US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER, US_PASSPORT_NUMBER, US_SOCIAL_SECURITY_NUMBER, VEHICLE_IDENTIFICATION_NUMBER
|
1039
|
-
# action: "BLOCK", # required, accepts BLOCK, ANONYMIZE
|
1055
|
+
# action: "BLOCK", # required, accepts BLOCK, ANONYMIZE, NONE
|
1056
|
+
# input_action: "BLOCK", # accepts BLOCK, ANONYMIZE, NONE
|
1057
|
+
# output_action: "BLOCK", # accepts BLOCK, ANONYMIZE, NONE
|
1058
|
+
# input_enabled: false,
|
1059
|
+
# output_enabled: false,
|
1040
1060
|
# },
|
1041
1061
|
# ],
|
1042
1062
|
# regexes_config: [
|
@@ -1044,7 +1064,11 @@ module Aws::Bedrock
|
|
1044
1064
|
# name: "GuardrailRegexConfigNameString", # required
|
1045
1065
|
# description: "GuardrailRegexConfigDescriptionString",
|
1046
1066
|
# pattern: "GuardrailRegexConfigPatternString", # required
|
1047
|
-
# action: "BLOCK", # required, accepts BLOCK, ANONYMIZE
|
1067
|
+
# action: "BLOCK", # required, accepts BLOCK, ANONYMIZE, NONE
|
1068
|
+
# input_action: "BLOCK", # accepts BLOCK, ANONYMIZE, NONE
|
1069
|
+
# output_action: "BLOCK", # accepts BLOCK, ANONYMIZE, NONE
|
1070
|
+
# input_enabled: false,
|
1071
|
+
# output_enabled: false,
|
1048
1072
|
# },
|
1049
1073
|
# ],
|
1050
1074
|
# },
|
@@ -1053,6 +1077,8 @@ module Aws::Bedrock
|
|
1053
1077
|
# {
|
1054
1078
|
# type: "GROUNDING", # required, accepts GROUNDING, RELEVANCE
|
1055
1079
|
# threshold: 1.0, # required
|
1080
|
+
# action: "BLOCK", # accepts BLOCK, NONE
|
1081
|
+
# enabled: false,
|
1056
1082
|
# },
|
1057
1083
|
# ],
|
1058
1084
|
# },
|
@@ -2535,6 +2561,10 @@ module Aws::Bedrock
|
|
2535
2561
|
# resp.topic_policy.topics[0].examples #=> Array
|
2536
2562
|
# resp.topic_policy.topics[0].examples[0] #=> String
|
2537
2563
|
# resp.topic_policy.topics[0].type #=> String, one of "DENY"
|
2564
|
+
# resp.topic_policy.topics[0].input_action #=> String, one of "BLOCK", "NONE"
|
2565
|
+
# resp.topic_policy.topics[0].output_action #=> String, one of "BLOCK", "NONE"
|
2566
|
+
# resp.topic_policy.topics[0].input_enabled #=> Boolean
|
2567
|
+
# resp.topic_policy.topics[0].output_enabled #=> Boolean
|
2538
2568
|
# resp.content_policy.filters #=> Array
|
2539
2569
|
# resp.content_policy.filters[0].type #=> String, one of "SEXUAL", "VIOLENCE", "HATE", "INSULTS", "MISCONDUCT", "PROMPT_ATTACK"
|
2540
2570
|
# resp.content_policy.filters[0].input_strength #=> String, one of "NONE", "LOW", "MEDIUM", "HIGH"
|
@@ -2543,21 +2573,43 @@ module Aws::Bedrock
|
|
2543
2573
|
# resp.content_policy.filters[0].input_modalities[0] #=> String, one of "TEXT", "IMAGE"
|
2544
2574
|
# resp.content_policy.filters[0].output_modalities #=> Array
|
2545
2575
|
# resp.content_policy.filters[0].output_modalities[0] #=> String, one of "TEXT", "IMAGE"
|
2576
|
+
# resp.content_policy.filters[0].input_action #=> String, one of "BLOCK", "NONE"
|
2577
|
+
# resp.content_policy.filters[0].output_action #=> String, one of "BLOCK", "NONE"
|
2578
|
+
# resp.content_policy.filters[0].input_enabled #=> Boolean
|
2579
|
+
# resp.content_policy.filters[0].output_enabled #=> Boolean
|
2546
2580
|
# resp.word_policy.words #=> Array
|
2547
2581
|
# resp.word_policy.words[0].text #=> String
|
2582
|
+
# resp.word_policy.words[0].input_action #=> String, one of "BLOCK", "NONE"
|
2583
|
+
# resp.word_policy.words[0].output_action #=> String, one of "BLOCK", "NONE"
|
2584
|
+
# resp.word_policy.words[0].input_enabled #=> Boolean
|
2585
|
+
# resp.word_policy.words[0].output_enabled #=> Boolean
|
2548
2586
|
# resp.word_policy.managed_word_lists #=> Array
|
2549
2587
|
# resp.word_policy.managed_word_lists[0].type #=> String, one of "PROFANITY"
|
2588
|
+
# resp.word_policy.managed_word_lists[0].input_action #=> String, one of "BLOCK", "NONE"
|
2589
|
+
# resp.word_policy.managed_word_lists[0].output_action #=> String, one of "BLOCK", "NONE"
|
2590
|
+
# resp.word_policy.managed_word_lists[0].input_enabled #=> Boolean
|
2591
|
+
# resp.word_policy.managed_word_lists[0].output_enabled #=> Boolean
|
2550
2592
|
# resp.sensitive_information_policy.pii_entities #=> Array
|
2551
2593
|
# resp.sensitive_information_policy.pii_entities[0].type #=> String, one of "ADDRESS", "AGE", "AWS_ACCESS_KEY", "AWS_SECRET_KEY", "CA_HEALTH_NUMBER", "CA_SOCIAL_INSURANCE_NUMBER", "CREDIT_DEBIT_CARD_CVV", "CREDIT_DEBIT_CARD_EXPIRY", "CREDIT_DEBIT_CARD_NUMBER", "DRIVER_ID", "EMAIL", "INTERNATIONAL_BANK_ACCOUNT_NUMBER", "IP_ADDRESS", "LICENSE_PLATE", "MAC_ADDRESS", "NAME", "PASSWORD", "PHONE", "PIN", "SWIFT_CODE", "UK_NATIONAL_HEALTH_SERVICE_NUMBER", "UK_NATIONAL_INSURANCE_NUMBER", "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER", "URL", "USERNAME", "US_BANK_ACCOUNT_NUMBER", "US_BANK_ROUTING_NUMBER", "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER", "US_PASSPORT_NUMBER", "US_SOCIAL_SECURITY_NUMBER", "VEHICLE_IDENTIFICATION_NUMBER"
|
2552
|
-
# resp.sensitive_information_policy.pii_entities[0].action #=> String, one of "BLOCK", "ANONYMIZE"
|
2594
|
+
# resp.sensitive_information_policy.pii_entities[0].action #=> String, one of "BLOCK", "ANONYMIZE", "NONE"
|
2595
|
+
# resp.sensitive_information_policy.pii_entities[0].input_action #=> String, one of "BLOCK", "ANONYMIZE", "NONE"
|
2596
|
+
# resp.sensitive_information_policy.pii_entities[0].output_action #=> String, one of "BLOCK", "ANONYMIZE", "NONE"
|
2597
|
+
# resp.sensitive_information_policy.pii_entities[0].input_enabled #=> Boolean
|
2598
|
+
# resp.sensitive_information_policy.pii_entities[0].output_enabled #=> Boolean
|
2553
2599
|
# resp.sensitive_information_policy.regexes #=> Array
|
2554
2600
|
# resp.sensitive_information_policy.regexes[0].name #=> String
|
2555
2601
|
# resp.sensitive_information_policy.regexes[0].description #=> String
|
2556
2602
|
# resp.sensitive_information_policy.regexes[0].pattern #=> String
|
2557
|
-
# resp.sensitive_information_policy.regexes[0].action #=> String, one of "BLOCK", "ANONYMIZE"
|
2603
|
+
# resp.sensitive_information_policy.regexes[0].action #=> String, one of "BLOCK", "ANONYMIZE", "NONE"
|
2604
|
+
# resp.sensitive_information_policy.regexes[0].input_action #=> String, one of "BLOCK", "ANONYMIZE", "NONE"
|
2605
|
+
# resp.sensitive_information_policy.regexes[0].output_action #=> String, one of "BLOCK", "ANONYMIZE", "NONE"
|
2606
|
+
# resp.sensitive_information_policy.regexes[0].input_enabled #=> Boolean
|
2607
|
+
# resp.sensitive_information_policy.regexes[0].output_enabled #=> Boolean
|
2558
2608
|
# resp.contextual_grounding_policy.filters #=> Array
|
2559
2609
|
# resp.contextual_grounding_policy.filters[0].type #=> String, one of "GROUNDING", "RELEVANCE"
|
2560
2610
|
# resp.contextual_grounding_policy.filters[0].threshold #=> Float
|
2611
|
+
# resp.contextual_grounding_policy.filters[0].action #=> String, one of "BLOCK", "NONE"
|
2612
|
+
# resp.contextual_grounding_policy.filters[0].enabled #=> Boolean
|
2561
2613
|
# resp.created_at #=> Time
|
2562
2614
|
# resp.updated_at #=> Time
|
2563
2615
|
# resp.status_reasons #=> Array
|
@@ -4580,6 +4632,10 @@ module Aws::Bedrock
|
|
4580
4632
|
# definition: "GuardrailTopicDefinition", # required
|
4581
4633
|
# examples: ["GuardrailTopicExample"],
|
4582
4634
|
# type: "DENY", # required, accepts DENY
|
4635
|
+
# input_action: "BLOCK", # accepts BLOCK, NONE
|
4636
|
+
# output_action: "BLOCK", # accepts BLOCK, NONE
|
4637
|
+
# input_enabled: false,
|
4638
|
+
# output_enabled: false,
|
4583
4639
|
# },
|
4584
4640
|
# ],
|
4585
4641
|
# },
|
@@ -4591,6 +4647,10 @@ module Aws::Bedrock
|
|
4591
4647
|
# output_strength: "NONE", # required, accepts NONE, LOW, MEDIUM, HIGH
|
4592
4648
|
# input_modalities: ["TEXT"], # accepts TEXT, IMAGE
|
4593
4649
|
# output_modalities: ["TEXT"], # accepts TEXT, IMAGE
|
4650
|
+
# input_action: "BLOCK", # accepts BLOCK, NONE
|
4651
|
+
# output_action: "BLOCK", # accepts BLOCK, NONE
|
4652
|
+
# input_enabled: false,
|
4653
|
+
# output_enabled: false,
|
4594
4654
|
# },
|
4595
4655
|
# ],
|
4596
4656
|
# },
|
@@ -4598,11 +4658,19 @@ module Aws::Bedrock
|
|
4598
4658
|
# words_config: [
|
4599
4659
|
# {
|
4600
4660
|
# text: "GuardrailWordConfigTextString", # required
|
4661
|
+
# input_action: "BLOCK", # accepts BLOCK, NONE
|
4662
|
+
# output_action: "BLOCK", # accepts BLOCK, NONE
|
4663
|
+
# input_enabled: false,
|
4664
|
+
# output_enabled: false,
|
4601
4665
|
# },
|
4602
4666
|
# ],
|
4603
4667
|
# managed_word_lists_config: [
|
4604
4668
|
# {
|
4605
4669
|
# type: "PROFANITY", # required, accepts PROFANITY
|
4670
|
+
# input_action: "BLOCK", # accepts BLOCK, NONE
|
4671
|
+
# output_action: "BLOCK", # accepts BLOCK, NONE
|
4672
|
+
# input_enabled: false,
|
4673
|
+
# output_enabled: false,
|
4606
4674
|
# },
|
4607
4675
|
# ],
|
4608
4676
|
# },
|
@@ -4610,7 +4678,11 @@ module Aws::Bedrock
|
|
4610
4678
|
# pii_entities_config: [
|
4611
4679
|
# {
|
4612
4680
|
# type: "ADDRESS", # required, accepts ADDRESS, AGE, AWS_ACCESS_KEY, AWS_SECRET_KEY, CA_HEALTH_NUMBER, CA_SOCIAL_INSURANCE_NUMBER, CREDIT_DEBIT_CARD_CVV, CREDIT_DEBIT_CARD_EXPIRY, CREDIT_DEBIT_CARD_NUMBER, DRIVER_ID, EMAIL, INTERNATIONAL_BANK_ACCOUNT_NUMBER, IP_ADDRESS, LICENSE_PLATE, MAC_ADDRESS, NAME, PASSWORD, PHONE, PIN, SWIFT_CODE, UK_NATIONAL_HEALTH_SERVICE_NUMBER, UK_NATIONAL_INSURANCE_NUMBER, UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER, URL, USERNAME, US_BANK_ACCOUNT_NUMBER, US_BANK_ROUTING_NUMBER, US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER, US_PASSPORT_NUMBER, US_SOCIAL_SECURITY_NUMBER, VEHICLE_IDENTIFICATION_NUMBER
|
4613
|
-
# action: "BLOCK", # required, accepts BLOCK, ANONYMIZE
|
4681
|
+
# action: "BLOCK", # required, accepts BLOCK, ANONYMIZE, NONE
|
4682
|
+
# input_action: "BLOCK", # accepts BLOCK, ANONYMIZE, NONE
|
4683
|
+
# output_action: "BLOCK", # accepts BLOCK, ANONYMIZE, NONE
|
4684
|
+
# input_enabled: false,
|
4685
|
+
# output_enabled: false,
|
4614
4686
|
# },
|
4615
4687
|
# ],
|
4616
4688
|
# regexes_config: [
|
@@ -4618,7 +4690,11 @@ module Aws::Bedrock
|
|
4618
4690
|
# name: "GuardrailRegexConfigNameString", # required
|
4619
4691
|
# description: "GuardrailRegexConfigDescriptionString",
|
4620
4692
|
# pattern: "GuardrailRegexConfigPatternString", # required
|
4621
|
-
# action: "BLOCK", # required, accepts BLOCK, ANONYMIZE
|
4693
|
+
# action: "BLOCK", # required, accepts BLOCK, ANONYMIZE, NONE
|
4694
|
+
# input_action: "BLOCK", # accepts BLOCK, ANONYMIZE, NONE
|
4695
|
+
# output_action: "BLOCK", # accepts BLOCK, ANONYMIZE, NONE
|
4696
|
+
# input_enabled: false,
|
4697
|
+
# output_enabled: false,
|
4622
4698
|
# },
|
4623
4699
|
# ],
|
4624
4700
|
# },
|
@@ -4627,6 +4703,8 @@ module Aws::Bedrock
|
|
4627
4703
|
# {
|
4628
4704
|
# type: "GROUNDING", # required, accepts GROUNDING, RELEVANCE
|
4629
4705
|
# threshold: 1.0, # required
|
4706
|
+
# action: "BLOCK", # accepts BLOCK, NONE
|
4707
|
+
# enabled: false,
|
4630
4708
|
# },
|
4631
4709
|
# ],
|
4632
4710
|
# },
|
@@ -4788,7 +4866,7 @@ module Aws::Bedrock
|
|
4788
4866
|
tracer: tracer
|
4789
4867
|
)
|
4790
4868
|
context[:gem_name] = 'aws-sdk-bedrock'
|
4791
|
-
context[:gem_version] = '1.
|
4869
|
+
context[:gem_version] = '1.41.0'
|
4792
4870
|
Seahorse::Client::Request.new(handlers, context)
|
4793
4871
|
end
|
4794
4872
|
|
@@ -190,12 +190,14 @@ module Aws::Bedrock
|
|
190
190
|
GuardrailConfigurationGuardrailIdString = Shapes::StringShape.new(name: 'GuardrailConfigurationGuardrailIdString')
|
191
191
|
GuardrailConfigurationGuardrailVersionString = Shapes::StringShape.new(name: 'GuardrailConfigurationGuardrailVersionString')
|
192
192
|
GuardrailContentFilter = Shapes::StructureShape.new(name: 'GuardrailContentFilter')
|
193
|
+
GuardrailContentFilterAction = Shapes::StringShape.new(name: 'GuardrailContentFilterAction')
|
193
194
|
GuardrailContentFilterConfig = Shapes::StructureShape.new(name: 'GuardrailContentFilterConfig')
|
194
195
|
GuardrailContentFilterType = Shapes::StringShape.new(name: 'GuardrailContentFilterType')
|
195
196
|
GuardrailContentFilters = Shapes::ListShape.new(name: 'GuardrailContentFilters')
|
196
197
|
GuardrailContentFiltersConfig = Shapes::ListShape.new(name: 'GuardrailContentFiltersConfig')
|
197
198
|
GuardrailContentPolicy = Shapes::StructureShape.new(name: 'GuardrailContentPolicy')
|
198
199
|
GuardrailContentPolicyConfig = Shapes::StructureShape.new(name: 'GuardrailContentPolicyConfig')
|
200
|
+
GuardrailContextualGroundingAction = Shapes::StringShape.new(name: 'GuardrailContextualGroundingAction')
|
199
201
|
GuardrailContextualGroundingFilter = Shapes::StructureShape.new(name: 'GuardrailContextualGroundingFilter')
|
200
202
|
GuardrailContextualGroundingFilterConfig = Shapes::StructureShape.new(name: 'GuardrailContextualGroundingFilterConfig')
|
201
203
|
GuardrailContextualGroundingFilterConfigThresholdDouble = Shapes::FloatShape.new(name: 'GuardrailContextualGroundingFilterConfigThresholdDouble')
|
@@ -245,6 +247,7 @@ module Aws::Bedrock
|
|
245
247
|
GuardrailSummaries = Shapes::ListShape.new(name: 'GuardrailSummaries')
|
246
248
|
GuardrailSummary = Shapes::StructureShape.new(name: 'GuardrailSummary')
|
247
249
|
GuardrailTopic = Shapes::StructureShape.new(name: 'GuardrailTopic')
|
250
|
+
GuardrailTopicAction = Shapes::StringShape.new(name: 'GuardrailTopicAction')
|
248
251
|
GuardrailTopicConfig = Shapes::StructureShape.new(name: 'GuardrailTopicConfig')
|
249
252
|
GuardrailTopicDefinition = Shapes::StringShape.new(name: 'GuardrailTopicDefinition')
|
250
253
|
GuardrailTopicExample = Shapes::StringShape.new(name: 'GuardrailTopicExample')
|
@@ -257,6 +260,7 @@ module Aws::Bedrock
|
|
257
260
|
GuardrailTopicsConfig = Shapes::ListShape.new(name: 'GuardrailTopicsConfig')
|
258
261
|
GuardrailVersion = Shapes::StringShape.new(name: 'GuardrailVersion')
|
259
262
|
GuardrailWord = Shapes::StructureShape.new(name: 'GuardrailWord')
|
263
|
+
GuardrailWordAction = Shapes::StringShape.new(name: 'GuardrailWordAction')
|
260
264
|
GuardrailWordConfig = Shapes::StructureShape.new(name: 'GuardrailWordConfig')
|
261
265
|
GuardrailWordConfigTextString = Shapes::StringShape.new(name: 'GuardrailWordConfigTextString')
|
262
266
|
GuardrailWordPolicy = Shapes::StructureShape.new(name: 'GuardrailWordPolicy')
|
@@ -1175,6 +1179,10 @@ module Aws::Bedrock
|
|
1175
1179
|
GuardrailContentFilter.add_member(:output_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "outputStrength"))
|
1176
1180
|
GuardrailContentFilter.add_member(:input_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "inputModalities"))
|
1177
1181
|
GuardrailContentFilter.add_member(:output_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "outputModalities"))
|
1182
|
+
GuardrailContentFilter.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailContentFilterAction, location_name: "inputAction"))
|
1183
|
+
GuardrailContentFilter.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailContentFilterAction, location_name: "outputAction"))
|
1184
|
+
GuardrailContentFilter.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1185
|
+
GuardrailContentFilter.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1178
1186
|
GuardrailContentFilter.struct_class = Types::GuardrailContentFilter
|
1179
1187
|
|
1180
1188
|
GuardrailContentFilterConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContentFilterType, required: true, location_name: "type"))
|
@@ -1182,6 +1190,10 @@ module Aws::Bedrock
|
|
1182
1190
|
GuardrailContentFilterConfig.add_member(:output_strength, Shapes::ShapeRef.new(shape: GuardrailFilterStrength, required: true, location_name: "outputStrength"))
|
1183
1191
|
GuardrailContentFilterConfig.add_member(:input_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "inputModalities"))
|
1184
1192
|
GuardrailContentFilterConfig.add_member(:output_modalities, Shapes::ShapeRef.new(shape: GuardrailModalities, location_name: "outputModalities"))
|
1193
|
+
GuardrailContentFilterConfig.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailContentFilterAction, location_name: "inputAction"))
|
1194
|
+
GuardrailContentFilterConfig.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailContentFilterAction, location_name: "outputAction"))
|
1195
|
+
GuardrailContentFilterConfig.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1196
|
+
GuardrailContentFilterConfig.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1185
1197
|
GuardrailContentFilterConfig.struct_class = Types::GuardrailContentFilterConfig
|
1186
1198
|
|
1187
1199
|
GuardrailContentFilters.member = Shapes::ShapeRef.new(shape: GuardrailContentFilter)
|
@@ -1196,10 +1208,14 @@ module Aws::Bedrock
|
|
1196
1208
|
|
1197
1209
|
GuardrailContextualGroundingFilter.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterType, required: true, location_name: "type"))
|
1198
1210
|
GuardrailContextualGroundingFilter.add_member(:threshold, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterThresholdDouble, required: true, location_name: "threshold"))
|
1211
|
+
GuardrailContextualGroundingFilter.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingAction, location_name: "action"))
|
1212
|
+
GuardrailContextualGroundingFilter.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
1199
1213
|
GuardrailContextualGroundingFilter.struct_class = Types::GuardrailContextualGroundingFilter
|
1200
1214
|
|
1201
1215
|
GuardrailContextualGroundingFilterConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterType, required: true, location_name: "type"))
|
1202
1216
|
GuardrailContextualGroundingFilterConfig.add_member(:threshold, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterConfigThresholdDouble, required: true, location_name: "threshold"))
|
1217
|
+
GuardrailContextualGroundingFilterConfig.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingAction, location_name: "action"))
|
1218
|
+
GuardrailContextualGroundingFilterConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
1203
1219
|
GuardrailContextualGroundingFilterConfig.struct_class = Types::GuardrailContextualGroundingFilterConfig
|
1204
1220
|
|
1205
1221
|
GuardrailContextualGroundingFilters.member = Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilter)
|
@@ -1219,9 +1235,17 @@ module Aws::Bedrock
|
|
1219
1235
|
GuardrailManagedWordListsConfig.member = Shapes::ShapeRef.new(shape: GuardrailManagedWordsConfig)
|
1220
1236
|
|
1221
1237
|
GuardrailManagedWords.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailManagedWordsType, required: true, location_name: "type"))
|
1238
|
+
GuardrailManagedWords.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "inputAction"))
|
1239
|
+
GuardrailManagedWords.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "outputAction"))
|
1240
|
+
GuardrailManagedWords.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1241
|
+
GuardrailManagedWords.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1222
1242
|
GuardrailManagedWords.struct_class = Types::GuardrailManagedWords
|
1223
1243
|
|
1224
1244
|
GuardrailManagedWordsConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailManagedWordsType, required: true, location_name: "type"))
|
1245
|
+
GuardrailManagedWordsConfig.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "inputAction"))
|
1246
|
+
GuardrailManagedWordsConfig.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "outputAction"))
|
1247
|
+
GuardrailManagedWordsConfig.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1248
|
+
GuardrailManagedWordsConfig.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1225
1249
|
GuardrailManagedWordsConfig.struct_class = Types::GuardrailManagedWordsConfig
|
1226
1250
|
|
1227
1251
|
GuardrailModalities.member = Shapes::ShapeRef.new(shape: GuardrailModality)
|
@@ -1232,22 +1256,38 @@ module Aws::Bedrock
|
|
1232
1256
|
|
1233
1257
|
GuardrailPiiEntity.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailPiiEntityType, required: true, location_name: "type"))
|
1234
1258
|
GuardrailPiiEntity.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, required: true, location_name: "action"))
|
1259
|
+
GuardrailPiiEntity.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "inputAction"))
|
1260
|
+
GuardrailPiiEntity.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "outputAction"))
|
1261
|
+
GuardrailPiiEntity.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1262
|
+
GuardrailPiiEntity.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1235
1263
|
GuardrailPiiEntity.struct_class = Types::GuardrailPiiEntity
|
1236
1264
|
|
1237
1265
|
GuardrailPiiEntityConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailPiiEntityType, required: true, location_name: "type"))
|
1238
1266
|
GuardrailPiiEntityConfig.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, required: true, location_name: "action"))
|
1267
|
+
GuardrailPiiEntityConfig.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "inputAction"))
|
1268
|
+
GuardrailPiiEntityConfig.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "outputAction"))
|
1269
|
+
GuardrailPiiEntityConfig.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1270
|
+
GuardrailPiiEntityConfig.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1239
1271
|
GuardrailPiiEntityConfig.struct_class = Types::GuardrailPiiEntityConfig
|
1240
1272
|
|
1241
1273
|
GuardrailRegex.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailRegexNameString, required: true, location_name: "name"))
|
1242
1274
|
GuardrailRegex.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailRegexDescriptionString, location_name: "description"))
|
1243
1275
|
GuardrailRegex.add_member(:pattern, Shapes::ShapeRef.new(shape: GuardrailRegexPatternString, required: true, location_name: "pattern"))
|
1244
1276
|
GuardrailRegex.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, required: true, location_name: "action"))
|
1277
|
+
GuardrailRegex.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "inputAction"))
|
1278
|
+
GuardrailRegex.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "outputAction"))
|
1279
|
+
GuardrailRegex.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1280
|
+
GuardrailRegex.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1245
1281
|
GuardrailRegex.struct_class = Types::GuardrailRegex
|
1246
1282
|
|
1247
1283
|
GuardrailRegexConfig.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailRegexConfigNameString, required: true, location_name: "name"))
|
1248
1284
|
GuardrailRegexConfig.add_member(:description, Shapes::ShapeRef.new(shape: GuardrailRegexConfigDescriptionString, location_name: "description"))
|
1249
1285
|
GuardrailRegexConfig.add_member(:pattern, Shapes::ShapeRef.new(shape: GuardrailRegexConfigPatternString, required: true, location_name: "pattern"))
|
1250
1286
|
GuardrailRegexConfig.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, required: true, location_name: "action"))
|
1287
|
+
GuardrailRegexConfig.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "inputAction"))
|
1288
|
+
GuardrailRegexConfig.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationAction, location_name: "outputAction"))
|
1289
|
+
GuardrailRegexConfig.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1290
|
+
GuardrailRegexConfig.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1251
1291
|
GuardrailRegexConfig.struct_class = Types::GuardrailRegexConfig
|
1252
1292
|
|
1253
1293
|
GuardrailRegexes.member = Shapes::ShapeRef.new(shape: GuardrailRegex)
|
@@ -1280,12 +1320,20 @@ module Aws::Bedrock
|
|
1280
1320
|
GuardrailTopic.add_member(:definition, Shapes::ShapeRef.new(shape: GuardrailTopicDefinition, required: true, location_name: "definition"))
|
1281
1321
|
GuardrailTopic.add_member(:examples, Shapes::ShapeRef.new(shape: GuardrailTopicExamples, location_name: "examples"))
|
1282
1322
|
GuardrailTopic.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailTopicType, location_name: "type"))
|
1323
|
+
GuardrailTopic.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailTopicAction, location_name: "inputAction"))
|
1324
|
+
GuardrailTopic.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailTopicAction, location_name: "outputAction"))
|
1325
|
+
GuardrailTopic.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1326
|
+
GuardrailTopic.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1283
1327
|
GuardrailTopic.struct_class = Types::GuardrailTopic
|
1284
1328
|
|
1285
1329
|
GuardrailTopicConfig.add_member(:name, Shapes::ShapeRef.new(shape: GuardrailTopicName, required: true, location_name: "name"))
|
1286
1330
|
GuardrailTopicConfig.add_member(:definition, Shapes::ShapeRef.new(shape: GuardrailTopicDefinition, required: true, location_name: "definition"))
|
1287
1331
|
GuardrailTopicConfig.add_member(:examples, Shapes::ShapeRef.new(shape: GuardrailTopicExamples, location_name: "examples"))
|
1288
1332
|
GuardrailTopicConfig.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailTopicType, required: true, location_name: "type"))
|
1333
|
+
GuardrailTopicConfig.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailTopicAction, location_name: "inputAction"))
|
1334
|
+
GuardrailTopicConfig.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailTopicAction, location_name: "outputAction"))
|
1335
|
+
GuardrailTopicConfig.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1336
|
+
GuardrailTopicConfig.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1289
1337
|
GuardrailTopicConfig.struct_class = Types::GuardrailTopicConfig
|
1290
1338
|
|
1291
1339
|
GuardrailTopicExamples.member = Shapes::ShapeRef.new(shape: GuardrailTopicExample)
|
@@ -1301,9 +1349,17 @@ module Aws::Bedrock
|
|
1301
1349
|
GuardrailTopicsConfig.member = Shapes::ShapeRef.new(shape: GuardrailTopicConfig)
|
1302
1350
|
|
1303
1351
|
GuardrailWord.add_member(:text, Shapes::ShapeRef.new(shape: GuardrailWordTextString, required: true, location_name: "text"))
|
1352
|
+
GuardrailWord.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "inputAction"))
|
1353
|
+
GuardrailWord.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "outputAction"))
|
1354
|
+
GuardrailWord.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1355
|
+
GuardrailWord.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1304
1356
|
GuardrailWord.struct_class = Types::GuardrailWord
|
1305
1357
|
|
1306
1358
|
GuardrailWordConfig.add_member(:text, Shapes::ShapeRef.new(shape: GuardrailWordConfigTextString, required: true, location_name: "text"))
|
1359
|
+
GuardrailWordConfig.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "inputAction"))
|
1360
|
+
GuardrailWordConfig.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "outputAction"))
|
1361
|
+
GuardrailWordConfig.add_member(:input_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "inputEnabled"))
|
1362
|
+
GuardrailWordConfig.add_member(:output_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "outputEnabled"))
|
1307
1363
|
GuardrailWordConfig.struct_class = Types::GuardrailWordConfig
|
1308
1364
|
|
1309
1365
|
GuardrailWordPolicy.add_member(:words, Shapes::ShapeRef.new(shape: GuardrailWords, location_name: "words"))
|