start_automated_reasoning_policy_test_workflow¶
Operation¶
start_automated_reasoning_policy_test_workflow
¶
start_automated_reasoning_policy_test_workflow(request: StartAutomatedReasoningPolicyTestWorkflowInput | StartAutomatedReasoningPolicyTestWorkflowInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[StartAutomatedReasoningPolicyTestWorkflowInputDict]) -> StartAutomatedReasoningPolicyTestWorkflowOutput
Initiates a test workflow to validate Automated Reasoning policy tests. The workflow executes the specified tests against the policy and generates validation results.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
StartAutomatedReasoningPolicyTestWorkflowInput | StartAutomatedReasoningPolicyTestWorkflowInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[StartAutomatedReasoningPolicyTestWorkflowInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
StartAutomatedReasoningPolicyTestWorkflowOutput
|
An instance of |
start_automated_reasoning_policy_test_workflow
async
¶
start_automated_reasoning_policy_test_workflow(request: StartAutomatedReasoningPolicyTestWorkflowInput | StartAutomatedReasoningPolicyTestWorkflowInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[StartAutomatedReasoningPolicyTestWorkflowInputDict]) -> StartAutomatedReasoningPolicyTestWorkflowOutput
Initiates a test workflow to validate Automated Reasoning policy tests. The workflow executes the specified tests against the policy and generates validation results.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
StartAutomatedReasoningPolicyTestWorkflowInput | StartAutomatedReasoningPolicyTestWorkflowInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[StartAutomatedReasoningPolicyTestWorkflowInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
StartAutomatedReasoningPolicyTestWorkflowOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
StartAutomatedReasoningPolicyTestWorkflowInputDict
¶
Bases: TypedDict
Dictionary form of StartAutomatedReasoningPolicyTestWorkflowInput.
Attributes¶
build_workflow_id
instance-attribute
¶
The build workflow identifier. The build workflow must show a
COMPLETED status before running tests.
client_request_token
instance-attribute
¶
client_request_token: str | None
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but doesn't return an error.
This field is autopopulated if not provided.
policy_arn
instance-attribute
¶
The Amazon Resource Name (ARN) of the Automated Reasoning policy to test.
StartAutomatedReasoningPolicyTestWorkflowInput
dataclass
¶
Bases: _SerdeShape
Dataclass for StartAutomatedReasoningPolicyTestWorkflowInput structure.
Attributes¶
build_workflow_id
class-attribute
instance-attribute
¶
build_workflow_id: str | None = ...
The build workflow identifier. The build workflow must show a
COMPLETED status before running tests.
client_request_token
class-attribute
instance-attribute
¶
client_request_token: str | None = ...
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request but doesn't return an error.
This field is autopopulated if not provided.
Output¶
StartAutomatedReasoningPolicyTestWorkflowOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for StartAutomatedReasoningPolicyTestWorkflowOutput structure.
Attributes¶
policy_arn
instance-attribute
¶
policy_arn: str
The Amazon Resource Name (ARN) of the policy for which the test workflow was started.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.