aws_sdk_sagemaker/client/update_hub_content.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 [`UpdateHubContent`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`hub_name(impl Into<String>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::hub_name) / [`set_hub_name(Option<String>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::set_hub_name):<br>required: **true**<br><p>The name of the SageMaker hub that contains the hub content you want to update. You can optionally use the hub ARN instead.</p><br>
7 /// - [`hub_content_name(impl Into<String>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::hub_content_name) / [`set_hub_content_name(Option<String>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::set_hub_content_name):<br>required: **true**<br><p>The name of the hub content resource that you want to update.</p><br>
8 /// - [`hub_content_type(HubContentType)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::hub_content_type) / [`set_hub_content_type(Option<HubContentType>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::set_hub_content_type):<br>required: **true**<br><p>The content type of the resource that you want to update. Only specify a <code>Model</code> or <code>Notebook</code> resource for this API. To update a <code>ModelReference</code>, use the <code>UpdateHubContentReference</code> API instead.</p><br>
9 /// - [`hub_content_version(impl Into<String>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::hub_content_version) / [`set_hub_content_version(Option<String>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::set_hub_content_version):<br>required: **true**<br><p>The hub content version that you want to update. For example, if you have two versions of a resource in your hub, you can update the second version.</p><br>
10 /// - [`hub_content_display_name(impl Into<String>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::hub_content_display_name) / [`set_hub_content_display_name(Option<String>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::set_hub_content_display_name):<br>required: **false**<br><p>The display name of the hub content.</p><br>
11 /// - [`hub_content_description(impl Into<String>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::hub_content_description) / [`set_hub_content_description(Option<String>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::set_hub_content_description):<br>required: **false**<br><p>The description of the hub content.</p><br>
12 /// - [`hub_content_markdown(impl Into<String>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::hub_content_markdown) / [`set_hub_content_markdown(Option<String>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::set_hub_content_markdown):<br>required: **false**<br><p>A string that provides a description of the hub content. This string can include links, tables, and standard markdown formatting.</p><br>
13 /// - [`hub_content_search_keywords(impl Into<String>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::hub_content_search_keywords) / [`set_hub_content_search_keywords(Option<Vec::<String>>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::set_hub_content_search_keywords):<br>required: **false**<br><p>The searchable keywords of the hub content.</p><br>
14 /// - [`support_status(HubContentSupportStatus)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::support_status) / [`set_support_status(Option<HubContentSupportStatus>)`](crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::set_support_status):<br>required: **false**<br><p>Indicates the current status of the hub content resource.</p><br>
15 /// - On success, responds with [`UpdateHubContentOutput`](crate::operation::update_hub_content::UpdateHubContentOutput) with field(s):
16 /// - [`hub_arn(Option<String>)`](crate::operation::update_hub_content::UpdateHubContentOutput::hub_arn): <p>The ARN of the private model hub that contains the updated hub content.</p>
17 /// - [`hub_content_arn(Option<String>)`](crate::operation::update_hub_content::UpdateHubContentOutput::hub_content_arn): <p>The ARN of the hub content resource that was updated.</p>
18 /// - On failure, responds with [`SdkError<UpdateHubContentError>`](crate::operation::update_hub_content::UpdateHubContentError)
19 pub fn update_hub_content(&self) -> crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder {
20 crate::operation::update_hub_content::builders::UpdateHubContentFluentBuilder::new(self.handle.clone())
21 }
22}