Struct aws_sdk_sagemaker::client::fluent_builders::UpdateTrialComponent [−][src]
pub struct UpdateTrialComponent<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateTrialComponent
.
Updates one or more properties of a trial component.
Implementations
impl<C, M, R> UpdateTrialComponent<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateTrialComponent<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateTrialComponentOutput, SdkError<UpdateTrialComponentError>> where
R::Policy: SmithyRetryPolicy<UpdateTrialComponentInputOperationOutputAlias, UpdateTrialComponentOutput, UpdateTrialComponentError, UpdateTrialComponentInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateTrialComponentOutput, SdkError<UpdateTrialComponentError>> where
R::Policy: SmithyRetryPolicy<UpdateTrialComponentInputOperationOutputAlias, UpdateTrialComponentOutput, UpdateTrialComponentError, UpdateTrialComponentInputOperationRetryAlias>,
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 component to update.
The name of the component to update.
The name of the component as displayed. The name doesn't need to be unique. If
DisplayName
isn't specified, TrialComponentName
is
displayed.
The name of the component as displayed. The name doesn't need to be unique. If
DisplayName
isn't specified, TrialComponentName
is
displayed.
The new status of the component.
The new status of the component.
When the component started.
When the component started.
When the component ended.
pub fn parameters(
self,
k: impl Into<String>,
v: impl Into<TrialComponentParameterValue>
) -> Self
pub fn parameters(
self,
k: impl Into<String>,
v: impl Into<TrialComponentParameterValue>
) -> Self
Adds a key-value pair to Parameters
.
To override the contents of this collection use set_parameters
.
Replaces all of the component's hyperparameters with the specified hyperparameters.
pub fn set_parameters(
self,
input: Option<HashMap<String, TrialComponentParameterValue>>
) -> Self
pub fn set_parameters(
self,
input: Option<HashMap<String, TrialComponentParameterValue>>
) -> Self
Replaces all of the component's hyperparameters with the specified hyperparameters.
Appends an item to ParametersToRemove
.
To override the contents of this collection use set_parameters_to_remove
.
The hyperparameters to remove from the component.
The hyperparameters to remove from the component.
pub fn input_artifacts(
self,
k: impl Into<String>,
v: impl Into<TrialComponentArtifact>
) -> Self
pub fn input_artifacts(
self,
k: impl Into<String>,
v: impl Into<TrialComponentArtifact>
) -> Self
Adds a key-value pair to InputArtifacts
.
To override the contents of this collection use set_input_artifacts
.
Replaces all of the component's input artifacts with the specified artifacts.
pub fn set_input_artifacts(
self,
input: Option<HashMap<String, TrialComponentArtifact>>
) -> Self
pub fn set_input_artifacts(
self,
input: Option<HashMap<String, TrialComponentArtifact>>
) -> Self
Replaces all of the component's input artifacts with the specified artifacts.
Appends an item to InputArtifactsToRemove
.
To override the contents of this collection use set_input_artifacts_to_remove
.
The input artifacts to remove from the component.
The input artifacts to remove from the component.
pub fn output_artifacts(
self,
k: impl Into<String>,
v: impl Into<TrialComponentArtifact>
) -> Self
pub fn output_artifacts(
self,
k: impl Into<String>,
v: impl Into<TrialComponentArtifact>
) -> Self
Adds a key-value pair to OutputArtifacts
.
To override the contents of this collection use set_output_artifacts
.
Replaces all of the component's output artifacts with the specified artifacts.
pub fn set_output_artifacts(
self,
input: Option<HashMap<String, TrialComponentArtifact>>
) -> Self
pub fn set_output_artifacts(
self,
input: Option<HashMap<String, TrialComponentArtifact>>
) -> Self
Replaces all of the component's output artifacts with the specified artifacts.
Appends an item to OutputArtifactsToRemove
.
To override the contents of this collection use set_output_artifacts_to_remove
.
The output artifacts to remove from the component.
The output artifacts to remove from the component.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateTrialComponent<C, M, R>
impl<C, M, R> Send for UpdateTrialComponent<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateTrialComponent<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateTrialComponent<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateTrialComponent<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