Struct aws_sdk_athena::types::ResultConfigurationUpdates
source · #[non_exhaustive]pub struct ResultConfigurationUpdates {
pub output_location: Option<String>,
pub remove_output_location: Option<bool>,
pub encryption_configuration: Option<EncryptionConfiguration>,
pub remove_encryption_configuration: Option<bool>,
pub expected_bucket_owner: Option<String>,
pub remove_expected_bucket_owner: Option<bool>,
pub acl_configuration: Option<AclConfiguration>,
pub remove_acl_configuration: Option<bool>,
}Expand description
The information about the updates in the query results, such as output location and encryption configuration for the query results.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.output_location: Option<String>The location in Amazon S3 where your query and calculation results are stored, such as s3://path/to/query/bucket/. For more information, see Working with query results, recent queries, and output 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.
remove_output_location: Option<bool>If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
encryption_configuration: Option<EncryptionConfiguration>The encryption configuration for query and calculation results.
remove_encryption_configuration: Option<bool>If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
expected_bucket_owner: Option<String>The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.
If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting 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.
remove_expected_bucket_owner: Option<bool>If set to "true", removes the Amazon Web Services account ID previously specified for ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
acl_configuration: Option<AclConfiguration>The ACL configuration for the query results.
remove_acl_configuration: Option<bool>If set to true, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set to false or not set, and a value is present in the AclConfiguration of ResultConfigurationUpdates, the AclConfiguration in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
Implementations§
source§impl ResultConfigurationUpdates
impl ResultConfigurationUpdates
sourcepub fn output_location(&self) -> Option<&str>
pub fn output_location(&self) -> Option<&str>
The location in Amazon S3 where your query and calculation results are stored, such as s3://path/to/query/bucket/. For more information, see Working with query results, recent queries, and output 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.
sourcepub fn remove_output_location(&self) -> Option<bool>
pub fn remove_output_location(&self) -> Option<bool>
If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
pub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
The encryption configuration for query and calculation results.
sourcepub fn remove_encryption_configuration(&self) -> Option<bool>
pub fn remove_encryption_configuration(&self) -> Option<bool>
If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn expected_bucket_owner(&self) -> Option<&str>
pub fn expected_bucket_owner(&self) -> Option<&str>
The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.
If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting 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.
sourcepub fn remove_expected_bucket_owner(&self) -> Option<bool>
pub fn remove_expected_bucket_owner(&self) -> Option<bool>
If set to "true", removes the Amazon Web Services account ID previously specified for ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
sourcepub fn acl_configuration(&self) -> Option<&AclConfiguration>
pub fn acl_configuration(&self) -> Option<&AclConfiguration>
The ACL configuration for the query results.
sourcepub fn remove_acl_configuration(&self) -> Option<bool>
pub fn remove_acl_configuration(&self) -> Option<bool>
If set to true, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set to false or not set, and a value is present in the AclConfiguration of ResultConfigurationUpdates, the AclConfiguration in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
source§impl ResultConfigurationUpdates
impl ResultConfigurationUpdates
sourcepub fn builder() -> ResultConfigurationUpdatesBuilder
pub fn builder() -> ResultConfigurationUpdatesBuilder
Creates a new builder-style object to manufacture ResultConfigurationUpdates.
Trait Implementations§
source§impl Clone for ResultConfigurationUpdates
impl Clone for ResultConfigurationUpdates
source§fn clone(&self) -> ResultConfigurationUpdates
fn clone(&self) -> ResultConfigurationUpdates
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ResultConfigurationUpdates
impl Debug for ResultConfigurationUpdates
source§impl PartialEq<ResultConfigurationUpdates> for ResultConfigurationUpdates
impl PartialEq<ResultConfigurationUpdates> for ResultConfigurationUpdates
source§fn eq(&self, other: &ResultConfigurationUpdates) -> bool
fn eq(&self, other: &ResultConfigurationUpdates) -> bool
self and other values to be equal, and is used
by ==.