aws_sdk_sagemaker/client/
describe_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 [`DescribeHubContent`](crate::operation::describe_hub_content::builders::DescribeHubContentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`hub_name(impl Into<String>)`](crate::operation::describe_hub_content::builders::DescribeHubContentFluentBuilder::hub_name) / [`set_hub_name(Option<String>)`](crate::operation::describe_hub_content::builders::DescribeHubContentFluentBuilder::set_hub_name):<br>required: **true**<br><p>The name of the hub that contains the content to describe.</p><br>
7    ///   - [`hub_content_type(HubContentType)`](crate::operation::describe_hub_content::builders::DescribeHubContentFluentBuilder::hub_content_type) / [`set_hub_content_type(Option<HubContentType>)`](crate::operation::describe_hub_content::builders::DescribeHubContentFluentBuilder::set_hub_content_type):<br>required: **true**<br><p>The type of content in the hub.</p><br>
8    ///   - [`hub_content_name(impl Into<String>)`](crate::operation::describe_hub_content::builders::DescribeHubContentFluentBuilder::hub_content_name) / [`set_hub_content_name(Option<String>)`](crate::operation::describe_hub_content::builders::DescribeHubContentFluentBuilder::set_hub_content_name):<br>required: **true**<br><p>The name of the content to describe.</p><br>
9    ///   - [`hub_content_version(impl Into<String>)`](crate::operation::describe_hub_content::builders::DescribeHubContentFluentBuilder::hub_content_version) / [`set_hub_content_version(Option<String>)`](crate::operation::describe_hub_content::builders::DescribeHubContentFluentBuilder::set_hub_content_version):<br>required: **false**<br><p>The version of the content to describe.</p><br>
10    /// - On success, responds with [`DescribeHubContentOutput`](crate::operation::describe_hub_content::DescribeHubContentOutput) with field(s):
11    ///   - [`hub_content_name(Option<String>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::hub_content_name): <p>The name of the hub content.</p>
12    ///   - [`hub_content_arn(Option<String>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::hub_content_arn): <p>The Amazon Resource Name (ARN) of the hub content.</p>
13    ///   - [`hub_content_version(Option<String>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::hub_content_version): <p>The version of the hub content.</p>
14    ///   - [`hub_content_type(Option<HubContentType>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::hub_content_type): <p>The type of hub content.</p>
15    ///   - [`document_schema_version(Option<String>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::document_schema_version): <p>The document schema version for the hub content.</p>
16    ///   - [`hub_name(Option<String>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::hub_name): <p>The name of the hub that contains the content.</p>
17    ///   - [`hub_arn(Option<String>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::hub_arn): <p>The Amazon Resource Name (ARN) of the hub that contains the content.</p>
18    ///   - [`hub_content_display_name(Option<String>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::hub_content_display_name): <p>The display name of the hub content.</p>
19    ///   - [`hub_content_description(Option<String>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::hub_content_description): <p>A description of the hub content.</p>
20    ///   - [`hub_content_markdown(Option<String>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::hub_content_markdown): <p>A string that provides a description of the hub content. This string can include links, tables, and standard markdown formating.</p>
21    ///   - [`hub_content_document(Option<String>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::hub_content_document): <p>The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.</p>
22    ///   - [`sage_maker_public_hub_content_arn(Option<String>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::sage_maker_public_hub_content_arn): <p>The ARN of the public hub content.</p>
23    ///   - [`reference_min_version(Option<String>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::reference_min_version): <p>The minimum version of the hub content.</p>
24    ///   - [`support_status(Option<HubContentSupportStatus>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::support_status): <p>The support status of the hub content.</p>
25    ///   - [`hub_content_search_keywords(Option<Vec::<String>>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::hub_content_search_keywords): <p>The searchable keywords for the hub content.</p>
26    ///   - [`hub_content_dependencies(Option<Vec::<HubContentDependency>>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::hub_content_dependencies): <p>The location of any dependencies that the hub content has, such as scripts, model artifacts, datasets, or notebooks.</p>
27    ///   - [`hub_content_status(Option<HubContentStatus>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::hub_content_status): <p>The status of the hub content.</p>
28    ///   - [`failure_reason(Option<String>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::failure_reason): <p>The failure reason if importing hub content failed.</p>
29    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::creation_time): <p>The date and time that hub content was created.</p>
30    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::describe_hub_content::DescribeHubContentOutput::last_modified_time): <p>The last modified time of the hub content.</p>
31    /// - On failure, responds with [`SdkError<DescribeHubContentError>`](crate::operation::describe_hub_content::DescribeHubContentError)
32    pub fn describe_hub_content(&self) -> crate::operation::describe_hub_content::builders::DescribeHubContentFluentBuilder {
33        crate::operation::describe_hub_content::builders::DescribeHubContentFluentBuilder::new(self.handle.clone())
34    }
35}