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 |
Adds, updates, or removes the description of an experiment. Updates the display name of an experiment.
Synopsis
- data UpdateExperiment = UpdateExperiment' {}
- newUpdateExperiment :: Text -> UpdateExperiment
- updateExperiment_displayName :: Lens' UpdateExperiment (Maybe Text)
- updateExperiment_description :: Lens' UpdateExperiment (Maybe Text)
- updateExperiment_experimentName :: Lens' UpdateExperiment Text
- data UpdateExperimentResponse = UpdateExperimentResponse' {
- experimentArn :: Maybe Text
- httpStatus :: Int
- newUpdateExperimentResponse :: Int -> UpdateExperimentResponse
- updateExperimentResponse_experimentArn :: Lens' UpdateExperimentResponse (Maybe Text)
- updateExperimentResponse_httpStatus :: Lens' UpdateExperimentResponse Int
Creating a Request
data UpdateExperiment Source #
See: newUpdateExperiment
smart constructor.
UpdateExperiment' | |
|
Instances
Create a value of UpdateExperiment
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:UpdateExperiment'
, updateExperiment_displayName
- The name of the experiment as displayed. The name doesn't need to be
unique. If DisplayName
isn't specified, ExperimentName
is
displayed.
$sel:description:UpdateExperiment'
, updateExperiment_description
- The description of the experiment.
$sel:experimentName:UpdateExperiment'
, updateExperiment_experimentName
- The name of the experiment to update.
Request Lenses
updateExperiment_displayName :: Lens' UpdateExperiment (Maybe Text) Source #
The name of the experiment as displayed. The name doesn't need to be
unique. If DisplayName
isn't specified, ExperimentName
is
displayed.
updateExperiment_description :: Lens' UpdateExperiment (Maybe Text) Source #
The description of the experiment.
updateExperiment_experimentName :: Lens' UpdateExperiment Text Source #
The name of the experiment to update.
Destructuring the Response
data UpdateExperimentResponse Source #
See: newUpdateExperimentResponse
smart constructor.
UpdateExperimentResponse' | |
|
Instances
newUpdateExperimentResponse Source #
Create a value of UpdateExperimentResponse
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:experimentArn:UpdateExperimentResponse'
, updateExperimentResponse_experimentArn
- The Amazon Resource Name (ARN) of the experiment.
$sel:httpStatus:UpdateExperimentResponse'
, updateExperimentResponse_httpStatus
- The response's http status code.
Response Lenses
updateExperimentResponse_experimentArn :: Lens' UpdateExperimentResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the experiment.
updateExperimentResponse_httpStatus :: Lens' UpdateExperimentResponse Int Source #
The response's http status code.