aws_sdk_internetmonitor/client/stop_query.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`StopQuery`](crate::operation::stop_query::builders::StopQueryFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`monitor_name(impl Into<String>)`](crate::operation::stop_query::builders::StopQueryFluentBuilder::monitor_name) / [`set_monitor_name(Option<String>)`](crate::operation::stop_query::builders::StopQueryFluentBuilder::set_monitor_name):<br>required: **true**<br><p>The name of the monitor.</p><br>
7 /// - [`query_id(impl Into<String>)`](crate::operation::stop_query::builders::StopQueryFluentBuilder::query_id) / [`set_query_id(Option<String>)`](crate::operation::stop_query::builders::StopQueryFluentBuilder::set_query_id):<br>required: **true**<br><p>The ID of the query that you want to stop. A <code>QueryId</code> is an internally-generated identifier for a specific query.</p><br>
8 /// - On success, responds with [`StopQueryOutput`](crate::operation::stop_query::StopQueryOutput)
9 /// - On failure, responds with [`SdkError<StopQueryError>`](crate::operation::stop_query::StopQueryError)
10 pub fn stop_query(&self) -> crate::operation::stop_query::builders::StopQueryFluentBuilder {
11 crate::operation::stop_query::builders::StopQueryFluentBuilder::new(self.handle.clone())
12 }
13}