| 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.Evidently.UpdateLaunch
Description
Updates a launch of a given feature.
Don't use this operation to update the tags of an existing launch. Instead, use TagResource.
Synopsis
- data UpdateLaunch = UpdateLaunch' {}
- newUpdateLaunch :: Text -> Text -> UpdateLaunch
- updateLaunch_description :: Lens' UpdateLaunch (Maybe Text)
- updateLaunch_groups :: Lens' UpdateLaunch (Maybe (NonEmpty LaunchGroupConfig))
- updateLaunch_metricMonitors :: Lens' UpdateLaunch (Maybe [MetricMonitorConfig])
- updateLaunch_randomizationSalt :: Lens' UpdateLaunch (Maybe Text)
- updateLaunch_scheduledSplitsConfig :: Lens' UpdateLaunch (Maybe ScheduledSplitsLaunchConfig)
- updateLaunch_launch :: Lens' UpdateLaunch Text
- updateLaunch_project :: Lens' UpdateLaunch Text
- data UpdateLaunchResponse = UpdateLaunchResponse' {
- httpStatus :: Int
- launch :: Launch
- newUpdateLaunchResponse :: Int -> Launch -> UpdateLaunchResponse
- updateLaunchResponse_httpStatus :: Lens' UpdateLaunchResponse Int
- updateLaunchResponse_launch :: Lens' UpdateLaunchResponse Launch
Creating a Request
data UpdateLaunch Source #
See: newUpdateLaunch smart constructor.
Constructors
| UpdateLaunch' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateLaunch |
Create a value of UpdateLaunch 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:
UpdateLaunch, updateLaunch_description - An optional description for the launch.
UpdateLaunch, updateLaunch_groups - An array of structures that contains the feature and variations that are
to be used for the launch.
UpdateLaunch, updateLaunch_metricMonitors - An array of structures that define the metrics that will be used to
monitor the launch performance.
UpdateLaunch, updateLaunch_randomizationSalt - When Evidently assigns a particular user session to a launch, it must
use a randomization ID to determine which variation the user session is
served. This randomization ID is a combination of the entity ID and
randomizationSalt. If you omit randomizationSalt, Evidently uses the
launch name as the randomizationSalt.
$sel:scheduledSplitsConfig:UpdateLaunch', updateLaunch_scheduledSplitsConfig - An array of structures that define the traffic allocation percentages
among the feature variations during each step of the launch.
UpdateLaunch, updateLaunch_launch - The name of the launch that is to be updated.
UpdateLaunch, updateLaunch_project - The name or ARN of the project that contains the launch that you want to
update.
Request Lenses
updateLaunch_description :: Lens' UpdateLaunch (Maybe Text) Source #
An optional description for the launch.
updateLaunch_groups :: Lens' UpdateLaunch (Maybe (NonEmpty LaunchGroupConfig)) Source #
An array of structures that contains the feature and variations that are to be used for the launch.
updateLaunch_metricMonitors :: Lens' UpdateLaunch (Maybe [MetricMonitorConfig]) Source #
An array of structures that define the metrics that will be used to monitor the launch performance.
updateLaunch_randomizationSalt :: Lens' UpdateLaunch (Maybe Text) Source #
When Evidently assigns a particular user session to a launch, it must
use a randomization ID to determine which variation the user session is
served. This randomization ID is a combination of the entity ID and
randomizationSalt. If you omit randomizationSalt, Evidently uses the
launch name as the randomizationSalt.
updateLaunch_scheduledSplitsConfig :: Lens' UpdateLaunch (Maybe ScheduledSplitsLaunchConfig) Source #
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
updateLaunch_launch :: Lens' UpdateLaunch Text Source #
The name of the launch that is to be updated.
updateLaunch_project :: Lens' UpdateLaunch Text Source #
The name or ARN of the project that contains the launch that you want to update.
Destructuring the Response
data UpdateLaunchResponse Source #
See: newUpdateLaunchResponse smart constructor.
Constructors
| UpdateLaunchResponse' | |
Fields
| |
Instances
newUpdateLaunchResponse Source #
Create a value of UpdateLaunchResponse 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:httpStatus:UpdateLaunchResponse', updateLaunchResponse_httpStatus - The response's http status code.
UpdateLaunch, updateLaunchResponse_launch - A structure that contains the new configuration of the launch that was
updated.
Response Lenses
updateLaunchResponse_httpStatus :: Lens' UpdateLaunchResponse Int Source #
The response's http status code.
updateLaunchResponse_launch :: Lens' UpdateLaunchResponse Launch Source #
A structure that contains the new configuration of the launch that was updated.