Struct aws_sdk_glue::operation::get_unfiltered_table_metadata::builders::GetUnfilteredTableMetadataInputBuilder
source · #[non_exhaustive]pub struct GetUnfilteredTableMetadataInputBuilder { /* private fields */ }
Expand description
A builder for GetUnfilteredTableMetadataInput
.
Implementations§
source§impl GetUnfilteredTableMetadataInputBuilder
impl GetUnfilteredTableMetadataInputBuilder
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
Specified only if the base tables belong to a different Amazon Web Services Region.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
Specified only if the base tables belong to a different Amazon Web Services Region.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
Specified only if the base tables belong to a different Amazon Web Services Region.
sourcepub fn catalog_id(self, input: impl Into<String>) -> Self
pub fn catalog_id(self, input: impl Into<String>) -> Self
The catalog ID where the table resides.
This field is required.sourcepub fn set_catalog_id(self, input: Option<String>) -> Self
pub fn set_catalog_id(self, input: Option<String>) -> Self
The catalog ID where the table resides.
sourcepub fn get_catalog_id(&self) -> &Option<String>
pub fn get_catalog_id(&self) -> &Option<String>
The catalog ID where the table resides.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
(Required) Specifies the name of a database that contains the table.
This field is required.sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
(Required) Specifies the name of a database that contains the table.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
(Required) Specifies the name of a database that contains the table.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
(Required) Specifies the name of a table for which you are requesting metadata.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
(Required) Specifies the name of a table for which you are requesting metadata.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
(Required) Specifies the name of a table for which you are requesting metadata.
sourcepub fn audit_context(self, input: AuditContext) -> Self
pub fn audit_context(self, input: AuditContext) -> Self
A structure containing Lake Formation audit context information.
sourcepub fn set_audit_context(self, input: Option<AuditContext>) -> Self
pub fn set_audit_context(self, input: Option<AuditContext>) -> Self
A structure containing Lake Formation audit context information.
sourcepub fn get_audit_context(&self) -> &Option<AuditContext>
pub fn get_audit_context(&self) -> &Option<AuditContext>
A structure containing Lake Formation audit context information.
sourcepub fn supported_permission_types(self, input: PermissionType) -> Self
pub fn supported_permission_types(self, input: PermissionType) -> Self
Appends an item to supported_permission_types
.
To override the contents of this collection use set_supported_permission_types
.
Indicates the level of filtering a third-party analytical engine is capable of enforcing when calling the GetUnfilteredTableMetadata
API operation. Accepted values are:
-
COLUMN_PERMISSION
- Column permissions ensure that users can access only specific columns in the table. If there are particular columns contain sensitive data, data lake administrators can define column filters that exclude access to specific columns. -
CELL_FILTER_PERMISSION
- Cell-level filtering combines column filtering (include or exclude columns) and row filter expressions to restrict access to individual elements in the table. -
NESTED_PERMISSION
- Nested permissions combines cell-level filtering and nested column filtering to restrict access to columns and/or nested columns in specific rows based on row filter expressions. -
NESTED_CELL_PERMISSION
- Nested cell permissions combines nested permission with nested cell-level filtering. This allows different subsets of nested columns to be restricted based on an array of row filter expressions.
Note: Each of these permission types follows a hierarchical order where each subsequent permission type includes all permission of the previous type.
Important: If you provide a supported permission type that doesn't match the user's level of permissions on the table, then Lake Formation raises an exception. For example, if the third-party engine calling the GetUnfilteredTableMetadata
operation can enforce only column-level filtering, and the user has nested cell filtering applied on the table, Lake Formation throws an exception, and will not return unfiltered table metadata and data access credentials.
sourcepub fn set_supported_permission_types(
self,
input: Option<Vec<PermissionType>>,
) -> Self
pub fn set_supported_permission_types( self, input: Option<Vec<PermissionType>>, ) -> Self
Indicates the level of filtering a third-party analytical engine is capable of enforcing when calling the GetUnfilteredTableMetadata
API operation. Accepted values are:
-
COLUMN_PERMISSION
- Column permissions ensure that users can access only specific columns in the table. If there are particular columns contain sensitive data, data lake administrators can define column filters that exclude access to specific columns. -
CELL_FILTER_PERMISSION
- Cell-level filtering combines column filtering (include or exclude columns) and row filter expressions to restrict access to individual elements in the table. -
NESTED_PERMISSION
- Nested permissions combines cell-level filtering and nested column filtering to restrict access to columns and/or nested columns in specific rows based on row filter expressions. -
NESTED_CELL_PERMISSION
- Nested cell permissions combines nested permission with nested cell-level filtering. This allows different subsets of nested columns to be restricted based on an array of row filter expressions.
Note: Each of these permission types follows a hierarchical order where each subsequent permission type includes all permission of the previous type.
Important: If you provide a supported permission type that doesn't match the user's level of permissions on the table, then Lake Formation raises an exception. For example, if the third-party engine calling the GetUnfilteredTableMetadata
operation can enforce only column-level filtering, and the user has nested cell filtering applied on the table, Lake Formation throws an exception, and will not return unfiltered table metadata and data access credentials.
sourcepub fn get_supported_permission_types(&self) -> &Option<Vec<PermissionType>>
pub fn get_supported_permission_types(&self) -> &Option<Vec<PermissionType>>
Indicates the level of filtering a third-party analytical engine is capable of enforcing when calling the GetUnfilteredTableMetadata
API operation. Accepted values are:
-
COLUMN_PERMISSION
- Column permissions ensure that users can access only specific columns in the table. If there are particular columns contain sensitive data, data lake administrators can define column filters that exclude access to specific columns. -
CELL_FILTER_PERMISSION
- Cell-level filtering combines column filtering (include or exclude columns) and row filter expressions to restrict access to individual elements in the table. -
NESTED_PERMISSION
- Nested permissions combines cell-level filtering and nested column filtering to restrict access to columns and/or nested columns in specific rows based on row filter expressions. -
NESTED_CELL_PERMISSION
- Nested cell permissions combines nested permission with nested cell-level filtering. This allows different subsets of nested columns to be restricted based on an array of row filter expressions.
Note: Each of these permission types follows a hierarchical order where each subsequent permission type includes all permission of the previous type.
Important: If you provide a supported permission type that doesn't match the user's level of permissions on the table, then Lake Formation raises an exception. For example, if the third-party engine calling the GetUnfilteredTableMetadata
operation can enforce only column-level filtering, and the user has nested cell filtering applied on the table, Lake Formation throws an exception, and will not return unfiltered table metadata and data access credentials.
sourcepub fn parent_resource_arn(self, input: impl Into<String>) -> Self
pub fn parent_resource_arn(self, input: impl Into<String>) -> Self
The resource ARN of the view.
sourcepub fn set_parent_resource_arn(self, input: Option<String>) -> Self
pub fn set_parent_resource_arn(self, input: Option<String>) -> Self
The resource ARN of the view.
sourcepub fn get_parent_resource_arn(&self) -> &Option<String>
pub fn get_parent_resource_arn(&self) -> &Option<String>
The resource ARN of the view.
sourcepub fn root_resource_arn(self, input: impl Into<String>) -> Self
pub fn root_resource_arn(self, input: impl Into<String>) -> Self
The resource ARN of the root view in a chain of nested views.
sourcepub fn set_root_resource_arn(self, input: Option<String>) -> Self
pub fn set_root_resource_arn(self, input: Option<String>) -> Self
The resource ARN of the root view in a chain of nested views.
sourcepub fn get_root_resource_arn(&self) -> &Option<String>
pub fn get_root_resource_arn(&self) -> &Option<String>
The resource ARN of the root view in a chain of nested views.
sourcepub fn supported_dialect(self, input: SupportedDialect) -> Self
pub fn supported_dialect(self, input: SupportedDialect) -> Self
A structure specifying the dialect and dialect version used by the query engine.
sourcepub fn set_supported_dialect(self, input: Option<SupportedDialect>) -> Self
pub fn set_supported_dialect(self, input: Option<SupportedDialect>) -> Self
A structure specifying the dialect and dialect version used by the query engine.
sourcepub fn get_supported_dialect(&self) -> &Option<SupportedDialect>
pub fn get_supported_dialect(&self) -> &Option<SupportedDialect>
A structure specifying the dialect and dialect version used by the query engine.
sourcepub fn permissions(self, input: Permission) -> Self
pub fn permissions(self, input: Permission) -> Self
Appends an item to permissions
.
To override the contents of this collection use set_permissions
.
The Lake Formation data permissions of the caller on the table. Used to authorize the call when no view context is found.
sourcepub fn set_permissions(self, input: Option<Vec<Permission>>) -> Self
pub fn set_permissions(self, input: Option<Vec<Permission>>) -> Self
The Lake Formation data permissions of the caller on the table. Used to authorize the call when no view context is found.
sourcepub fn get_permissions(&self) -> &Option<Vec<Permission>>
pub fn get_permissions(&self) -> &Option<Vec<Permission>>
The Lake Formation data permissions of the caller on the table. Used to authorize the call when no view context is found.
sourcepub fn query_session_context(self, input: QuerySessionContext) -> Self
pub fn query_session_context(self, input: QuerySessionContext) -> Self
A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.
sourcepub fn set_query_session_context(
self,
input: Option<QuerySessionContext>,
) -> Self
pub fn set_query_session_context( self, input: Option<QuerySessionContext>, ) -> Self
A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.
sourcepub fn get_query_session_context(&self) -> &Option<QuerySessionContext>
pub fn get_query_session_context(&self) -> &Option<QuerySessionContext>
A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.
sourcepub fn build(self) -> Result<GetUnfilteredTableMetadataInput, BuildError>
pub fn build(self) -> Result<GetUnfilteredTableMetadataInput, BuildError>
Consumes the builder and constructs a GetUnfilteredTableMetadataInput
.
source§impl GetUnfilteredTableMetadataInputBuilder
impl GetUnfilteredTableMetadataInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetUnfilteredTableMetadataOutput, SdkError<GetUnfilteredTableMetadataError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetUnfilteredTableMetadataOutput, SdkError<GetUnfilteredTableMetadataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetUnfilteredTableMetadataInputBuilder
impl Clone for GetUnfilteredTableMetadataInputBuilder
source§fn clone(&self) -> GetUnfilteredTableMetadataInputBuilder
fn clone(&self) -> GetUnfilteredTableMetadataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetUnfilteredTableMetadataInputBuilder
impl Default for GetUnfilteredTableMetadataInputBuilder
source§fn default() -> GetUnfilteredTableMetadataInputBuilder
fn default() -> GetUnfilteredTableMetadataInputBuilder
source§impl PartialEq for GetUnfilteredTableMetadataInputBuilder
impl PartialEq for GetUnfilteredTableMetadataInputBuilder
source§fn eq(&self, other: &GetUnfilteredTableMetadataInputBuilder) -> bool
fn eq(&self, other: &GetUnfilteredTableMetadataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetUnfilteredTableMetadataInputBuilder
Auto Trait Implementations§
impl Freeze for GetUnfilteredTableMetadataInputBuilder
impl RefUnwindSafe for GetUnfilteredTableMetadataInputBuilder
impl Send for GetUnfilteredTableMetadataInputBuilder
impl Sync for GetUnfilteredTableMetadataInputBuilder
impl Unpin for GetUnfilteredTableMetadataInputBuilder
impl UnwindSafe for GetUnfilteredTableMetadataInputBuilder
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
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>
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>
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 more