getGatewayTarget method
Retrieves information about a specific gateway target.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter gatewayIdentifier :
The identifier of the gateway that contains the target.
Parameter targetId :
The unique identifier of the target to retrieve.
Implementation
Future<GetGatewayTargetResponse> getGatewayTarget({
required String gatewayIdentifier,
required String targetId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/gateways/${Uri.encodeComponent(gatewayIdentifier)}/targets/${Uri.encodeComponent(targetId)}/',
exceptionFnMap: _exceptionFns,
);
return GetGatewayTargetResponse.fromJson(response);
}