aws-sdk-bedrock 1.87.0 → 1.89.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrock/client.rb +66 -4
- data/lib/aws-sdk-bedrock/client_api.rb +53 -0
- data/lib/aws-sdk-bedrock/types.rb +83 -0
- data/lib/aws-sdk-bedrock.rb +1 -1
- data/sig/client.rbs +34 -2
- data/sig/types.rbs +32 -3
- 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: 3f3821900950bcf786a492730fda9604d85495315f18d095ac0471e1f291ccc2
|
|
4
|
+
data.tar.gz: 0bb75cd86896be712c37c2e9f48e78a5b1666282ce28038f9895a89cbbf5f818
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52f1fc4f1c678f24fba75546e07e59b67f1875de28d77133be5e176db21ec8c29f747f62acaf00fe160737c2bcb51a4c3e9a4cb623852b03829d434c0ee57194
|
|
7
|
+
data.tar.gz: 7764294250c85344a17ab0628892812a1349e18b5760a9cdda630e3bd0fb4e3ba85a9c2d734af68988c35940d39670947358ca01fe29403dcedd2f9d8ff5e97c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.89.0 (2026-06-09)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support for the Amazon Bedrock account-level data retention APIs PutAccountDataRetention and GetAccountDataRetention.
|
|
8
|
+
|
|
9
|
+
1.88.0 (2026-05-29)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Automated Reasoning checks - Added two build workflows for policies. Iterative Refine Policy uses AI to update policy definitions based on test results and feedback. Resolve Policy Ambiguities consolidates ambiguous variables in Automated Reasoning policies, a common source of ambiguous validation.
|
|
13
|
+
|
|
4
14
|
1.87.0 (2026-05-28)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.89.0
|
|
@@ -3429,6 +3429,27 @@ module Aws::Bedrock
|
|
|
3429
3429
|
req.send_request(options)
|
|
3430
3430
|
end
|
|
3431
3431
|
|
|
3432
|
+
# Returns the account-wide data retention mode for Amazon Bedrock.
|
|
3433
|
+
#
|
|
3434
|
+
# @return [Types::GetAccountDataRetentionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3435
|
+
#
|
|
3436
|
+
# * {Types::GetAccountDataRetentionResponse#mode #mode} => String
|
|
3437
|
+
# * {Types::GetAccountDataRetentionResponse#updated_at #updated_at} => Time
|
|
3438
|
+
#
|
|
3439
|
+
# @example Response structure
|
|
3440
|
+
#
|
|
3441
|
+
# resp.mode #=> String, one of "default", "none", "provider_data_share", "inherit"
|
|
3442
|
+
# resp.updated_at #=> Time
|
|
3443
|
+
#
|
|
3444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetAccountDataRetention AWS API Documentation
|
|
3445
|
+
#
|
|
3446
|
+
# @overload get_account_data_retention(params = {})
|
|
3447
|
+
# @param [Hash] params ({})
|
|
3448
|
+
def get_account_data_retention(params = {}, options = {})
|
|
3449
|
+
req = build_request(:get_account_data_retention, params)
|
|
3450
|
+
req.send_request(options)
|
|
3451
|
+
end
|
|
3452
|
+
|
|
3432
3453
|
# Gets information about an advanced prompt optimization job.
|
|
3433
3454
|
#
|
|
3434
3455
|
# @option params [required, String] :job_identifier
|
|
@@ -3648,7 +3669,7 @@ module Aws::Bedrock
|
|
|
3648
3669
|
# resp.policy_arn #=> String
|
|
3649
3670
|
# resp.build_workflow_id #=> String
|
|
3650
3671
|
# resp.status #=> String, one of "SCHEDULED", "CANCEL_REQUESTED", "PREPROCESSING", "BUILDING", "TESTING", "COMPLETED", "FAILED", "CANCELLED"
|
|
3651
|
-
# resp.build_workflow_type #=> String, one of "INGEST_CONTENT", "REFINE_POLICY", "IMPORT_POLICY", "GENERATE_FIDELITY_REPORT", "GENERATE_POLICY_SCENARIOS"
|
|
3672
|
+
# resp.build_workflow_type #=> String, one of "INGEST_CONTENT", "REFINE_POLICY", "IMPORT_POLICY", "GENERATE_FIDELITY_REPORT", "GENERATE_POLICY_SCENARIOS", "RESOLVE_POLICY_AMBIGUITIES", "ITERATIVELY_REFINE_POLICY"
|
|
3652
3673
|
# resp.document_name #=> String
|
|
3653
3674
|
# resp.document_content_type #=> String, one of "pdf", "txt"
|
|
3654
3675
|
# resp.document_description #=> String
|
|
@@ -5455,7 +5476,7 @@ module Aws::Bedrock
|
|
|
5455
5476
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].policy_arn #=> String
|
|
5456
5477
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].build_workflow_id #=> String
|
|
5457
5478
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].status #=> String, one of "SCHEDULED", "CANCEL_REQUESTED", "PREPROCESSING", "BUILDING", "TESTING", "COMPLETED", "FAILED", "CANCELLED"
|
|
5458
|
-
# resp.automated_reasoning_policy_build_workflow_summaries[0].build_workflow_type #=> String, one of "INGEST_CONTENT", "REFINE_POLICY", "IMPORT_POLICY", "GENERATE_FIDELITY_REPORT", "GENERATE_POLICY_SCENARIOS"
|
|
5479
|
+
# resp.automated_reasoning_policy_build_workflow_summaries[0].build_workflow_type #=> String, one of "INGEST_CONTENT", "REFINE_POLICY", "IMPORT_POLICY", "GENERATE_FIDELITY_REPORT", "GENERATE_POLICY_SCENARIOS", "RESOLVE_POLICY_AMBIGUITIES", "ITERATIVELY_REFINE_POLICY"
|
|
5459
5480
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].created_at #=> Time
|
|
5460
5481
|
# resp.automated_reasoning_policy_build_workflow_summaries[0].updated_at #=> Time
|
|
5461
5482
|
# resp.next_token #=> String
|
|
@@ -7027,6 +7048,36 @@ module Aws::Bedrock
|
|
|
7027
7048
|
req.send_request(options)
|
|
7028
7049
|
end
|
|
7029
7050
|
|
|
7051
|
+
# Sets the account-wide data retention mode for Amazon Bedrock.
|
|
7052
|
+
#
|
|
7053
|
+
# @option params [required, String] :mode
|
|
7054
|
+
# The data retention mode to set for the account.
|
|
7055
|
+
#
|
|
7056
|
+
# @return [Types::PutAccountDataRetentionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7057
|
+
#
|
|
7058
|
+
# * {Types::PutAccountDataRetentionResponse#mode #mode} => String
|
|
7059
|
+
# * {Types::PutAccountDataRetentionResponse#updated_at #updated_at} => Time
|
|
7060
|
+
#
|
|
7061
|
+
# @example Request syntax with placeholder values
|
|
7062
|
+
#
|
|
7063
|
+
# resp = client.put_account_data_retention({
|
|
7064
|
+
# mode: "default", # required, accepts default, none, provider_data_share, inherit
|
|
7065
|
+
# })
|
|
7066
|
+
#
|
|
7067
|
+
# @example Response structure
|
|
7068
|
+
#
|
|
7069
|
+
# resp.mode #=> String, one of "default", "none", "provider_data_share", "inherit"
|
|
7070
|
+
# resp.updated_at #=> Time
|
|
7071
|
+
#
|
|
7072
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutAccountDataRetention AWS API Documentation
|
|
7073
|
+
#
|
|
7074
|
+
# @overload put_account_data_retention(params = {})
|
|
7075
|
+
# @param [Hash] params ({})
|
|
7076
|
+
def put_account_data_retention(params = {}, options = {})
|
|
7077
|
+
req = build_request(:put_account_data_retention, params)
|
|
7078
|
+
req.send_request(options)
|
|
7079
|
+
end
|
|
7080
|
+
|
|
7030
7081
|
# Sets the account-level enforced guardrail configuration.
|
|
7031
7082
|
#
|
|
7032
7083
|
# @option params [String] :config_id
|
|
@@ -7252,7 +7303,7 @@ module Aws::Bedrock
|
|
|
7252
7303
|
#
|
|
7253
7304
|
# resp = client.start_automated_reasoning_policy_build_workflow({
|
|
7254
7305
|
# policy_arn: "AutomatedReasoningPolicyArn", # required
|
|
7255
|
-
# build_workflow_type: "INGEST_CONTENT", # required, accepts INGEST_CONTENT, REFINE_POLICY, IMPORT_POLICY, GENERATE_FIDELITY_REPORT, GENERATE_POLICY_SCENARIOS
|
|
7306
|
+
# build_workflow_type: "INGEST_CONTENT", # required, accepts INGEST_CONTENT, REFINE_POLICY, IMPORT_POLICY, GENERATE_FIDELITY_REPORT, GENERATE_POLICY_SCENARIOS, RESOLVE_POLICY_AMBIGUITIES, ITERATIVELY_REFINE_POLICY
|
|
7256
7307
|
# client_request_token: "IdempotencyToken",
|
|
7257
7308
|
# source_content: { # required
|
|
7258
7309
|
# policy_definition: {
|
|
@@ -7381,6 +7432,17 @@ module Aws::Bedrock
|
|
|
7381
7432
|
# },
|
|
7382
7433
|
# ],
|
|
7383
7434
|
# },
|
|
7435
|
+
# iterative_refinement_content: {
|
|
7436
|
+
# documents: [ # required
|
|
7437
|
+
# {
|
|
7438
|
+
# document: "data", # required
|
|
7439
|
+
# document_content_type: "pdf", # required, accepts pdf, txt
|
|
7440
|
+
# document_name: "AutomatedReasoningPolicyBuildDocumentName", # required
|
|
7441
|
+
# document_description: "AutomatedReasoningPolicyBuildDocumentDescription",
|
|
7442
|
+
# },
|
|
7443
|
+
# ],
|
|
7444
|
+
# feedback: "AutomatedReasoningPolicyBuildFeedback",
|
|
7445
|
+
# },
|
|
7384
7446
|
# },
|
|
7385
7447
|
# },
|
|
7386
7448
|
# })
|
|
@@ -8284,7 +8346,7 @@ module Aws::Bedrock
|
|
|
8284
8346
|
tracer: tracer
|
|
8285
8347
|
)
|
|
8286
8348
|
context[:gem_name] = 'aws-sdk-bedrock'
|
|
8287
|
-
context[:gem_version] = '1.
|
|
8349
|
+
context[:gem_version] = '1.89.0'
|
|
8288
8350
|
Seahorse::Client::Request.new(handlers, context)
|
|
8289
8351
|
end
|
|
8290
8352
|
|
|
@@ -100,6 +100,7 @@ module Aws::Bedrock
|
|
|
100
100
|
AutomatedReasoningPolicyBuildDocumentContentType = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyBuildDocumentContentType')
|
|
101
101
|
AutomatedReasoningPolicyBuildDocumentDescription = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyBuildDocumentDescription')
|
|
102
102
|
AutomatedReasoningPolicyBuildDocumentName = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyBuildDocumentName')
|
|
103
|
+
AutomatedReasoningPolicyBuildFeedback = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyBuildFeedback')
|
|
103
104
|
AutomatedReasoningPolicyBuildLog = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyBuildLog')
|
|
104
105
|
AutomatedReasoningPolicyBuildLogEntry = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyBuildLogEntry')
|
|
105
106
|
AutomatedReasoningPolicyBuildLogEntryList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyBuildLogEntryList')
|
|
@@ -175,6 +176,8 @@ module Aws::Bedrock
|
|
|
175
176
|
AutomatedReasoningPolicyHash = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyHash')
|
|
176
177
|
AutomatedReasoningPolicyId = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyId')
|
|
177
178
|
AutomatedReasoningPolicyIngestContentAnnotation = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyIngestContentAnnotation')
|
|
179
|
+
AutomatedReasoningPolicyIterativeRefinementContent = Shapes::StructureShape.new(name: 'AutomatedReasoningPolicyIterativeRefinementContent')
|
|
180
|
+
AutomatedReasoningPolicyIterativeRefinementDocumentList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyIterativeRefinementDocumentList')
|
|
178
181
|
AutomatedReasoningPolicyJustificationList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyJustificationList')
|
|
179
182
|
AutomatedReasoningPolicyJustificationText = Shapes::StringShape.new(name: 'AutomatedReasoningPolicyJustificationText')
|
|
180
183
|
AutomatedReasoningPolicyLineNumberList = Shapes::ListShape.new(name: 'AutomatedReasoningPolicyLineNumberList')
|
|
@@ -313,6 +316,7 @@ module Aws::Bedrock
|
|
|
313
316
|
CustomizationConfig = Shapes::UnionShape.new(name: 'CustomizationConfig')
|
|
314
317
|
CustomizationType = Shapes::StringShape.new(name: 'CustomizationType')
|
|
315
318
|
DataProcessingDetails = Shapes::StructureShape.new(name: 'DataProcessingDetails')
|
|
319
|
+
DataRetentionMode = Shapes::StringShape.new(name: 'DataRetentionMode')
|
|
316
320
|
DeleteAutomatedReasoningPolicyBuildWorkflowRequest = Shapes::StructureShape.new(name: 'DeleteAutomatedReasoningPolicyBuildWorkflowRequest')
|
|
317
321
|
DeleteAutomatedReasoningPolicyBuildWorkflowResponse = Shapes::StructureShape.new(name: 'DeleteAutomatedReasoningPolicyBuildWorkflowResponse')
|
|
318
322
|
DeleteAutomatedReasoningPolicyRequest = Shapes::StructureShape.new(name: 'DeleteAutomatedReasoningPolicyRequest')
|
|
@@ -421,6 +425,8 @@ module Aws::Bedrock
|
|
|
421
425
|
FoundationModelSummary = Shapes::StructureShape.new(name: 'FoundationModelSummary')
|
|
422
426
|
FoundationModelSummaryList = Shapes::ListShape.new(name: 'FoundationModelSummaryList')
|
|
423
427
|
GenerationConfiguration = Shapes::StructureShape.new(name: 'GenerationConfiguration')
|
|
428
|
+
GetAccountDataRetentionRequest = Shapes::StructureShape.new(name: 'GetAccountDataRetentionRequest')
|
|
429
|
+
GetAccountDataRetentionResponse = Shapes::StructureShape.new(name: 'GetAccountDataRetentionResponse')
|
|
424
430
|
GetAdvancedPromptOptimizationJobRequest = Shapes::StructureShape.new(name: 'GetAdvancedPromptOptimizationJobRequest')
|
|
425
431
|
GetAdvancedPromptOptimizationJobResponse = Shapes::StructureShape.new(name: 'GetAdvancedPromptOptimizationJobResponse')
|
|
426
432
|
GetAutomatedReasoningPolicyAnnotationsRequest = Shapes::StructureShape.new(name: 'GetAutomatedReasoningPolicyAnnotationsRequest')
|
|
@@ -770,6 +776,8 @@ module Aws::Bedrock
|
|
|
770
776
|
ProvisionedModelStatus = Shapes::StringShape.new(name: 'ProvisionedModelStatus')
|
|
771
777
|
ProvisionedModelSummaries = Shapes::ListShape.new(name: 'ProvisionedModelSummaries')
|
|
772
778
|
ProvisionedModelSummary = Shapes::StructureShape.new(name: 'ProvisionedModelSummary')
|
|
779
|
+
PutAccountDataRetentionRequest = Shapes::StructureShape.new(name: 'PutAccountDataRetentionRequest')
|
|
780
|
+
PutAccountDataRetentionResponse = Shapes::StructureShape.new(name: 'PutAccountDataRetentionResponse')
|
|
773
781
|
PutEnforcedGuardrailConfigurationRequest = Shapes::StructureShape.new(name: 'PutEnforcedGuardrailConfigurationRequest')
|
|
774
782
|
PutEnforcedGuardrailConfigurationResponse = Shapes::StructureShape.new(name: 'PutEnforcedGuardrailConfigurationResponse')
|
|
775
783
|
PutModelInvocationLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'PutModelInvocationLoggingConfigurationRequest')
|
|
@@ -1366,6 +1374,12 @@ module Aws::Bedrock
|
|
|
1366
1374
|
AutomatedReasoningPolicyIngestContentAnnotation.add_member(:content, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyAnnotationIngestContent, required: true, location_name: "content"))
|
|
1367
1375
|
AutomatedReasoningPolicyIngestContentAnnotation.struct_class = Types::AutomatedReasoningPolicyIngestContentAnnotation
|
|
1368
1376
|
|
|
1377
|
+
AutomatedReasoningPolicyIterativeRefinementContent.add_member(:documents, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyIterativeRefinementDocumentList, required: true, location_name: "documents"))
|
|
1378
|
+
AutomatedReasoningPolicyIterativeRefinementContent.add_member(:feedback, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildFeedback, location_name: "feedback"))
|
|
1379
|
+
AutomatedReasoningPolicyIterativeRefinementContent.struct_class = Types::AutomatedReasoningPolicyIterativeRefinementContent
|
|
1380
|
+
|
|
1381
|
+
AutomatedReasoningPolicyIterativeRefinementDocumentList.member = Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildWorkflowDocument)
|
|
1382
|
+
|
|
1369
1383
|
AutomatedReasoningPolicyJustificationList.member = Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyJustificationText)
|
|
1370
1384
|
|
|
1371
1385
|
AutomatedReasoningPolicyLineNumberList.member = Shapes::ShapeRef.new(shape: Integer)
|
|
@@ -1538,10 +1552,12 @@ module Aws::Bedrock
|
|
|
1538
1552
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member(:documents, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildWorkflowDocumentList, location_name: "documents"))
|
|
1539
1553
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member(:policy_repair_assets, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyBuildWorkflowRepairContent, location_name: "policyRepairAssets"))
|
|
1540
1554
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member(:generate_fidelity_report_content, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyGenerateFidelityReportContent, location_name: "generateFidelityReportContent"))
|
|
1555
|
+
AutomatedReasoningPolicyWorkflowTypeContent.add_member(:iterative_refinement_content, Shapes::ShapeRef.new(shape: AutomatedReasoningPolicyIterativeRefinementContent, location_name: "iterativeRefinementContent"))
|
|
1541
1556
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1542
1557
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member_subclass(:documents, Types::AutomatedReasoningPolicyWorkflowTypeContent::Documents)
|
|
1543
1558
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member_subclass(:policy_repair_assets, Types::AutomatedReasoningPolicyWorkflowTypeContent::PolicyRepairAssets)
|
|
1544
1559
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member_subclass(:generate_fidelity_report_content, Types::AutomatedReasoningPolicyWorkflowTypeContent::GenerateFidelityReportContent)
|
|
1560
|
+
AutomatedReasoningPolicyWorkflowTypeContent.add_member_subclass(:iterative_refinement_content, Types::AutomatedReasoningPolicyWorkflowTypeContent::IterativeRefinementContent)
|
|
1545
1561
|
AutomatedReasoningPolicyWorkflowTypeContent.add_member_subclass(:unknown, Types::AutomatedReasoningPolicyWorkflowTypeContent::Unknown)
|
|
1546
1562
|
AutomatedReasoningPolicyWorkflowTypeContent.struct_class = Types::AutomatedReasoningPolicyWorkflowTypeContent
|
|
1547
1563
|
|
|
@@ -2203,6 +2219,12 @@ module Aws::Bedrock
|
|
|
2203
2219
|
GenerationConfiguration.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: AdditionalModelRequestFields, location_name: "additionalModelRequestFields"))
|
|
2204
2220
|
GenerationConfiguration.struct_class = Types::GenerationConfiguration
|
|
2205
2221
|
|
|
2222
|
+
GetAccountDataRetentionRequest.struct_class = Types::GetAccountDataRetentionRequest
|
|
2223
|
+
|
|
2224
|
+
GetAccountDataRetentionResponse.add_member(:mode, Shapes::ShapeRef.new(shape: DataRetentionMode, required: true, location_name: "mode"))
|
|
2225
|
+
GetAccountDataRetentionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
2226
|
+
GetAccountDataRetentionResponse.struct_class = Types::GetAccountDataRetentionResponse
|
|
2227
|
+
|
|
2206
2228
|
GetAdvancedPromptOptimizationJobRequest.add_member(:job_identifier, Shapes::ShapeRef.new(shape: AdvancedPromptOptimizationJobIdentifier, required: true, location: "uri", location_name: "jobIdentifier"))
|
|
2207
2229
|
GetAdvancedPromptOptimizationJobRequest.struct_class = Types::GetAdvancedPromptOptimizationJobRequest
|
|
2208
2230
|
|
|
@@ -3381,6 +3403,13 @@ module Aws::Bedrock
|
|
|
3381
3403
|
ProvisionedModelSummary.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedTime"))
|
|
3382
3404
|
ProvisionedModelSummary.struct_class = Types::ProvisionedModelSummary
|
|
3383
3405
|
|
|
3406
|
+
PutAccountDataRetentionRequest.add_member(:mode, Shapes::ShapeRef.new(shape: DataRetentionMode, required: true, location_name: "mode"))
|
|
3407
|
+
PutAccountDataRetentionRequest.struct_class = Types::PutAccountDataRetentionRequest
|
|
3408
|
+
|
|
3409
|
+
PutAccountDataRetentionResponse.add_member(:mode, Shapes::ShapeRef.new(shape: DataRetentionMode, required: true, location_name: "mode"))
|
|
3410
|
+
PutAccountDataRetentionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
3411
|
+
PutAccountDataRetentionResponse.struct_class = Types::PutAccountDataRetentionResponse
|
|
3412
|
+
|
|
3384
3413
|
PutEnforcedGuardrailConfigurationRequest.add_member(:config_id, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailConfigurationId, location_name: "configId"))
|
|
3385
3414
|
PutEnforcedGuardrailConfigurationRequest.add_member(:guardrail_inference_config, Shapes::ShapeRef.new(shape: AccountEnforcedGuardrailInferenceInputConfiguration, required: true, location_name: "guardrailInferenceConfig"))
|
|
3386
3415
|
PutEnforcedGuardrailConfigurationRequest.struct_class = Types::PutEnforcedGuardrailConfigurationRequest
|
|
@@ -4362,6 +4391,18 @@ module Aws::Bedrock
|
|
|
4362
4391
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4363
4392
|
end)
|
|
4364
4393
|
|
|
4394
|
+
api.add_operation(:get_account_data_retention, Seahorse::Model::Operation.new.tap do |o|
|
|
4395
|
+
o.name = "GetAccountDataRetention"
|
|
4396
|
+
o.http_method = "GET"
|
|
4397
|
+
o.http_request_uri = "/data-retention"
|
|
4398
|
+
o.input = Shapes::ShapeRef.new(shape: GetAccountDataRetentionRequest)
|
|
4399
|
+
o.output = Shapes::ShapeRef.new(shape: GetAccountDataRetentionResponse)
|
|
4400
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
4401
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
4402
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
4403
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
4404
|
+
end)
|
|
4405
|
+
|
|
4365
4406
|
api.add_operation(:get_advanced_prompt_optimization_job, Seahorse::Model::Operation.new.tap do |o|
|
|
4366
4407
|
o.name = "GetAdvancedPromptOptimizationJob"
|
|
4367
4408
|
o.http_method = "GET"
|
|
@@ -5085,6 +5126,18 @@ module Aws::Bedrock
|
|
|
5085
5126
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
5086
5127
|
end)
|
|
5087
5128
|
|
|
5129
|
+
api.add_operation(:put_account_data_retention, Seahorse::Model::Operation.new.tap do |o|
|
|
5130
|
+
o.name = "PutAccountDataRetention"
|
|
5131
|
+
o.http_method = "PUT"
|
|
5132
|
+
o.http_request_uri = "/data-retention"
|
|
5133
|
+
o.input = Shapes::ShapeRef.new(shape: PutAccountDataRetentionRequest)
|
|
5134
|
+
o.output = Shapes::ShapeRef.new(shape: PutAccountDataRetentionResponse)
|
|
5135
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
5136
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
5137
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
5138
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
5139
|
+
end)
|
|
5140
|
+
|
|
5088
5141
|
api.add_operation(:put_enforced_guardrail_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
5089
5142
|
o.name = "PutEnforcedGuardrailConfiguration"
|
|
5090
5143
|
o.http_method = "PUT"
|
|
@@ -1953,6 +1953,29 @@ module Aws::Bedrock
|
|
|
1953
1953
|
include Aws::Structure
|
|
1954
1954
|
end
|
|
1955
1955
|
|
|
1956
|
+
# Configuration for an iterative policy refinement workflow, including
|
|
1957
|
+
# source documents to process and optional feedback to guide the
|
|
1958
|
+
# refinement.
|
|
1959
|
+
#
|
|
1960
|
+
# @!attribute [rw] documents
|
|
1961
|
+
# Source documents used for iterative policy refinement. These
|
|
1962
|
+
# documents provide context for refining the policy definition.
|
|
1963
|
+
# @return [Array<Types::AutomatedReasoningPolicyBuildWorkflowDocument>]
|
|
1964
|
+
#
|
|
1965
|
+
# @!attribute [rw] feedback
|
|
1966
|
+
# Optional feedback to guide the iterative refinement workflow.
|
|
1967
|
+
# Provide specific instructions or constraints for policy refinement.
|
|
1968
|
+
# @return [String]
|
|
1969
|
+
#
|
|
1970
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AutomatedReasoningPolicyIterativeRefinementContent AWS API Documentation
|
|
1971
|
+
#
|
|
1972
|
+
class AutomatedReasoningPolicyIterativeRefinementContent < Struct.new(
|
|
1973
|
+
:documents,
|
|
1974
|
+
:feedback)
|
|
1975
|
+
SENSITIVE = [:feedback]
|
|
1976
|
+
include Aws::Structure
|
|
1977
|
+
end
|
|
1978
|
+
|
|
1956
1979
|
# A container for various mutation operations that can be applied to an
|
|
1957
1980
|
# Automated Reasoning policy, including adding, updating, and deleting
|
|
1958
1981
|
# policy elements.
|
|
@@ -2682,12 +2705,19 @@ module Aws::Bedrock
|
|
|
2682
2705
|
# report to update with a new policy definition.
|
|
2683
2706
|
# @return [Types::AutomatedReasoningPolicyGenerateFidelityReportContent]
|
|
2684
2707
|
#
|
|
2708
|
+
# @!attribute [rw] iterative_refinement_content
|
|
2709
|
+
# Content configuration to start an iterative policy refinement
|
|
2710
|
+
# workflow that uses generative AI to automatically make changes to
|
|
2711
|
+
# the policy based on test results and the optional feedback provided.
|
|
2712
|
+
# @return [Types::AutomatedReasoningPolicyIterativeRefinementContent]
|
|
2713
|
+
#
|
|
2685
2714
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/AutomatedReasoningPolicyWorkflowTypeContent AWS API Documentation
|
|
2686
2715
|
#
|
|
2687
2716
|
class AutomatedReasoningPolicyWorkflowTypeContent < Struct.new(
|
|
2688
2717
|
:documents,
|
|
2689
2718
|
:policy_repair_assets,
|
|
2690
2719
|
:generate_fidelity_report_content,
|
|
2720
|
+
:iterative_refinement_content,
|
|
2691
2721
|
:unknown)
|
|
2692
2722
|
SENSITIVE = []
|
|
2693
2723
|
include Aws::Structure
|
|
@@ -2696,6 +2726,7 @@ module Aws::Bedrock
|
|
|
2696
2726
|
class Documents < AutomatedReasoningPolicyWorkflowTypeContent; end
|
|
2697
2727
|
class PolicyRepairAssets < AutomatedReasoningPolicyWorkflowTypeContent; end
|
|
2698
2728
|
class GenerateFidelityReportContent < AutomatedReasoningPolicyWorkflowTypeContent; end
|
|
2729
|
+
class IterativeRefinementContent < AutomatedReasoningPolicyWorkflowTypeContent; end
|
|
2699
2730
|
class Unknown < AutomatedReasoningPolicyWorkflowTypeContent; end
|
|
2700
2731
|
end
|
|
2701
2732
|
|
|
@@ -6002,6 +6033,29 @@ module Aws::Bedrock
|
|
|
6002
6033
|
include Aws::Structure
|
|
6003
6034
|
end
|
|
6004
6035
|
|
|
6036
|
+
# @api private
|
|
6037
|
+
#
|
|
6038
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetAccountDataRetentionRequest AWS API Documentation
|
|
6039
|
+
#
|
|
6040
|
+
class GetAccountDataRetentionRequest < Aws::EmptyStructure; end
|
|
6041
|
+
|
|
6042
|
+
# @!attribute [rw] mode
|
|
6043
|
+
# The data retention mode configured for the account.
|
|
6044
|
+
# @return [String]
|
|
6045
|
+
#
|
|
6046
|
+
# @!attribute [rw] updated_at
|
|
6047
|
+
# The time at which the data retention mode was last updated.
|
|
6048
|
+
# @return [Time]
|
|
6049
|
+
#
|
|
6050
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetAccountDataRetentionResponse AWS API Documentation
|
|
6051
|
+
#
|
|
6052
|
+
class GetAccountDataRetentionResponse < Struct.new(
|
|
6053
|
+
:mode,
|
|
6054
|
+
:updated_at)
|
|
6055
|
+
SENSITIVE = []
|
|
6056
|
+
include Aws::Structure
|
|
6057
|
+
end
|
|
6058
|
+
|
|
6005
6059
|
# Get Advanced Prompt Optimization Job Request
|
|
6006
6060
|
#
|
|
6007
6061
|
# @!attribute [rw] job_identifier
|
|
@@ -12438,6 +12492,35 @@ module Aws::Bedrock
|
|
|
12438
12492
|
include Aws::Structure
|
|
12439
12493
|
end
|
|
12440
12494
|
|
|
12495
|
+
# @!attribute [rw] mode
|
|
12496
|
+
# The data retention mode to set for the account.
|
|
12497
|
+
# @return [String]
|
|
12498
|
+
#
|
|
12499
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutAccountDataRetentionRequest AWS API Documentation
|
|
12500
|
+
#
|
|
12501
|
+
class PutAccountDataRetentionRequest < Struct.new(
|
|
12502
|
+
:mode)
|
|
12503
|
+
SENSITIVE = []
|
|
12504
|
+
include Aws::Structure
|
|
12505
|
+
end
|
|
12506
|
+
|
|
12507
|
+
# @!attribute [rw] mode
|
|
12508
|
+
# The data retention mode set for the account.
|
|
12509
|
+
# @return [String]
|
|
12510
|
+
#
|
|
12511
|
+
# @!attribute [rw] updated_at
|
|
12512
|
+
# The time at which the data retention mode was last updated.
|
|
12513
|
+
# @return [Time]
|
|
12514
|
+
#
|
|
12515
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PutAccountDataRetentionResponse AWS API Documentation
|
|
12516
|
+
#
|
|
12517
|
+
class PutAccountDataRetentionResponse < Struct.new(
|
|
12518
|
+
:mode,
|
|
12519
|
+
:updated_at)
|
|
12520
|
+
SENSITIVE = []
|
|
12521
|
+
include Aws::Structure
|
|
12522
|
+
end
|
|
12523
|
+
|
|
12441
12524
|
# @!attribute [rw] config_id
|
|
12442
12525
|
# Unique ID for the account enforced configuration.
|
|
12443
12526
|
# @return [String]
|
data/lib/aws-sdk-bedrock.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -924,6 +924,16 @@ module Aws
|
|
|
924
924
|
) -> _ExportAutomatedReasoningPolicyVersionResponseSuccess
|
|
925
925
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportAutomatedReasoningPolicyVersionResponseSuccess
|
|
926
926
|
|
|
927
|
+
interface _GetAccountDataRetentionResponseSuccess
|
|
928
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountDataRetentionResponse]
|
|
929
|
+
def mode: () -> ("default" | "none" | "provider_data_share" | "inherit")
|
|
930
|
+
def updated_at: () -> ::Time
|
|
931
|
+
end
|
|
932
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#get_account_data_retention-instance_method
|
|
933
|
+
def get_account_data_retention: (
|
|
934
|
+
) -> _GetAccountDataRetentionResponseSuccess
|
|
935
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountDataRetentionResponseSuccess
|
|
936
|
+
|
|
927
937
|
interface _GetAdvancedPromptOptimizationJobResponseSuccess
|
|
928
938
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetAdvancedPromptOptimizationJobResponse]
|
|
929
939
|
def job_arn: () -> ::String
|
|
@@ -983,7 +993,7 @@ module Aws
|
|
|
983
993
|
def policy_arn: () -> ::String
|
|
984
994
|
def build_workflow_id: () -> ::String
|
|
985
995
|
def status: () -> ("SCHEDULED" | "CANCEL_REQUESTED" | "PREPROCESSING" | "BUILDING" | "TESTING" | "COMPLETED" | "FAILED" | "CANCELLED")
|
|
986
|
-
def build_workflow_type: () -> ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS")
|
|
996
|
+
def build_workflow_type: () -> ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS" | "RESOLVE_POLICY_AMBIGUITIES" | "ITERATIVELY_REFINE_POLICY")
|
|
987
997
|
def document_name: () -> ::String
|
|
988
998
|
def document_content_type: () -> ("pdf" | "txt")
|
|
989
999
|
def document_description: () -> ::String
|
|
@@ -1722,6 +1732,17 @@ module Aws
|
|
|
1722
1732
|
) -> _ListTagsForResourceResponseSuccess
|
|
1723
1733
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
|
1724
1734
|
|
|
1735
|
+
interface _PutAccountDataRetentionResponseSuccess
|
|
1736
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountDataRetentionResponse]
|
|
1737
|
+
def mode: () -> ("default" | "none" | "provider_data_share" | "inherit")
|
|
1738
|
+
def updated_at: () -> ::Time
|
|
1739
|
+
end
|
|
1740
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#put_account_data_retention-instance_method
|
|
1741
|
+
def put_account_data_retention: (
|
|
1742
|
+
mode: ("default" | "none" | "provider_data_share" | "inherit")
|
|
1743
|
+
) -> _PutAccountDataRetentionResponseSuccess
|
|
1744
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountDataRetentionResponseSuccess
|
|
1745
|
+
|
|
1725
1746
|
interface _PutEnforcedGuardrailConfigurationResponseSuccess
|
|
1726
1747
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutEnforcedGuardrailConfigurationResponse]
|
|
1727
1748
|
def config_id: () -> ::String
|
|
@@ -1812,7 +1833,7 @@ module Aws
|
|
|
1812
1833
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Bedrock/Client.html#start_automated_reasoning_policy_build_workflow-instance_method
|
|
1813
1834
|
def start_automated_reasoning_policy_build_workflow: (
|
|
1814
1835
|
policy_arn: ::String,
|
|
1815
|
-
build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS"),
|
|
1836
|
+
build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS" | "RESOLVE_POLICY_AMBIGUITIES" | "ITERATIVELY_REFINE_POLICY"),
|
|
1816
1837
|
?client_request_token: ::String,
|
|
1817
1838
|
source_content: {
|
|
1818
1839
|
policy_definition: Params::automated_reasoning_policy_definition?,
|
|
@@ -1839,6 +1860,17 @@ module Aws
|
|
|
1839
1860
|
document_description: ::String?
|
|
1840
1861
|
}
|
|
1841
1862
|
]?
|
|
1863
|
+
}?,
|
|
1864
|
+
iterative_refinement_content: {
|
|
1865
|
+
documents: Array[
|
|
1866
|
+
{
|
|
1867
|
+
document: ::String,
|
|
1868
|
+
document_content_type: ("pdf" | "txt"),
|
|
1869
|
+
document_name: ::String,
|
|
1870
|
+
document_description: ::String?
|
|
1871
|
+
}
|
|
1872
|
+
],
|
|
1873
|
+
feedback: ::String?
|
|
1842
1874
|
}?
|
|
1843
1875
|
}?
|
|
1844
1876
|
}
|
data/sig/types.rbs
CHANGED
|
@@ -428,7 +428,7 @@ module Aws::Bedrock
|
|
|
428
428
|
attr_accessor policy_arn: ::String
|
|
429
429
|
attr_accessor build_workflow_id: ::String
|
|
430
430
|
attr_accessor status: ("SCHEDULED" | "CANCEL_REQUESTED" | "PREPROCESSING" | "BUILDING" | "TESTING" | "COMPLETED" | "FAILED" | "CANCELLED")
|
|
431
|
-
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS")
|
|
431
|
+
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS" | "RESOLVE_POLICY_AMBIGUITIES" | "ITERATIVELY_REFINE_POLICY")
|
|
432
432
|
attr_accessor created_at: ::Time
|
|
433
433
|
attr_accessor updated_at: ::Time
|
|
434
434
|
SENSITIVE: []
|
|
@@ -582,6 +582,12 @@ module Aws::Bedrock
|
|
|
582
582
|
SENSITIVE: [:content]
|
|
583
583
|
end
|
|
584
584
|
|
|
585
|
+
class AutomatedReasoningPolicyIterativeRefinementContent
|
|
586
|
+
attr_accessor documents: ::Array[Types::AutomatedReasoningPolicyBuildWorkflowDocument]
|
|
587
|
+
attr_accessor feedback: ::String
|
|
588
|
+
SENSITIVE: [:feedback]
|
|
589
|
+
end
|
|
590
|
+
|
|
585
591
|
class AutomatedReasoningPolicyMutation
|
|
586
592
|
attr_accessor add_type: Types::AutomatedReasoningPolicyAddTypeMutation
|
|
587
593
|
attr_accessor update_type: Types::AutomatedReasoningPolicyUpdateTypeMutation
|
|
@@ -790,6 +796,7 @@ module Aws::Bedrock
|
|
|
790
796
|
attr_accessor documents: ::Array[Types::AutomatedReasoningPolicyBuildWorkflowDocument]
|
|
791
797
|
attr_accessor policy_repair_assets: Types::AutomatedReasoningPolicyBuildWorkflowRepairContent
|
|
792
798
|
attr_accessor generate_fidelity_report_content: Types::AutomatedReasoningPolicyGenerateFidelityReportContent
|
|
799
|
+
attr_accessor iterative_refinement_content: Types::AutomatedReasoningPolicyIterativeRefinementContent
|
|
793
800
|
attr_accessor unknown: untyped
|
|
794
801
|
SENSITIVE: []
|
|
795
802
|
|
|
@@ -799,6 +806,8 @@ module Aws::Bedrock
|
|
|
799
806
|
end
|
|
800
807
|
class GenerateFidelityReportContent < AutomatedReasoningPolicyWorkflowTypeContent
|
|
801
808
|
end
|
|
809
|
+
class IterativeRefinementContent < AutomatedReasoningPolicyWorkflowTypeContent
|
|
810
|
+
end
|
|
802
811
|
class Unknown < AutomatedReasoningPolicyWorkflowTypeContent
|
|
803
812
|
end
|
|
804
813
|
end
|
|
@@ -1671,6 +1680,15 @@ module Aws::Bedrock
|
|
|
1671
1680
|
SENSITIVE: []
|
|
1672
1681
|
end
|
|
1673
1682
|
|
|
1683
|
+
class GetAccountDataRetentionRequest < Aws::EmptyStructure
|
|
1684
|
+
end
|
|
1685
|
+
|
|
1686
|
+
class GetAccountDataRetentionResponse
|
|
1687
|
+
attr_accessor mode: ("default" | "none" | "provider_data_share" | "inherit")
|
|
1688
|
+
attr_accessor updated_at: ::Time
|
|
1689
|
+
SENSITIVE: []
|
|
1690
|
+
end
|
|
1691
|
+
|
|
1674
1692
|
class GetAdvancedPromptOptimizationJobRequest
|
|
1675
1693
|
attr_accessor job_identifier: ::String
|
|
1676
1694
|
SENSITIVE: []
|
|
@@ -1717,7 +1735,7 @@ module Aws::Bedrock
|
|
|
1717
1735
|
attr_accessor policy_arn: ::String
|
|
1718
1736
|
attr_accessor build_workflow_id: ::String
|
|
1719
1737
|
attr_accessor status: ("SCHEDULED" | "CANCEL_REQUESTED" | "PREPROCESSING" | "BUILDING" | "TESTING" | "COMPLETED" | "FAILED" | "CANCELLED")
|
|
1720
|
-
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS")
|
|
1738
|
+
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS" | "RESOLVE_POLICY_AMBIGUITIES" | "ITERATIVELY_REFINE_POLICY")
|
|
1721
1739
|
attr_accessor document_name: ::String
|
|
1722
1740
|
attr_accessor document_content_type: ("pdf" | "txt")
|
|
1723
1741
|
attr_accessor document_description: ::String
|
|
@@ -3136,6 +3154,17 @@ module Aws::Bedrock
|
|
|
3136
3154
|
SENSITIVE: []
|
|
3137
3155
|
end
|
|
3138
3156
|
|
|
3157
|
+
class PutAccountDataRetentionRequest
|
|
3158
|
+
attr_accessor mode: ("default" | "none" | "provider_data_share" | "inherit")
|
|
3159
|
+
SENSITIVE: []
|
|
3160
|
+
end
|
|
3161
|
+
|
|
3162
|
+
class PutAccountDataRetentionResponse
|
|
3163
|
+
attr_accessor mode: ("default" | "none" | "provider_data_share" | "inherit")
|
|
3164
|
+
attr_accessor updated_at: ::Time
|
|
3165
|
+
SENSITIVE: []
|
|
3166
|
+
end
|
|
3167
|
+
|
|
3139
3168
|
class PutEnforcedGuardrailConfigurationRequest
|
|
3140
3169
|
attr_accessor config_id: ::String
|
|
3141
3170
|
attr_accessor guardrail_inference_config: Types::AccountEnforcedGuardrailInferenceInputConfiguration
|
|
@@ -3402,7 +3431,7 @@ module Aws::Bedrock
|
|
|
3402
3431
|
|
|
3403
3432
|
class StartAutomatedReasoningPolicyBuildWorkflowRequest
|
|
3404
3433
|
attr_accessor policy_arn: ::String
|
|
3405
|
-
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS")
|
|
3434
|
+
attr_accessor build_workflow_type: ("INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY" | "GENERATE_FIDELITY_REPORT" | "GENERATE_POLICY_SCENARIOS" | "RESOLVE_POLICY_AMBIGUITIES" | "ITERATIVELY_REFINE_POLICY")
|
|
3406
3435
|
attr_accessor client_request_token: ::String
|
|
3407
3436
|
attr_accessor source_content: Types::AutomatedReasoningPolicyBuildWorkflowSource
|
|
3408
3437
|
SENSITIVE: []
|