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 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.
UpdateTrial' | |
|
Instances
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:
$sel:displayName: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.
$sel:trialName: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.
UpdateTrialResponse' | |
|
Instances
newUpdateTrialResponse Source #
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:
$sel:trialArn: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.