describeTags method

Future<DescribeTagsOutput> describeTags({
  1. required List<String> resourceArns,
})

Describes the tags for the specified Elastic Load Balancing resources. You can describe the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, listeners, or rules.

May throw LoadBalancerNotFoundException. May throw TargetGroupNotFoundException. May throw ListenerNotFoundException. May throw RuleNotFoundException.

Parameter resourceArns : The Amazon Resource Names (ARN) of the resources. You can specify up to 20 resources in a single call.

Implementation

Future<DescribeTagsOutput> describeTags({
  required List<String> resourceArns,
}) async {
  ArgumentError.checkNotNull(resourceArns, 'resourceArns');
  final $request = <String, dynamic>{};
  $request['ResourceArns'] = resourceArns;
  final $result = await _protocol.send(
    $request,
    action: 'DescribeTags',
    version: '2015-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeTagsInput'],
    shapes: shapes,
    resultWrapper: 'DescribeTagsResult',
  );
  return DescribeTagsOutput.fromXml($result);
}