aws_sdk_sagemaker/client/
delete_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 [`DeleteHubContent`](crate::operation::delete_hub_content::builders::DeleteHubContentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`hub_name(impl Into<String>)`](crate::operation::delete_hub_content::builders::DeleteHubContentFluentBuilder::hub_name) / [`set_hub_name(Option<String>)`](crate::operation::delete_hub_content::builders::DeleteHubContentFluentBuilder::set_hub_name):<br>required: **true**<br><p>The name of the hub that you want to delete content in.</p><br>
7    ///   - [`hub_content_type(HubContentType)`](crate::operation::delete_hub_content::builders::DeleteHubContentFluentBuilder::hub_content_type) / [`set_hub_content_type(Option<HubContentType>)`](crate::operation::delete_hub_content::builders::DeleteHubContentFluentBuilder::set_hub_content_type):<br>required: **true**<br><p>The type of content that you want to delete from a hub.</p><br>
8    ///   - [`hub_content_name(impl Into<String>)`](crate::operation::delete_hub_content::builders::DeleteHubContentFluentBuilder::hub_content_name) / [`set_hub_content_name(Option<String>)`](crate::operation::delete_hub_content::builders::DeleteHubContentFluentBuilder::set_hub_content_name):<br>required: **true**<br><p>The name of the content that you want to delete from a hub.</p><br>
9    ///   - [`hub_content_version(impl Into<String>)`](crate::operation::delete_hub_content::builders::DeleteHubContentFluentBuilder::hub_content_version) / [`set_hub_content_version(Option<String>)`](crate::operation::delete_hub_content::builders::DeleteHubContentFluentBuilder::set_hub_content_version):<br>required: **true**<br><p>The version of the content that you want to delete from a hub.</p><br>
10    /// - On success, responds with [`DeleteHubContentOutput`](crate::operation::delete_hub_content::DeleteHubContentOutput)
11    /// - On failure, responds with [`SdkError<DeleteHubContentError>`](crate::operation::delete_hub_content::DeleteHubContentError)
12    pub fn delete_hub_content(&self) -> crate::operation::delete_hub_content::builders::DeleteHubContentFluentBuilder {
13        crate::operation::delete_hub_content::builders::DeleteHubContentFluentBuilder::new(self.handle.clone())
14    }
15}