1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListTriggers`](crate::operation::list_triggers::builders::ListTriggersFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_triggers::builders::ListTriggersFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_triggers::builders::ListTriggersFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_triggers::builders::ListTriggersFluentBuilder::set_next_token):<br>required: **false**<br><p>A continuation token, if this is a continuation request.</p><br>
    ///   - [`dependent_job_name(impl Into<String>)`](crate::operation::list_triggers::builders::ListTriggersFluentBuilder::dependent_job_name) / [`set_dependent_job_name(Option<String>)`](crate::operation::list_triggers::builders::ListTriggersFluentBuilder::set_dependent_job_name):<br>required: **false**<br><p>The name of the job for which to retrieve triggers. The trigger that can start this job is returned. If there is no such trigger, all triggers are returned.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_triggers::builders::ListTriggersFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_triggers::builders::ListTriggersFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum size of a list to return.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::list_triggers::builders::ListTriggersFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::list_triggers::builders::ListTriggersFluentBuilder::set_tags):<br>required: **false**<br><p>Specifies to return only these tagged resources.</p><br>
    /// - On success, responds with [`ListTriggersOutput`](crate::operation::list_triggers::ListTriggersOutput) with field(s):
    ///   - [`trigger_names(Option<Vec::<String>>)`](crate::operation::list_triggers::ListTriggersOutput::trigger_names): <p>The names of all triggers in the account, or the triggers with the specified tags.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_triggers::ListTriggersOutput::next_token): <p>A continuation token, if the returned list does not contain the last metric available.</p>
    /// - On failure, responds with [`SdkError<ListTriggersError>`](crate::operation::list_triggers::ListTriggersError)
    pub fn list_triggers(&self) -> crate::operation::list_triggers::builders::ListTriggersFluentBuilder {
        crate::operation::list_triggers::builders::ListTriggersFluentBuilder::new(self.handle.clone())
    }
}