deleteDeploymentConfig method

Future<void> deleteDeploymentConfig({
  1. required String deploymentConfigName,
})

Deletes a deployment configuration.

May throw DeploymentConfigInUseException. May throw DeploymentConfigNameRequiredException. May throw InvalidDeploymentConfigNameException. May throw InvalidOperationException.

Parameter deploymentConfigName : The name of a deployment configuration associated with the user or Amazon Web Services account.

Implementation

Future<void> deleteDeploymentConfig({
  required String deploymentConfigName,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'CodeDeploy_20141006.DeleteDeploymentConfig'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'deploymentConfigName': deploymentConfigName,
    },
  );
}