aws_sdk_outposts/client/
update_outpost.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 [`UpdateOutpost`](crate::operation::update_outpost::builders::UpdateOutpostFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`outpost_id(impl Into<String>)`](crate::operation::update_outpost::builders::UpdateOutpostFluentBuilder::outpost_id) / [`set_outpost_id(Option<String>)`](crate::operation::update_outpost::builders::UpdateOutpostFluentBuilder::set_outpost_id):<br>required: **true**<br><p>The ID or ARN of the Outpost.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::update_outpost::builders::UpdateOutpostFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_outpost::builders::UpdateOutpostFluentBuilder::set_name):<br>required: **false**<br><p>The name of the Outpost.</p><br>
8    ///   - [`description(impl Into<String>)`](crate::operation::update_outpost::builders::UpdateOutpostFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_outpost::builders::UpdateOutpostFluentBuilder::set_description):<br>required: **false**<br><p>The description of the Outpost.</p><br>
9    ///   - [`supported_hardware_type(SupportedHardwareType)`](crate::operation::update_outpost::builders::UpdateOutpostFluentBuilder::supported_hardware_type) / [`set_supported_hardware_type(Option<SupportedHardwareType>)`](crate::operation::update_outpost::builders::UpdateOutpostFluentBuilder::set_supported_hardware_type):<br>required: **false**<br><p>The type of hardware for this Outpost.</p><br>
10    /// - On success, responds with [`UpdateOutpostOutput`](crate::operation::update_outpost::UpdateOutpostOutput) with field(s):
11    ///   - [`outpost(Option<Outpost>)`](crate::operation::update_outpost::UpdateOutpostOutput::outpost): <p>Information about an Outpost.</p>
12    /// - On failure, responds with [`SdkError<UpdateOutpostError>`](crate::operation::update_outpost::UpdateOutpostError)
13    pub fn update_outpost(&self) -> crate::operation::update_outpost::builders::UpdateOutpostFluentBuilder {
14        crate::operation::update_outpost::builders::UpdateOutpostFluentBuilder::new(self.handle.clone())
15    }
16}