listTagsForResource method Null safety

Future<ListTagsForResourceResult> listTagsForResource(
  1. {required String arn}

Returns a list of the tags associated with a notification rule.

May throw ResourceNotFoundException. May throw ValidationException.

Parameter arn : The Amazon Resource Name (ARN) for the notification rule.


Future<ListTagsForResourceResult> listTagsForResource({
  required String arn,
}) async {
  ArgumentError.checkNotNull(arn, 'arn');
  final $payload = <String, dynamic>{
    'Arn': arn,
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/listTagsForResource',
    exceptionFnMap: _exceptionFns,
  return ListTagsForResourceResult.fromJson(response);