| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.SageMaker.UpdateTrialComponent
Description
Updates one or more properties of a trial component.
Synopsis
- data UpdateTrialComponent = UpdateTrialComponent' {
- displayName :: Maybe Text
 - endTime :: Maybe POSIX
 - inputArtifacts :: Maybe (HashMap Text TrialComponentArtifact)
 - inputArtifactsToRemove :: Maybe [Text]
 - outputArtifacts :: Maybe (HashMap Text TrialComponentArtifact)
 - outputArtifactsToRemove :: Maybe [Text]
 - parameters :: Maybe (HashMap Text TrialComponentParameterValue)
 - parametersToRemove :: Maybe [Text]
 - startTime :: Maybe POSIX
 - status :: Maybe TrialComponentStatus
 - trialComponentName :: Text
 
 - newUpdateTrialComponent :: Text -> UpdateTrialComponent
 - updateTrialComponent_displayName :: Lens' UpdateTrialComponent (Maybe Text)
 - updateTrialComponent_endTime :: Lens' UpdateTrialComponent (Maybe UTCTime)
 - updateTrialComponent_inputArtifacts :: Lens' UpdateTrialComponent (Maybe (HashMap Text TrialComponentArtifact))
 - updateTrialComponent_inputArtifactsToRemove :: Lens' UpdateTrialComponent (Maybe [Text])
 - updateTrialComponent_outputArtifacts :: Lens' UpdateTrialComponent (Maybe (HashMap Text TrialComponentArtifact))
 - updateTrialComponent_outputArtifactsToRemove :: Lens' UpdateTrialComponent (Maybe [Text])
 - updateTrialComponent_parameters :: Lens' UpdateTrialComponent (Maybe (HashMap Text TrialComponentParameterValue))
 - updateTrialComponent_parametersToRemove :: Lens' UpdateTrialComponent (Maybe [Text])
 - updateTrialComponent_startTime :: Lens' UpdateTrialComponent (Maybe UTCTime)
 - updateTrialComponent_status :: Lens' UpdateTrialComponent (Maybe TrialComponentStatus)
 - updateTrialComponent_trialComponentName :: Lens' UpdateTrialComponent Text
 - data UpdateTrialComponentResponse = UpdateTrialComponentResponse' {}
 - newUpdateTrialComponentResponse :: Int -> UpdateTrialComponentResponse
 - updateTrialComponentResponse_trialComponentArn :: Lens' UpdateTrialComponentResponse (Maybe Text)
 - updateTrialComponentResponse_httpStatus :: Lens' UpdateTrialComponentResponse Int
 
Creating a Request
data UpdateTrialComponent Source #
See: newUpdateTrialComponent smart constructor.
Constructors
| UpdateTrialComponent' | |
Fields 
  | |
Instances
newUpdateTrialComponent Source #
Arguments
| :: Text | |
| -> UpdateTrialComponent | 
Create a value of UpdateTrialComponent with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateTrialComponent, updateTrialComponent_displayName - The name of the component as displayed. The name doesn't need to be
 unique. If DisplayName isn't specified, TrialComponentName is
 displayed.
UpdateTrialComponent, updateTrialComponent_endTime - When the component ended.
UpdateTrialComponent, updateTrialComponent_inputArtifacts - Replaces all of the component's input artifacts with the specified
 artifacts.
$sel:inputArtifactsToRemove:UpdateTrialComponent', updateTrialComponent_inputArtifactsToRemove - The input artifacts to remove from the component.
UpdateTrialComponent, updateTrialComponent_outputArtifacts - Replaces all of the component's output artifacts with the specified
 artifacts.
$sel:outputArtifactsToRemove:UpdateTrialComponent', updateTrialComponent_outputArtifactsToRemove - The output artifacts to remove from the component.
UpdateTrialComponent, updateTrialComponent_parameters - Replaces all of the component's hyperparameters with the specified
 hyperparameters.
$sel:parametersToRemove:UpdateTrialComponent', updateTrialComponent_parametersToRemove - The hyperparameters to remove from the component.
UpdateTrialComponent, updateTrialComponent_startTime - When the component started.
UpdateTrialComponent, updateTrialComponent_status - The new status of the component.
UpdateTrialComponent, updateTrialComponent_trialComponentName - The name of the component to update.
Request Lenses
updateTrialComponent_displayName :: Lens' UpdateTrialComponent (Maybe Text) Source #
The name of the component as displayed. The name doesn't need to be
 unique. If DisplayName isn't specified, TrialComponentName is
 displayed.
updateTrialComponent_endTime :: Lens' UpdateTrialComponent (Maybe UTCTime) Source #
When the component ended.
updateTrialComponent_inputArtifacts :: Lens' UpdateTrialComponent (Maybe (HashMap Text TrialComponentArtifact)) Source #
Replaces all of the component's input artifacts with the specified artifacts.
updateTrialComponent_inputArtifactsToRemove :: Lens' UpdateTrialComponent (Maybe [Text]) Source #
The input artifacts to remove from the component.
updateTrialComponent_outputArtifacts :: Lens' UpdateTrialComponent (Maybe (HashMap Text TrialComponentArtifact)) Source #
Replaces all of the component's output artifacts with the specified artifacts.
updateTrialComponent_outputArtifactsToRemove :: Lens' UpdateTrialComponent (Maybe [Text]) Source #
The output artifacts to remove from the component.
updateTrialComponent_parameters :: Lens' UpdateTrialComponent (Maybe (HashMap Text TrialComponentParameterValue)) Source #
Replaces all of the component's hyperparameters with the specified hyperparameters.
updateTrialComponent_parametersToRemove :: Lens' UpdateTrialComponent (Maybe [Text]) Source #
The hyperparameters to remove from the component.
updateTrialComponent_startTime :: Lens' UpdateTrialComponent (Maybe UTCTime) Source #
When the component started.
updateTrialComponent_status :: Lens' UpdateTrialComponent (Maybe TrialComponentStatus) Source #
The new status of the component.
updateTrialComponent_trialComponentName :: Lens' UpdateTrialComponent Text Source #
The name of the component to update.
Destructuring the Response
data UpdateTrialComponentResponse Source #
See: newUpdateTrialComponentResponse smart constructor.
Constructors
| UpdateTrialComponentResponse' | |
Fields 
  | |
Instances
newUpdateTrialComponentResponse Source #
Create a value of UpdateTrialComponentResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateTrialComponentResponse, updateTrialComponentResponse_trialComponentArn - The Amazon Resource Name (ARN) of the trial component.
$sel:httpStatus:UpdateTrialComponentResponse', updateTrialComponentResponse_httpStatus - The response's http status code.
Response Lenses
updateTrialComponentResponse_trialComponentArn :: Lens' UpdateTrialComponentResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the trial component.
updateTrialComponentResponse_httpStatus :: Lens' UpdateTrialComponentResponse Int Source #
The response's http status code.