#[non_exhaustive]pub struct BatchGetRecordInput { /* private fields */ }
Implementations§
source§impl BatchGetRecordInput
impl BatchGetRecordInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchGetRecord, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchGetRecord, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<BatchGetRecord
>
Examples found in repository?
src/client.rs (line 182)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::BatchGetRecord,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::BatchGetRecordError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::BatchGetRecordOutput,
aws_smithy_http::result::SdkError<crate::error::BatchGetRecordError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BatchGetRecordInput
.
source§impl BatchGetRecordInput
impl BatchGetRecordInput
sourcepub fn identifiers(&self) -> Option<&[BatchGetRecordIdentifier]>
pub fn identifiers(&self) -> Option<&[BatchGetRecordIdentifier]>
A list of FeatureGroup
names, with their corresponding RecordIdentifier
value, and Feature name that have been requested to be retrieved in batch.
Trait Implementations§
source§impl Clone for BatchGetRecordInput
impl Clone for BatchGetRecordInput
source§fn clone(&self) -> BatchGetRecordInput
fn clone(&self) -> BatchGetRecordInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more