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

Description

Creates a launch of a given feature. Before you create a launch, you must create the feature to use for the launch.

You can use a launch to safely validate new features by serving them to a specified percentage of your users while you roll out the feature. You can monitor the performance of the new feature to help you decide when to ramp up traffic to more users. This helps you reduce risk and identify unintended consequences before you fully launch the feature.

Don't use this operation to update an existing launch. Instead, use UpdateLaunch.

Synopsis

Creating a Request

data CreateLaunch Source #

See: newCreateLaunch smart constructor.

Constructors

CreateLaunch' 

Fields

  • description :: Maybe Text

    An optional description 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.

  • tags :: Maybe (HashMap Text Text)

    Assigns one or more tags (key-value pairs) to the launch.

    Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

    Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

     <p>You can associate as many as 50 tags with a launch.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
  • groups :: NonEmpty LaunchGroupConfig

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

  • name :: Text

    The name for the new launch.

  • project :: Text

    The name or ARN of the project that you want to create the launch in.

Instances

Instances details
ToJSON CreateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

ToHeaders CreateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

ToPath CreateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

ToQuery CreateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

AWSRequest CreateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

Associated Types

type AWSResponse CreateLaunch #

Generic CreateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

Associated Types

type Rep CreateLaunch :: Type -> Type #

Read CreateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

Show CreateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

NFData CreateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

Methods

rnf :: CreateLaunch -> () #

Eq CreateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

Hashable CreateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

type AWSResponse CreateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

type Rep CreateLaunch Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

newCreateLaunch Source #

Create a value of CreateLaunch 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:

CreateLaunch, createLaunch_description - An optional description for the launch.

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

CreateLaunch, createLaunch_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:CreateLaunch', createLaunch_scheduledSplitsConfig - An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.

CreateLaunch, createLaunch_tags - Assigns one or more tags (key-value pairs) to the launch.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

 <p>You can associate as many as 50 tags with a launch.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>

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

CreateLaunch, createLaunch_name - The name for the new launch.

CreateLaunch, createLaunch_project - The name or ARN of the project that you want to create the launch in.

Request Lenses

createLaunch_description :: Lens' CreateLaunch (Maybe Text) Source #

An optional description for the launch.

createLaunch_metricMonitors :: Lens' CreateLaunch (Maybe [MetricMonitorConfig]) Source #

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

createLaunch_randomizationSalt :: Lens' CreateLaunch (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.

createLaunch_scheduledSplitsConfig :: Lens' CreateLaunch (Maybe ScheduledSplitsLaunchConfig) Source #

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

createLaunch_tags :: Lens' CreateLaunch (Maybe (HashMap Text Text)) Source #

Assigns one or more tags (key-value pairs) to the launch.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

 <p>You can associate as many as 50 tags with a launch.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>

createLaunch_groups :: Lens' CreateLaunch (NonEmpty LaunchGroupConfig) Source #

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

createLaunch_name :: Lens' CreateLaunch Text Source #

The name for the new launch.

createLaunch_project :: Lens' CreateLaunch Text Source #

The name or ARN of the project that you want to create the launch in.

Destructuring the Response

data CreateLaunchResponse Source #

See: newCreateLaunchResponse smart constructor.

Constructors

CreateLaunchResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • launch :: Launch

    A structure that contains the configuration of the launch that was created.

Instances

Instances details
Generic CreateLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

Associated Types

type Rep CreateLaunchResponse :: Type -> Type #

Read CreateLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

Show CreateLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

NFData CreateLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

Methods

rnf :: CreateLaunchResponse -> () #

Eq CreateLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

type Rep CreateLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.CreateLaunch

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

newCreateLaunchResponse Source #

Create a value of CreateLaunchResponse 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:CreateLaunchResponse', createLaunchResponse_httpStatus - The response's http status code.

$sel:launch:CreateLaunchResponse', createLaunchResponse_launch - A structure that contains the configuration of the launch that was created.

Response Lenses

createLaunchResponse_launch :: Lens' CreateLaunchResponse Launch Source #

A structure that contains the configuration of the launch that was created.