describeGateway method
Retrieves information about a gateway.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter gatewayId :
The ID of the gateway device.
Implementation
Future<DescribeGatewayResponse> describeGateway({
required String gatewayId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/20200301/gateways/${Uri.encodeComponent(gatewayId)}',
hostPrefix: 'api.',
exceptionFnMap: _exceptionFns,
);
return DescribeGatewayResponse.fromJson(response);
}