getResourceGateway method

Future<GetResourceGatewayResponse> getResourceGateway({
  1. required String resourceGatewayIdentifier,
})

Retrieves information about the specified resource gateway.

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

Parameter resourceGatewayIdentifier : The ID of the resource gateway.

Implementation

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