listTagsForResource method

Future<ListTagsForResourceResponse> listTagsForResource({
  1. required String resourceARN,
})

Lists the tags applied to an Amazon Chime SDK meeting resource.

May throw BadRequestException. May throw ForbiddenException. May throw NotFoundException. May throw UnauthorizedClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.

Parameter resourceARN : The resource ARN.

Implementation

Future<ListTagsForResourceResponse> listTagsForResource({
  required String resourceARN,
}) async {
  ArgumentError.checkNotNull(resourceARN, 'resourceARN');
  _s.validateStringLength(
    'resourceARN',
    resourceARN,
    1,
    1024,
    isRequired: true,
  );
  final $query = <String, List<String>>{
    'arn': [resourceARN],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/tags',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return ListTagsForResourceResponse.fromJson(response);
}