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.

UpdateWorkGroupInput

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

type UpdateWorkGroupInput struct { ConfigurationUpdates *WorkGroupConfigurationUpdates `type:"structure"` Description *string `type:"string"` State *string `type:"string" enum:"WorkGroupState"` WorkGroup *string `type:"string" required:"true"` }

ConfigurationUpdates

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.

Description

Type: *string

The workgroup description.

State

Type: *string

The workgroup state that will be updated for the given workgroup.

WorkGroup

Type: *string

The specified workgroup that will be updated.

WorkGroup is a required field

Method

GoString

func (s UpdateWorkGroupInput) GoString() string

GoString returns the string representation

SetConfigurationUpdates

func (s *UpdateWorkGroupInput) SetConfigurationUpdates(v *WorkGroupConfigurationUpdates) *UpdateWorkGroupInput

SetConfigurationUpdates sets the ConfigurationUpdates field's value.

SetDescription

func (s *UpdateWorkGroupInput) SetDescription(v string) *UpdateWorkGroupInput

SetDescription sets the Description field's value.

SetState

func (s *UpdateWorkGroupInput) SetState(v string) *UpdateWorkGroupInput

SetState sets the State field's value.

SetWorkGroup

func (s *UpdateWorkGroupInput) SetWorkGroup(v string) *UpdateWorkGroupInput

SetWorkGroup sets the WorkGroup field's value.

String

func (s UpdateWorkGroupInput) String() string

String returns the string representation

Validate

func (s *UpdateWorkGroupInput) Validate() error

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

On this page: