aws_sdk_bedrock/client/create_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 [`CreateMarketplaceModelEndpoint`](crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`model_source_identifier(impl Into<String>)`](crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder::model_source_identifier) / [`set_model_source_identifier(Option<String>)`](crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder::set_model_source_identifier):<br>required: **true**<br><p>The ARN of the model from Amazon Bedrock Marketplace that you want to deploy to the endpoint.</p><br>
7 /// - [`endpoint_config(EndpointConfig)`](crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder::endpoint_config) / [`set_endpoint_config(Option<EndpointConfig>)`](crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder::set_endpoint_config):<br>required: **true**<br><p>The configuration for the endpoint, including the number and type of instances to use.</p><br>
8 /// - [`accept_eula(bool)`](crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder::accept_eula) / [`set_accept_eula(Option<bool>)`](crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder::set_accept_eula):<br>required: **false**<br><p>Indicates whether you accept the end-user license agreement (EULA) for the model. Set to <code>true</code> to accept the EULA.</p><br>
9 /// - [`endpoint_name(impl Into<String>)`](crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder::endpoint_name) / [`set_endpoint_name(Option<String>)`](crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder::set_endpoint_name):<br>required: **true**<br><p>The name of the endpoint. This name must be unique within your Amazon Web Services account and region.</p><br>
10 /// - [`client_request_token(impl Into<String>)`](crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder::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>
11 /// - [`tags(Tag)`](crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder::set_tags):<br>required: **false**<br><p>An array of key-value pairs to apply to the underlying Amazon SageMaker endpoint. You can use these tags to organize and identify your Amazon Web Services resources.</p><br>
12 /// - On success, responds with [`CreateMarketplaceModelEndpointOutput`](crate::operation::create_marketplace_model_endpoint::CreateMarketplaceModelEndpointOutput) with field(s):
13 /// - [`marketplace_model_endpoint(Option<MarketplaceModelEndpoint>)`](crate::operation::create_marketplace_model_endpoint::CreateMarketplaceModelEndpointOutput::marketplace_model_endpoint): <p>Details about the created endpoint.</p>
14 /// - On failure, responds with [`SdkError<CreateMarketplaceModelEndpointError>`](crate::operation::create_marketplace_model_endpoint::CreateMarketplaceModelEndpointError)
15 pub fn create_marketplace_model_endpoint(
16 &self,
17 ) -> crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder {
18 crate::operation::create_marketplace_model_endpoint::builders::CreateMarketplaceModelEndpointFluentBuilder::new(self.handle.clone())
19 }
20}