listTags method

Future<ListTagsResponse> listTags({
  1. required String resourceArn,

Lists tags for a resource.

May throw NotFoundException. May throw BadRequestException. May throw InternalServerErrorException. May throw ForbiddenException.

Parameter resourceArn : The Amazon Resource Name (ARN) of the resource tag.


Future<ListTagsResponse> listTags({
  required String resourceArn,
}) async {
  ArgumentError.checkNotNull(resourceArn, 'resourceArn');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/tags/${Uri.encodeComponent(resourceArn)}',
    exceptionFnMap: _exceptionFns,
  return ListTagsResponse.fromJson(response);