Struct aws_sdk_iot::input::GetLoggingOptionsInput
source · #[non_exhaustive]pub struct GetLoggingOptionsInput {}
Expand description
The input for the GetLoggingOptions operation.
Implementations§
source§impl GetLoggingOptionsInput
impl GetLoggingOptionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetLoggingOptions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetLoggingOptions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetLoggingOptions
>
Examples found in repository?
src/client.rs (line 15094)
15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetLoggingOptions,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetLoggingOptionsError>,
> {
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::GetLoggingOptionsOutput,
aws_smithy_http::result::SdkError<crate::error::GetLoggingOptionsError>,
> {
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 GetLoggingOptionsInput
.
Trait Implementations§
source§impl Clone for GetLoggingOptionsInput
impl Clone for GetLoggingOptionsInput
source§fn clone(&self) -> GetLoggingOptionsInput
fn clone(&self) -> GetLoggingOptionsInput
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