@Override
    public DescribePackagesResult describePackages(DescribePackagesRequest request) {
        request = beforeClientExecution(request);
        return executeDescribePackages(request);
    }
<p>
Describes all packages available to OpenSearch Service. For more information, see <a
href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html">Custom packages
for Amazon OpenSearch Service</a>.
</p>

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