:doc:`AgentsforBedrock <../../bedrock-agent>` / Client / delete_agent_action_group

*************************
delete_agent_action_group
*************************



.. py:method:: AgentsforBedrock.Client.delete_agent_action_group(**kwargs)

  

  Deletes an action group in an agent.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeleteAgentActionGroup>`_  


  **Request Syntax**
  ::

    response = client.delete_agent_action_group(
        agentId='string',
        agentVersion='string',
        actionGroupId='string',
        skipResourceInUseCheck=True|False
    )
    
  :type agentId: string
  :param agentId: **[REQUIRED]** 

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

    

  
  :type agentVersion: string
  :param agentVersion: **[REQUIRED]** 

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

    

  
  :type actionGroupId: string
  :param actionGroupId: **[REQUIRED]** 

    The unique identifier of the action group to delete.

    

  
  :type skipResourceInUseCheck: boolean
  :param skipResourceInUseCheck: 

    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.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`AgentsforBedrock.Client.exceptions.ThrottlingException`

  
  *   :py:class:`AgentsforBedrock.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`AgentsforBedrock.Client.exceptions.ValidationException`

  
  *   :py:class:`AgentsforBedrock.Client.exceptions.InternalServerException`

  
  *   :py:class:`AgentsforBedrock.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`AgentsforBedrock.Client.exceptions.ConflictException`

  