Skip to content

Update Work Group

athena_update_work_group R Documentation

Updates the workgroup with the specified name

Description

Updates the workgroup with the specified name. The workgroup's name cannot be changed. Only ConfigurationUpdates can be specified.

Usage

athena_update_work_group(WorkGroup, Description, ConfigurationUpdates,
  State)

Arguments

WorkGroup

[required] The specified workgroup that will be updated.

Description

The workgroup description.

ConfigurationUpdates

Contains configuration updates for an Athena SQL workgroup.

State

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

Value

An empty list.

Request syntax

svc$update_work_group(
  WorkGroup = "string",
  Description = "string",
  ConfigurationUpdates = list(
    EnforceWorkGroupConfiguration = TRUE|FALSE,
    ResultConfigurationUpdates = list(
      OutputLocation = "string",
      RemoveOutputLocation = TRUE|FALSE,
      EncryptionConfiguration = list(
        EncryptionOption = "SSE_S3"|"SSE_KMS"|"CSE_KMS",
        KmsKey = "string"
      ),
      RemoveEncryptionConfiguration = TRUE|FALSE,
      ExpectedBucketOwner = "string",
      RemoveExpectedBucketOwner = TRUE|FALSE,
      AclConfiguration = list(
        S3AclOption = "BUCKET_OWNER_FULL_CONTROL"
      ),
      RemoveAclConfiguration = TRUE|FALSE
    ),
    PublishCloudWatchMetricsEnabled = TRUE|FALSE,
    BytesScannedCutoffPerQuery = 123,
    RemoveBytesScannedCutoffPerQuery = TRUE|FALSE,
    RequesterPaysEnabled = TRUE|FALSE,
    EngineVersion = list(
      SelectedEngineVersion = "string",
      EffectiveEngineVersion = "string"
    ),
    RemoveCustomerContentEncryptionConfiguration = TRUE|FALSE,
    AdditionalConfiguration = "string",
    ExecutionRole = "string",
    CustomerContentEncryptionConfiguration = list(
      KmsKey = "string"
    ),
    EnableMinimumEncryptionConfiguration = TRUE|FALSE,
    QueryResultsS3AccessGrantsConfiguration = list(
      EnableS3AccessGrants = TRUE|FALSE,
      CreateUserLevelPrefix = TRUE|FALSE,
      AuthenticationType = "DIRECTORY_IDENTITY"
    )
  ),
  State = "ENABLED"|"DISABLED"
)