getTargetGroup method
Retrieves information about the specified target group.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter targetGroupIdentifier :
The ID or ARN of the target group.
Implementation
Future<GetTargetGroupResponse> getTargetGroup({
required String targetGroupIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/targetgroups/${Uri.encodeComponent(targetGroupIdentifier)}',
exceptionFnMap: _exceptionFns,
);
return GetTargetGroupResponse.fromJson(response);
}