describeTargetGroupAttributes method

Future<DescribeTargetGroupAttributesOutput> describeTargetGroupAttributes({
  1. required String targetGroupArn,
})

Describes the attributes for the specified target group.

For more information, see the following:

May throw TargetGroupNotFoundException.

Parameter targetGroupArn : The Amazon Resource Name (ARN) of the target group.

Implementation

Future<DescribeTargetGroupAttributesOutput> describeTargetGroupAttributes({
  required String targetGroupArn,
}) async {
  ArgumentError.checkNotNull(targetGroupArn, 'targetGroupArn');
  final $request = <String, dynamic>{};
  $request['TargetGroupArn'] = targetGroupArn;
  final $result = await _protocol.send(
    $request,
    action: 'DescribeTargetGroupAttributes',
    version: '2015-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeTargetGroupAttributesInput'],
    shapes: shapes,
    resultWrapper: 'DescribeTargetGroupAttributesResult',
  );
  return DescribeTargetGroupAttributesOutput.fromXml($result);
}