Class: Aws::Athena::Types::WorkGroupConfigurationUpdates
- Inherits:
-
Struct
- Object
- Struct
- Aws::Athena::Types::WorkGroupConfigurationUpdates
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-athena/types.rb
Overview
When making an API call, you may pass WorkGroupConfigurationUpdates data as a hash:
{
enforce_work_group_configuration: false,
result_configuration_updates: {
output_location: "String",
remove_output_location: false,
encryption_configuration: {
encryption_option: "SSE_S3", # required, accepts SSE_S3, SSE_KMS, CSE_KMS
kms_key: "String",
},
remove_encryption_configuration: false,
},
publish_cloud_watch_metrics_enabled: false,
bytes_scanned_cutoff_per_query: 1,
remove_bytes_scanned_cutoff_per_query: false,
}
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.
Instance Attribute Summary collapse
-
#bytes_scanned_cutoff_per_query ⇒ Integer
The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
-
#enforce_work_group_configuration ⇒ Boolean
If set to “true”, the settings for the workgroup override client-side settings.
-
#publish_cloud_watch_metrics_enabled ⇒ Boolean
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
-
#remove_bytes_scanned_cutoff_per_query ⇒ Boolean
Indicates that the data usage control limit per query is removed.
-
#result_configuration_updates ⇒ Types::ResultConfigurationUpdates
The result configuration information about the queries in this workgroup that will be updated.
Instance Attribute Details
#bytes_scanned_cutoff_per_query ⇒ Integer
The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
1548 1549 1550 1551 1552 1553 1554 1555 |
# File 'lib/aws-sdk-athena/types.rb', line 1548 class WorkGroupConfigurationUpdates < Struct.new( :enforce_work_group_configuration, :result_configuration_updates, :publish_cloud_watch_metrics_enabled, :bytes_scanned_cutoff_per_query, :remove_bytes_scanned_cutoff_per_query) include Aws::Structure end |
#enforce_work_group_configuration ⇒ Boolean
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].
[1]: docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html
1548 1549 1550 1551 1552 1553 1554 1555 |
# File 'lib/aws-sdk-athena/types.rb', line 1548 class WorkGroupConfigurationUpdates < Struct.new( :enforce_work_group_configuration, :result_configuration_updates, :publish_cloud_watch_metrics_enabled, :bytes_scanned_cutoff_per_query, :remove_bytes_scanned_cutoff_per_query) include Aws::Structure end |
#publish_cloud_watch_metrics_enabled ⇒ Boolean
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
1548 1549 1550 1551 1552 1553 1554 1555 |
# File 'lib/aws-sdk-athena/types.rb', line 1548 class WorkGroupConfigurationUpdates < Struct.new( :enforce_work_group_configuration, :result_configuration_updates, :publish_cloud_watch_metrics_enabled, :bytes_scanned_cutoff_per_query, :remove_bytes_scanned_cutoff_per_query) include Aws::Structure end |
#remove_bytes_scanned_cutoff_per_query ⇒ Boolean
Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery
1548 1549 1550 1551 1552 1553 1554 1555 |
# File 'lib/aws-sdk-athena/types.rb', line 1548 class WorkGroupConfigurationUpdates < Struct.new( :enforce_work_group_configuration, :result_configuration_updates, :publish_cloud_watch_metrics_enabled, :bytes_scanned_cutoff_per_query, :remove_bytes_scanned_cutoff_per_query) include Aws::Structure end |
#result_configuration_updates ⇒ Types::ResultConfigurationUpdates
The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.
1548 1549 1550 1551 1552 1553 1554 1555 |
# File 'lib/aws-sdk-athena/types.rb', line 1548 class WorkGroupConfigurationUpdates < Struct.new( :enforce_work_group_configuration, :result_configuration_updates, :publish_cloud_watch_metrics_enabled, :bytes_scanned_cutoff_per_query, :remove_bytes_scanned_cutoff_per_query) include Aws::Structure end |