aws-sdk-bedrock 1.40.0 → 1.42.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.
@@ -55,7 +55,7 @@ module Aws::Bedrock
55
55
  autoload :EndpointProvider, 'aws-sdk-bedrock/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-bedrock/endpoints'
57
57
 
58
- GEM_VERSION = '1.40.0'
58
+ GEM_VERSION = '1.42.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -126,6 +126,32 @@ module Aws
126
126
  model_identifier: ::String
127
127
  },
128
128
  ]?
129
+ }?,
130
+ custom_metric_config: {
131
+ custom_metrics: Array[
132
+ {
133
+ custom_metric_definition: {
134
+ name: ::String,
135
+ instructions: ::String,
136
+ rating_scale: Array[
137
+ {
138
+ definition: ::String,
139
+ value: {
140
+ string_value: ::String?,
141
+ float_value: ::Float?
142
+ }
143
+ },
144
+ ]?
145
+ }?
146
+ },
147
+ ],
148
+ evaluator_model_config: {
149
+ bedrock_evaluator_models: Array[
150
+ {
151
+ model_identifier: ::String
152
+ },
153
+ ]
154
+ }
129
155
  }?
130
156
  }?,
131
157
  human: {
@@ -414,7 +440,11 @@ module Aws
414
440
  name: ::String,
415
441
  definition: ::String,
416
442
  examples: Array[::String]?,
417
- type: ("DENY")
443
+ type: ("DENY"),
444
+ input_action: ("BLOCK" | "NONE")?,
445
+ output_action: ("BLOCK" | "NONE")?,
446
+ input_enabled: bool?,
447
+ output_enabled: bool?
418
448
  },
419
449
  ]
420
450
  },
@@ -425,19 +455,31 @@ module Aws
425
455
  input_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH"),
426
456
  output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH"),
427
457
  input_modalities: Array[("TEXT" | "IMAGE")]?,
428
- output_modalities: Array[("TEXT" | "IMAGE")]?
458
+ output_modalities: Array[("TEXT" | "IMAGE")]?,
459
+ input_action: ("BLOCK" | "NONE")?,
460
+ output_action: ("BLOCK" | "NONE")?,
461
+ input_enabled: bool?,
462
+ output_enabled: bool?
429
463
  },
430
464
  ]
431
465
  },
432
466
  ?word_policy_config: {
433
467
  words_config: Array[
434
468
  {
435
- text: ::String
469
+ text: ::String,
470
+ input_action: ("BLOCK" | "NONE")?,
471
+ output_action: ("BLOCK" | "NONE")?,
472
+ input_enabled: bool?,
473
+ output_enabled: bool?
436
474
  },
437
475
  ]?,
438
476
  managed_word_lists_config: Array[
439
477
  {
440
- type: ("PROFANITY")
478
+ type: ("PROFANITY"),
479
+ input_action: ("BLOCK" | "NONE")?,
480
+ output_action: ("BLOCK" | "NONE")?,
481
+ input_enabled: bool?,
482
+ output_enabled: bool?
441
483
  },
442
484
  ]?
443
485
  },
@@ -445,7 +487,11 @@ module Aws
445
487
  pii_entities_config: Array[
446
488
  {
447
489
  type: ("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"),
448
- action: ("BLOCK" | "ANONYMIZE")
490
+ action: ("BLOCK" | "ANONYMIZE" | "NONE"),
491
+ input_action: ("BLOCK" | "ANONYMIZE" | "NONE")?,
492
+ output_action: ("BLOCK" | "ANONYMIZE" | "NONE")?,
493
+ input_enabled: bool?,
494
+ output_enabled: bool?
449
495
  },
450
496
  ]?,
451
497
  regexes_config: Array[
@@ -453,7 +499,11 @@ module Aws
453
499
  name: ::String,
454
500
  description: ::String?,
455
501
  pattern: ::String,
456
- action: ("BLOCK" | "ANONYMIZE")
502
+ action: ("BLOCK" | "ANONYMIZE" | "NONE"),
503
+ input_action: ("BLOCK" | "ANONYMIZE" | "NONE")?,
504
+ output_action: ("BLOCK" | "ANONYMIZE" | "NONE")?,
505
+ input_enabled: bool?,
506
+ output_enabled: bool?
457
507
  },
458
508
  ]?
459
509
  },
@@ -461,7 +511,9 @@ module Aws
461
511
  filters_config: Array[
462
512
  {
463
513
  type: ("GROUNDING" | "RELEVANCE"),
464
- threshold: ::Float
514
+ threshold: ::Float,
515
+ action: ("BLOCK" | "NONE")?,
516
+ enabled: bool?
465
517
  },
466
518
  ]
467
519
  },
@@ -1452,7 +1504,11 @@ module Aws
1452
1504
  name: ::String,
1453
1505
  definition: ::String,
1454
1506
  examples: Array[::String]?,
1455
- type: ("DENY")
1507
+ type: ("DENY"),
1508
+ input_action: ("BLOCK" | "NONE")?,
1509
+ output_action: ("BLOCK" | "NONE")?,
1510
+ input_enabled: bool?,
1511
+ output_enabled: bool?
1456
1512
  },
1457
1513
  ]
1458
1514
  },
@@ -1463,19 +1519,31 @@ module Aws
1463
1519
  input_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH"),
1464
1520
  output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH"),
1465
1521
  input_modalities: Array[("TEXT" | "IMAGE")]?,
1466
- output_modalities: Array[("TEXT" | "IMAGE")]?
1522
+ output_modalities: Array[("TEXT" | "IMAGE")]?,
1523
+ input_action: ("BLOCK" | "NONE")?,
1524
+ output_action: ("BLOCK" | "NONE")?,
1525
+ input_enabled: bool?,
1526
+ output_enabled: bool?
1467
1527
  },
1468
1528
  ]
1469
1529
  },
1470
1530
  ?word_policy_config: {
1471
1531
  words_config: Array[
1472
1532
  {
1473
- text: ::String
1533
+ text: ::String,
1534
+ input_action: ("BLOCK" | "NONE")?,
1535
+ output_action: ("BLOCK" | "NONE")?,
1536
+ input_enabled: bool?,
1537
+ output_enabled: bool?
1474
1538
  },
1475
1539
  ]?,
1476
1540
  managed_word_lists_config: Array[
1477
1541
  {
1478
- type: ("PROFANITY")
1542
+ type: ("PROFANITY"),
1543
+ input_action: ("BLOCK" | "NONE")?,
1544
+ output_action: ("BLOCK" | "NONE")?,
1545
+ input_enabled: bool?,
1546
+ output_enabled: bool?
1479
1547
  },
1480
1548
  ]?
1481
1549
  },
@@ -1483,7 +1551,11 @@ module Aws
1483
1551
  pii_entities_config: Array[
1484
1552
  {
1485
1553
  type: ("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"),
1486
- action: ("BLOCK" | "ANONYMIZE")
1554
+ action: ("BLOCK" | "ANONYMIZE" | "NONE"),
1555
+ input_action: ("BLOCK" | "ANONYMIZE" | "NONE")?,
1556
+ output_action: ("BLOCK" | "ANONYMIZE" | "NONE")?,
1557
+ input_enabled: bool?,
1558
+ output_enabled: bool?
1487
1559
  },
1488
1560
  ]?,
1489
1561
  regexes_config: Array[
@@ -1491,7 +1563,11 @@ module Aws
1491
1563
  name: ::String,
1492
1564
  description: ::String?,
1493
1565
  pattern: ::String,
1494
- action: ("BLOCK" | "ANONYMIZE")
1566
+ action: ("BLOCK" | "ANONYMIZE" | "NONE"),
1567
+ input_action: ("BLOCK" | "ANONYMIZE" | "NONE")?,
1568
+ output_action: ("BLOCK" | "ANONYMIZE" | "NONE")?,
1569
+ input_enabled: bool?,
1570
+ output_enabled: bool?
1495
1571
  },
1496
1572
  ]?
1497
1573
  },
@@ -1499,7 +1575,9 @@ module Aws
1499
1575
  filters_config: Array[
1500
1576
  {
1501
1577
  type: ("GROUNDING" | "RELEVANCE"),
1502
- threshold: ::Float
1578
+ threshold: ::Float,
1579
+ action: ("BLOCK" | "NONE")?,
1580
+ enabled: bool?
1503
1581
  },
1504
1582
  ]
1505
1583
  },
data/sig/types.rbs CHANGED
@@ -16,9 +16,27 @@ module Aws::Bedrock
16
16
  class AutomatedEvaluationConfig
17
17
  attr_accessor dataset_metric_configs: ::Array[Types::EvaluationDatasetMetricConfig]
18
18
  attr_accessor evaluator_model_config: Types::EvaluatorModelConfig
19
+ attr_accessor custom_metric_config: Types::AutomatedEvaluationCustomMetricConfig
19
20
  SENSITIVE: []
20
21
  end
21
22
 
23
+ class AutomatedEvaluationCustomMetricConfig
24
+ attr_accessor custom_metrics: ::Array[Types::AutomatedEvaluationCustomMetricSource]
25
+ attr_accessor evaluator_model_config: Types::CustomMetricEvaluatorModelConfig
26
+ SENSITIVE: []
27
+ end
28
+
29
+ class AutomatedEvaluationCustomMetricSource
30
+ attr_accessor custom_metric_definition: Types::CustomMetricDefinition
31
+ attr_accessor unknown: untyped
32
+ SENSITIVE: [:custom_metric_definition]
33
+
34
+ class CustomMetricDefinition < AutomatedEvaluationCustomMetricSource
35
+ end
36
+ class Unknown < AutomatedEvaluationCustomMetricSource
37
+ end
38
+ end
39
+
22
40
  class BatchDeleteEvaluationJobError
23
41
  attr_accessor job_identifier: ::String
24
42
  attr_accessor code: ::String
@@ -258,6 +276,23 @@ module Aws::Bedrock
258
276
  SENSITIVE: []
259
277
  end
260
278
 
279
+ class CustomMetricBedrockEvaluatorModel
280
+ attr_accessor model_identifier: ::String
281
+ SENSITIVE: []
282
+ end
283
+
284
+ class CustomMetricDefinition
285
+ attr_accessor name: ::String
286
+ attr_accessor instructions: ::String
287
+ attr_accessor rating_scale: ::Array[Types::RatingScaleItem]
288
+ SENSITIVE: [:name]
289
+ end
290
+
291
+ class CustomMetricEvaluatorModelConfig
292
+ attr_accessor bedrock_evaluator_models: ::Array[Types::CustomMetricBedrockEvaluatorModel]
293
+ SENSITIVE: []
294
+ end
295
+
261
296
  class CustomModelSummary
262
297
  attr_accessor model_arn: ::String
263
298
  attr_accessor model_name: ::String
@@ -508,6 +543,7 @@ module Aws::Bedrock
508
543
  attr_accessor model_identifiers: ::Array[::String]
509
544
  attr_accessor rag_identifiers: ::Array[::String]
510
545
  attr_accessor evaluator_model_identifiers: ::Array[::String]
546
+ attr_accessor custom_metrics_evaluator_model_identifiers: ::Array[::String]
511
547
  attr_accessor inference_config_summary: Types::EvaluationInferenceConfigSummary
512
548
  attr_accessor application_type: ("ModelEvaluation" | "RagEvaluation")
513
549
  SENSITIVE: []
@@ -883,7 +919,11 @@ module Aws::Bedrock
883
919
  attr_accessor output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
884
920
  attr_accessor input_modalities: ::Array[("TEXT" | "IMAGE")]
885
921
  attr_accessor output_modalities: ::Array[("TEXT" | "IMAGE")]
886
- SENSITIVE: []
922
+ attr_accessor input_action: ("BLOCK" | "NONE")
923
+ attr_accessor output_action: ("BLOCK" | "NONE")
924
+ attr_accessor input_enabled: bool
925
+ attr_accessor output_enabled: bool
926
+ SENSITIVE: [:input_action, :output_action]
887
927
  end
888
928
 
889
929
  class GuardrailContentFilterConfig
@@ -892,7 +932,11 @@ module Aws::Bedrock
892
932
  attr_accessor output_strength: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
893
933
  attr_accessor input_modalities: ::Array[("TEXT" | "IMAGE")]
894
934
  attr_accessor output_modalities: ::Array[("TEXT" | "IMAGE")]
895
- SENSITIVE: []
935
+ attr_accessor input_action: ("BLOCK" | "NONE")
936
+ attr_accessor output_action: ("BLOCK" | "NONE")
937
+ attr_accessor input_enabled: bool
938
+ attr_accessor output_enabled: bool
939
+ SENSITIVE: [:input_action, :output_action]
896
940
  end
897
941
 
898
942
  class GuardrailContentPolicy
@@ -908,13 +952,17 @@ module Aws::Bedrock
908
952
  class GuardrailContextualGroundingFilter
909
953
  attr_accessor type: ("GROUNDING" | "RELEVANCE")
910
954
  attr_accessor threshold: ::Float
911
- SENSITIVE: []
955
+ attr_accessor action: ("BLOCK" | "NONE")
956
+ attr_accessor enabled: bool
957
+ SENSITIVE: [:action]
912
958
  end
913
959
 
914
960
  class GuardrailContextualGroundingFilterConfig
915
961
  attr_accessor type: ("GROUNDING" | "RELEVANCE")
916
962
  attr_accessor threshold: ::Float
917
- SENSITIVE: []
963
+ attr_accessor action: ("BLOCK" | "NONE")
964
+ attr_accessor enabled: bool
965
+ SENSITIVE: [:action]
918
966
  end
919
967
 
920
968
  class GuardrailContextualGroundingPolicy
@@ -929,23 +977,39 @@ module Aws::Bedrock
929
977
 
930
978
  class GuardrailManagedWords
931
979
  attr_accessor type: ("PROFANITY")
932
- SENSITIVE: []
980
+ attr_accessor input_action: ("BLOCK" | "NONE")
981
+ attr_accessor output_action: ("BLOCK" | "NONE")
982
+ attr_accessor input_enabled: bool
983
+ attr_accessor output_enabled: bool
984
+ SENSITIVE: [:input_action, :output_action]
933
985
  end
934
986
 
935
987
  class GuardrailManagedWordsConfig
936
988
  attr_accessor type: ("PROFANITY")
937
- SENSITIVE: []
989
+ attr_accessor input_action: ("BLOCK" | "NONE")
990
+ attr_accessor output_action: ("BLOCK" | "NONE")
991
+ attr_accessor input_enabled: bool
992
+ attr_accessor output_enabled: bool
993
+ SENSITIVE: [:input_action, :output_action]
938
994
  end
939
995
 
940
996
  class GuardrailPiiEntity
941
997
  attr_accessor type: ("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")
942
- attr_accessor action: ("BLOCK" | "ANONYMIZE")
998
+ attr_accessor action: ("BLOCK" | "ANONYMIZE" | "NONE")
999
+ attr_accessor input_action: ("BLOCK" | "ANONYMIZE" | "NONE")
1000
+ attr_accessor output_action: ("BLOCK" | "ANONYMIZE" | "NONE")
1001
+ attr_accessor input_enabled: bool
1002
+ attr_accessor output_enabled: bool
943
1003
  SENSITIVE: []
944
1004
  end
945
1005
 
946
1006
  class GuardrailPiiEntityConfig
947
1007
  attr_accessor type: ("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")
948
- attr_accessor action: ("BLOCK" | "ANONYMIZE")
1008
+ attr_accessor action: ("BLOCK" | "ANONYMIZE" | "NONE")
1009
+ attr_accessor input_action: ("BLOCK" | "ANONYMIZE" | "NONE")
1010
+ attr_accessor output_action: ("BLOCK" | "ANONYMIZE" | "NONE")
1011
+ attr_accessor input_enabled: bool
1012
+ attr_accessor output_enabled: bool
949
1013
  SENSITIVE: []
950
1014
  end
951
1015
 
@@ -953,7 +1017,11 @@ module Aws::Bedrock
953
1017
  attr_accessor name: ::String
954
1018
  attr_accessor description: ::String
955
1019
  attr_accessor pattern: ::String
956
- attr_accessor action: ("BLOCK" | "ANONYMIZE")
1020
+ attr_accessor action: ("BLOCK" | "ANONYMIZE" | "NONE")
1021
+ attr_accessor input_action: ("BLOCK" | "ANONYMIZE" | "NONE")
1022
+ attr_accessor output_action: ("BLOCK" | "ANONYMIZE" | "NONE")
1023
+ attr_accessor input_enabled: bool
1024
+ attr_accessor output_enabled: bool
957
1025
  SENSITIVE: []
958
1026
  end
959
1027
 
@@ -961,7 +1029,11 @@ module Aws::Bedrock
961
1029
  attr_accessor name: ::String
962
1030
  attr_accessor description: ::String
963
1031
  attr_accessor pattern: ::String
964
- attr_accessor action: ("BLOCK" | "ANONYMIZE")
1032
+ attr_accessor action: ("BLOCK" | "ANONYMIZE" | "NONE")
1033
+ attr_accessor input_action: ("BLOCK" | "ANONYMIZE" | "NONE")
1034
+ attr_accessor output_action: ("BLOCK" | "ANONYMIZE" | "NONE")
1035
+ attr_accessor input_enabled: bool
1036
+ attr_accessor output_enabled: bool
965
1037
  SENSITIVE: []
966
1038
  end
967
1039
 
@@ -994,7 +1066,11 @@ module Aws::Bedrock
994
1066
  attr_accessor definition: ::String
995
1067
  attr_accessor examples: ::Array[::String]
996
1068
  attr_accessor type: ("DENY")
997
- SENSITIVE: [:name, :definition]
1069
+ attr_accessor input_action: ("BLOCK" | "NONE")
1070
+ attr_accessor output_action: ("BLOCK" | "NONE")
1071
+ attr_accessor input_enabled: bool
1072
+ attr_accessor output_enabled: bool
1073
+ SENSITIVE: [:name, :definition, :input_action, :output_action]
998
1074
  end
999
1075
 
1000
1076
  class GuardrailTopicConfig
@@ -1002,7 +1078,11 @@ module Aws::Bedrock
1002
1078
  attr_accessor definition: ::String
1003
1079
  attr_accessor examples: ::Array[::String]
1004
1080
  attr_accessor type: ("DENY")
1005
- SENSITIVE: [:name, :definition]
1081
+ attr_accessor input_action: ("BLOCK" | "NONE")
1082
+ attr_accessor output_action: ("BLOCK" | "NONE")
1083
+ attr_accessor input_enabled: bool
1084
+ attr_accessor output_enabled: bool
1085
+ SENSITIVE: [:name, :definition, :input_action, :output_action]
1006
1086
  end
1007
1087
 
1008
1088
  class GuardrailTopicPolicy
@@ -1017,12 +1097,20 @@ module Aws::Bedrock
1017
1097
 
1018
1098
  class GuardrailWord
1019
1099
  attr_accessor text: ::String
1020
- SENSITIVE: []
1100
+ attr_accessor input_action: ("BLOCK" | "NONE")
1101
+ attr_accessor output_action: ("BLOCK" | "NONE")
1102
+ attr_accessor input_enabled: bool
1103
+ attr_accessor output_enabled: bool
1104
+ SENSITIVE: [:input_action, :output_action]
1021
1105
  end
1022
1106
 
1023
1107
  class GuardrailWordConfig
1024
1108
  attr_accessor text: ::String
1025
- SENSITIVE: []
1109
+ attr_accessor input_action: ("BLOCK" | "NONE")
1110
+ attr_accessor output_action: ("BLOCK" | "NONE")
1111
+ attr_accessor input_enabled: bool
1112
+ attr_accessor output_enabled: bool
1113
+ SENSITIVE: [:input_action, :output_action]
1026
1114
  end
1027
1115
 
1028
1116
  class GuardrailWordPolicy
@@ -1604,6 +1692,26 @@ module Aws::Bedrock
1604
1692
  end
1605
1693
  end
1606
1694
 
1695
+ class RatingScaleItem
1696
+ attr_accessor definition: ::String
1697
+ attr_accessor value: Types::RatingScaleItemValue
1698
+ SENSITIVE: []
1699
+ end
1700
+
1701
+ class RatingScaleItemValue
1702
+ attr_accessor string_value: ::String
1703
+ attr_accessor float_value: ::Float
1704
+ attr_accessor unknown: untyped
1705
+ SENSITIVE: []
1706
+
1707
+ class StringValue < RatingScaleItemValue
1708
+ end
1709
+ class FloatValue < RatingScaleItemValue
1710
+ end
1711
+ class Unknown < RatingScaleItemValue
1712
+ end
1713
+ end
1714
+
1607
1715
  class RegisterMarketplaceModelEndpointRequest
1608
1716
  attr_accessor endpoint_identifier: ::String
1609
1717
  attr_accessor model_source_identifier: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.0
4
+ version: 1.42.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-21 00:00:00.000000000 Z
11
+ date: 2025-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core