pub struct ListInferenceRecommendationsJobSteps { /* private fields */ }
Expand description
Fluent builder constructing a request to ListInferenceRecommendationsJobSteps
.
Returns a list of the subtasks for an Inference Recommender job.
The supported subtasks are benchmarks, which evaluate the performance of your model on different instance types.
Implementations§
source§impl ListInferenceRecommendationsJobSteps
impl ListInferenceRecommendationsJobSteps
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListInferenceRecommendationsJobSteps, AwsResponseRetryClassifier>, SdkError<ListInferenceRecommendationsJobStepsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListInferenceRecommendationsJobSteps, AwsResponseRetryClassifier>, SdkError<ListInferenceRecommendationsJobStepsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ListInferenceRecommendationsJobStepsOutput, SdkError<ListInferenceRecommendationsJobStepsError>>
pub async fn send(
self
) -> Result<ListInferenceRecommendationsJobStepsOutput, SdkError<ListInferenceRecommendationsJobStepsError>>
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.
sourcepub fn into_paginator(self) -> ListInferenceRecommendationsJobStepsPaginator
pub fn into_paginator(self) -> ListInferenceRecommendationsJobStepsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn job_name(self, input: impl Into<String>) -> Self
pub fn job_name(self, input: impl Into<String>) -> Self
The name for the Inference Recommender job.
sourcepub fn set_job_name(self, input: Option<String>) -> Self
pub fn set_job_name(self, input: Option<String>) -> Self
The name for the Inference Recommender job.
sourcepub fn status(self, input: RecommendationJobStatus) -> Self
pub fn status(self, input: RecommendationJobStatus) -> Self
A filter to return benchmarks of a specified status. If this field is left empty, then all benchmarks are returned.
sourcepub fn set_status(self, input: Option<RecommendationJobStatus>) -> Self
pub fn set_status(self, input: Option<RecommendationJobStatus>) -> Self
A filter to return benchmarks of a specified status. If this field is left empty, then all benchmarks are returned.
sourcepub fn step_type(self, input: RecommendationStepType) -> Self
pub fn step_type(self, input: RecommendationStepType) -> Self
A filter to return details about the specified type of subtask.
BENCHMARK
: Evaluate the performance of your model on different instance types.
sourcepub fn set_step_type(self, input: Option<RecommendationStepType>) -> Self
pub fn set_step_type(self, input: Option<RecommendationStepType>) -> Self
A filter to return details about the specified type of subtask.
BENCHMARK
: Evaluate the performance of your model on different instance types.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that you can specify to return more results from the list. Specify this field if you have a token that was returned from a previous request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that you can specify to return more results from the list. Specify this field if you have a token that was returned from a previous request.
Trait Implementations§
source§impl Clone for ListInferenceRecommendationsJobSteps
impl Clone for ListInferenceRecommendationsJobSteps
source§fn clone(&self) -> ListInferenceRecommendationsJobSteps
fn clone(&self) -> ListInferenceRecommendationsJobSteps
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more