Struct aws_sdk_cloudwatch::client::fluent_builders::DeleteInsightRules [−][src]
pub struct DeleteInsightRules<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteInsightRules
.
Permanently deletes the specified Contributor Insights rules.
If you create a rule, delete it, and then re-create it with the same name, historical data from the first time the rule was created might not be available.
Implementations
impl<C, M, R> DeleteInsightRules<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteInsightRules<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteInsightRulesOutput, SdkError<DeleteInsightRulesError>> where
R::Policy: SmithyRetryPolicy<DeleteInsightRulesInputOperationOutputAlias, DeleteInsightRulesOutput, DeleteInsightRulesError, DeleteInsightRulesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteInsightRulesOutput, SdkError<DeleteInsightRulesError>> where
R::Policy: SmithyRetryPolicy<DeleteInsightRulesInputOperationOutputAlias, DeleteInsightRulesOutput, DeleteInsightRulesError, DeleteInsightRulesInputOperationRetryAlias>,
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.
Appends an item to RuleNames
.
To override the contents of this collection use set_rule_names
.
An array of the rule names to delete. If you need to find out the names of your rules, use DescribeInsightRules.
An array of the rule names to delete. If you need to find out the names of your rules, use DescribeInsightRules.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteInsightRules<C, M, R>
impl<C, M, R> Send for DeleteInsightRules<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteInsightRules<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteInsightRules<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteInsightRules<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more