aws_sdk_eks/client/describe_update.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 [`DescribeUpdate`](crate::operation::describe_update::builders::DescribeUpdateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::describe_update::builders::DescribeUpdateFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::describe_update::builders::DescribeUpdateFluentBuilder::set_name):<br>required: **true**<br><p>The name of the Amazon EKS cluster associated with the update.</p><br>
7 /// - [`update_id(impl Into<String>)`](crate::operation::describe_update::builders::DescribeUpdateFluentBuilder::update_id) / [`set_update_id(Option<String>)`](crate::operation::describe_update::builders::DescribeUpdateFluentBuilder::set_update_id):<br>required: **true**<br><p>The ID of the update to describe.</p><br>
8 /// - [`nodegroup_name(impl Into<String>)`](crate::operation::describe_update::builders::DescribeUpdateFluentBuilder::nodegroup_name) / [`set_nodegroup_name(Option<String>)`](crate::operation::describe_update::builders::DescribeUpdateFluentBuilder::set_nodegroup_name):<br>required: **false**<br><p>The name of the Amazon EKS node group associated with the update. This parameter is required if the update is a node group update.</p><br>
9 /// - [`addon_name(impl Into<String>)`](crate::operation::describe_update::builders::DescribeUpdateFluentBuilder::addon_name) / [`set_addon_name(Option<String>)`](crate::operation::describe_update::builders::DescribeUpdateFluentBuilder::set_addon_name):<br>required: **false**<br><p>The name of the add-on. The name must match one of the names returned by <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html"> <code>ListAddons</code> </a>. This parameter is required if the update is an add-on update.</p><br>
10 /// - On success, responds with [`DescribeUpdateOutput`](crate::operation::describe_update::DescribeUpdateOutput) with field(s):
11 /// - [`update(Option<Update>)`](crate::operation::describe_update::DescribeUpdateOutput::update): <p>The full description of the specified update.</p>
12 /// - On failure, responds with [`SdkError<DescribeUpdateError>`](crate::operation::describe_update::DescribeUpdateError)
13 pub fn describe_update(&self) -> crate::operation::describe_update::builders::DescribeUpdateFluentBuilder {
14 crate::operation::describe_update::builders::DescribeUpdateFluentBuilder::new(self.handle.clone())
15 }
16}