aws_sdk_bedrock/client/update_marketplace_model_endpoint.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 [`UpdateMarketplaceModelEndpoint`](crate::operation::update_marketplace_model_endpoint::builders::UpdateMarketplaceModelEndpointFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`endpoint_arn(impl Into<String>)`](crate::operation::update_marketplace_model_endpoint::builders::UpdateMarketplaceModelEndpointFluentBuilder::endpoint_arn) / [`set_endpoint_arn(Option<String>)`](crate::operation::update_marketplace_model_endpoint::builders::UpdateMarketplaceModelEndpointFluentBuilder::set_endpoint_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the endpoint you want to update.</p><br>
7 /// - [`endpoint_config(EndpointConfig)`](crate::operation::update_marketplace_model_endpoint::builders::UpdateMarketplaceModelEndpointFluentBuilder::endpoint_config) / [`set_endpoint_config(Option<EndpointConfig>)`](crate::operation::update_marketplace_model_endpoint::builders::UpdateMarketplaceModelEndpointFluentBuilder::set_endpoint_config):<br>required: **true**<br><p>The new configuration for the endpoint, including the number and type of instances to use.</p><br>
8 /// - [`client_request_token(impl Into<String>)`](crate::operation::update_marketplace_model_endpoint::builders::UpdateMarketplaceModelEndpointFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::update_marketplace_model_endpoint::builders::UpdateMarketplaceModelEndpointFluentBuilder::set_client_request_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is listed as not required because Amazon Web Services SDKs automatically generate it for you and set this parameter. If you're not using the Amazon Web Services SDK or the CLI, you must provide this token or the action will fail.</p><br>
9 /// - On success, responds with [`UpdateMarketplaceModelEndpointOutput`](crate::operation::update_marketplace_model_endpoint::UpdateMarketplaceModelEndpointOutput) with field(s):
10 /// - [`marketplace_model_endpoint(Option<MarketplaceModelEndpoint>)`](crate::operation::update_marketplace_model_endpoint::UpdateMarketplaceModelEndpointOutput::marketplace_model_endpoint): <p>Details about the updated endpoint.</p>
11 /// - On failure, responds with [`SdkError<UpdateMarketplaceModelEndpointError>`](crate::operation::update_marketplace_model_endpoint::UpdateMarketplaceModelEndpointError)
12 pub fn update_marketplace_model_endpoint(
13 &self,
14 ) -> crate::operation::update_marketplace_model_endpoint::builders::UpdateMarketplaceModelEndpointFluentBuilder {
15 crate::operation::update_marketplace_model_endpoint::builders::UpdateMarketplaceModelEndpointFluentBuilder::new(self.handle.clone())
16 }
17}