delete_agent_action_group
¶
delete_agent_action_group(
agent_id: Id,
agent_version: DraftVersion,
action_group_id: Id,
*,
config_overrides: Optional[BedrockAgentClientConfig] = None,
skip_resource_in_use_check: Optional[bool] = None,
) -> DeleteAgentActionGroupResponse
Deletes an action group in an agent.
Parameters:
-
agent_id(Id) –The unique identifier of the agent that the action group belongs to.
-
agent_version(DraftVersion) –The version of the agent that the action group belongs to.
-
action_group_id(Id) –The unique identifier of the action group to delete.
-
skip_resource_in_use_check(Optional[bool], default:None) –By default, this value is
falseand deletion is stopped if the resource is in use. If you set it totrue, the resource will be deleted even if the resource is in use.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
ConflictException–There was a conflict performing an operation.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.