[][src]Struct rusoto_athena::WorkGroupConfiguration

pub struct WorkGroupConfiguration {
    pub bytes_scanned_cutoff_per_query: Option<i64>,
    pub enforce_work_group_configuration: Option<bool>,
    pub publish_cloud_watch_metrics_enabled: Option<bool>,
    pub requester_pays_enabled: Option<bool>,
    pub result_configuration: Option<ResultConfiguration>,
}

The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup and whether workgroup settings override query settings, and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

Fields

bytes_scanned_cutoff_per_query: Option<i64>

The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.

enforce_work_group_configuration: Option<bool>

If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.

publish_cloud_watch_metrics_enabled: Option<bool>

Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.

requester_pays_enabled: Option<bool>

If set to true, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to false, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.

result_configuration: Option<ResultConfiguration>

The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. To run the query, you must specify the query results location using one of the ways: either in the workgroup using this setting, or for individual queries (client-side), using ResultConfiguration$OutputLocation. If none of them is set, Athena issues an error that no output location is provided. For more information, see Query Results.

Trait Implementations

impl Clone for WorkGroupConfiguration[src]

impl Default for WorkGroupConfiguration[src]

impl PartialEq<WorkGroupConfiguration> for WorkGroupConfiguration[src]

impl Debug for WorkGroupConfiguration[src]

impl StructuralPartialEq for WorkGroupConfiguration[src]

impl<'de> Deserialize<'de> for WorkGroupConfiguration[src]

impl Serialize for WorkGroupConfiguration[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self