Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates one or more properties of a trial component.
Synopsis
- data UpdateTrialComponent = UpdateTrialComponent' {
- status :: Maybe TrialComponentStatus
- parametersToRemove :: Maybe [Text]
- outputArtifacts :: Maybe (HashMap Text TrialComponentArtifact)
- startTime :: Maybe POSIX
- outputArtifactsToRemove :: Maybe [Text]
- endTime :: Maybe POSIX
- parameters :: Maybe (HashMap Text TrialComponentParameterValue)
- displayName :: Maybe Text
- inputArtifacts :: Maybe (HashMap Text TrialComponentArtifact)
- inputArtifactsToRemove :: Maybe [Text]
- trialComponentName :: Text
- newUpdateTrialComponent :: Text -> UpdateTrialComponent
- updateTrialComponent_status :: Lens' UpdateTrialComponent (Maybe TrialComponentStatus)
- updateTrialComponent_parametersToRemove :: Lens' UpdateTrialComponent (Maybe [Text])
- updateTrialComponent_outputArtifacts :: Lens' UpdateTrialComponent (Maybe (HashMap Text TrialComponentArtifact))
- updateTrialComponent_startTime :: Lens' UpdateTrialComponent (Maybe UTCTime)
- updateTrialComponent_outputArtifactsToRemove :: Lens' UpdateTrialComponent (Maybe [Text])
- updateTrialComponent_endTime :: Lens' UpdateTrialComponent (Maybe UTCTime)
- updateTrialComponent_parameters :: Lens' UpdateTrialComponent (Maybe (HashMap Text TrialComponentParameterValue))
- updateTrialComponent_displayName :: Lens' UpdateTrialComponent (Maybe Text)
- updateTrialComponent_inputArtifacts :: Lens' UpdateTrialComponent (Maybe (HashMap Text TrialComponentArtifact))
- updateTrialComponent_inputArtifactsToRemove :: Lens' UpdateTrialComponent (Maybe [Text])
- 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.
UpdateTrialComponent' | |
|
Instances
newUpdateTrialComponent Source #
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:
$sel:status:UpdateTrialComponent'
, updateTrialComponent_status
- The new status of the component.
$sel:parametersToRemove:UpdateTrialComponent'
, updateTrialComponent_parametersToRemove
- The hyperparameters to remove from the component.
$sel:outputArtifacts:UpdateTrialComponent'
, updateTrialComponent_outputArtifacts
- Replaces all of the component's output artifacts with the specified
artifacts.
$sel:startTime:UpdateTrialComponent'
, updateTrialComponent_startTime
- When the component started.
$sel:outputArtifactsToRemove:UpdateTrialComponent'
, updateTrialComponent_outputArtifactsToRemove
- The output artifacts to remove from the component.
$sel:endTime:UpdateTrialComponent'
, updateTrialComponent_endTime
- When the component ended.
$sel:parameters:UpdateTrialComponent'
, updateTrialComponent_parameters
- Replaces all of the component's hyperparameters with the specified
hyperparameters.
$sel:displayName: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.
$sel:inputArtifacts: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.
$sel:trialComponentName:UpdateTrialComponent'
, updateTrialComponent_trialComponentName
- The name of the component to update.
Request Lenses
updateTrialComponent_status :: Lens' UpdateTrialComponent (Maybe TrialComponentStatus) Source #
The new status of the component.
updateTrialComponent_parametersToRemove :: Lens' UpdateTrialComponent (Maybe [Text]) Source #
The hyperparameters 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_startTime :: Lens' UpdateTrialComponent (Maybe UTCTime) Source #
When the component started.
updateTrialComponent_outputArtifactsToRemove :: Lens' UpdateTrialComponent (Maybe [Text]) Source #
The output artifacts to remove from the component.
updateTrialComponent_endTime :: Lens' UpdateTrialComponent (Maybe UTCTime) Source #
When the component ended.
updateTrialComponent_parameters :: Lens' UpdateTrialComponent (Maybe (HashMap Text TrialComponentParameterValue)) Source #
Replaces all of the component's hyperparameters with the specified hyperparameters.
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_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_trialComponentName :: Lens' UpdateTrialComponent Text Source #
The name of the component to update.
Destructuring the Response
data UpdateTrialComponentResponse Source #
See: newUpdateTrialComponentResponse
smart constructor.
UpdateTrialComponentResponse' | |
|
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:
$sel:trialComponentArn: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.