aws_sdk_sagemaker/client/update_hub.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 [`UpdateHub`](crate::operation::update_hub::builders::UpdateHubFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`hub_name(impl Into<String>)`](crate::operation::update_hub::builders::UpdateHubFluentBuilder::hub_name) / [`set_hub_name(Option<String>)`](crate::operation::update_hub::builders::UpdateHubFluentBuilder::set_hub_name):<br>required: **true**<br><p>The name of the hub to update.</p><br>
7 /// - [`hub_description(impl Into<String>)`](crate::operation::update_hub::builders::UpdateHubFluentBuilder::hub_description) / [`set_hub_description(Option<String>)`](crate::operation::update_hub::builders::UpdateHubFluentBuilder::set_hub_description):<br>required: **false**<br><p>A description of the updated hub.</p><br>
8 /// - [`hub_display_name(impl Into<String>)`](crate::operation::update_hub::builders::UpdateHubFluentBuilder::hub_display_name) / [`set_hub_display_name(Option<String>)`](crate::operation::update_hub::builders::UpdateHubFluentBuilder::set_hub_display_name):<br>required: **false**<br><p>The display name of the hub.</p><br>
9 /// - [`hub_search_keywords(impl Into<String>)`](crate::operation::update_hub::builders::UpdateHubFluentBuilder::hub_search_keywords) / [`set_hub_search_keywords(Option<Vec::<String>>)`](crate::operation::update_hub::builders::UpdateHubFluentBuilder::set_hub_search_keywords):<br>required: **false**<br><p>The searchable keywords for the hub.</p><br>
10 /// - On success, responds with [`UpdateHubOutput`](crate::operation::update_hub::UpdateHubOutput) with field(s):
11 /// - [`hub_arn(Option<String>)`](crate::operation::update_hub::UpdateHubOutput::hub_arn): <p>The Amazon Resource Name (ARN) of the updated hub.</p>
12 /// - On failure, responds with [`SdkError<UpdateHubError>`](crate::operation::update_hub::UpdateHubError)
13 pub fn update_hub(&self) -> crate::operation::update_hub::builders::UpdateHubFluentBuilder {
14 crate::operation::update_hub::builders::UpdateHubFluentBuilder::new(self.handle.clone())
15 }
16}