Start Automated Reasoning Policy Build Workflow
| bedrock_start_automated_reasoning_policy_build_workflow | R Documentation |
Starts a new build workflow for an Automated Reasoning policy¶
Description¶
Starts a new build workflow for an Automated Reasoning policy. This initiates the process of analyzing source documents and generating policy rules, variables, and types.
Usage¶
bedrock_start_automated_reasoning_policy_build_workflow(policyArn,
buildWorkflowType, clientRequestToken, sourceContent)
Arguments¶
policyArn |
[required] The Amazon Resource Name (ARN) of the Automated Reasoning policy for which to start the build workflow. |
buildWorkflowType |
[required] The type of build workflow to start (e.g., DOCUMENT_INGESTION for processing new documents, POLICY_REPAIR for fixing existing policies). |
clientRequestToken |
A unique, case-sensitive identifier to ensure that the operation completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request but doesn't return an error. |
sourceContent |
[required] The source content for the build workflow, such as documents to analyze or repair instructions for existing policies. |
Value¶
A list with the following syntax:
list(
policyArn = "string",
buildWorkflowId = "string"
)
Request syntax¶
svc$start_automated_reasoning_policy_build_workflow(
policyArn = "string",
buildWorkflowType = "INGEST_CONTENT"|"REFINE_POLICY"|"IMPORT_POLICY"|"GENERATE_FIDELITY_REPORT"|"GENERATE_POLICY_SCENARIOS",
clientRequestToken = "string",
sourceContent = list(
policyDefinition = list(
version = "string",
types = list(
list(
name = "string",
description = "string",
values = list(
list(
value = "string",
description = "string"
)
)
)
),
rules = list(
list(
id = "string",
expression = "string",
alternateExpression = "string"
)
),
variables = list(
list(
name = "string",
type = "string",
description = "string"
)
)
),
workflowContent = list(
documents = list(
list(
document = raw,
documentContentType = "pdf"|"txt",
documentName = "string",
documentDescription = "string"
)
),
policyRepairAssets = list(
annotations = list(
list(
addType = list(
name = "string",
description = "string",
values = list(
list(
value = "string",
description = "string"
)
)
),
updateType = list(
name = "string",
newName = "string",
description = "string",
values = list(
list(
addTypeValue = list(
value = "string",
description = "string"
),
updateTypeValue = list(
value = "string",
newValue = "string",
description = "string"
),
deleteTypeValue = list(
value = "string"
)
)
)
),
deleteType = list(
name = "string"
),
addVariable = list(
name = "string",
type = "string",
description = "string"
),
updateVariable = list(
name = "string",
newName = "string",
description = "string"
),
deleteVariable = list(
name = "string"
),
addRule = list(
expression = "string"
),
updateRule = list(
ruleId = "string",
expression = "string"
),
deleteRule = list(
ruleId = "string"
),
addRuleFromNaturalLanguage = list(
naturalLanguage = "string"
),
updateFromRulesFeedback = list(
ruleIds = list(
"string"
),
feedback = "string"
),
updateFromScenarioFeedback = list(
ruleIds = list(
"string"
),
scenarioExpression = "string",
feedback = "string"
),
ingestContent = list(
content = "string"
)
)
)
),
generateFidelityReportContent = list(
documents = list(
list(
document = raw,
documentContentType = "pdf"|"txt",
documentName = "string",
documentDescription = "string"
)
)
)
)
)
)