amazonka-evidently-2.0: Amazon CloudWatch Evidently SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data UpdateLaunch Source #

See: newUpdateLaunch smart constructor.

Constructors

UpdateLaunch' 

Fields

  • description :: Maybe Text

    An optional description for the launch.

  • groups :: Maybe (NonEmpty LaunchGroupConfig)

    An array of structures that contains the feature and variations that are to be used for the launch.

  • metricMonitors :: Maybe [MetricMonitorConfig]

    An array of structures that define the metrics that will be used to monitor the launch performance.

  • randomizationSalt :: Maybe Text

    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.

  • scheduledSplitsConfig :: Maybe ScheduledSplitsLaunchConfig

    An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.

  • launch :: Text

    The name of the launch that is to be updated.

  • project :: Text

    The name or ARN of the project that contains the launch that you want to update.

Instances

Instances details
ToJSON UpdateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

ToHeaders UpdateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

ToPath UpdateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

ToQuery UpdateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

AWSRequest UpdateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

Associated Types

type AWSResponse UpdateLaunch #

Generic UpdateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

Associated Types

type Rep UpdateLaunch :: Type -> Type #

Read UpdateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

Show UpdateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

NFData UpdateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

Methods

rnf :: UpdateLaunch -> () #

Eq UpdateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

Hashable UpdateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

type AWSResponse UpdateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

type Rep UpdateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

newUpdateLaunch Source #

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

  • httpStatus :: Int

    The response's http status code.

  • launch :: Launch

    A structure that contains the new configuration of the launch that was updated.

Instances

Instances details
Generic UpdateLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

Associated Types

type Rep UpdateLaunchResponse :: Type -> Type #

Read UpdateLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

Show UpdateLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

NFData UpdateLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

Methods

rnf :: UpdateLaunchResponse -> () #

Eq UpdateLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

type Rep UpdateLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.UpdateLaunch

type Rep UpdateLaunchResponse = D1 ('MetaData "UpdateLaunchResponse" "Amazonka.Evidently.UpdateLaunch" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "UpdateLaunchResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "launch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Launch)))

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_launch :: Lens' UpdateLaunchResponse Launch Source #

A structure that contains the new configuration of the launch that was updated.