@Override
    public ListTagsResult listTags(ListTagsRequest request) {
        request = beforeClientExecution(request);
        return executeListTags(request);
    }
<p>
Returns all resource tags for an Amazon OpenSearch Service domain. For more information, see <a href=
"https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-awsresourcetagging.html"
>Tagging Amazon OpenSearch Service domains</a>.
</p>

@param listTagsRequest
       Container for the parameters to the <code>ListTags</code> operation.
@return Result of the ListTags operation returned by the service.
@throws BaseException
        An error occurred while processing the request.
@throws ResourceNotFoundException
        An exception for accessing or deleting a resource that doesn't exist.
@throws ValidationException
        An exception for accessing or deleting a resource that doesn't exist.
@throws InternalException
        Request processing failed because of an unknown error, exception, or internal failure.
@sample AmazonOpenSearch.ListTags
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/AmazonOpenSearchClient.java