Class: Aws::Athena::Types::ResultConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-athena/types.rb

Overview

Note:

When making an API call, you may pass ResultConfiguration data as a 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 location for the query results and the encryption configuration that are specified for the workgroup.

Instance Attribute Summary collapse

Instance Attribute Details

#encryption_configurationTypes::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].

[1]: docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html



926
927
928
929
930
# File 'lib/aws-sdk-athena/types.rb', line 926

class ResultConfiguration < Struct.new(
  :output_location,
  :encryption_configuration)
  include Aws::Structure
end

#output_locationString

The location in Amazon S3 where your query results are stored, such as ‘s3://path/to/query/bucket/`. For more information, see [Queries and Query Result Files.] If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The “workgroup settings override” is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

[1]: docs.aws.amazon.com/athena/latest/ug/querying.html

Returns:

  • (String)


926
927
928
929
930
# File 'lib/aws-sdk-athena/types.rb', line 926

class ResultConfiguration < Struct.new(
  :output_location,
  :encryption_configuration)
  include Aws::Structure
end