pub struct Apply {
pub file: PathBuf,
pub context: Option<PathBuf>,
pub dry_run: Option<bool>,
pub profile: Option<String>,
pub region: Option<String>,
pub workgroup: Option<String>,
pub output_location: Option<String>,
pub no_pretty: Option<bool>,
}
Fields§
§file: PathBuf
Target path to render. If the target path is a directory, the root folder must contains the index.sql file
context: Option<PathBuf>
Change the context current working dir
dry_run: Option<bool>
Dry-run
profile: Option<String>
AWS Profile Set this option via environment variable: export AWS_PROFILE=default
region: Option<String>
AWS Region Set this option via environment variable: export AWS_DEFAULT_REGION=us-east-1
workgroup: Option<String>
AWS Athena Workgroup Set this option via environment variable: export AWS_WORKGROUP=primary
output_location: Option<String>
AWS Athena output location
The location in Amazon S3 where your query results are stored
such as s3://path/to/query/bucket/
Set this option via environment variable: export AWS_OUTPUT_LOCATION=s3://bucket/
no_pretty: Option<bool>
No pretty print for SQL
Trait Implementations§
source§impl FromArgMatches for Apply
impl FromArgMatches for Apply
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.