1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RebootBroker`](crate::operation::reboot_broker::builders::RebootBrokerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`broker_ids(Vec<String>)`](crate::operation::reboot_broker::builders::RebootBrokerFluentBuilder::broker_ids) / [`set_broker_ids(Option<Vec<String>>)`](crate::operation::reboot_broker::builders::RebootBrokerFluentBuilder::set_broker_ids): <p>The list of broker IDs to be rebooted. The reboot-broker operation supports rebooting one broker at a time.</p>
    ///   - [`cluster_arn(impl ::std::convert::Into<String>)`](crate::operation::reboot_broker::builders::RebootBrokerFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::reboot_broker::builders::RebootBrokerFluentBuilder::set_cluster_arn): <p>The Amazon Resource Name (ARN) of the cluster to be updated.</p>
    /// - On success, responds with [`RebootBrokerOutput`](crate::operation::reboot_broker::RebootBrokerOutput) with field(s):
    ///   - [`cluster_arn(Option<String>)`](crate::operation::reboot_broker::RebootBrokerOutput::cluster_arn): <p>The Amazon Resource Name (ARN) of the cluster.</p>
    ///   - [`cluster_operation_arn(Option<String>)`](crate::operation::reboot_broker::RebootBrokerOutput::cluster_operation_arn): <p>The Amazon Resource Name (ARN) of the cluster operation.</p>
    /// - On failure, responds with [`SdkError<RebootBrokerError>`](crate::operation::reboot_broker::RebootBrokerError)
    pub fn reboot_broker(&self) -> crate::operation::reboot_broker::builders::RebootBrokerFluentBuilder {
        crate::operation::reboot_broker::builders::RebootBrokerFluentBuilder::new(self.handle.clone())
    }
}