delete_deployment¶
Operation¶
delete_deployment
async
¶
delete_deployment(input: DeleteDeploymentInput, plugins: list[Plugin] | None = None) -> DeleteDeploymentOutput
Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DeleteDeploymentInput
|
An instance of |
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 |
|---|---|
DeleteDeploymentOutput
|
An instance of |
Input¶
DeleteDeploymentInput
dataclass
¶
Requests API Gateway to delete a Deployment resource.
Output¶
DeleteDeploymentOutput
dataclass
¶
Dataclass for DeleteDeploymentOutput structure.