#[non_exhaustive]pub struct QueryResultsS3AccessGrantsConfiguration {
pub enable_s3_access_grants: bool,
pub create_user_level_prefix: Option<bool>,
pub authentication_type: AuthenticationType,
}Expand description
Specifies whether Amazon S3 access grants are enabled for query results.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.enable_s3_access_grants: boolSpecifies whether Amazon S3 access grants are enabled for query results.
create_user_level_prefix: Option<bool>When enabled, appends the user ID as an Amazon S3 path prefix to the query result output location.
authentication_type: AuthenticationTypeThe authentication type used for Amazon S3 access grants. Currently, only DIRECTORY_IDENTITY is supported.
Implementations§
source§impl QueryResultsS3AccessGrantsConfiguration
impl QueryResultsS3AccessGrantsConfiguration
sourcepub fn enable_s3_access_grants(&self) -> bool
pub fn enable_s3_access_grants(&self) -> bool
Specifies whether Amazon S3 access grants are enabled for query results.
sourcepub fn create_user_level_prefix(&self) -> Option<bool>
pub fn create_user_level_prefix(&self) -> Option<bool>
When enabled, appends the user ID as an Amazon S3 path prefix to the query result output location.
sourcepub fn authentication_type(&self) -> &AuthenticationType
pub fn authentication_type(&self) -> &AuthenticationType
The authentication type used for Amazon S3 access grants. Currently, only DIRECTORY_IDENTITY is supported.
source§impl QueryResultsS3AccessGrantsConfiguration
impl QueryResultsS3AccessGrantsConfiguration
sourcepub fn builder() -> QueryResultsS3AccessGrantsConfigurationBuilder
pub fn builder() -> QueryResultsS3AccessGrantsConfigurationBuilder
Creates a new builder-style object to manufacture QueryResultsS3AccessGrantsConfiguration.
Trait Implementations§
source§impl Clone for QueryResultsS3AccessGrantsConfiguration
impl Clone for QueryResultsS3AccessGrantsConfiguration
source§fn clone(&self) -> QueryResultsS3AccessGrantsConfiguration
fn clone(&self) -> QueryResultsS3AccessGrantsConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq for QueryResultsS3AccessGrantsConfiguration
impl PartialEq for QueryResultsS3AccessGrantsConfiguration
source§fn eq(&self, other: &QueryResultsS3AccessGrantsConfiguration) -> bool
fn eq(&self, other: &QueryResultsS3AccessGrantsConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for QueryResultsS3AccessGrantsConfiguration
Auto Trait Implementations§
impl Freeze for QueryResultsS3AccessGrantsConfiguration
impl RefUnwindSafe for QueryResultsS3AccessGrantsConfiguration
impl Send for QueryResultsS3AccessGrantsConfiguration
impl Sync for QueryResultsS3AccessGrantsConfiguration
impl Unpin for QueryResultsS3AccessGrantsConfiguration
impl UnwindSafe for QueryResultsS3AccessGrantsConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.