func (this *RootFlag) GetCloudWatchLogsClientParams() (params Aws.CloudWatchLogsClientParams) {
	params.Profile = this.profile
	params.Region = this.region
	params.AwsAccessKeyId = this.awsAccessKeyId
	params.AwsSecretAccessKey = this.awsSecretAccessKey
	return
}
GetCloudWatchLogsClientParams creates a CloudWatchLogsClientParams by root flags.
package cmd
import (
	"fmt"
	"os"
	Aws "github.com/cm-igarashi-ryosuke/lazy-awslogs/lib/aws"
	Config "github.com/cm-igarashi-ryosuke/lazy-awslogs/lib/config"
	homedir "github.com/mitchellh/go-homedir"
	"github.com/spf13/cobra"
	"github.com/spf13/viper"
)
type RootFlag struct {
	cfgFile            string
	profile            string
	region             string
	awsAccessKeyId     string
	awsSecretAccessKey string
	verbose            bool
}