Struct aws_sdk_iot::input::DeleteV2LoggingLevelInput
source · #[non_exhaustive]pub struct DeleteV2LoggingLevelInput { /* private fields */ }
Implementations§
source§impl DeleteV2LoggingLevelInput
impl DeleteV2LoggingLevelInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteV2LoggingLevel, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteV2LoggingLevel, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteV2LoggingLevel
>
Examples found in repository?
src/client.rs (line 11295)
11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteV2LoggingLevel,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteV2LoggingLevelError>,
> {
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::DeleteV2LoggingLevelOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteV2LoggingLevelError>,
> {
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 DeleteV2LoggingLevelInput
.
source§impl DeleteV2LoggingLevelInput
impl DeleteV2LoggingLevelInput
sourcepub fn target_type(&self) -> Option<&LogTargetType>
pub fn target_type(&self) -> Option<&LogTargetType>
The type of resource for which you are configuring logging. Must be THING_Group
.
sourcepub fn target_name(&self) -> Option<&str>
pub fn target_name(&self) -> Option<&str>
The name of the resource for which you are configuring logging.
Trait Implementations§
source§impl Clone for DeleteV2LoggingLevelInput
impl Clone for DeleteV2LoggingLevelInput
source§fn clone(&self) -> DeleteV2LoggingLevelInput
fn clone(&self) -> DeleteV2LoggingLevelInput
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