func GetRDSName(rdsname *string, svc *rds.Client) string {
	params := &rds.DescribeDBInstancesInput{
		DBInstanceIdentifier: rdsname,
	}
	resp, err := svc.DescribeDBInstances(context.TODO(), params)

	if err != nil {
		panic(err)
	}

	for _, instance := range resp.DBInstances {
		return aws.ToString(instance.DBInstanceIdentifier)
	}
	return ""
}
// GetRDSName returns the name of the provided RDS Resource
GetRDSName returns the name of the provided RDS Resource
// GetRDSName returns the name of the provided RDS Resource
func GetRDSName(rdsname *string, svc *rds.Client) string {
	params := &rds.DescribeDBInstancesInput{
		DBInstanceIdentifier: rdsname,
	}
	resp, err := svc.DescribeDBInstances(context.TODO(), params)
	if err != nil {
		panic(err)
	}
	for _, instance := range resp.DBInstances {
		return aws.ToString(instance.DBInstanceIdentifier)
	}
	return ""
}
func GetRDSName ( rdsname * string , svc * rds . Client ) string { params := & rds . DescribeDBInstancesInput { DBInstanceIdentifier : rdsname , } resp , err := svc . DescribeDBInstances ( context . TODO ( ) , params ) if err != nil { panic ( err ) } for _ , instance := range resp . DBInstances { return aws . ToString ( instance . DBInstanceIdentifier ) } return " " }
GetRDSName returns the name of the provided RDS Resource
GetRDSName returns the name of the provided RDS Resource