AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

WorkGroupConfigurationUpdates

import "github.com/aws/aws-sdk-go/service/athena"

type WorkGroupConfigurationUpdates struct { BytesScannedCutoffPerQuery *int64 `min:"1e+07" type:"long"` EnforceWorkGroupConfiguration *bool `type:"boolean"` PublishCloudWatchMetricsEnabled *bool `type:"boolean"` RemoveBytesScannedCutoffPerQuery *bool `type:"boolean"` ResultConfigurationUpdates *ResultConfigurationUpdates `type:"structure"` }

The configuration information that will be updated for this 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, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified.

BytesScannedCutoffPerQuery

Type: *int64

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

EnforceWorkGroupConfiguration

Type: *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 (https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html).

PublishCloudWatchMetricsEnabled

Type: *bool

Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.

RemoveBytesScannedCutoffPerQuery

Type: *bool

Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery

ResultConfigurationUpdates

The information about the updates in the query results, such as output location and encryption configuration for the query results.

Method

GoString

func (s WorkGroupConfigurationUpdates) GoString() string

GoString returns the string representation

SetBytesScannedCutoffPerQuery

func (s *WorkGroupConfigurationUpdates) SetBytesScannedCutoffPerQuery(v int64) *WorkGroupConfigurationUpdates

SetBytesScannedCutoffPerQuery sets the BytesScannedCutoffPerQuery field's value.

SetEnforceWorkGroupConfiguration

func (s *WorkGroupConfigurationUpdates) SetEnforceWorkGroupConfiguration(v bool) *WorkGroupConfigurationUpdates

SetEnforceWorkGroupConfiguration sets the EnforceWorkGroupConfiguration field's value.

SetPublishCloudWatchMetricsEnabled

func (s *WorkGroupConfigurationUpdates) SetPublishCloudWatchMetricsEnabled(v bool) *WorkGroupConfigurationUpdates

SetPublishCloudWatchMetricsEnabled sets the PublishCloudWatchMetricsEnabled field's value.

SetRemoveBytesScannedCutoffPerQuery

func (s *WorkGroupConfigurationUpdates) SetRemoveBytesScannedCutoffPerQuery(v bool) *WorkGroupConfigurationUpdates

SetRemoveBytesScannedCutoffPerQuery sets the RemoveBytesScannedCutoffPerQuery field's value.

SetResultConfigurationUpdates

func (s *WorkGroupConfigurationUpdates) SetResultConfigurationUpdates(v *ResultConfigurationUpdates) *WorkGroupConfigurationUpdates

SetResultConfigurationUpdates sets the ResultConfigurationUpdates field's value.

String

func (s WorkGroupConfigurationUpdates) String() string

String returns the string representation

Validate

func (s *WorkGroupConfigurationUpdates) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: