deleteSpace method

Future<void> deleteSpace({
  1. required String spaceId,
})

Deletes an AWS re:Post Private private re:Post.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter spaceId : The unique ID of the private re:Post.

Implementation

Future<void> deleteSpace({
  required String spaceId,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/spaces/${Uri.encodeComponent(spaceId)}',
    exceptionFnMap: _exceptionFns,
  );
}