1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTrigger`](crate::operation::get_trigger::builders::GetTriggerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::get_trigger::builders::GetTriggerFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_trigger::builders::GetTriggerFluentBuilder::set_name):<br>required: **true**<br><p>The name of the trigger to retrieve.</p><br>
    /// - On success, responds with [`GetTriggerOutput`](crate::operation::get_trigger::GetTriggerOutput) with field(s):
    ///   - [`trigger(Option<Trigger>)`](crate::operation::get_trigger::GetTriggerOutput::trigger): <p>The requested trigger definition.</p>
    /// - On failure, responds with [`SdkError<GetTriggerError>`](crate::operation::get_trigger::GetTriggerError)
    pub fn get_trigger(&self) -> crate::operation::get_trigger::builders::GetTriggerFluentBuilder {
        crate::operation::get_trigger::builders::GetTriggerFluentBuilder::new(self.handle.clone())
    }
}