Struct aws_sdk_glue::types::DatabaseInput  
source · #[non_exhaustive]pub struct DatabaseInput {
    pub name: String,
    pub description: Option<String>,
    pub location_uri: Option<String>,
    pub parameters: Option<HashMap<String, String>>,
    pub create_table_default_permissions: Option<Vec<PrincipalPermissions>>,
    pub target_database: Option<DatabaseIdentifier>,
    pub federated_database: Option<FederatedDatabase>,
}Expand description
The structure used to create or update a database.
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.name: StringThe name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
description: Option<String>A description of the database.
location_uri: Option<String>The location of the database (for example, an HDFS path).
parameters: Option<HashMap<String, String>>These key-value pairs define parameters and properties of the database.
These key-value pairs define parameters and properties of the database.
create_table_default_permissions: Option<Vec<PrincipalPermissions>>Creates a set of default permissions on the table for principals. Used by Lake Formation. Not used in the normal course of Glue operations.
target_database: Option<DatabaseIdentifier>A DatabaseIdentifier structure that describes a target database for resource linking.
federated_database: Option<FederatedDatabase>A FederatedDatabase structure that references an entity outside the Glue Data Catalog.
Implementations§
source§impl DatabaseInput
 
impl DatabaseInput
sourcepub fn name(&self) -> &str
 
pub fn name(&self) -> &str
The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
sourcepub fn description(&self) -> Option<&str>
 
pub fn description(&self) -> Option<&str>
A description of the database.
sourcepub fn location_uri(&self) -> Option<&str>
 
pub fn location_uri(&self) -> Option<&str>
The location of the database (for example, an HDFS path).
sourcepub fn parameters(&self) -> Option<&HashMap<String, String>>
 
pub fn parameters(&self) -> Option<&HashMap<String, String>>
These key-value pairs define parameters and properties of the database.
These key-value pairs define parameters and properties of the database.
sourcepub fn create_table_default_permissions(&self) -> &[PrincipalPermissions]
 
pub fn create_table_default_permissions(&self) -> &[PrincipalPermissions]
Creates a set of default permissions on the table for principals. Used by Lake Formation. Not used in the normal course of Glue operations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .create_table_default_permissions.is_none().
sourcepub fn target_database(&self) -> Option<&DatabaseIdentifier>
 
pub fn target_database(&self) -> Option<&DatabaseIdentifier>
A DatabaseIdentifier structure that describes a target database for resource linking.
sourcepub fn federated_database(&self) -> Option<&FederatedDatabase>
 
pub fn federated_database(&self) -> Option<&FederatedDatabase>
A FederatedDatabase structure that references an entity outside the Glue Data Catalog.
source§impl DatabaseInput
 
impl DatabaseInput
sourcepub fn builder() -> DatabaseInputBuilder
 
pub fn builder() -> DatabaseInputBuilder
Creates a new builder-style object to manufacture DatabaseInput.
Trait Implementations§
source§impl Clone for DatabaseInput
 
impl Clone for DatabaseInput
source§fn clone(&self) -> DatabaseInput
 
fn clone(&self) -> DatabaseInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatabaseInput
 
impl Debug for DatabaseInput
source§impl PartialEq for DatabaseInput
 
impl PartialEq for DatabaseInput
source§fn eq(&self, other: &DatabaseInput) -> bool
 
fn eq(&self, other: &DatabaseInput) -> bool
self and other values to be equal, and is used
by ==.