aws-sdk-bedrock 1.57.0 → 1.58.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.
data/sig/client.rbs CHANGED
@@ -89,6 +89,108 @@ module Aws
89
89
  ) -> _BatchDeleteEvaluationJobResponseSuccess
90
90
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteEvaluationJobResponseSuccess
91
91
 
92
+ interface _CancelAutomatedReasoningPolicyBuildWorkflowResponseSuccess
93
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelAutomatedReasoningPolicyBuildWorkflowResponse]
94
+ end
95
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#cancel_automated_reasoning_policy_build_workflow-instance_method
96
+ def cancel_automated_reasoning_policy_build_workflow: (
97
+ policy_arn: ::String,
98
+ build_workflow_id: ::String
99
+ ) -> _CancelAutomatedReasoningPolicyBuildWorkflowResponseSuccess
100
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelAutomatedReasoningPolicyBuildWorkflowResponseSuccess
101
+
102
+ interface _CreateAutomatedReasoningPolicyResponseSuccess
103
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAutomatedReasoningPolicyResponse]
104
+ def policy_arn: () -> ::String
105
+ def version: () -> ::String
106
+ def name: () -> ::String
107
+ def description: () -> ::String
108
+ def definition_hash: () -> ::String
109
+ def created_at: () -> ::Time
110
+ def updated_at: () -> ::Time
111
+ end
112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_automated_reasoning_policy-instance_method
113
+ def create_automated_reasoning_policy: (
114
+ name: ::String,
115
+ ?description: ::String,
116
+ ?client_request_token: ::String,
117
+ ?policy_definition: {
118
+ version: ::String?,
119
+ types: Array[
120
+ {
121
+ name: ::String,
122
+ description: ::String?,
123
+ values: Array[
124
+ {
125
+ value: ::String,
126
+ description: ::String?
127
+ },
128
+ ]
129
+ },
130
+ ]?,
131
+ rules: Array[
132
+ {
133
+ id: ::String,
134
+ expression: ::String,
135
+ alternate_expression: ::String?
136
+ },
137
+ ]?,
138
+ variables: Array[
139
+ {
140
+ name: ::String,
141
+ type: ::String,
142
+ description: ::String
143
+ },
144
+ ]?
145
+ },
146
+ ?tags: Array[
147
+ {
148
+ key: ::String,
149
+ value: ::String
150
+ },
151
+ ]
152
+ ) -> _CreateAutomatedReasoningPolicyResponseSuccess
153
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAutomatedReasoningPolicyResponseSuccess
154
+
155
+ interface _CreateAutomatedReasoningPolicyTestCaseResponseSuccess
156
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAutomatedReasoningPolicyTestCaseResponse]
157
+ def policy_arn: () -> ::String
158
+ def test_case_id: () -> ::String
159
+ end
160
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_automated_reasoning_policy_test_case-instance_method
161
+ def create_automated_reasoning_policy_test_case: (
162
+ policy_arn: ::String,
163
+ guard_content: ::String,
164
+ ?query_content: ::String,
165
+ expected_aggregated_findings_result: ("VALID" | "INVALID" | "SATISFIABLE" | "IMPOSSIBLE" | "TRANSLATION_AMBIGUOUS" | "TOO_COMPLEX" | "NO_TRANSLATION"),
166
+ ?client_request_token: ::String,
167
+ ?confidence_threshold: ::Float
168
+ ) -> _CreateAutomatedReasoningPolicyTestCaseResponseSuccess
169
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAutomatedReasoningPolicyTestCaseResponseSuccess
170
+
171
+ interface _CreateAutomatedReasoningPolicyVersionResponseSuccess
172
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAutomatedReasoningPolicyVersionResponse]
173
+ def policy_arn: () -> ::String
174
+ def version: () -> ::String
175
+ def name: () -> ::String
176
+ def description: () -> ::String
177
+ def definition_hash: () -> ::String
178
+ def created_at: () -> ::Time
179
+ end
180
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#create_automated_reasoning_policy_version-instance_method
181
+ def create_automated_reasoning_policy_version: (
182
+ policy_arn: ::String,
183
+ ?client_request_token: ::String,
184
+ last_updated_definition_hash: ::String,
185
+ ?tags: Array[
186
+ {
187
+ key: ::String,
188
+ value: ::String
189
+ },
190
+ ]
191
+ ) -> _CreateAutomatedReasoningPolicyVersionResponseSuccess
192
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAutomatedReasoningPolicyVersionResponseSuccess
193
+
92
194
  interface _CreateCustomModelResponseSuccess
93
195
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateCustomModelResponse]
94
196
  def model_arn: () -> ::String
@@ -650,6 +752,10 @@ module Aws
650
752
  },
651
753
  ]
652
754
  },
755
+ ?automated_reasoning_policy_config: {
756
+ policies: Array[::String],
757
+ confidence_threshold: ::Float?
758
+ },
653
759
  ?cross_region_config: {
654
760
  guardrail_profile_identifier: ::String
655
761
  },
@@ -949,6 +1055,37 @@ module Aws
949
1055
  ) -> _CreateProvisionedModelThroughputResponseSuccess
950
1056
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProvisionedModelThroughputResponseSuccess
951
1057
 
1058
+ interface _DeleteAutomatedReasoningPolicyResponseSuccess
1059
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAutomatedReasoningPolicyResponse]
1060
+ end
1061
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_automated_reasoning_policy-instance_method
1062
+ def delete_automated_reasoning_policy: (
1063
+ policy_arn: ::String
1064
+ ) -> _DeleteAutomatedReasoningPolicyResponseSuccess
1065
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAutomatedReasoningPolicyResponseSuccess
1066
+
1067
+ interface _DeleteAutomatedReasoningPolicyBuildWorkflowResponseSuccess
1068
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAutomatedReasoningPolicyBuildWorkflowResponse]
1069
+ end
1070
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_automated_reasoning_policy_build_workflow-instance_method
1071
+ def delete_automated_reasoning_policy_build_workflow: (
1072
+ policy_arn: ::String,
1073
+ build_workflow_id: ::String,
1074
+ last_updated_at: ::Time
1075
+ ) -> _DeleteAutomatedReasoningPolicyBuildWorkflowResponseSuccess
1076
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAutomatedReasoningPolicyBuildWorkflowResponseSuccess
1077
+
1078
+ interface _DeleteAutomatedReasoningPolicyTestCaseResponseSuccess
1079
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAutomatedReasoningPolicyTestCaseResponse]
1080
+ end
1081
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#delete_automated_reasoning_policy_test_case-instance_method
1082
+ def delete_automated_reasoning_policy_test_case: (
1083
+ policy_arn: ::String,
1084
+ test_case_id: ::String,
1085
+ last_updated_at: ::Time
1086
+ ) -> _DeleteAutomatedReasoningPolicyTestCaseResponseSuccess
1087
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAutomatedReasoningPolicyTestCaseResponseSuccess
1088
+
952
1089
  interface _DeleteCustomModelResponseSuccess
953
1090
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCustomModelResponse]
954
1091
  end
@@ -1048,6 +1185,118 @@ module Aws
1048
1185
  ) -> _DeregisterMarketplaceModelEndpointResponseSuccess
1049
1186
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterMarketplaceModelEndpointResponseSuccess
1050
1187
 
1188
+ interface _ExportAutomatedReasoningPolicyVersionResponseSuccess
1189
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportAutomatedReasoningPolicyVersionResponse]
1190
+ def policy_definition: () -> Types::AutomatedReasoningPolicyDefinition
1191
+ end
1192
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#export_automated_reasoning_policy_version-instance_method
1193
+ def export_automated_reasoning_policy_version: (
1194
+ policy_arn: ::String
1195
+ ) -> _ExportAutomatedReasoningPolicyVersionResponseSuccess
1196
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportAutomatedReasoningPolicyVersionResponseSuccess
1197
+
1198
+ interface _GetAutomatedReasoningPolicyResponseSuccess
1199
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAutomatedReasoningPolicyResponse]
1200
+ def policy_arn: () -> ::String
1201
+ def name: () -> ::String
1202
+ def version: () -> ::String
1203
+ def policy_id: () -> ::String
1204
+ def description: () -> ::String
1205
+ def definition_hash: () -> ::String
1206
+ def created_at: () -> ::Time
1207
+ def updated_at: () -> ::Time
1208
+ end
1209
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_automated_reasoning_policy-instance_method
1210
+ def get_automated_reasoning_policy: (
1211
+ policy_arn: ::String
1212
+ ) -> _GetAutomatedReasoningPolicyResponseSuccess
1213
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutomatedReasoningPolicyResponseSuccess
1214
+
1215
+ interface _GetAutomatedReasoningPolicyAnnotationsResponseSuccess
1216
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAutomatedReasoningPolicyAnnotationsResponse]
1217
+ def policy_arn: () -> ::String
1218
+ def name: () -> ::String
1219
+ def build_workflow_id: () -> ::String
1220
+ def annotations: () -> ::Array[Types::AutomatedReasoningPolicyAnnotation]
1221
+ def annotation_set_hash: () -> ::String
1222
+ def updated_at: () -> ::Time
1223
+ end
1224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_automated_reasoning_policy_annotations-instance_method
1225
+ def get_automated_reasoning_policy_annotations: (
1226
+ policy_arn: ::String,
1227
+ build_workflow_id: ::String
1228
+ ) -> _GetAutomatedReasoningPolicyAnnotationsResponseSuccess
1229
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutomatedReasoningPolicyAnnotationsResponseSuccess
1230
+
1231
+ interface _GetAutomatedReasoningPolicyBuildWorkflowResponseSuccess
1232
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAutomatedReasoningPolicyBuildWorkflowResponse]
1233
+ def policy_arn: () -> ::String
1234
+ def build_workflow_id: () -> ::String
1235
+ def status: () -> ("SCHEDULED" | "CANCEL_REQUESTED" | "PREPROCESSING" | "BUILDING" | "TESTING" | "COMPLETED" | "FAILED" | "CANCELLED")
1236
+ def build_workflow_type: () -> ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY")
1237
+ def document_name: () -> ::String
1238
+ def document_content_type: () -> ("pdf" | "txt")
1239
+ def document_description: () -> ::String
1240
+ def created_at: () -> ::Time
1241
+ def updated_at: () -> ::Time
1242
+ end
1243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_automated_reasoning_policy_build_workflow-instance_method
1244
+ def get_automated_reasoning_policy_build_workflow: (
1245
+ policy_arn: ::String,
1246
+ build_workflow_id: ::String
1247
+ ) -> _GetAutomatedReasoningPolicyBuildWorkflowResponseSuccess
1248
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutomatedReasoningPolicyBuildWorkflowResponseSuccess
1249
+
1250
+ interface _GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponseSuccess
1251
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponse]
1252
+ def policy_arn: () -> ::String
1253
+ def build_workflow_id: () -> ::String
1254
+ def build_workflow_assets: () -> Types::AutomatedReasoningPolicyBuildResultAssets
1255
+ end
1256
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_automated_reasoning_policy_build_workflow_result_assets-instance_method
1257
+ def get_automated_reasoning_policy_build_workflow_result_assets: (
1258
+ policy_arn: ::String,
1259
+ build_workflow_id: ::String,
1260
+ asset_type: ("BUILD_LOG" | "QUALITY_REPORT" | "POLICY_DEFINITION")
1261
+ ) -> _GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponseSuccess
1262
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponseSuccess
1263
+
1264
+ interface _GetAutomatedReasoningPolicyNextScenarioResponseSuccess
1265
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAutomatedReasoningPolicyNextScenarioResponse]
1266
+ def policy_arn: () -> ::String
1267
+ def scenario: () -> Types::AutomatedReasoningPolicyScenario
1268
+ end
1269
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_automated_reasoning_policy_next_scenario-instance_method
1270
+ def get_automated_reasoning_policy_next_scenario: (
1271
+ policy_arn: ::String,
1272
+ build_workflow_id: ::String
1273
+ ) -> _GetAutomatedReasoningPolicyNextScenarioResponseSuccess
1274
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutomatedReasoningPolicyNextScenarioResponseSuccess
1275
+
1276
+ interface _GetAutomatedReasoningPolicyTestCaseResponseSuccess
1277
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAutomatedReasoningPolicyTestCaseResponse]
1278
+ def policy_arn: () -> ::String
1279
+ def test_case: () -> Types::AutomatedReasoningPolicyTestCase
1280
+ end
1281
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_automated_reasoning_policy_test_case-instance_method
1282
+ def get_automated_reasoning_policy_test_case: (
1283
+ policy_arn: ::String,
1284
+ test_case_id: ::String
1285
+ ) -> _GetAutomatedReasoningPolicyTestCaseResponseSuccess
1286
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutomatedReasoningPolicyTestCaseResponseSuccess
1287
+
1288
+ interface _GetAutomatedReasoningPolicyTestResultResponseSuccess
1289
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAutomatedReasoningPolicyTestResultResponse]
1290
+ def test_result: () -> Types::AutomatedReasoningPolicyTestResult
1291
+ end
1292
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_automated_reasoning_policy_test_result-instance_method
1293
+ def get_automated_reasoning_policy_test_result: (
1294
+ policy_arn: ::String,
1295
+ build_workflow_id: ::String,
1296
+ test_case_id: ::String
1297
+ ) -> _GetAutomatedReasoningPolicyTestResultResponseSuccess
1298
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutomatedReasoningPolicyTestResultResponseSuccess
1299
+
1051
1300
  interface _GetCustomModelResponseSuccess
1052
1301
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCustomModelResponse]
1053
1302
  def model_arn: () -> ::String
@@ -1151,6 +1400,7 @@ module Aws
1151
1400
  def word_policy: () -> Types::GuardrailWordPolicy
1152
1401
  def sensitive_information_policy: () -> Types::GuardrailSensitiveInformationPolicy
1153
1402
  def contextual_grounding_policy: () -> Types::GuardrailContextualGroundingPolicy
1403
+ def automated_reasoning_policy: () -> Types::GuardrailAutomatedReasoningPolicy
1154
1404
  def cross_region_details: () -> Types::GuardrailCrossRegionDetails
1155
1405
  def created_at: () -> ::Time
1156
1406
  def updated_at: () -> ::Time
@@ -1371,6 +1621,59 @@ module Aws
1371
1621
  ) -> _GetUseCaseForModelAccessResponseSuccess
1372
1622
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUseCaseForModelAccessResponseSuccess
1373
1623
 
1624
+ interface _ListAutomatedReasoningPoliciesResponseSuccess
1625
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAutomatedReasoningPoliciesResponse]
1626
+ def automated_reasoning_policy_summaries: () -> ::Array[Types::AutomatedReasoningPolicySummary]
1627
+ def next_token: () -> ::String
1628
+ end
1629
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_automated_reasoning_policies-instance_method
1630
+ def list_automated_reasoning_policies: (
1631
+ ?policy_arn: ::String,
1632
+ ?next_token: ::String,
1633
+ ?max_results: ::Integer
1634
+ ) -> _ListAutomatedReasoningPoliciesResponseSuccess
1635
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAutomatedReasoningPoliciesResponseSuccess
1636
+
1637
+ interface _ListAutomatedReasoningPolicyBuildWorkflowsResponseSuccess
1638
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAutomatedReasoningPolicyBuildWorkflowsResponse]
1639
+ def automated_reasoning_policy_build_workflow_summaries: () -> ::Array[Types::AutomatedReasoningPolicyBuildWorkflowSummary]
1640
+ def next_token: () -> ::String
1641
+ end
1642
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_automated_reasoning_policy_build_workflows-instance_method
1643
+ def list_automated_reasoning_policy_build_workflows: (
1644
+ policy_arn: ::String,
1645
+ ?next_token: ::String,
1646
+ ?max_results: ::Integer
1647
+ ) -> _ListAutomatedReasoningPolicyBuildWorkflowsResponseSuccess
1648
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAutomatedReasoningPolicyBuildWorkflowsResponseSuccess
1649
+
1650
+ interface _ListAutomatedReasoningPolicyTestCasesResponseSuccess
1651
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAutomatedReasoningPolicyTestCasesResponse]
1652
+ def test_cases: () -> ::Array[Types::AutomatedReasoningPolicyTestCase]
1653
+ def next_token: () -> ::String
1654
+ end
1655
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_automated_reasoning_policy_test_cases-instance_method
1656
+ def list_automated_reasoning_policy_test_cases: (
1657
+ policy_arn: ::String,
1658
+ ?next_token: ::String,
1659
+ ?max_results: ::Integer
1660
+ ) -> _ListAutomatedReasoningPolicyTestCasesResponseSuccess
1661
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAutomatedReasoningPolicyTestCasesResponseSuccess
1662
+
1663
+ interface _ListAutomatedReasoningPolicyTestResultsResponseSuccess
1664
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAutomatedReasoningPolicyTestResultsResponse]
1665
+ def test_results: () -> ::Array[Types::AutomatedReasoningPolicyTestResult]
1666
+ def next_token: () -> ::String
1667
+ end
1668
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#list_automated_reasoning_policy_test_results-instance_method
1669
+ def list_automated_reasoning_policy_test_results: (
1670
+ policy_arn: ::String,
1671
+ build_workflow_id: ::String,
1672
+ ?next_token: ::String,
1673
+ ?max_results: ::Integer
1674
+ ) -> _ListAutomatedReasoningPolicyTestResultsResponseSuccess
1675
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAutomatedReasoningPolicyTestResultsResponseSuccess
1676
+
1374
1677
  interface _ListCustomModelDeploymentsResponseSuccess
1375
1678
  include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomModelDeploymentsResponse]
1376
1679
  def next_token: () -> ::String
@@ -1673,6 +1976,151 @@ module Aws
1673
1976
  ) -> _RegisterMarketplaceModelEndpointResponseSuccess
1674
1977
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterMarketplaceModelEndpointResponseSuccess
1675
1978
 
1979
+ interface _StartAutomatedReasoningPolicyBuildWorkflowResponseSuccess
1980
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartAutomatedReasoningPolicyBuildWorkflowResponse]
1981
+ def policy_arn: () -> ::String
1982
+ def build_workflow_id: () -> ::String
1983
+ end
1984
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#start_automated_reasoning_policy_build_workflow-instance_method
1985
+ def start_automated_reasoning_policy_build_workflow: (
1986
+ policy_arn: ::String,
1987
+ build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY"),
1988
+ ?client_request_token: ::String,
1989
+ source_content: {
1990
+ policy_definition: {
1991
+ version: ::String?,
1992
+ types: Array[
1993
+ {
1994
+ name: ::String,
1995
+ description: ::String?,
1996
+ values: Array[
1997
+ {
1998
+ value: ::String,
1999
+ description: ::String?
2000
+ },
2001
+ ]
2002
+ },
2003
+ ]?,
2004
+ rules: Array[
2005
+ {
2006
+ id: ::String,
2007
+ expression: ::String,
2008
+ alternate_expression: ::String?
2009
+ },
2010
+ ]?,
2011
+ variables: Array[
2012
+ {
2013
+ name: ::String,
2014
+ type: ::String,
2015
+ description: ::String
2016
+ },
2017
+ ]?
2018
+ }?,
2019
+ workflow_content: {
2020
+ documents: Array[
2021
+ {
2022
+ document: ::String,
2023
+ document_content_type: ("pdf" | "txt"),
2024
+ document_name: ::String,
2025
+ document_description: ::String?
2026
+ },
2027
+ ]?,
2028
+ policy_repair_assets: {
2029
+ annotations: Array[
2030
+ {
2031
+ add_type: {
2032
+ name: ::String,
2033
+ description: ::String,
2034
+ values: Array[
2035
+ {
2036
+ value: ::String,
2037
+ description: ::String?
2038
+ },
2039
+ ]
2040
+ }?,
2041
+ update_type: {
2042
+ name: ::String,
2043
+ new_name: ::String?,
2044
+ description: ::String?,
2045
+ values: Array[
2046
+ {
2047
+ add_type_value: {
2048
+ value: ::String,
2049
+ description: ::String?
2050
+ }?,
2051
+ update_type_value: {
2052
+ value: ::String,
2053
+ new_value: ::String?,
2054
+ description: ::String?
2055
+ }?,
2056
+ delete_type_value: {
2057
+ value: ::String
2058
+ }?
2059
+ },
2060
+ ]
2061
+ }?,
2062
+ delete_type: {
2063
+ name: ::String
2064
+ }?,
2065
+ add_variable: {
2066
+ name: ::String,
2067
+ type: ::String,
2068
+ description: ::String
2069
+ }?,
2070
+ update_variable: {
2071
+ name: ::String,
2072
+ new_name: ::String?,
2073
+ description: ::String?
2074
+ }?,
2075
+ delete_variable: {
2076
+ name: ::String
2077
+ }?,
2078
+ add_rule: {
2079
+ expression: ::String
2080
+ }?,
2081
+ update_rule: {
2082
+ rule_id: ::String,
2083
+ expression: ::String
2084
+ }?,
2085
+ delete_rule: {
2086
+ rule_id: ::String
2087
+ }?,
2088
+ add_rule_from_natural_language: {
2089
+ natural_language: ::String
2090
+ }?,
2091
+ update_from_rules_feedback: {
2092
+ rule_ids: Array[::String]?,
2093
+ feedback: ::String
2094
+ }?,
2095
+ update_from_scenario_feedback: {
2096
+ rule_ids: Array[::String]?,
2097
+ scenario_expression: ::String,
2098
+ feedback: ::String?
2099
+ }?,
2100
+ ingest_content: {
2101
+ content: ::String
2102
+ }?
2103
+ },
2104
+ ]
2105
+ }?
2106
+ }?
2107
+ }
2108
+ ) -> _StartAutomatedReasoningPolicyBuildWorkflowResponseSuccess
2109
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAutomatedReasoningPolicyBuildWorkflowResponseSuccess
2110
+
2111
+ interface _StartAutomatedReasoningPolicyTestWorkflowResponseSuccess
2112
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartAutomatedReasoningPolicyTestWorkflowResponse]
2113
+ def policy_arn: () -> ::String
2114
+ end
2115
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#start_automated_reasoning_policy_test_workflow-instance_method
2116
+ def start_automated_reasoning_policy_test_workflow: (
2117
+ policy_arn: ::String,
2118
+ build_workflow_id: ::String,
2119
+ ?test_case_ids: Array[::String],
2120
+ ?client_request_token: ::String
2121
+ ) -> _StartAutomatedReasoningPolicyTestWorkflowResponseSuccess
2122
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAutomatedReasoningPolicyTestWorkflowResponseSuccess
2123
+
1676
2124
  interface _StopEvaluationJobResponseSuccess
1677
2125
  include ::Seahorse::Client::_ResponseSuccess[Types::StopEvaluationJobResponse]
1678
2126
  end
@@ -1725,6 +2173,160 @@ module Aws
1725
2173
  ) -> _UntagResourceResponseSuccess
1726
2174
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
1727
2175
 
2176
+ interface _UpdateAutomatedReasoningPolicyResponseSuccess
2177
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAutomatedReasoningPolicyResponse]
2178
+ def policy_arn: () -> ::String
2179
+ def name: () -> ::String
2180
+ def definition_hash: () -> ::String
2181
+ def updated_at: () -> ::Time
2182
+ end
2183
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#update_automated_reasoning_policy-instance_method
2184
+ def update_automated_reasoning_policy: (
2185
+ policy_arn: ::String,
2186
+ policy_definition: {
2187
+ version: ::String?,
2188
+ types: Array[
2189
+ {
2190
+ name: ::String,
2191
+ description: ::String?,
2192
+ values: Array[
2193
+ {
2194
+ value: ::String,
2195
+ description: ::String?
2196
+ },
2197
+ ]
2198
+ },
2199
+ ]?,
2200
+ rules: Array[
2201
+ {
2202
+ id: ::String,
2203
+ expression: ::String,
2204
+ alternate_expression: ::String?
2205
+ },
2206
+ ]?,
2207
+ variables: Array[
2208
+ {
2209
+ name: ::String,
2210
+ type: ::String,
2211
+ description: ::String
2212
+ },
2213
+ ]?
2214
+ },
2215
+ ?name: ::String,
2216
+ ?description: ::String
2217
+ ) -> _UpdateAutomatedReasoningPolicyResponseSuccess
2218
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAutomatedReasoningPolicyResponseSuccess
2219
+
2220
+ interface _UpdateAutomatedReasoningPolicyAnnotationsResponseSuccess
2221
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAutomatedReasoningPolicyAnnotationsResponse]
2222
+ def policy_arn: () -> ::String
2223
+ def build_workflow_id: () -> ::String
2224
+ def annotation_set_hash: () -> ::String
2225
+ def updated_at: () -> ::Time
2226
+ end
2227
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#update_automated_reasoning_policy_annotations-instance_method
2228
+ def update_automated_reasoning_policy_annotations: (
2229
+ policy_arn: ::String,
2230
+ build_workflow_id: ::String,
2231
+ annotations: Array[
2232
+ {
2233
+ add_type: {
2234
+ name: ::String,
2235
+ description: ::String,
2236
+ values: Array[
2237
+ {
2238
+ value: ::String,
2239
+ description: ::String?
2240
+ },
2241
+ ]
2242
+ }?,
2243
+ update_type: {
2244
+ name: ::String,
2245
+ new_name: ::String?,
2246
+ description: ::String?,
2247
+ values: Array[
2248
+ {
2249
+ add_type_value: {
2250
+ value: ::String,
2251
+ description: ::String?
2252
+ }?,
2253
+ update_type_value: {
2254
+ value: ::String,
2255
+ new_value: ::String?,
2256
+ description: ::String?
2257
+ }?,
2258
+ delete_type_value: {
2259
+ value: ::String
2260
+ }?
2261
+ },
2262
+ ]
2263
+ }?,
2264
+ delete_type: {
2265
+ name: ::String
2266
+ }?,
2267
+ add_variable: {
2268
+ name: ::String,
2269
+ type: ::String,
2270
+ description: ::String
2271
+ }?,
2272
+ update_variable: {
2273
+ name: ::String,
2274
+ new_name: ::String?,
2275
+ description: ::String?
2276
+ }?,
2277
+ delete_variable: {
2278
+ name: ::String
2279
+ }?,
2280
+ add_rule: {
2281
+ expression: ::String
2282
+ }?,
2283
+ update_rule: {
2284
+ rule_id: ::String,
2285
+ expression: ::String
2286
+ }?,
2287
+ delete_rule: {
2288
+ rule_id: ::String
2289
+ }?,
2290
+ add_rule_from_natural_language: {
2291
+ natural_language: ::String
2292
+ }?,
2293
+ update_from_rules_feedback: {
2294
+ rule_ids: Array[::String]?,
2295
+ feedback: ::String
2296
+ }?,
2297
+ update_from_scenario_feedback: {
2298
+ rule_ids: Array[::String]?,
2299
+ scenario_expression: ::String,
2300
+ feedback: ::String?
2301
+ }?,
2302
+ ingest_content: {
2303
+ content: ::String
2304
+ }?
2305
+ },
2306
+ ],
2307
+ last_updated_annotation_set_hash: ::String
2308
+ ) -> _UpdateAutomatedReasoningPolicyAnnotationsResponseSuccess
2309
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAutomatedReasoningPolicyAnnotationsResponseSuccess
2310
+
2311
+ interface _UpdateAutomatedReasoningPolicyTestCaseResponseSuccess
2312
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAutomatedReasoningPolicyTestCaseResponse]
2313
+ def policy_arn: () -> ::String
2314
+ def test_case_id: () -> ::String
2315
+ end
2316
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#update_automated_reasoning_policy_test_case-instance_method
2317
+ def update_automated_reasoning_policy_test_case: (
2318
+ policy_arn: ::String,
2319
+ test_case_id: ::String,
2320
+ guard_content: ::String,
2321
+ ?query_content: ::String,
2322
+ last_updated_at: ::Time,
2323
+ expected_aggregated_findings_result: ("VALID" | "INVALID" | "SATISFIABLE" | "IMPOSSIBLE" | "TRANSLATION_AMBIGUOUS" | "TOO_COMPLEX" | "NO_TRANSLATION"),
2324
+ ?confidence_threshold: ::Float,
2325
+ ?kms_key_arn: ::String,
2326
+ ?client_request_token: ::String
2327
+ ) -> _UpdateAutomatedReasoningPolicyTestCaseResponseSuccess
2328
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAutomatedReasoningPolicyTestCaseResponseSuccess
2329
+
1728
2330
  interface _UpdateGuardrailResponseSuccess
1729
2331
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGuardrailResponse]
1730
2332
  def guardrail_id: () -> ::String
@@ -1826,6 +2428,10 @@ module Aws
1826
2428
  },
1827
2429
  ]
1828
2430
  },
2431
+ ?automated_reasoning_policy_config: {
2432
+ policies: Array[::String],
2433
+ confidence_threshold: ::Float?
2434
+ },
1829
2435
  ?cross_region_config: {
1830
2436
  guardrail_profile_identifier: ::String
1831
2437
  },