Struct aws_sdk_redshiftdata::operation::describe_statement::builders::DescribeStatementFluentBuilder
source · pub struct DescribeStatementFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeStatement.
Describes the details about a specific instance when a query was run by the Amazon Redshift Data API. The information includes when the query started, when it finished, the query status, the number of rows returned, and the SQL statement.
For more information about the Amazon Redshift Data API and CLI usage examples, see Using the Amazon Redshift Data API in the Amazon Redshift Management Guide.
Implementations§
source§impl DescribeStatementFluentBuilder
impl DescribeStatementFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeStatement, AwsResponseRetryClassifier>, SdkError<DescribeStatementError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DescribeStatement, AwsResponseRetryClassifier>, SdkError<DescribeStatementError>>
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<DescribeStatementOutput, SdkError<DescribeStatementError>>
pub async fn send( self ) -> Result<DescribeStatementOutput, SdkError<DescribeStatementError>>
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 id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the SQL statement to describe. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. A suffix indicates the number of the SQL statement. For example, d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the second SQL statement of a batch query. This identifier is returned by BatchExecuteStatment, ExecuteStatement, and ListStatements.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the SQL statement to describe. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. A suffix indicates the number of the SQL statement. For example, d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the second SQL statement of a batch query. This identifier is returned by BatchExecuteStatment, ExecuteStatement, and ListStatements.
Trait Implementations§
source§impl Clone for DescribeStatementFluentBuilder
impl Clone for DescribeStatementFluentBuilder
source§fn clone(&self) -> DescribeStatementFluentBuilder
fn clone(&self) -> DescribeStatementFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more