@Override
    public DescribeSubnetGroupsResult describeSubnetGroups(DescribeSubnetGroupsRequest request) {
        request = beforeClientExecution(request);
        return executeDescribeSubnetGroups(request);
    }
<p>
Returns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the
description of that group.
</p>

@param describeSubnetGroupsRequest
@return Result of the DescribeSubnetGroups operation returned by the service.
@throws SubnetGroupNotFoundException
@throws ServiceLinkedRoleNotFoundException
@sample AmazonMemoryDB.DescribeSubnetGroups
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeSubnetGroups" target="_top">AWS
     API Documentation</a>
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/AmazonMemoryDBClient.java