Struct aws_sdk_iot::input::GetV2LoggingOptionsInput
source · #[non_exhaustive]pub struct GetV2LoggingOptionsInput {}
Implementations§
source§impl GetV2LoggingOptionsInput
impl GetV2LoggingOptionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetV2LoggingOptions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetV2LoggingOptions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetV2LoggingOptions
>
Examples found in repository?
src/client.rs (line 15842)
15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetV2LoggingOptions,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetV2LoggingOptionsError>,
> {
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::GetV2LoggingOptionsOutput,
aws_smithy_http::result::SdkError<crate::error::GetV2LoggingOptionsError>,
> {
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 GetV2LoggingOptionsInput
.
Trait Implementations§
source§impl Clone for GetV2LoggingOptionsInput
impl Clone for GetV2LoggingOptionsInput
source§fn clone(&self) -> GetV2LoggingOptionsInput
fn clone(&self) -> GetV2LoggingOptionsInput
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