You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Athena::Types::ResultConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Athena::Types::ResultConfiguration
- Defined in:
- (unknown)
Overview
When passing ResultConfiguration as input to an Aws::Client method, you can use a vanilla Hash:
{
output_location: "String",
encryption_configuration: {
encryption_option: "SSE_S3", # required, accepts SSE_S3, SSE_KMS, CSE_KMS
kms_key: "String",
},
}
The location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the workgroup settings.
Returned by:
Instance Attribute Summary collapse
-
#encryption_configuration ⇒ Types::EncryptionConfiguration
If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS
orCSE-KMS
) and key information. -
#output_location ⇒ String
The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/
.
Instance Attribute Details
#encryption_configuration ⇒ Types::EncryptionConfiguration
If query results are encrypted in Amazon S3, indicates the encryption
option used (for example, SSE-KMS
or CSE-KMS
) and key information.
This is a client-side setting. If workgroup settings override
client-side settings, then the query uses the encryption configuration
that is specified for the workgroup, and also uses the location for
storing query results specified in the workgroup. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration and
Workgroup Settings Override Client-Side Settings.
#output_location ⇒ String
The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/
. To run the query, you must specify the
query results location using one of the ways: either for individual
queries using either this setting (client-side), or in the workgroup,
using WorkGroupConfiguration. If none of them is set, Athena
issues an error that no output location is provided. For more
information, see Query Results. If workgroup settings override
client-side settings, then the query uses the settings specified for the
workgroup. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.