Struct aws_sdk_glue::client::fluent_builders::GetDatabases
source ·
[−]pub struct GetDatabases<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetDatabases
.
Retrieves all databases defined in a given Data Catalog.
Implementations
impl<C, M, R> GetDatabases<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetDatabases<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetDatabasesOutput, SdkError<GetDatabasesError>> where
R::Policy: SmithyRetryPolicy<GetDatabasesInputOperationOutputAlias, GetDatabasesOutput, GetDatabasesError, GetDatabasesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetDatabasesOutput, SdkError<GetDatabasesError>> where
R::Policy: SmithyRetryPolicy<GetDatabasesInputOperationOutputAlias, GetDatabasesOutput, GetDatabasesError, GetDatabasesInputOperationRetryAlias>,
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.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
The ID of the Data Catalog from which to retrieve Databases
. If none is provided, the Amazon Web Services account ID is used by default.
The ID of the Data Catalog from which to retrieve Databases
. If none is provided, the Amazon Web Services account ID is used by default.
A continuation token, if this is a continuation call.
A continuation token, if this is a continuation call.
The maximum number of databases to return in one response.
The maximum number of databases to return in one response.
Allows you to specify that you want to list the databases shared with your account. The allowable values are FOREIGN
or ALL
.
-
If set to
FOREIGN
, will list the databases shared with your account. -
If set to
ALL
, will list the databases shared with your account, as well as the databases in yor local account.
Allows you to specify that you want to list the databases shared with your account. The allowable values are FOREIGN
or ALL
.
-
If set to
FOREIGN
, will list the databases shared with your account. -
If set to
ALL
, will list the databases shared with your account, as well as the databases in yor local account.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetDatabases<C, M, R>
impl<C, M, R> Unpin for GetDatabases<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetDatabases<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