Get Automated Reasoning Policy Build Workflow Result Assets
| bedrock_get_automated_reasoning_policy_build_workflow_result_assets | R Documentation |
Retrieves the resulting assets from a completed Automated Reasoning policy build workflow, including build logs, quality reports, and generated policy artifacts¶
Description¶
Retrieves the resulting assets from a completed Automated Reasoning policy build workflow, including build logs, quality reports, and generated policy artifacts.
Usage¶
bedrock_get_automated_reasoning_policy_build_workflow_result_assets(
policyArn, buildWorkflowId, assetType, assetId)
Arguments¶
policyArn |
[required] The Amazon Resource Name (ARN) of the Automated Reasoning policy whose build workflow assets you want to retrieve. |
buildWorkflowId |
[required] The unique identifier of the build workflow whose result assets you want to retrieve. |
assetType |
[required] The type of asset to retrieve (e.g., BUILD_LOG, QUALITY_REPORT, POLICY_DEFINITION, GENERATED_TEST_CASES, POLICY_SCENARIOS, FIDELITY_REPORT, ASSET_MANIFEST, SOURCE_DOCUMENT). |
assetId |
The unique identifier of the specific asset to retrieve when multiple assets of the same type exist. This is required when retrieving SOURCE_DOCUMENT assets, as multiple source documents may have been used in the workflow. The asset ID can be obtained from the asset manifest. |
Value¶
A list with the following syntax:
list(
policyArn = "string",
buildWorkflowId = "string",
buildWorkflowAssets = 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"
)
)
),
qualityReport = list(
typeCount = 123,
variableCount = 123,
ruleCount = 123,
unusedTypes = list(
"string"
),
unusedTypeValues = list(
list(
typeName = "string",
valueName = "string"
)
),
unusedVariables = list(
"string"
),
conflictingRules = list(
"string"
),
disjointRuleSets = list(
list(
variables = list(
"string"
),
rules = list(
"string"
)
)
)
),
buildLog = list(
entries = list(
list(
annotation = 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"
)
),
status = "APPLIED"|"FAILED",
buildSteps = list(
list(
context = list(
planning = list(),
mutation = list(
addType = list(
type = list(
name = "string",
description = "string",
values = list(
list(
value = "string",
description = "string"
)
)
)
),
updateType = list(
type = list(
name = "string",
description = "string",
values = list(
list(
value = "string",
description = "string"
)
)
)
),
deleteType = list(
name = "string"
),
addVariable = list(
variable = list(
name = "string",
type = "string",
description = "string"
)
),
updateVariable = list(
variable = list(
name = "string",
type = "string",
description = "string"
)
),
deleteVariable = list(
name = "string"
),
addRule = list(
rule = list(
id = "string",
expression = "string",
alternateExpression = "string"
)
),
updateRule = list(
rule = list(
id = "string",
expression = "string",
alternateExpression = "string"
)
),
deleteRule = list(
id = "string"
)
)
),
priorElement = list(
policyDefinitionVariable = list(
name = "string",
type = "string",
description = "string"
),
policyDefinitionType = list(
name = "string",
description = "string",
values = list(
list(
value = "string",
description = "string"
)
)
),
policyDefinitionRule = list(
id = "string",
expression = "string",
alternateExpression = "string"
)
),
messages = list(
list(
message = "string",
messageType = "INFO"|"WARNING"|"ERROR"
)
)
)
)
)
)
),
generatedTestCases = list(
generatedTestCases = list(
list(
queryContent = "string",
guardContent = "string",
expectedAggregatedFindingsResult = "VALID"|"INVALID"|"SATISFIABLE"|"IMPOSSIBLE"|"TRANSLATION_AMBIGUOUS"|"TOO_COMPLEX"|"NO_TRANSLATION"
)
)
),
policyScenarios = list(
policyScenarios = list(
list(
expression = "string",
alternateExpression = "string",
expectedResult = "VALID"|"INVALID"|"SATISFIABLE"|"IMPOSSIBLE"|"TRANSLATION_AMBIGUOUS"|"TOO_COMPLEX"|"NO_TRANSLATION",
ruleIds = list(
"string"
)
)
)
),
assetManifest = list(
entries = list(
list(
assetType = "BUILD_LOG"|"QUALITY_REPORT"|"POLICY_DEFINITION"|"GENERATED_TEST_CASES"|"POLICY_SCENARIOS"|"FIDELITY_REPORT"|"ASSET_MANIFEST"|"SOURCE_DOCUMENT",
assetName = "string",
assetId = "string"
)
)
),
document = list(
document = raw,
documentContentType = "pdf"|"txt",
documentName = "string",
documentDescription = "string",
documentHash = "string"
),
fidelityReport = list(
coverageScore = 123.0,
accuracyScore = 123.0,
ruleReports = list(
list(
rule = "string",
groundingStatements = list(
list(
documentId = "string",
statementId = "string"
)
),
groundingJustifications = list(
"string"
),
accuracyScore = 123.0,
accuracyJustification = "string"
)
),
variableReports = list(
list(
policyVariable = "string",
groundingStatements = list(
list(
documentId = "string",
statementId = "string"
)
),
groundingJustifications = list(
"string"
),
accuracyScore = 123.0,
accuracyJustification = "string"
)
),
documentSources = list(
list(
documentName = "string",
documentHash = "string",
documentId = "string",
atomicStatements = list(
list(
id = "string",
text = "string",
location = list(
lines = list(
123
)
)
)
),
documentContent = list(
list(
pageNumber = 123,
content = list(
list(
line = list(
lineNumber = 123,
lineText = "string"
)
)
)
)
)
)
)
)
)
)
Request syntax¶
svc$get_automated_reasoning_policy_build_workflow_result_assets(
policyArn = "string",
buildWorkflowId = "string",
assetType = "BUILD_LOG"|"QUALITY_REPORT"|"POLICY_DEFINITION"|"GENERATED_TEST_CASES"|"POLICY_SCENARIOS"|"FIDELITY_REPORT"|"ASSET_MANIFEST"|"SOURCE_DOCUMENT",
assetId = "string"
)