getSpace method

Future<GetSpaceOutput> getSpace({
  1. required String spaceId,
})

Displays information about the 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 ID of the private re:Post.

Implementation

Future<GetSpaceOutput> getSpace({
  required String spaceId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/spaces/${Uri.encodeComponent(spaceId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetSpaceOutput.fromJson(response);
}