aws_sdk_glue/client/
stop_trigger.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 [`StopTrigger`](crate::operation::stop_trigger::builders::StopTriggerFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::stop_trigger::builders::StopTriggerFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::stop_trigger::builders::StopTriggerFluentBuilder::set_name):<br>required: **true**<br><p>The name of the trigger to stop.</p><br>
7    /// - On success, responds with [`StopTriggerOutput`](crate::operation::stop_trigger::StopTriggerOutput) with field(s):
8    ///   - [`name(Option<String>)`](crate::operation::stop_trigger::StopTriggerOutput::name): <p>The name of the trigger that was stopped.</p>
9    /// - On failure, responds with [`SdkError<StopTriggerError>`](crate::operation::stop_trigger::StopTriggerError)
10    pub fn stop_trigger(&self) -> crate::operation::stop_trigger::builders::StopTriggerFluentBuilder {
11        crate::operation::stop_trigger::builders::StopTriggerFluentBuilder::new(self.handle.clone())
12    }
13}