getRequesterGateway method

Future<GetRequesterGatewayResponse> getRequesterGateway({
  1. required String gatewayId,
})

Retrieves information about a requester gateway.

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

Parameter gatewayId : The unique identifier of the gateway.

Implementation

Future<GetRequesterGatewayResponse> getRequesterGateway({
  required String gatewayId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/requester-gateway/${Uri.encodeComponent(gatewayId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetRequesterGatewayResponse.fromJson(response);
}