aws-sdk-sagemaker 1.198.0

AWS SDK for Amazon SageMaker Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateInferenceComponent`](crate::operation::update_inference_component::builders::UpdateInferenceComponentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`inference_component_name(impl Into<String>)`](crate::operation::update_inference_component::builders::UpdateInferenceComponentFluentBuilder::inference_component_name) / [`set_inference_component_name(Option<String>)`](crate::operation::update_inference_component::builders::UpdateInferenceComponentFluentBuilder::set_inference_component_name):<br>required: **true**<br><p>The name of the inference component.</p><br>
    ///   - [`specification(InferenceComponentSpecification)`](crate::operation::update_inference_component::builders::UpdateInferenceComponentFluentBuilder::specification) / [`set_specification(Option<InferenceComponentSpecification>)`](crate::operation::update_inference_component::builders::UpdateInferenceComponentFluentBuilder::set_specification):<br>required: **false**<br><p>Details about the resources to deploy with this inference component, including the model, container, and compute resources.</p><br>
    ///   - [`specifications(InferenceComponentSpecification)`](crate::operation::update_inference_component::builders::UpdateInferenceComponentFluentBuilder::specifications) / [`set_specifications(Option<Vec::<InferenceComponentSpecification>>)`](crate::operation::update_inference_component::builders::UpdateInferenceComponentFluentBuilder::set_specifications):<br>required: **false**<br><p>A list of specification objects for the inference component, one per instance type. Use this parameter when you want to specify different model or resource configurations for the inference component on each instance type. You can use either this parameter or the singular <code>Specification</code> parameter, but not both.</p><br>
    ///   - [`runtime_config(InferenceComponentRuntimeConfig)`](crate::operation::update_inference_component::builders::UpdateInferenceComponentFluentBuilder::runtime_config) / [`set_runtime_config(Option<InferenceComponentRuntimeConfig>)`](crate::operation::update_inference_component::builders::UpdateInferenceComponentFluentBuilder::set_runtime_config):<br>required: **false**<br><p>Runtime settings for a model that is deployed with an inference component.</p><br>
    ///   - [`deployment_config(InferenceComponentDeploymentConfig)`](crate::operation::update_inference_component::builders::UpdateInferenceComponentFluentBuilder::deployment_config) / [`set_deployment_config(Option<InferenceComponentDeploymentConfig>)`](crate::operation::update_inference_component::builders::UpdateInferenceComponentFluentBuilder::set_deployment_config):<br>required: **false**<br><p>The deployment configuration for the inference component. The configuration contains the desired deployment strategy and rollback settings.</p><br>
    /// - On success, responds with [`UpdateInferenceComponentOutput`](crate::operation::update_inference_component::UpdateInferenceComponentOutput) with field(s):
    ///   - [`inference_component_arn(Option<String>)`](crate::operation::update_inference_component::UpdateInferenceComponentOutput::inference_component_arn): <p>The Amazon Resource Name (ARN) of the inference component.</p>
    /// - On failure, responds with [`SdkError<UpdateInferenceComponentError>`](crate::operation::update_inference_component::UpdateInferenceComponentError)
    pub fn update_inference_component(&self) -> crate::operation::update_inference_component::builders::UpdateInferenceComponentFluentBuilder {
        crate::operation::update_inference_component::builders::UpdateInferenceComponentFluentBuilder::new(self.handle.clone())
    }
}