1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateEndpoint`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`endpoint_arn(impl Into<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::endpoint_arn) / [`set_endpoint_arn(Option<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::set_endpoint_arn): <p>The Amazon Resource Number (ARN) of the endpoint being updated.</p>
    ///   - [`desired_model_arn(impl Into<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::desired_model_arn) / [`set_desired_model_arn(Option<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::set_desired_model_arn): <p>The ARN of the new model to use when updating an existing endpoint.</p>
    ///   - [`desired_inference_units(i32)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::desired_inference_units) / [`set_desired_inference_units(Option<i32>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::set_desired_inference_units): <p> The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.</p>
    ///   - [`desired_data_access_role_arn(impl Into<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::desired_data_access_role_arn) / [`set_desired_data_access_role_arn(Option<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::set_desired_data_access_role_arn): <p>Data access role ARN to use in case the new model is encrypted with a customer CMK.</p>
    ///   - [`flywheel_arn(impl Into<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::flywheel_arn) / [`set_flywheel_arn(Option<String>)`](crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::set_flywheel_arn): <p>The Amazon Resource Number (ARN) of the flywheel</p>
    /// - On success, responds with [`UpdateEndpointOutput`](crate::operation::update_endpoint::UpdateEndpointOutput) with field(s):
    ///   - [`desired_model_arn(Option<String>)`](crate::operation::update_endpoint::UpdateEndpointOutput::desired_model_arn): <p>The Amazon Resource Number (ARN) of the new model.</p>
    /// - On failure, responds with [`SdkError<UpdateEndpointError>`](crate::operation::update_endpoint::UpdateEndpointError)
    pub fn update_endpoint(
        &self,
    ) -> crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder {
        crate::operation::update_endpoint::builders::UpdateEndpointFluentBuilder::new(
            self.handle.clone(),
        )
    }
}