You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: aws_acm_helper.go
    path of file: ./repos/dotenx/ao-api/pkg/utils
    
    the code of the file until where you have to start completion: package utils

import (
	"errors"
	"strings"
	"time"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/credentials"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/acm"
	"github.com/dotenx/dotenx/ao-api/config"
	"github.com/sirupsen/logrus"
)

// RequestCertificate requests a certificate from AWS Certificate Manager and returns the ARN of the certificate plus the validation record name and value
func RequestSubdomainCertificate(fqdn string) (certificateArn, valid
    
func ValidateCertificate(tlsArn string) (bool, error) {
	cfg := &aws.Config{
		Region: aws.String(config.Configs.Upload.S3Region),
	}
	if config.Configs.App.RunLocally {
		creds := credentials.NewStaticCredentials(config.Configs.Secrets.AwsAccessKeyId, config.Configs.Secrets.AwsSecretAccessKey, "")

		cfg = aws.NewConfig().WithRegion(config.Configs.Upload.S3Region).WithCredentials(creds)
	}
	svc := acm.New(session.New(), cfg)
	input := &acm.DescribeCertificateInput{
		CertificateArn: aws.String(tlsArn),
	}
	result, err := svc.DescribeCertificate(input)
	if err != nil {
		return false, err
	}
	if result.Certificate.Status == nil {
		return false, nil
	}
	return *result.Certificate.Status == "ISSUED", nil
}