aws-sdk-bedrock 1.50.0 → 1.51.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 +15 -1
- data/lib/aws-sdk-bedrock/client_api.rb +22 -0
- data/lib/aws-sdk-bedrock/types.rb +132 -4
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +16 -4
- data/sig/types.rbs +24 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45dbd0331d05ab629daebb239cf8d0a2ce3f0677b90359fe971c017d91d86ee5
|
4
|
+
data.tar.gz: 59478e15be6138719469f692df8a79c36394978d48f00ed3555c16059e9f9ad0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4787570424ed73bf9a382d0983ee4981d9848921f75fd3738dc666fdf123356f2709cda31033b729a9d4485c9fecae118a232ce29b0f91fd030421b21962ca9e
|
7
|
+
data.tar.gz: 387c116289c242b49ce9ae77375914a044b0c59fb2c8319f29ebe3e1a6f9d78b31250a51ff716358714b2a0a9f81622ff9191fb46cb82af44477f7889aa49b9e
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.51.0
|
@@ -1238,6 +1238,9 @@ module Aws::Bedrock
|
|
1238
1238
|
# output_enabled: false,
|
1239
1239
|
# },
|
1240
1240
|
# ],
|
1241
|
+
# tier_config: {
|
1242
|
+
# tier_name: "CLASSIC", # required, accepts CLASSIC, STANDARD
|
1243
|
+
# },
|
1241
1244
|
# },
|
1242
1245
|
# content_policy_config: {
|
1243
1246
|
# filters_config: [ # required
|
@@ -1253,6 +1256,9 @@ module Aws::Bedrock
|
|
1253
1256
|
# output_enabled: false,
|
1254
1257
|
# },
|
1255
1258
|
# ],
|
1259
|
+
# tier_config: {
|
1260
|
+
# tier_name: "CLASSIC", # required, accepts CLASSIC, STANDARD
|
1261
|
+
# },
|
1256
1262
|
# },
|
1257
1263
|
# word_policy_config: {
|
1258
1264
|
# words_config: [
|
@@ -2808,6 +2814,7 @@ module Aws::Bedrock
|
|
2808
2814
|
# resp.topic_policy.topics[0].output_action #=> String, one of "BLOCK", "NONE"
|
2809
2815
|
# resp.topic_policy.topics[0].input_enabled #=> Boolean
|
2810
2816
|
# resp.topic_policy.topics[0].output_enabled #=> Boolean
|
2817
|
+
# resp.topic_policy.tier.tier_name #=> String, one of "CLASSIC", "STANDARD"
|
2811
2818
|
# resp.content_policy.filters #=> Array
|
2812
2819
|
# resp.content_policy.filters[0].type #=> String, one of "SEXUAL", "VIOLENCE", "HATE", "INSULTS", "MISCONDUCT", "PROMPT_ATTACK"
|
2813
2820
|
# resp.content_policy.filters[0].input_strength #=> String, one of "NONE", "LOW", "MEDIUM", "HIGH"
|
@@ -2820,6 +2827,7 @@ module Aws::Bedrock
|
|
2820
2827
|
# resp.content_policy.filters[0].output_action #=> String, one of "BLOCK", "NONE"
|
2821
2828
|
# resp.content_policy.filters[0].input_enabled #=> Boolean
|
2822
2829
|
# resp.content_policy.filters[0].output_enabled #=> Boolean
|
2830
|
+
# resp.content_policy.tier.tier_name #=> String, one of "CLASSIC", "STANDARD"
|
2823
2831
|
# resp.word_policy.words #=> Array
|
2824
2832
|
# resp.word_policy.words[0].text #=> String
|
2825
2833
|
# resp.word_policy.words[0].input_action #=> String, one of "BLOCK", "NONE"
|
@@ -4934,6 +4942,9 @@ module Aws::Bedrock
|
|
4934
4942
|
# output_enabled: false,
|
4935
4943
|
# },
|
4936
4944
|
# ],
|
4945
|
+
# tier_config: {
|
4946
|
+
# tier_name: "CLASSIC", # required, accepts CLASSIC, STANDARD
|
4947
|
+
# },
|
4937
4948
|
# },
|
4938
4949
|
# content_policy_config: {
|
4939
4950
|
# filters_config: [ # required
|
@@ -4949,6 +4960,9 @@ module Aws::Bedrock
|
|
4949
4960
|
# output_enabled: false,
|
4950
4961
|
# },
|
4951
4962
|
# ],
|
4963
|
+
# tier_config: {
|
4964
|
+
# tier_name: "CLASSIC", # required, accepts CLASSIC, STANDARD
|
4965
|
+
# },
|
4952
4966
|
# },
|
4953
4967
|
# word_policy_config: {
|
4954
4968
|
# words_config: [
|
@@ -5165,7 +5179,7 @@ module Aws::Bedrock
|
|
5165
5179
|
tracer: tracer
|
5166
5180
|
)
|
5167
5181
|
context[:gem_name] = 'aws-sdk-bedrock'
|
5168
|
-
context[:gem_version] = '1.
|
5182
|
+
context[:gem_version] = '1.51.0'
|
5169
5183
|
Seahorse::Client::Request.new(handlers, context)
|
5170
5184
|
end
|
5171
5185
|
|
@@ -207,6 +207,9 @@ module Aws::Bedrock
|
|
207
207
|
GuardrailContentFilterType = Shapes::StringShape.new(name: 'GuardrailContentFilterType')
|
208
208
|
GuardrailContentFilters = Shapes::ListShape.new(name: 'GuardrailContentFilters')
|
209
209
|
GuardrailContentFiltersConfig = Shapes::ListShape.new(name: 'GuardrailContentFiltersConfig')
|
210
|
+
GuardrailContentFiltersTier = Shapes::StructureShape.new(name: 'GuardrailContentFiltersTier')
|
211
|
+
GuardrailContentFiltersTierConfig = Shapes::StructureShape.new(name: 'GuardrailContentFiltersTierConfig')
|
212
|
+
GuardrailContentFiltersTierName = Shapes::StringShape.new(name: 'GuardrailContentFiltersTierName')
|
210
213
|
GuardrailContentPolicy = Shapes::StructureShape.new(name: 'GuardrailContentPolicy')
|
211
214
|
GuardrailContentPolicyConfig = Shapes::StructureShape.new(name: 'GuardrailContentPolicyConfig')
|
212
215
|
GuardrailContextualGroundingAction = Shapes::StringShape.new(name: 'GuardrailContextualGroundingAction')
|
@@ -275,6 +278,9 @@ module Aws::Bedrock
|
|
275
278
|
GuardrailTopicType = Shapes::StringShape.new(name: 'GuardrailTopicType')
|
276
279
|
GuardrailTopics = Shapes::ListShape.new(name: 'GuardrailTopics')
|
277
280
|
GuardrailTopicsConfig = Shapes::ListShape.new(name: 'GuardrailTopicsConfig')
|
281
|
+
GuardrailTopicsTier = Shapes::StructureShape.new(name: 'GuardrailTopicsTier')
|
282
|
+
GuardrailTopicsTierConfig = Shapes::StructureShape.new(name: 'GuardrailTopicsTierConfig')
|
283
|
+
GuardrailTopicsTierName = Shapes::StringShape.new(name: 'GuardrailTopicsTierName')
|
278
284
|
GuardrailVersion = Shapes::StringShape.new(name: 'GuardrailVersion')
|
279
285
|
GuardrailWord = Shapes::StructureShape.new(name: 'GuardrailWord')
|
280
286
|
GuardrailWordAction = Shapes::StringShape.new(name: 'GuardrailWordAction')
|
@@ -1277,10 +1283,18 @@ module Aws::Bedrock
|
|
1277
1283
|
|
1278
1284
|
GuardrailContentFiltersConfig.member = Shapes::ShapeRef.new(shape: GuardrailContentFilterConfig)
|
1279
1285
|
|
1286
|
+
GuardrailContentFiltersTier.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTierName, required: true, location_name: "tierName"))
|
1287
|
+
GuardrailContentFiltersTier.struct_class = Types::GuardrailContentFiltersTier
|
1288
|
+
|
1289
|
+
GuardrailContentFiltersTierConfig.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTierName, required: true, location_name: "tierName"))
|
1290
|
+
GuardrailContentFiltersTierConfig.struct_class = Types::GuardrailContentFiltersTierConfig
|
1291
|
+
|
1280
1292
|
GuardrailContentPolicy.add_member(:filters, Shapes::ShapeRef.new(shape: GuardrailContentFilters, location_name: "filters"))
|
1293
|
+
GuardrailContentPolicy.add_member(:tier, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTier, location_name: "tier"))
|
1281
1294
|
GuardrailContentPolicy.struct_class = Types::GuardrailContentPolicy
|
1282
1295
|
|
1283
1296
|
GuardrailContentPolicyConfig.add_member(:filters_config, Shapes::ShapeRef.new(shape: GuardrailContentFiltersConfig, required: true, location_name: "filtersConfig"))
|
1297
|
+
GuardrailContentPolicyConfig.add_member(:tier_config, Shapes::ShapeRef.new(shape: GuardrailContentFiltersTierConfig, location_name: "tierConfig"))
|
1284
1298
|
GuardrailContentPolicyConfig.struct_class = Types::GuardrailContentPolicyConfig
|
1285
1299
|
|
1286
1300
|
GuardrailContextualGroundingFilter.add_member(:type, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterType, required: true, location_name: "type"))
|
@@ -1424,15 +1438,23 @@ module Aws::Bedrock
|
|
1424
1438
|
GuardrailTopicExamples.member = Shapes::ShapeRef.new(shape: GuardrailTopicExample)
|
1425
1439
|
|
1426
1440
|
GuardrailTopicPolicy.add_member(:topics, Shapes::ShapeRef.new(shape: GuardrailTopics, required: true, location_name: "topics"))
|
1441
|
+
GuardrailTopicPolicy.add_member(:tier, Shapes::ShapeRef.new(shape: GuardrailTopicsTier, location_name: "tier"))
|
1427
1442
|
GuardrailTopicPolicy.struct_class = Types::GuardrailTopicPolicy
|
1428
1443
|
|
1429
1444
|
GuardrailTopicPolicyConfig.add_member(:topics_config, Shapes::ShapeRef.new(shape: GuardrailTopicsConfig, required: true, location_name: "topicsConfig"))
|
1445
|
+
GuardrailTopicPolicyConfig.add_member(:tier_config, Shapes::ShapeRef.new(shape: GuardrailTopicsTierConfig, location_name: "tierConfig"))
|
1430
1446
|
GuardrailTopicPolicyConfig.struct_class = Types::GuardrailTopicPolicyConfig
|
1431
1447
|
|
1432
1448
|
GuardrailTopics.member = Shapes::ShapeRef.new(shape: GuardrailTopic)
|
1433
1449
|
|
1434
1450
|
GuardrailTopicsConfig.member = Shapes::ShapeRef.new(shape: GuardrailTopicConfig)
|
1435
1451
|
|
1452
|
+
GuardrailTopicsTier.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailTopicsTierName, required: true, location_name: "tierName"))
|
1453
|
+
GuardrailTopicsTier.struct_class = Types::GuardrailTopicsTier
|
1454
|
+
|
1455
|
+
GuardrailTopicsTierConfig.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailTopicsTierName, required: true, location_name: "tierName"))
|
1456
|
+
GuardrailTopicsTierConfig.struct_class = Types::GuardrailTopicsTierConfig
|
1457
|
+
|
1436
1458
|
GuardrailWord.add_member(:text, Shapes::ShapeRef.new(shape: GuardrailWordTextString, required: true, location_name: "text"))
|
1437
1459
|
GuardrailWord.add_member(:input_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "inputAction"))
|
1438
1460
|
GuardrailWord.add_member(:output_action, Shapes::ShapeRef.new(shape: GuardrailWordAction, location_name: "outputAction"))
|
@@ -3941,6 +3941,60 @@ module Aws::Bedrock
|
|
3941
3941
|
include Aws::Structure
|
3942
3942
|
end
|
3943
3943
|
|
3944
|
+
# The tier that your guardrail uses for content filters.
|
3945
|
+
#
|
3946
|
+
# @!attribute [rw] tier_name
|
3947
|
+
# The tier that your guardrail uses for content filters. Valid values
|
3948
|
+
# include:
|
3949
|
+
#
|
3950
|
+
# * `CLASSIC` tier – Provides established guardrails functionality
|
3951
|
+
# supporting English, French, and Spanish languages.
|
3952
|
+
#
|
3953
|
+
# * `STANDARD` tier – Provides a more robust solution than the
|
3954
|
+
# `CLASSIC` tier and has more comprehensive language support. This
|
3955
|
+
# tier requires that your guardrail use [cross-Region inference][1].
|
3956
|
+
#
|
3957
|
+
#
|
3958
|
+
#
|
3959
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html
|
3960
|
+
# @return [String]
|
3961
|
+
#
|
3962
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContentFiltersTier AWS API Documentation
|
3963
|
+
#
|
3964
|
+
class GuardrailContentFiltersTier < Struct.new(
|
3965
|
+
:tier_name)
|
3966
|
+
SENSITIVE = [:tier_name]
|
3967
|
+
include Aws::Structure
|
3968
|
+
end
|
3969
|
+
|
3970
|
+
# The tier that your guardrail uses for content filters. Consider using
|
3971
|
+
# a tier that balances performance, accuracy, and compatibility with
|
3972
|
+
# your existing generative AI workflows.
|
3973
|
+
#
|
3974
|
+
# @!attribute [rw] tier_name
|
3975
|
+
# The tier that your guardrail uses for content filters. Valid values
|
3976
|
+
# include:
|
3977
|
+
#
|
3978
|
+
# * `CLASSIC` tier – Provides established guardrails functionality
|
3979
|
+
# supporting English, French, and Spanish languages.
|
3980
|
+
#
|
3981
|
+
# * `STANDARD` tier – Provides a more robust solution than the
|
3982
|
+
# `CLASSIC` tier and has more comprehensive language support. This
|
3983
|
+
# tier requires that your guardrail use [cross-Region inference][1].
|
3984
|
+
#
|
3985
|
+
#
|
3986
|
+
#
|
3987
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html
|
3988
|
+
# @return [String]
|
3989
|
+
#
|
3990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContentFiltersTierConfig AWS API Documentation
|
3991
|
+
#
|
3992
|
+
class GuardrailContentFiltersTierConfig < Struct.new(
|
3993
|
+
:tier_name)
|
3994
|
+
SENSITIVE = [:tier_name]
|
3995
|
+
include Aws::Structure
|
3996
|
+
end
|
3997
|
+
|
3944
3998
|
# Contains details about how to handle harmful content.
|
3945
3999
|
#
|
3946
4000
|
# This data type is used in the following API operations:
|
@@ -3958,10 +4012,15 @@ module Aws::Bedrock
|
|
3958
4012
|
# apply to prompts and model responses.
|
3959
4013
|
# @return [Array<Types::GuardrailContentFilter>]
|
3960
4014
|
#
|
4015
|
+
# @!attribute [rw] tier
|
4016
|
+
# The tier that your guardrail uses for content filters.
|
4017
|
+
# @return [Types::GuardrailContentFiltersTier]
|
4018
|
+
#
|
3961
4019
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContentPolicy AWS API Documentation
|
3962
4020
|
#
|
3963
4021
|
class GuardrailContentPolicy < Struct.new(
|
3964
|
-
:filters
|
4022
|
+
:filters,
|
4023
|
+
:tier)
|
3965
4024
|
SENSITIVE = []
|
3966
4025
|
include Aws::Structure
|
3967
4026
|
end
|
@@ -3973,10 +4032,15 @@ module Aws::Bedrock
|
|
3973
4032
|
# apply to prompts and model responses.
|
3974
4033
|
# @return [Array<Types::GuardrailContentFilterConfig>]
|
3975
4034
|
#
|
4035
|
+
# @!attribute [rw] tier_config
|
4036
|
+
# The tier that your guardrail uses for content filters.
|
4037
|
+
# @return [Types::GuardrailContentFiltersTierConfig]
|
4038
|
+
#
|
3976
4039
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContentPolicyConfig AWS API Documentation
|
3977
4040
|
#
|
3978
4041
|
class GuardrailContentPolicyConfig < Struct.new(
|
3979
|
-
:filters_config
|
4042
|
+
:filters_config,
|
4043
|
+
:tier_config)
|
3980
4044
|
SENSITIVE = []
|
3981
4045
|
include Aws::Structure
|
3982
4046
|
end
|
@@ -4994,10 +5058,15 @@ module Aws::Bedrock
|
|
4994
5058
|
# A list of policies related to topics that the guardrail should deny.
|
4995
5059
|
# @return [Array<Types::GuardrailTopic>]
|
4996
5060
|
#
|
5061
|
+
# @!attribute [rw] tier
|
5062
|
+
# The tier that your guardrail uses for denied topic filters.
|
5063
|
+
# @return [Types::GuardrailTopicsTier]
|
5064
|
+
#
|
4997
5065
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailTopicPolicy AWS API Documentation
|
4998
5066
|
#
|
4999
5067
|
class GuardrailTopicPolicy < Struct.new(
|
5000
|
-
:topics
|
5068
|
+
:topics,
|
5069
|
+
:tier)
|
5001
5070
|
SENSITIVE = []
|
5002
5071
|
include Aws::Structure
|
5003
5072
|
end
|
@@ -5009,14 +5078,73 @@ module Aws::Bedrock
|
|
5009
5078
|
# A list of policies related to topics that the guardrail should deny.
|
5010
5079
|
# @return [Array<Types::GuardrailTopicConfig>]
|
5011
5080
|
#
|
5081
|
+
# @!attribute [rw] tier_config
|
5082
|
+
# The tier that your guardrail uses for denied topic filters.
|
5083
|
+
# @return [Types::GuardrailTopicsTierConfig]
|
5084
|
+
#
|
5012
5085
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailTopicPolicyConfig AWS API Documentation
|
5013
5086
|
#
|
5014
5087
|
class GuardrailTopicPolicyConfig < Struct.new(
|
5015
|
-
:topics_config
|
5088
|
+
:topics_config,
|
5089
|
+
:tier_config)
|
5016
5090
|
SENSITIVE = []
|
5017
5091
|
include Aws::Structure
|
5018
5092
|
end
|
5019
5093
|
|
5094
|
+
# The tier that your guardrail uses for denied topic filters.
|
5095
|
+
#
|
5096
|
+
# @!attribute [rw] tier_name
|
5097
|
+
# The tier that your guardrail uses for denied topic filters. Valid
|
5098
|
+
# values include:
|
5099
|
+
#
|
5100
|
+
# * `CLASSIC` tier – Provides established guardrails functionality
|
5101
|
+
# supporting English, French, and Spanish languages.
|
5102
|
+
#
|
5103
|
+
# * `STANDARD` tier – Provides a more robust solution than the
|
5104
|
+
# `CLASSIC` tier and has more comprehensive language support. This
|
5105
|
+
# tier requires that your guardrail use [cross-Region inference][1].
|
5106
|
+
#
|
5107
|
+
#
|
5108
|
+
#
|
5109
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html
|
5110
|
+
# @return [String]
|
5111
|
+
#
|
5112
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailTopicsTier AWS API Documentation
|
5113
|
+
#
|
5114
|
+
class GuardrailTopicsTier < Struct.new(
|
5115
|
+
:tier_name)
|
5116
|
+
SENSITIVE = [:tier_name]
|
5117
|
+
include Aws::Structure
|
5118
|
+
end
|
5119
|
+
|
5120
|
+
# The tier that your guardrail uses for denied topic filters. Consider
|
5121
|
+
# using a tier that balances performance, accuracy, and compatibility
|
5122
|
+
# with your existing generative AI workflows.
|
5123
|
+
#
|
5124
|
+
# @!attribute [rw] tier_name
|
5125
|
+
# The tier that your guardrail uses for denied topic filters. Valid
|
5126
|
+
# values include:
|
5127
|
+
#
|
5128
|
+
# * `CLASSIC` tier – Provides established guardrails functionality
|
5129
|
+
# supporting English, French, and Spanish languages.
|
5130
|
+
#
|
5131
|
+
# * `STANDARD` tier – Provides a more robust solution than the
|
5132
|
+
# `CLASSIC` tier and has more comprehensive language support. This
|
5133
|
+
# tier requires that your guardrail use [cross-Region inference][1].
|
5134
|
+
#
|
5135
|
+
#
|
5136
|
+
#
|
5137
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html
|
5138
|
+
# @return [String]
|
5139
|
+
#
|
5140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailTopicsTierConfig AWS API Documentation
|
5141
|
+
#
|
5142
|
+
class GuardrailTopicsTierConfig < Struct.new(
|
5143
|
+
:tier_name)
|
5144
|
+
SENSITIVE = [:tier_name]
|
5145
|
+
include Aws::Structure
|
5146
|
+
end
|
5147
|
+
|
5020
5148
|
# A word configured for the guardrail.
|
5021
5149
|
#
|
5022
5150
|
# @!attribute [rw] text
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -470,7 +470,10 @@ module Aws
|
|
470
470
|
input_enabled: bool?,
|
471
471
|
output_enabled: bool?
|
472
472
|
},
|
473
|
-
]
|
473
|
+
],
|
474
|
+
tier_config: {
|
475
|
+
tier_name: ("CLASSIC" | "STANDARD")
|
476
|
+
}?
|
474
477
|
},
|
475
478
|
?content_policy_config: {
|
476
479
|
filters_config: Array[
|
@@ -485,7 +488,10 @@ module Aws
|
|
485
488
|
input_enabled: bool?,
|
486
489
|
output_enabled: bool?
|
487
490
|
},
|
488
|
-
]
|
491
|
+
],
|
492
|
+
tier_config: {
|
493
|
+
tier_name: ("CLASSIC" | "STANDARD")
|
494
|
+
}?
|
489
495
|
},
|
490
496
|
?word_policy_config: {
|
491
497
|
words_config: Array[
|
@@ -1542,7 +1548,10 @@ module Aws
|
|
1542
1548
|
input_enabled: bool?,
|
1543
1549
|
output_enabled: bool?
|
1544
1550
|
},
|
1545
|
-
]
|
1551
|
+
],
|
1552
|
+
tier_config: {
|
1553
|
+
tier_name: ("CLASSIC" | "STANDARD")
|
1554
|
+
}?
|
1546
1555
|
},
|
1547
1556
|
?content_policy_config: {
|
1548
1557
|
filters_config: Array[
|
@@ -1557,7 +1566,10 @@ module Aws
|
|
1557
1566
|
input_enabled: bool?,
|
1558
1567
|
output_enabled: bool?
|
1559
1568
|
},
|
1560
|
-
]
|
1569
|
+
],
|
1570
|
+
tier_config: {
|
1571
|
+
tier_name: ("CLASSIC" | "STANDARD")
|
1572
|
+
}?
|
1561
1573
|
},
|
1562
1574
|
?word_policy_config: {
|
1563
1575
|
words_config: Array[
|
data/sig/types.rbs
CHANGED
@@ -967,13 +967,25 @@ module Aws::Bedrock
|
|
967
967
|
SENSITIVE: [:input_action, :output_action]
|
968
968
|
end
|
969
969
|
|
970
|
+
class GuardrailContentFiltersTier
|
971
|
+
attr_accessor tier_name: ("CLASSIC" | "STANDARD")
|
972
|
+
SENSITIVE: [:tier_name]
|
973
|
+
end
|
974
|
+
|
975
|
+
class GuardrailContentFiltersTierConfig
|
976
|
+
attr_accessor tier_name: ("CLASSIC" | "STANDARD")
|
977
|
+
SENSITIVE: [:tier_name]
|
978
|
+
end
|
979
|
+
|
970
980
|
class GuardrailContentPolicy
|
971
981
|
attr_accessor filters: ::Array[Types::GuardrailContentFilter]
|
982
|
+
attr_accessor tier: Types::GuardrailContentFiltersTier
|
972
983
|
SENSITIVE: []
|
973
984
|
end
|
974
985
|
|
975
986
|
class GuardrailContentPolicyConfig
|
976
987
|
attr_accessor filters_config: ::Array[Types::GuardrailContentFilterConfig]
|
988
|
+
attr_accessor tier_config: Types::GuardrailContentFiltersTierConfig
|
977
989
|
SENSITIVE: []
|
978
990
|
end
|
979
991
|
|
@@ -1127,14 +1139,26 @@ module Aws::Bedrock
|
|
1127
1139
|
|
1128
1140
|
class GuardrailTopicPolicy
|
1129
1141
|
attr_accessor topics: ::Array[Types::GuardrailTopic]
|
1142
|
+
attr_accessor tier: Types::GuardrailTopicsTier
|
1130
1143
|
SENSITIVE: []
|
1131
1144
|
end
|
1132
1145
|
|
1133
1146
|
class GuardrailTopicPolicyConfig
|
1134
1147
|
attr_accessor topics_config: ::Array[Types::GuardrailTopicConfig]
|
1148
|
+
attr_accessor tier_config: Types::GuardrailTopicsTierConfig
|
1135
1149
|
SENSITIVE: []
|
1136
1150
|
end
|
1137
1151
|
|
1152
|
+
class GuardrailTopicsTier
|
1153
|
+
attr_accessor tier_name: ("CLASSIC" | "STANDARD")
|
1154
|
+
SENSITIVE: [:tier_name]
|
1155
|
+
end
|
1156
|
+
|
1157
|
+
class GuardrailTopicsTierConfig
|
1158
|
+
attr_accessor tier_name: ("CLASSIC" | "STANDARD")
|
1159
|
+
SENSITIVE: [:tier_name]
|
1160
|
+
end
|
1161
|
+
|
1138
1162
|
class GuardrailWord
|
1139
1163
|
attr_accessor text: ::String
|
1140
1164
|
attr_accessor input_action: ("BLOCK" | "NONE")
|