getRoom method

Future<GetRoomResponse> getRoom({
  1. required String identifier,
})

Gets the specified room.

May throw AccessDeniedException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter identifier : Identifier of the room for which the configuration is to be retrieved. Currently this must be an ARN.

Implementation

Future<GetRoomResponse> getRoom({
  required String identifier,
}) async {
  final $payload = <String, dynamic>{
    'identifier': identifier,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/GetRoom',
    exceptionFnMap: _exceptionFns,
  );
  return GetRoomResponse.fromJson(response);
}