Skip to content

Bedrock  >  Operations  >  delete_prompt_router

delete_prompt_router

Operation

delete_prompt_router async

delete_prompt_router(input: DeletePromptRouterInput, plugins: list[Plugin] | None = None) -> DeletePromptRouterOutput

Deletes a specified prompt router. This action cannot be undone.

Parameters:

Name Type Description Default
input DeletePromptRouterInput

An instance of DeletePromptRouterInput.

required
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

Returns:

Type Description
DeletePromptRouterOutput

An instance of DeletePromptRouterOutput.

Input

DeletePromptRouterInput dataclass

Dataclass for DeletePromptRouterInput structure.

Attributes

prompt_router_arn class-attribute instance-attribute
prompt_router_arn: str | None = None

The Amazon Resource Name (ARN) of the prompt router to delete.

Output

DeletePromptRouterOutput dataclass

Dataclass for DeletePromptRouterOutput structure.