aws_sdk_ssm/client/
describe_instance_patch_states.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 [`DescribeInstancePatchStates`](crate::operation::describe_instance_patch_states::builders::DescribeInstancePatchStatesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_instance_patch_states::builders::DescribeInstancePatchStatesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`instance_ids(impl Into<String>)`](crate::operation::describe_instance_patch_states::builders::DescribeInstancePatchStatesFluentBuilder::instance_ids) / [`set_instance_ids(Option<Vec::<String>>)`](crate::operation::describe_instance_patch_states::builders::DescribeInstancePatchStatesFluentBuilder::set_instance_ids):<br>required: **true**<br><p>The ID of the managed node for which patch state information should be retrieved.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_instance_patch_states::builders::DescribeInstancePatchStatesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_instance_patch_states::builders::DescribeInstancePatchStatesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of items to return. (You received this token from a previous call.)</p><br>
9    ///   - [`max_results(i32)`](crate::operation::describe_instance_patch_states::builders::DescribeInstancePatchStatesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_instance_patch_states::builders::DescribeInstancePatchStatesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of managed nodes to return (per page).</p><br>
10    /// - On success, responds with [`DescribeInstancePatchStatesOutput`](crate::operation::describe_instance_patch_states::DescribeInstancePatchStatesOutput) with field(s):
11    ///   - [`instance_patch_states(Option<Vec::<InstancePatchState>>)`](crate::operation::describe_instance_patch_states::DescribeInstancePatchStatesOutput::instance_patch_states): <p>The high-level patch state for the requested managed nodes.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::describe_instance_patch_states::DescribeInstancePatchStatesOutput::next_token): <p>The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.</p>
13    /// - On failure, responds with [`SdkError<DescribeInstancePatchStatesError>`](crate::operation::describe_instance_patch_states::DescribeInstancePatchStatesError)
14    pub fn describe_instance_patch_states(
15        &self,
16    ) -> crate::operation::describe_instance_patch_states::builders::DescribeInstancePatchStatesFluentBuilder {
17        crate::operation::describe_instance_patch_states::builders::DescribeInstancePatchStatesFluentBuilder::new(self.handle.clone())
18    }
19}