listTags method
Returns all tags for the given Elasticsearch domain.
May throw BaseException. May throw ResourceNotFoundException. May throw ValidationException. May throw InternalException.
Parameter arn
:
Specify the ARN
for the Elasticsearch domain to which the
tags are attached that you want to view.
Implementation
Future<ListTagsResponse> listTags({
required String arn,
}) async {
ArgumentError.checkNotNull(arn, 'arn');
final $query = <String, List<String>>{
'arn': [arn],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/2015-01-01/tags/',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListTagsResponse.fromJson(response);
}