deleteProject method
Delets a project in AWS Mobile Hub.
May throw InternalFailureException. May throw ServiceUnavailableException. May throw UnauthorizedException. May throw TooManyRequestsException. May throw NotFoundException.
Parameter projectId
:
Unique project identifier.
Implementation
Future<DeleteProjectResult> deleteProject({
required String projectId,
}) async {
ArgumentError.checkNotNull(projectId, 'projectId');
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/projects/${Uri.encodeComponent(projectId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteProjectResult.fromJson(response);
}