pub struct BatchGetPreparedStatement { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchGetPreparedStatement
.
Returns the details of a single prepared statement or a list of up to 256 prepared statements for the array of prepared statement names that you provide. Requires you to have access to the workgroup to which the prepared statements belong. If a prepared statement cannot be retrieved for the name specified, the statement is listed in UnprocessedPreparedStatementNames
.
Implementations§
source§impl BatchGetPreparedStatement
impl BatchGetPreparedStatement
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<BatchGetPreparedStatement, AwsResponseRetryClassifier>, SdkError<BatchGetPreparedStatementError>>
pub async fn customize( self ) -> Result<CustomizableOperation<BatchGetPreparedStatement, AwsResponseRetryClassifier>, SdkError<BatchGetPreparedStatementError>>
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<BatchGetPreparedStatementOutput, SdkError<BatchGetPreparedStatementError>>
pub async fn send( self ) -> Result<BatchGetPreparedStatementOutput, SdkError<BatchGetPreparedStatementError>>
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 prepared_statement_names(self, input: impl Into<String>) -> Self
pub fn prepared_statement_names(self, input: impl Into<String>) -> Self
Appends an item to PreparedStatementNames
.
To override the contents of this collection use set_prepared_statement_names
.
A list of prepared statement names to return.
sourcepub fn set_prepared_statement_names(self, input: Option<Vec<String>>) -> Self
pub fn set_prepared_statement_names(self, input: Option<Vec<String>>) -> Self
A list of prepared statement names to return.
sourcepub fn work_group(self, input: impl Into<String>) -> Self
pub fn work_group(self, input: impl Into<String>) -> Self
The name of the workgroup to which the prepared statements belong.
sourcepub fn set_work_group(self, input: Option<String>) -> Self
pub fn set_work_group(self, input: Option<String>) -> Self
The name of the workgroup to which the prepared statements belong.
Trait Implementations§
source§impl Clone for BatchGetPreparedStatement
impl Clone for BatchGetPreparedStatement
source§fn clone(&self) -> BatchGetPreparedStatement
fn clone(&self) -> BatchGetPreparedStatement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more