Struct aws_sdk_sagemaker::client::fluent_builders::CreateTrial [−][src]
pub struct CreateTrial<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateTrial
.
Creates an SageMaker trial. A trial is a set of steps called trial components that produce a machine learning model. A trial is part of a single SageMaker experiment.
When you use SageMaker Studio or the SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the Amazon Web Services SDK for Python (Boto), you must use the logging APIs provided by the SDK.
You can add tags to a trial and then use the Search API to search for the tags.
To get a list of all your trials, call the ListTrials API. To view a trial's properties, call the DescribeTrial API. To create a trial component, call the CreateTrialComponent API.
Implementations
impl<C, M, R> CreateTrial<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateTrial<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<CreateTrialOutput, SdkError<CreateTrialError>> where
R::Policy: SmithyRetryPolicy<CreateTrialInputOperationOutputAlias, CreateTrialOutput, CreateTrialError, CreateTrialInputOperationRetryAlias>,
pub async fn send(self) -> Result<CreateTrialOutput, SdkError<CreateTrialError>> where
R::Policy: SmithyRetryPolicy<CreateTrialInputOperationOutputAlias, CreateTrialOutput, CreateTrialError, CreateTrialInputOperationRetryAlias>,
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.
The name of the trial. The name must be unique in your Amazon Web Services account and is not case-sensitive.
The name of the trial. The name must be unique in your Amazon Web Services account and is not case-sensitive.
The name of the trial as displayed. The name doesn't need to be unique. If
DisplayName
isn't specified, TrialName
is displayed.
The name of the trial as displayed. The name doesn't need to be unique. If
DisplayName
isn't specified, TrialName
is displayed.
The name of the experiment to associate the trial with.
The name of the experiment to associate the trial with.
Metadata properties of the tracking entity, trial, or trial component.
Metadata properties of the tracking entity, trial, or trial component.
A list of tags to associate with the trial. You can use Search API to search on the tags.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateTrial<C, M, R>
impl<C, M, R> Unpin for CreateTrial<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateTrial<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