Struct aws_sdk_redshiftdata::client::fluent_builders::DescribeTable
source · [−]pub struct DescribeTable<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeTable
.
Describes the detailed information about a table from metadata in the cluster. The information includes its columns. A token is returned to page through the column list. Depending on the authorization method, use one of the following combinations of request parameters:
-
Secrets Manager - when connecting to a cluster, specify the Amazon Resource Name (ARN) of the secret, the database name, and the cluster identifier that matches the cluster in the secret. When connecting to a serverless endpoint, specify the Amazon Resource Name (ARN) of the secret and the database name.
-
Temporary credentials - when connecting to a cluster, specify the cluster identifier, the database name, and the database user name. Also, permission to call the
redshift:GetClusterCredentials
operation is required. When connecting to a serverless endpoint, specify the database name.
Implementations
impl<C, M, R> DescribeTable<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeTable<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeTableOutput, SdkError<DescribeTableError>> where
R::Policy: SmithyRetryPolicy<DescribeTableInputOperationOutputAlias, DescribeTableOutput, DescribeTableError, DescribeTableInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeTableOutput, SdkError<DescribeTableError>> where
R::Policy: SmithyRetryPolicy<DescribeTableInputOperationOutputAlias, DescribeTableOutput, DescribeTableError, DescribeTableInputOperationRetryAlias>,
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 cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.
The cluster identifier. This parameter is required when connecting to a cluster and authenticating using either Secrets Manager or temporary credentials.
The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.
The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using Secrets Manager.
The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials.
The database user name. This parameter is required when connecting to a cluster and authenticating using temporary credentials.
The name of the database that contains the tables to be described. If ConnectedDatabase
is not specified, this is also the database to connect to with your authentication credentials.
The name of the database that contains the tables to be described. If ConnectedDatabase
is not specified, this is also the database to connect to with your authentication credentials.
A database name. The connected database is specified when you connect with your authentication credentials.
A database name. The connected database is specified when you connect with your authentication credentials.
The schema that contains the table. If no schema is specified, then matching tables for all schemas are returned.
The schema that contains the table. If no schema is specified, then matching tables for all schemas are returned.
The table name. If no table is specified, then all tables for all matching schemas are returned. If no table and no schema is specified, then all tables for all schemas in the database are returned
The table name. If no table is specified, then all tables for all matching schemas are returned. If no table and no schema is specified, then all tables for all schemas in the database are returned
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
The maximum number of tables to return in the response. If more tables exist than fit in one response, then NextToken
is returned to page through the results.
The maximum number of tables to return in the response. If more tables exist than fit in one response, then NextToken
is returned to page through the results.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeTable<C, M, R>
impl<C, M, R> Unpin for DescribeTable<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeTable<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