AgentsforBedrock / Client / delete_agent_action_group

delete_agent_action_group#

AgentsforBedrock.Client.delete_agent_action_group(**kwargs)#

Deletes an action group in an agent.

See also: AWS API Documentation

Request Syntax

response = client.delete_agent_action_group(
    actionGroupId='string',
    agentId='string',
    agentVersion='string',
    skipResourceInUseCheck=True|False
)
Parameters:
  • actionGroupId (string) –

    [REQUIRED]

    The unique identifier of the action group to delete.

  • agentId (string) –

    [REQUIRED]

    The unique identifier of the agent that the action group belongs to.

  • agentVersion (string) –

    [REQUIRED]

    The version of the agent that the action group belongs to.

  • skipResourceInUseCheck (boolean) – By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • AgentsforBedrock.Client.exceptions.ThrottlingException

  • AgentsforBedrock.Client.exceptions.AccessDeniedException

  • AgentsforBedrock.Client.exceptions.ValidationException

  • AgentsforBedrock.Client.exceptions.InternalServerException

  • AgentsforBedrock.Client.exceptions.ResourceNotFoundException

  • AgentsforBedrock.Client.exceptions.ConflictException