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.UpdateExperiment

Description

Updates an Evidently experiment.

Don't use this operation to update an experiment's tag. Instead, use TagResource.

Synopsis

Creating a Request

data UpdateExperiment Source #

See: newUpdateExperiment smart constructor.

Constructors

UpdateExperiment' 

Fields

  • description :: Maybe Text

    An optional description of the experiment.

  • metricGoals :: Maybe (NonEmpty MetricGoalConfig)

    An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.

  • onlineAbConfig :: Maybe OnlineAbConfig

    A structure that contains the configuration of which variation o use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.

  • randomizationSalt :: Maybe Text

    When Evidently assigns a particular user session to an experiment, 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 experiment name as the randomizationSalt.

  • removeSegment :: Maybe Bool

    Removes a segment from being used in an experiment. You can't use this parameter if the experiment is currently running.

  • samplingRate :: Maybe Natural

    The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent. The available audience is the total audience minus the audience that you have allocated to overrides or current launches of this feature.

    This is represented in thousandths of a percent. For example, specify 20,000 to allocate 20% of the available audience.

  • segment :: Maybe Text

    Adds an audience segment to an experiment. When a segment is used in an experiment, only user sessions that match the segment pattern are used in the experiment. You can't use this parameter if the experiment is currently running.

  • treatments :: Maybe [TreatmentConfig]

    An array of structures that define the variations being tested in the experiment.

  • experiment :: Text

    The name of the experiment to update.

  • project :: Text

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

Instances

Instances details
ToJSON UpdateExperiment Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

ToHeaders UpdateExperiment Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

ToPath UpdateExperiment Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

ToQuery UpdateExperiment Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

AWSRequest UpdateExperiment Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

Associated Types

type AWSResponse UpdateExperiment #

Generic UpdateExperiment Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

Associated Types

type Rep UpdateExperiment :: Type -> Type #

Read UpdateExperiment Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

Show UpdateExperiment Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

NFData UpdateExperiment Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

Methods

rnf :: UpdateExperiment -> () #

Eq UpdateExperiment Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

Hashable UpdateExperiment Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

type AWSResponse UpdateExperiment Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

type Rep UpdateExperiment Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

newUpdateExperiment Source #

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:

UpdateExperiment, updateExperiment_description - An optional description of the experiment.

UpdateExperiment, updateExperiment_metricGoals - An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.

$sel:onlineAbConfig:UpdateExperiment', updateExperiment_onlineAbConfig - A structure that contains the configuration of which variation o use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.

UpdateExperiment, updateExperiment_randomizationSalt - When Evidently assigns a particular user session to an experiment, 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 experiment name as the randomizationSalt.

$sel:removeSegment:UpdateExperiment', updateExperiment_removeSegment - Removes a segment from being used in an experiment. You can't use this parameter if the experiment is currently running.

UpdateExperiment, updateExperiment_samplingRate - The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent. The available audience is the total audience minus the audience that you have allocated to overrides or current launches of this feature.

This is represented in thousandths of a percent. For example, specify 20,000 to allocate 20% of the available audience.

UpdateExperiment, updateExperiment_segment - Adds an audience segment to an experiment. When a segment is used in an experiment, only user sessions that match the segment pattern are used in the experiment. You can't use this parameter if the experiment is currently running.

UpdateExperiment, updateExperiment_treatments - An array of structures that define the variations being tested in the experiment.

UpdateExperiment, updateExperiment_experiment - The name of the experiment to update.

UpdateExperiment, updateExperiment_project - The name or ARN of the project that contains the experiment that you want to update.

Request Lenses

updateExperiment_description :: Lens' UpdateExperiment (Maybe Text) Source #

An optional description of the experiment.

updateExperiment_metricGoals :: Lens' UpdateExperiment (Maybe (NonEmpty MetricGoalConfig)) Source #

An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.

updateExperiment_onlineAbConfig :: Lens' UpdateExperiment (Maybe OnlineAbConfig) Source #

A structure that contains the configuration of which variation o use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.

updateExperiment_randomizationSalt :: Lens' UpdateExperiment (Maybe Text) Source #

When Evidently assigns a particular user session to an experiment, 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 experiment name as the randomizationSalt.

updateExperiment_removeSegment :: Lens' UpdateExperiment (Maybe Bool) Source #

Removes a segment from being used in an experiment. You can't use this parameter if the experiment is currently running.

updateExperiment_samplingRate :: Lens' UpdateExperiment (Maybe Natural) Source #

The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent. The available audience is the total audience minus the audience that you have allocated to overrides or current launches of this feature.

This is represented in thousandths of a percent. For example, specify 20,000 to allocate 20% of the available audience.

updateExperiment_segment :: Lens' UpdateExperiment (Maybe Text) Source #

Adds an audience segment to an experiment. When a segment is used in an experiment, only user sessions that match the segment pattern are used in the experiment. You can't use this parameter if the experiment is currently running.

updateExperiment_treatments :: Lens' UpdateExperiment (Maybe [TreatmentConfig]) Source #

An array of structures that define the variations being tested in the experiment.

updateExperiment_experiment :: Lens' UpdateExperiment Text Source #

The name of the experiment to update.

updateExperiment_project :: Lens' UpdateExperiment Text Source #

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

Destructuring the Response

data UpdateExperimentResponse Source #

See: newUpdateExperimentResponse smart constructor.

Constructors

UpdateExperimentResponse' 

Fields

Instances

Instances details
Generic UpdateExperimentResponse Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

Associated Types

type Rep UpdateExperimentResponse :: Type -> Type #

Read UpdateExperimentResponse Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

Show UpdateExperimentResponse Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

NFData UpdateExperimentResponse Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

Eq UpdateExperimentResponse Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

type Rep UpdateExperimentResponse Source # 
Instance details

Defined in Amazonka.Evidently.UpdateExperiment

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

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:httpStatus:UpdateExperimentResponse', updateExperimentResponse_httpStatus - The response's http status code.

UpdateExperiment, updateExperimentResponse_experiment - A structure containing the configuration details of the experiment that was updated.

Response Lenses

updateExperimentResponse_experiment :: Lens' UpdateExperimentResponse Experiment Source #

A structure containing the configuration details of the experiment that was updated.