pub struct CreateInferenceRecommendationsJob<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateInferenceRecommendationsJob
.
Starts a recommendation job. You can create either an instance recommendation or load test job.
Implementations
impl<C, M, R> CreateInferenceRecommendationsJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateInferenceRecommendationsJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateInferenceRecommendationsJobOutput, SdkError<CreateInferenceRecommendationsJobError>> where
R::Policy: SmithyRetryPolicy<CreateInferenceRecommendationsJobInputOperationOutputAlias, CreateInferenceRecommendationsJobOutput, CreateInferenceRecommendationsJobError, CreateInferenceRecommendationsJobInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateInferenceRecommendationsJobOutput, SdkError<CreateInferenceRecommendationsJobError>> where
R::Policy: SmithyRetryPolicy<CreateInferenceRecommendationsJobInputOperationOutputAlias, CreateInferenceRecommendationsJobOutput, CreateInferenceRecommendationsJobError, CreateInferenceRecommendationsJobInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.
A name for the recommendation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.
Defines the type of recommendation job. Specify Default
to initiate an instance recommendation and Advanced
to initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT
) job.
Defines the type of recommendation job. Specify Default
to initiate an instance recommendation and Advanced
to initiate a load test. If left unspecified, Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT
) job.
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.
Provides information about the versioned model package Amazon Resource Name (ARN), the traffic pattern, and endpoint configurations.
Description of the recommendation job.
Description of the recommendation job.
A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped.
pub fn set_stopping_conditions(
self,
input: Option<RecommendationJobStoppingConditions>
) -> Self
pub fn set_stopping_conditions(
self,
input: Option<RecommendationJobStoppingConditions>
) -> Self
A set of conditions for stopping a recommendation job. If any of the conditions are met, the job is automatically stopped.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateInferenceRecommendationsJob<C, M, R>
impl<C, M, R> Send for CreateInferenceRecommendationsJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateInferenceRecommendationsJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateInferenceRecommendationsJob<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateInferenceRecommendationsJob<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more