aws_sdk_autoscaling/client/describe_lifecycle_hooks.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 [`DescribeLifecycleHooks`](crate::operation::describe_lifecycle_hooks::builders::DescribeLifecycleHooksFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`auto_scaling_group_name(impl Into<String>)`](crate::operation::describe_lifecycle_hooks::builders::DescribeLifecycleHooksFluentBuilder::auto_scaling_group_name) / [`set_auto_scaling_group_name(Option<String>)`](crate::operation::describe_lifecycle_hooks::builders::DescribeLifecycleHooksFluentBuilder::set_auto_scaling_group_name):<br>required: **true**<br><p>The name of the Auto Scaling group.</p><br>
7 /// - [`lifecycle_hook_names(impl Into<String>)`](crate::operation::describe_lifecycle_hooks::builders::DescribeLifecycleHooksFluentBuilder::lifecycle_hook_names) / [`set_lifecycle_hook_names(Option<Vec::<String>>)`](crate::operation::describe_lifecycle_hooks::builders::DescribeLifecycleHooksFluentBuilder::set_lifecycle_hook_names):<br>required: **false**<br><p>The names of one or more lifecycle hooks. If you omit this property, all lifecycle hooks are described.</p><br>
8 /// - On success, responds with [`DescribeLifecycleHooksOutput`](crate::operation::describe_lifecycle_hooks::DescribeLifecycleHooksOutput) with field(s):
9 /// - [`lifecycle_hooks(Option<Vec::<LifecycleHook>>)`](crate::operation::describe_lifecycle_hooks::DescribeLifecycleHooksOutput::lifecycle_hooks): <p>The lifecycle hooks for the specified group.</p>
10 /// - On failure, responds with [`SdkError<DescribeLifecycleHooksError>`](crate::operation::describe_lifecycle_hooks::DescribeLifecycleHooksError)
11 pub fn describe_lifecycle_hooks(&self) -> crate::operation::describe_lifecycle_hooks::builders::DescribeLifecycleHooksFluentBuilder {
12 crate::operation::describe_lifecycle_hooks::builders::DescribeLifecycleHooksFluentBuilder::new(self.handle.clone())
13 }
14}