delete_deployment_strategy

delete_deployment_strategy(**kwargs)

Deletes a deployment strategy. Deleting a deployment strategy does not delete a configuration from a host.

See also: AWS API Documentation

Request Syntax

response = client.delete_deployment_strategy(
    DeploymentStrategyId='string'
)
Parameters
DeploymentStrategyId (string) --

[REQUIRED]

The ID of the deployment strategy you want to delete.

Returns
None

Exceptions

  • AppConfig.Client.exceptions.ResourceNotFoundException
  • AppConfig.Client.exceptions.InternalServerException
  • AppConfig.Client.exceptions.BadRequestException

Examples

The following delete-deployment-strategy example deletes the specified deployment strategy.

response = client.delete_deployment_strategy(
    DeploymentStrategyId='1225qzk',
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}