Skip to content

DeleteAgent

Source code in docs_src/capo_application_discovery_service/types/delete_agent.py
class DeleteAgent(TypedDict, closed=True):
    agent_id: "capo_application_discovery_service.types.agent_id.AgentId"
    """<p> The ID of the agent or data collector to delete. </p>"""
    force: "capo_application_discovery_service.types.boolean.Boolean"
    """<p> Optional flag used to force delete an agent or data collector. It is needed to delete any agent in HEALTHY/UNHEALTHY/RUNNING status. Note that deleting an agent that is actively reporting health causes it to be re-registered with a different agent ID after data collector re-connects with Amazon Web Services. </p>"""

agent_id instance-attribute

agent_id: AgentId

The ID of the agent or data collector to delete.

force instance-attribute

force: Boolean

Optional flag used to force delete an agent or data collector. It is needed to delete any agent in HEALTHY/UNHEALTHY/RUNNING status. Note that deleting an agent that is actively reporting health causes it to be re-registered with a different agent ID after data collector re-connects with Amazon Web Services.