// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeStackEvents`](crate::operation::describe_stack_events::builders::DescribeStackEventsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_stack_events::builders::DescribeStackEventsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`stack_name(impl Into<String>)`](crate::operation::describe_stack_events::builders::DescribeStackEventsFluentBuilder::stack_name) / [`set_stack_name(Option<String>)`](crate::operation::describe_stack_events::builders::DescribeStackEventsFluentBuilder::set_stack_name):<br>required: **false**<br><p>The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:</p> <ul> <li> <p>Running stacks: You can specify either the stack's name or its unique stack ID.</p></li> <li> <p>Deleted stacks: You must specify the unique stack ID.</p></li> </ul> <p>Default: There is no default value.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::describe_stack_events::builders::DescribeStackEventsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_stack_events::builders::DescribeStackEventsFluentBuilder::set_next_token):<br>required: **false**<br><p>A string that identifies the next page of events that you want to retrieve.</p><br>
/// - On success, responds with [`DescribeStackEventsOutput`](crate::operation::describe_stack_events::DescribeStackEventsOutput) with field(s):
/// - [`stack_events(Option<Vec::<StackEvent>>)`](crate::operation::describe_stack_events::DescribeStackEventsOutput::stack_events): <p>A list of <code>StackEvents</code> structures.</p>
/// - [`next_token(Option<String>)`](crate::operation::describe_stack_events::DescribeStackEventsOutput::next_token): <p>If the output exceeds 1 MB in size, a string that identifies the next page of events. If no additional page exists, this value is null.</p>
/// - On failure, responds with [`SdkError<DescribeStackEventsError>`](crate::operation::describe_stack_events::DescribeStackEventsError)
pub fn describe_stack_events(&self) -> crate::operation::describe_stack_events::builders::DescribeStackEventsFluentBuilder {
crate::operation::describe_stack_events::builders::DescribeStackEventsFluentBuilder::new(self.handle.clone())
}
}