aws_sdk_computeoptimizerautomation/client/list_automation_event_steps.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 [`ListAutomationEventSteps`](crate::operation::list_automation_event_steps::builders::ListAutomationEventStepsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_automation_event_steps::builders::ListAutomationEventStepsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`event_id(impl Into<String>)`](crate::operation::list_automation_event_steps::builders::ListAutomationEventStepsFluentBuilder::event_id) / [`set_event_id(Option<String>)`](crate::operation::list_automation_event_steps::builders::ListAutomationEventStepsFluentBuilder::set_event_id):<br>required: **true**<br><p>The ID of the automation event.</p><br>
8 /// - [`max_results(i32)`](crate::operation::list_automation_event_steps::builders::ListAutomationEventStepsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_automation_event_steps::builders::ListAutomationEventStepsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of automation event steps to return in a single response. Valid range is 1-1000.</p><br>
9 /// - [`next_token(impl Into<String>)`](crate::operation::list_automation_event_steps::builders::ListAutomationEventStepsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_automation_event_steps::builders::ListAutomationEventStepsFluentBuilder::set_next_token):<br>required: **false**<br><p>A token used for pagination to retrieve the next set of results when the response is truncated.</p><br>
10 /// - On success, responds with [`ListAutomationEventStepsOutput`](crate::operation::list_automation_event_steps::ListAutomationEventStepsOutput) with field(s):
11 /// - [`automation_event_steps(Option<Vec::<AutomationEventStep>>)`](crate::operation::list_automation_event_steps::ListAutomationEventStepsOutput::automation_event_steps): <p>The list of steps for the specified automation event.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::list_automation_event_steps::ListAutomationEventStepsOutput::next_token): <p>A token used for pagination. If present, indicates there are more results available and can be used in subsequent requests.</p>
13 /// - On failure, responds with [`SdkError<ListAutomationEventStepsError>`](crate::operation::list_automation_event_steps::ListAutomationEventStepsError)
14 pub fn list_automation_event_steps(&self) -> crate::operation::list_automation_event_steps::builders::ListAutomationEventStepsFluentBuilder {
15 crate::operation::list_automation_event_steps::builders::ListAutomationEventStepsFluentBuilder::new(self.handle.clone())
16 }
17}