aws_sdk_sagemaker/client/
describe_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 [`DescribeHub`](crate::operation::describe_hub::builders::DescribeHubFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`hub_name(impl Into<String>)`](crate::operation::describe_hub::builders::DescribeHubFluentBuilder::hub_name) / [`set_hub_name(Option<String>)`](crate::operation::describe_hub::builders::DescribeHubFluentBuilder::set_hub_name):<br>required: **true**<br><p>The name of the hub to describe.</p><br>
7    /// - On success, responds with [`DescribeHubOutput`](crate::operation::describe_hub::DescribeHubOutput) with field(s):
8    ///   - [`hub_name(Option<String>)`](crate::operation::describe_hub::DescribeHubOutput::hub_name): <p>The name of the hub.</p>
9    ///   - [`hub_arn(Option<String>)`](crate::operation::describe_hub::DescribeHubOutput::hub_arn): <p>The Amazon Resource Name (ARN) of the hub.</p>
10    ///   - [`hub_display_name(Option<String>)`](crate::operation::describe_hub::DescribeHubOutput::hub_display_name): <p>The display name of the hub.</p>
11    ///   - [`hub_description(Option<String>)`](crate::operation::describe_hub::DescribeHubOutput::hub_description): <p>A description of the hub.</p>
12    ///   - [`hub_search_keywords(Option<Vec::<String>>)`](crate::operation::describe_hub::DescribeHubOutput::hub_search_keywords): <p>The searchable keywords for the hub.</p>
13    ///   - [`s3_storage_config(Option<HubS3StorageConfig>)`](crate::operation::describe_hub::DescribeHubOutput::s3_storage_config): <p>The Amazon S3 storage configuration for the hub.</p>
14    ///   - [`hub_status(Option<HubStatus>)`](crate::operation::describe_hub::DescribeHubOutput::hub_status): <p>The status of the hub.</p>
15    ///   - [`failure_reason(Option<String>)`](crate::operation::describe_hub::DescribeHubOutput::failure_reason): <p>The failure reason if importing hub content failed.</p>
16    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_hub::DescribeHubOutput::creation_time): <p>The date and time that the hub was created.</p>
17    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::describe_hub::DescribeHubOutput::last_modified_time): <p>The date and time that the hub was last modified.</p>
18    /// - On failure, responds with [`SdkError<DescribeHubError>`](crate::operation::describe_hub::DescribeHubError)
19    pub fn describe_hub(&self) -> crate::operation::describe_hub::builders::DescribeHubFluentBuilder {
20        crate::operation::describe_hub::builders::DescribeHubFluentBuilder::new(self.handle.clone())
21    }
22}