aws_sdk_sagemaker/client/
describe_inference_component.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 [`DescribeInferenceComponent`](crate::operation::describe_inference_component::builders::DescribeInferenceComponentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`inference_component_name(impl Into<String>)`](crate::operation::describe_inference_component::builders::DescribeInferenceComponentFluentBuilder::inference_component_name) / [`set_inference_component_name(Option<String>)`](crate::operation::describe_inference_component::builders::DescribeInferenceComponentFluentBuilder::set_inference_component_name):<br>required: **true**<br><p>The name of the inference component.</p><br>
7    /// - On success, responds with [`DescribeInferenceComponentOutput`](crate::operation::describe_inference_component::DescribeInferenceComponentOutput) with field(s):
8    ///   - [`inference_component_name(Option<String>)`](crate::operation::describe_inference_component::DescribeInferenceComponentOutput::inference_component_name): <p>The name of the inference component.</p>
9    ///   - [`inference_component_arn(Option<String>)`](crate::operation::describe_inference_component::DescribeInferenceComponentOutput::inference_component_arn): <p>The Amazon Resource Name (ARN) of the inference component.</p>
10    ///   - [`endpoint_name(Option<String>)`](crate::operation::describe_inference_component::DescribeInferenceComponentOutput::endpoint_name): <p>The name of the endpoint that hosts the inference component.</p>
11    ///   - [`endpoint_arn(Option<String>)`](crate::operation::describe_inference_component::DescribeInferenceComponentOutput::endpoint_arn): <p>The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.</p>
12    ///   - [`variant_name(Option<String>)`](crate::operation::describe_inference_component::DescribeInferenceComponentOutput::variant_name): <p>The name of the production variant that hosts the inference component.</p>
13    ///   - [`failure_reason(Option<String>)`](crate::operation::describe_inference_component::DescribeInferenceComponentOutput::failure_reason): <p>If the inference component status is <code>Failed</code>, the reason for the failure.</p>
14    ///   - [`specification(Option<InferenceComponentSpecificationSummary>)`](crate::operation::describe_inference_component::DescribeInferenceComponentOutput::specification): <p>Details about the resources that are deployed with this inference component.</p>
15    ///   - [`runtime_config(Option<InferenceComponentRuntimeConfigSummary>)`](crate::operation::describe_inference_component::DescribeInferenceComponentOutput::runtime_config): <p>Details about the runtime settings for the model that is deployed with the inference component.</p>
16    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_inference_component::DescribeInferenceComponentOutput::creation_time): <p>The time when the inference component was created.</p>
17    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::describe_inference_component::DescribeInferenceComponentOutput::last_modified_time): <p>The time when the inference component was last updated.</p>
18    ///   - [`inference_component_status(Option<InferenceComponentStatus>)`](crate::operation::describe_inference_component::DescribeInferenceComponentOutput::inference_component_status): <p>The status of the inference component.</p>
19    ///   - [`last_deployment_config(Option<InferenceComponentDeploymentConfig>)`](crate::operation::describe_inference_component::DescribeInferenceComponentOutput::last_deployment_config): <p>The deployment and rollback settings that you assigned to the inference component.</p>
20    /// - On failure, responds with [`SdkError<DescribeInferenceComponentError>`](crate::operation::describe_inference_component::DescribeInferenceComponentError)
21    pub fn describe_inference_component(&self) -> crate::operation::describe_inference_component::builders::DescribeInferenceComponentFluentBuilder {
22        crate::operation::describe_inference_component::builders::DescribeInferenceComponentFluentBuilder::new(self.handle.clone())
23    }
24}