aws_sdk_mq/client/reboot_broker.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 [`RebootBroker`](crate::operation::reboot_broker::builders::RebootBrokerFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`broker_id(impl Into<String>)`](crate::operation::reboot_broker::builders::RebootBrokerFluentBuilder::broker_id) / [`set_broker_id(Option<String>)`](crate::operation::reboot_broker::builders::RebootBrokerFluentBuilder::set_broker_id):<br>required: **true**<br><p>The unique ID that Amazon MQ generates for the broker.</p><br>
7 /// - On success, responds with [`RebootBrokerOutput`](crate::operation::reboot_broker::RebootBrokerOutput)
8 /// - On failure, responds with [`SdkError<RebootBrokerError>`](crate::operation::reboot_broker::RebootBrokerError)
9 pub fn reboot_broker(&self) -> crate::operation::reboot_broker::builders::RebootBrokerFluentBuilder {
10 crate::operation::reboot_broker::builders::RebootBrokerFluentBuilder::new(self.handle.clone())
11 }
12}