deleteDeploymentStrategy method
Delete a deployment strategy. Deleting a deployment strategy does not delete a configuration from a host.
May throw ResourceNotFoundException. May throw InternalServerException. May throw BadRequestException.
Parameter deploymentStrategyId
:
The ID of the deployment strategy you want to delete.
Implementation
Future<void> deleteDeploymentStrategy({
required String deploymentStrategyId,
}) async {
ArgumentError.checkNotNull(deploymentStrategyId, 'deploymentStrategyId');
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/deployementstrategies/${Uri.encodeComponent(deploymentStrategyId)}',
exceptionFnMap: _exceptionFns,
);
}