listTagsForResource method
Lists all tags on an Amazon Neptune resource.
May throw DBInstanceNotFoundFault. May throw DBSnapshotNotFoundFault. May throw DBClusterNotFoundFault.
Parameter resourceName
:
The Amazon Neptune resource with tags to be listed. This value is an
Amazon Resource Name (ARN). For information about creating an ARN, see
Constructing an Amazon Resource Name (ARN).
Parameter filters
:
This parameter is not currently supported.
Implementation
Future<TagListMessage> listTagsForResource({
required String resourceName,
List<Filter>? filters,
}) async {
ArgumentError.checkNotNull(resourceName, 'resourceName');
final $request = <String, dynamic>{};
$request['ResourceName'] = resourceName;
filters?.also((arg) => $request['Filters'] = arg);
final $result = await _protocol.send(
$request,
action: 'ListTagsForResource',
version: '2014-10-31',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['ListTagsForResourceMessage'],
shapes: shapes,
resultWrapper: 'ListTagsForResourceResult',
);
return TagListMessage.fromXml($result);
}