aws_sdk_glue/client/
get_triggers.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 [`GetTriggers`](crate::operation::get_triggers::builders::GetTriggersFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_triggers::builders::GetTriggersFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`next_token(impl Into<String>)`](crate::operation::get_triggers::builders::GetTriggersFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_triggers::builders::GetTriggersFluentBuilder::set_next_token):<br>required: **false**<br><p>A continuation token, if this is a continuation call.</p><br>
8    ///   - [`dependent_job_name(impl Into<String>)`](crate::operation::get_triggers::builders::GetTriggersFluentBuilder::dependent_job_name) / [`set_dependent_job_name(Option<String>)`](crate::operation::get_triggers::builders::GetTriggersFluentBuilder::set_dependent_job_name):<br>required: **false**<br><p>The name of the job to retrieve triggers for. The trigger that can start this job is returned, and if there is no such trigger, all triggers are returned.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::get_triggers::builders::GetTriggersFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_triggers::builders::GetTriggersFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum size of the response.</p><br>
10    /// - On success, responds with [`GetTriggersOutput`](crate::operation::get_triggers::GetTriggersOutput) with field(s):
11    ///   - [`triggers(Option<Vec::<Trigger>>)`](crate::operation::get_triggers::GetTriggersOutput::triggers): <p>A list of triggers for the specified job.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::get_triggers::GetTriggersOutput::next_token): <p>A continuation token, if not all the requested triggers have yet been returned.</p>
13    /// - On failure, responds with [`SdkError<GetTriggersError>`](crate::operation::get_triggers::GetTriggersError)
14    pub fn get_triggers(&self) -> crate::operation::get_triggers::builders::GetTriggersFluentBuilder {
15        crate::operation::get_triggers::builders::GetTriggersFluentBuilder::new(self.handle.clone())
16    }
17}