BedrockAgentClient.update_agent_action_group
rboto-bedrock-agent==0.4.0 · Service index · Types
Model summary (excerpt): Updates the configuration for an action group for an agent.
Install and imports
from rboto import BedrockAgentClient
from rboto_bedrock_agent.types import (
APISchema,
ActionGroupExecutor,
ActionGroupSignature,
ActionGroupState,
FunctionSchema,
UpdateAgentActionGroupOutput,
)
Signature
async def update_agent_action_group(
*,
agent_id: str,
agent_version: str,
action_group_id: str,
action_group_name: str,
description: str | None = None,
parent_action_group_signature: ActionGroupSignature | None = None,
parent_action_group_signature_params: dict[str, str] | None = None,
action_group_executor: ActionGroupExecutor | None = None,
action_group_state: ActionGroupState | None = None,
api_schema: APISchema | None = None,
function_schema: FunctionSchema | None = None,
) -> UpdateAgentActionGroupOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
agent_id |
Yes | The unique identifier of the agent for which to update the action group. |
agent_version |
Yes | The unique identifier of the agent version for which to update the action group. |
action_group_id |
Yes | The unique identifier of the action group. |
action_group_name |
Yes | Specifies a new name for the action group. |
description |
No | Specifies a new name for the action group. |
parent_action_group_signature |
No | Update the built-in or computer use action for this action group. If you specify a value, you must leave the description , apiSchema , and actionGroupExecutor fields empty for this action group. To allow your agent to request the user for additional information when trying to complete a task, set this field to AMAZON.UserInput . To allow your agent to generate, run, and troubleshoot code when... |
parent_action_group_signature_params |
No | The configuration settings for a computer use action. Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see Configure an Amazon Bedrock Agent to complete tasks with computer use tools . |
action_group_executor |
No | The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action. |
action_group_state |
No | Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request. |
api_schema |
No | Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas . |
function_schema |
No | Contains details about the function schema for the action group or the JSON or YAML-formatted payload defining the schema. |
Output
UpdateAgentActionGroupOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
agent_action_group |
AgentActionGroupOutput | None |
Always present | AgentActionGroupOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
APISchema, ActionGroupExecutor, ActionGroupSignature, ActionGroupState, FunctionSchema, UpdateAgentActionGroupOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock_agent.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.