deleteWorkspaceInstance method
Deletes the specified WorkSpace
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter workspaceInstanceId :
Unique identifier of the WorkSpaces Instance targeted for deletion.
Implementation
Future<void> deleteWorkspaceInstance({
required String workspaceInstanceId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'EUCMIFrontendAPIService.DeleteWorkspaceInstance'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'WorkspaceInstanceId': workspaceInstanceId,
},
);
}