Struct aws_sdk_glue::client::fluent_builders::GetConnections
source · pub struct GetConnections { /* private fields */ }Expand description
Fluent builder constructing a request to GetConnections.
Retrieves a list of connection definitions from the Data Catalog.
Implementations§
source§impl GetConnections
impl GetConnections
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetConnections, AwsResponseRetryClassifier>, SdkError<GetConnectionsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetConnections, AwsResponseRetryClassifier>, SdkError<GetConnectionsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetConnectionsOutput, SdkError<GetConnectionsError>>
pub async fn send(
self
) -> Result<GetConnectionsOutput, SdkError<GetConnectionsError>>
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.
sourcepub fn into_paginator(self) -> GetConnectionsPaginator
pub fn into_paginator(self) -> GetConnectionsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn catalog_id(self, input: impl Into<String>) -> Self
pub fn catalog_id(self, input: impl Into<String>) -> Self
The ID of the Data Catalog in which the connections reside. If none is provided, the Amazon Web Services account ID is used by default.
sourcepub fn set_catalog_id(self, input: Option<String>) -> Self
pub fn set_catalog_id(self, input: Option<String>) -> Self
The ID of the Data Catalog in which the connections reside. If none is provided, the Amazon Web Services account ID is used by default.
sourcepub fn filter(self, input: GetConnectionsFilter) -> Self
pub fn filter(self, input: GetConnectionsFilter) -> Self
A filter that controls which connections are returned.
sourcepub fn set_filter(self, input: Option<GetConnectionsFilter>) -> Self
pub fn set_filter(self, input: Option<GetConnectionsFilter>) -> Self
A filter that controls which connections are returned.
sourcepub fn hide_password(self, input: bool) -> Self
pub fn hide_password(self, input: bool) -> Self
Allows you to retrieve the connection metadata without returning the password. For instance, the 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.
sourcepub fn set_hide_password(self, input: Option<bool>) -> Self
pub fn set_hide_password(self, input: Option<bool>) -> Self
Allows you to retrieve the connection metadata without returning the password. For instance, the 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.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A continuation token, if this is a continuation call.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A continuation token, if this is a continuation call.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of connections to return in one response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of connections to return in one response.
Trait Implementations§
source§impl Clone for GetConnections
impl Clone for GetConnections
source§fn clone(&self) -> GetConnections
fn clone(&self) -> GetConnections
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more