Struct aws_sdk_glue::model::ConnectionInput
source · [−]#[non_exhaustive]pub struct ConnectionInput {
pub name: Option<String>,
pub description: Option<String>,
pub connection_type: Option<ConnectionType>,
pub match_criteria: Option<Vec<String>>,
pub connection_properties: Option<HashMap<ConnectionPropertyKey, String>>,
pub physical_connection_requirements: Option<PhysicalConnectionRequirements>,
}Expand description
A structure that is used to specify a connection to create or update.
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: Option<String>The name of the connection.
description: Option<String>The description of the connection.
connection_type: Option<ConnectionType>The type of the connection. Currently, these types are supported:
-
JDBC- Designates a connection to a database through Java Database Connectivity (JDBC). -
KAFKA- Designates a connection to an Apache Kafka streaming platform. -
MONGODB- Designates a connection to a MongoDB document database. -
NETWORK- Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC). -
MARKETPLACE- Uses configuration settings contained in a connector purchased from Amazon Web Services Marketplace to read from and write to data stores that are not natively supported by Glue. -
CUSTOM- Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by Glue.
SFTP is not supported.
match_criteria: Option<Vec<String>>A list of criteria that can be used in selecting this connection.
connection_properties: Option<HashMap<ConnectionPropertyKey, String>>These key-value pairs define parameters for the connection.
physical_connection_requirements: Option<PhysicalConnectionRequirements>A map of physical connection requirements, such as virtual private cloud (VPC) and SecurityGroup, that are needed to successfully make this connection.
Implementations
sourceimpl ConnectionInput
impl ConnectionInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the connection.
sourcepub fn connection_type(&self) -> Option<&ConnectionType>
pub fn connection_type(&self) -> Option<&ConnectionType>
The type of the connection. Currently, these types are supported:
-
JDBC- Designates a connection to a database through Java Database Connectivity (JDBC). -
KAFKA- Designates a connection to an Apache Kafka streaming platform. -
MONGODB- Designates a connection to a MongoDB document database. -
NETWORK- Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC). -
MARKETPLACE- Uses configuration settings contained in a connector purchased from Amazon Web Services Marketplace to read from and write to data stores that are not natively supported by Glue. -
CUSTOM- Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by Glue.
SFTP is not supported.
sourcepub fn match_criteria(&self) -> Option<&[String]>
pub fn match_criteria(&self) -> Option<&[String]>
A list of criteria that can be used in selecting this connection.
sourcepub fn connection_properties(
&self
) -> Option<&HashMap<ConnectionPropertyKey, String>>
pub fn connection_properties(
&self
) -> Option<&HashMap<ConnectionPropertyKey, String>>
These key-value pairs define parameters for the connection.
sourcepub fn physical_connection_requirements(
&self
) -> Option<&PhysicalConnectionRequirements>
pub fn physical_connection_requirements(
&self
) -> Option<&PhysicalConnectionRequirements>
A map of physical connection requirements, such as virtual private cloud (VPC) and SecurityGroup, that are needed to successfully make this connection.
sourceimpl ConnectionInput
impl ConnectionInput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConnectionInput
Trait Implementations
sourceimpl Clone for ConnectionInput
impl Clone for ConnectionInput
sourcefn clone(&self) -> ConnectionInput
fn clone(&self) -> ConnectionInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ConnectionInput
impl Debug for ConnectionInput
sourceimpl PartialEq<ConnectionInput> for ConnectionInput
impl PartialEq<ConnectionInput> for ConnectionInput
sourcefn eq(&self, other: &ConnectionInput) -> bool
fn eq(&self, other: &ConnectionInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ConnectionInput) -> bool
fn ne(&self, other: &ConnectionInput) -> bool
This method tests for !=.
impl StructuralPartialEq for ConnectionInput
Auto Trait Implementations
impl RefUnwindSafe for ConnectionInput
impl Send for ConnectionInput
impl Sync for ConnectionInput
impl Unpin for ConnectionInput
impl UnwindSafe for ConnectionInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more