aws_sdk_cloudwatchlogs/client/delete_query_definition.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteQueryDefinition`](crate::operation::delete_query_definition::builders::DeleteQueryDefinitionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`query_definition_id(impl Into<String>)`](crate::operation::delete_query_definition::builders::DeleteQueryDefinitionFluentBuilder::query_definition_id) / [`set_query_definition_id(Option<String>)`](crate::operation::delete_query_definition::builders::DeleteQueryDefinitionFluentBuilder::set_query_definition_id):<br>required: **true**<br><p>The ID of the query definition that you want to delete. You can use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeQueryDefinitions.html">DescribeQueryDefinitions</a> to retrieve the IDs of your saved query definitions.</p><br>
/// - On success, responds with [`DeleteQueryDefinitionOutput`](crate::operation::delete_query_definition::DeleteQueryDefinitionOutput) with field(s):
/// - [`success(bool)`](crate::operation::delete_query_definition::DeleteQueryDefinitionOutput::success): <p>A value of TRUE indicates that the operation succeeded. FALSE indicates that the operation failed.</p>
/// - On failure, responds with [`SdkError<DeleteQueryDefinitionError>`](crate::operation::delete_query_definition::DeleteQueryDefinitionError)
pub fn delete_query_definition(&self) -> crate::operation::delete_query_definition::builders::DeleteQueryDefinitionFluentBuilder {
crate::operation::delete_query_definition::builders::DeleteQueryDefinitionFluentBuilder::new(self.handle.clone())
}
}