Struct aws_sdk_iot::input::GetIndexingConfigurationInput
source · #[non_exhaustive]pub struct GetIndexingConfigurationInput {}
Implementations§
source§impl GetIndexingConfigurationInput
impl GetIndexingConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetIndexingConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetIndexingConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetIndexingConfiguration
>
Examples found in repository?
src/client.rs (line 14955)
14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetIndexingConfiguration,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetIndexingConfigurationError>,
> {
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::GetIndexingConfigurationOutput,
aws_smithy_http::result::SdkError<crate::error::GetIndexingConfigurationError>,
> {
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 GetIndexingConfigurationInput
.
Trait Implementations§
source§impl Clone for GetIndexingConfigurationInput
impl Clone for GetIndexingConfigurationInput
source§fn clone(&self) -> GetIndexingConfigurationInput
fn clone(&self) -> GetIndexingConfigurationInput
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