listTagsForResource method
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.
Implementation
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);
}