Struct aws_sdk_glue::client::fluent_builders::GetConnection
source ·
[−]pub struct GetConnection<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetConnection
.
Retrieves a connection definition from the Data Catalog.
Implementations
impl<C, M, R> GetConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetConnection<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetConnectionOutput, SdkError<GetConnectionError>> where
R::Policy: SmithyRetryPolicy<GetConnectionInputOperationOutputAlias, GetConnectionOutput, GetConnectionError, GetConnectionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetConnectionOutput, SdkError<GetConnectionError>> where
R::Policy: SmithyRetryPolicy<GetConnectionInputOperationOutputAlias, GetConnectionOutput, GetConnectionError, GetConnectionInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.
The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.
The name of the connection definition to retrieve.
The name of the connection definition to retrieve.
Allows you to retrieve the connection metadata without returning the password. For instance, the AWS Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
Allows you to retrieve the connection metadata without returning the password. For instance, the AWS Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetConnection<C, M, R>
impl<C, M, R> Unpin for GetConnection<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetConnection<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more