Skip to content

delete_agent_action_group

Operation

delete_agent_action_group

delete_agent_action_group(request: DeleteAgentActionGroupInput | DeleteAgentActionGroupInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteAgentActionGroupInputDict]) -> DeleteAgentActionGroupOutput

Deletes an action group in an agent.

Parameters:

Name Type Description Default
request DeleteAgentActionGroupInput | DeleteAgentActionGroupInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[DeleteAgentActionGroupInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteAgentActionGroupOutput

An instance of DeleteAgentActionGroupOutput.

delete_agent_action_group async

delete_agent_action_group(request: DeleteAgentActionGroupInput | DeleteAgentActionGroupInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteAgentActionGroupInputDict]) -> DeleteAgentActionGroupOutput

Deletes an action group in an agent.

Parameters:

Name Type Description Default
request DeleteAgentActionGroupInput | DeleteAgentActionGroupInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[DeleteAgentActionGroupInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteAgentActionGroupOutput

An instance of DeleteAgentActionGroupOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

DeleteAgentActionGroupInputDict

Bases: TypedDict

Dictionary form of DeleteAgentActionGroupInput.

Attributes

action_group_id instance-attribute
action_group_id: Required[str]

The unique identifier of the action group to delete.

agent_id instance-attribute
agent_id: Required[str]

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

agent_version instance-attribute
agent_version: Required[str]

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

skip_resource_in_use_check instance-attribute
skip_resource_in_use_check: bool | None

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.

DeleteAgentActionGroupInput dataclass

Bases: _SerdeShape

Dataclass for DeleteAgentActionGroupInput structure.

Attributes

action_group_id class-attribute instance-attribute
action_group_id: str | None = ...

The unique identifier of the action group to delete.

agent_id class-attribute instance-attribute
agent_id: str | None = ...

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

agent_version class-attribute instance-attribute
agent_version: str | None = ...

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

skip_resource_in_use_check class-attribute instance-attribute
skip_resource_in_use_check: bool = ...

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.

Output

DeleteAgentActionGroupOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteAgentActionGroupOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.