Struct aws_sdk_iot::operation::delete_v2_logging_level::builders::DeleteV2LoggingLevelFluentBuilder
source · pub struct DeleteV2LoggingLevelFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteV2LoggingLevel
.
Deletes a logging level.
Requires permission to access the DeleteV2LoggingLevel action.
Implementations§
source§impl DeleteV2LoggingLevelFluentBuilder
impl DeleteV2LoggingLevelFluentBuilder
sourcepub fn as_input(&self) -> &DeleteV2LoggingLevelInputBuilder
pub fn as_input(&self) -> &DeleteV2LoggingLevelInputBuilder
Access the DeleteV2LoggingLevel as a reference.
sourcepub async fn send(
self
) -> Result<DeleteV2LoggingLevelOutput, SdkError<DeleteV2LoggingLevelError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteV2LoggingLevelOutput, SdkError<DeleteV2LoggingLevelError, HttpResponse>>
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, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteV2LoggingLevelOutput, DeleteV2LoggingLevelError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteV2LoggingLevelOutput, DeleteV2LoggingLevelError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn target_type(self, input: LogTargetType) -> Self
pub fn target_type(self, input: LogTargetType) -> Self
The type of resource for which you are configuring logging. Must be THING_Group
.
sourcepub fn set_target_type(self, input: Option<LogTargetType>) -> Self
pub fn set_target_type(self, input: Option<LogTargetType>) -> Self
The type of resource for which you are configuring logging. Must be THING_Group
.
sourcepub fn get_target_type(&self) -> &Option<LogTargetType>
pub fn get_target_type(&self) -> &Option<LogTargetType>
The type of resource for which you are configuring logging. Must be THING_Group
.
sourcepub fn target_name(self, input: impl Into<String>) -> Self
pub fn target_name(self, input: impl Into<String>) -> Self
The name of the resource for which you are configuring logging.
sourcepub fn set_target_name(self, input: Option<String>) -> Self
pub fn set_target_name(self, input: Option<String>) -> Self
The name of the resource for which you are configuring logging.
sourcepub fn get_target_name(&self) -> &Option<String>
pub fn get_target_name(&self) -> &Option<String>
The name of the resource for which you are configuring logging.
Trait Implementations§
source§impl Clone for DeleteV2LoggingLevelFluentBuilder
impl Clone for DeleteV2LoggingLevelFluentBuilder
source§fn clone(&self) -> DeleteV2LoggingLevelFluentBuilder
fn clone(&self) -> DeleteV2LoggingLevelFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more