deleteCloudVmCluster method

Future<void> deleteCloudVmCluster({
  1. required String cloudVmClusterId,
})

Deletes the specified VM cluster.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter cloudVmClusterId : The unique identifier of the VM cluster to delete.

Implementation

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