| 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.UpdateTrial
Description
Updates the display name of a trial.
Synopsis
- data UpdateTrial = UpdateTrial' {
- displayName :: Maybe Text
 - trialName :: Text
 
 - newUpdateTrial :: Text -> UpdateTrial
 - updateTrial_displayName :: Lens' UpdateTrial (Maybe Text)
 - updateTrial_trialName :: Lens' UpdateTrial Text
 - data UpdateTrialResponse = UpdateTrialResponse' {
- trialArn :: Maybe Text
 - httpStatus :: Int
 
 - newUpdateTrialResponse :: Int -> UpdateTrialResponse
 - updateTrialResponse_trialArn :: Lens' UpdateTrialResponse (Maybe Text)
 - updateTrialResponse_httpStatus :: Lens' UpdateTrialResponse Int
 
Creating a Request
data UpdateTrial Source #
See: newUpdateTrial smart constructor.
Constructors
| UpdateTrial' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> UpdateTrial | 
Create a value of UpdateTrial 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:
UpdateTrial, updateTrial_displayName - The name of the trial as displayed. The name doesn't need to be unique.
 If DisplayName isn't specified, TrialName is displayed.
UpdateTrial, updateTrial_trialName - The name of the trial to update.
Request Lenses
updateTrial_displayName :: Lens' UpdateTrial (Maybe Text) Source #
The name of the trial as displayed. The name doesn't need to be unique.
 If DisplayName isn't specified, TrialName is displayed.
updateTrial_trialName :: Lens' UpdateTrial Text Source #
The name of the trial to update.
Destructuring the Response
data UpdateTrialResponse Source #
See: newUpdateTrialResponse smart constructor.
Constructors
| UpdateTrialResponse' | |
Fields 
  | |
Instances
newUpdateTrialResponse Source #
Arguments
| :: Int | |
| -> UpdateTrialResponse | 
Create a value of UpdateTrialResponse 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:
UpdateTrialResponse, updateTrialResponse_trialArn - The Amazon Resource Name (ARN) of the trial.
$sel:httpStatus:UpdateTrialResponse', updateTrialResponse_httpStatus - The response's http status code.
Response Lenses
updateTrialResponse_trialArn :: Lens' UpdateTrialResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the trial.
updateTrialResponse_httpStatus :: Lens' UpdateTrialResponse Int Source #
The response's http status code.