AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
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 .
See also: AWS API Documentation
create-launch
[--description <value>]
--groups <value>
[--metric-monitors <value>]
--name <value>
--project <value>
[--randomization-salt <value>]
[--scheduled-splits-config <value>]
[--tags <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
--description
(string)
An optional description for the launch.
--groups
(list)
An array of structures that contains the feature and variations that are to be used for the launch.
(structure)
A structure that defines one launch group in a launch. A launch group is a variation of the feature that you are including in the launch.
description -> (string)
A description of the launch group.feature -> (string)
The feature that this launch is using.name -> (string)
A name for this launch group.variation -> (string)
The feature variation to use for this launch group.
Shorthand Syntax:
description=string,feature=string,name=string,variation=string ...
JSON Syntax:
[
{
"description": "string",
"feature": "string",
"name": "string",
"variation": "string"
}
...
]
--metric-monitors
(list)
An array of structures that define the metrics that will be used to monitor the launch performance.
(structure)
A structure that defines a metric to be used to monitor performance of the variations during a launch.
metricDefinition -> (structure)
A structure that defines the metric.
entityIdKey -> (string)
The entity, such as a user or session, that does an action that causes a metric value to be recorded. An example isuserDetails.userID
.eventPattern -> (string)
The EventBridge event pattern that defines how the metric is recorded.
For more information about EventBridge event patterns, see Amazon EventBridge event patterns .
name -> (string)
A name for the metric.unitLabel -> (string)
A label for the units that the metric is measuring.valueKey -> (string)
The value that is tracked to produce the metric.
Shorthand Syntax:
metricDefinition={entityIdKey=string,eventPattern=string,name=string,unitLabel=string,valueKey=string} ...
JSON Syntax:
[
{
"metricDefinition": {
"entityIdKey": "string",
"eventPattern": "string",
"name": "string",
"unitLabel": "string",
"valueKey": "string"
}
}
...
]
--name
(string)
The name for the new launch.
--project
(string)
The name or ARN of the project that you want to create the launch in.
--randomization-salt
(string)
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 andrandomizationSalt
. If you omitrandomizationSalt
, Evidently uses the launch name as therandomizationSalt
.
--scheduled-splits-config
(structure)
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
steps -> (list)
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch. This also defines the start time of each step.
(structure)
This structure defines the traffic allocation percentages among the feature variations during one step of a launch, and the start time of that step.
groupWeights -> (map)
The traffic allocation percentages among the feature variations during one step of a launch. This is a set of key-value pairs. The keys are variation names. The values represent the percentage of traffic to allocate to that variation during this step.
The values is expressed in thousandths of a percent, so assigning a weight of 50000 assigns 50% of traffic to that variation.
If the sum of the weights for all the variations in a segment override does not add up to 100,000, then the remaining traffic that matches this segment is not assigned by this segment override, and instead moves on to the next segment override or the default traffic split.
key -> (string)
value -> (long)
segmentOverrides -> (list)
Use this parameter to specify different traffic splits for one or more audience segments . A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.
This parameter is an array of up to six segment override objects. Each of these objects specifies a segment that you have already created, and defines the traffic split for that segment.
(structure)
This structure specifies a segment that you have already created, and defines the traffic split for that segment to be used in a launch.
evaluationOrder -> (long)
A number indicating the order to use to evaluate segment overrides, if there are more than one. Segment overrides with lower numbers are evaluated first.segment -> (string)
The ARN of the segment to use.weights -> (map)
The traffic allocation percentages among the feature variations to assign to this segment. This is a set of key-value pairs. The keys are variation names. The values represent the amount of traffic to allocate to that variation for this segment. This is expressed in thousandths of a percent, so a weight of 50000 represents 50% of traffic.
key -> (string)
value -> (long)
startTime -> (timestamp)
The date and time that this step of the launch starts.
JSON Syntax:
{
"steps": [
{
"groupWeights": {"string": long
...},
"segmentOverrides": [
{
"evaluationOrder": long,
"segment": "string",
"weights": {"string": long
...}
}
...
],
"startTime": timestamp
}
...
]
}
--tags
(map)
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.
You can associate as many as 50 tags with a launch.
For more information, see Tagging Amazon Web Services resources .
key -> (string)
value -> (string)
Shorthand Syntax:
KeyName1=string,KeyName2=string
JSON Syntax:
{"string": "string"
...}
--cli-input-json
(string)
Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
--debug
(boolean)
Turn on debug logging.
--endpoint-url
(string)
Override command's default URL with the given URL.
--no-verify-ssl
(boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate
(boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output
(string)
The formatting style for command output.
--query
(string)
A JMESPath query to use in filtering the response data.
--profile
(string)
Use a specific profile from your credential file.
--region
(string)
The region to use. Overrides config/env settings.
--version
(string)
Display the version of this tool.
--color
(string)
Turn on/off color output.
--no-sign-request
(boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle
(string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout
(int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout
(int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
launch -> (structure)
A structure that contains the configuration of the launch that was created.
arn -> (string)
The ARN of the launch.createdTime -> (timestamp)
The date and time that the launch is created.description -> (string)
The description of the launch.execution -> (structure)
A structure that contains information about the start and end times of the launch.
endedTime -> (timestamp)
The date and time that the launch ended.startedTime -> (timestamp)
The date and time that the launch started.groups -> (list)
An array of structures that define the feature variations that are being used in the launch.
(structure)
A structure that defines one launch group in a launch. A launch group is a variation of the feature that you are including in the launch.
description -> (string)
A description of the launch group.featureVariations -> (map)
The feature variation for this launch group. This is a key-value pair.
key -> (string)
value -> (string)
name -> (string)
The name of the launch group.lastUpdatedTime -> (timestamp)
The date and time that the launch was most recently updated.metricMonitors -> (list)
An array of structures that define the metrics that are being used to monitor the launch performance.
(structure)
A structure that defines a metric to be used to monitor performance of the variations during a launch.
metricDefinition -> (structure)
A structure that defines the metric.
entityIdKey -> (string)
The entity, such as a user or session, that does an action that causes a metric value to be recorded.eventPattern -> (string)
The EventBridge event pattern that defines how the metric is recorded.
For more information about EventBridge event patterns, see Amazon EventBridge event patterns .
name -> (string)
The name of the metric.unitLabel -> (string)
The label for the units that the metric is measuring.valueKey -> (string)
The value that is tracked to produce the metric.name -> (string)
The name of the launch.project -> (string)
The name or ARN of the project that contains the launch.randomizationSalt -> (string)
This value is used when Evidently assigns a particular user session to the launch, to help create a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID andrandomizationSalt
.scheduledSplitsDefinition -> (structure)
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
steps -> (list)
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch. This also defines the start time of each step.
(structure)
This structure defines the traffic allocation percentages among the feature variations during one step of a launch, and the start time of that step.
groupWeights -> (map)
The traffic allocation percentages among the feature variations during one step of a launch. This is a set of key-value pairs. The keys are variation names. The values represent the percentage of traffic to allocate to that variation during this step.
The values is expressed in thousandths of a percent, so assigning a weight of 50000 assigns 50% of traffic to that variation.
If the sum of the weights for all the variations in a segment override does not add up to 100,000, then the remaining traffic that matches this segment is not assigned by this segment override, and instead moves on to the next segment override or the default traffic split.
key -> (string)
value -> (long)
segmentOverrides -> (list)
Use this parameter to specify different traffic splits for one or more audience segments . A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.
This parameter is an array of up to six segment override objects. Each of these objects specifies a segment that you have already created, and defines the traffic split for that segment.
(structure)
This structure specifies a segment that you have already created, and defines the traffic split for that segment to be used in a launch.
evaluationOrder -> (long)
A number indicating the order to use to evaluate segment overrides, if there are more than one. Segment overrides with lower numbers are evaluated first.segment -> (string)
The ARN of the segment to use.weights -> (map)
The traffic allocation percentages among the feature variations to assign to this segment. This is a set of key-value pairs. The keys are variation names. The values represent the amount of traffic to allocate to that variation for this segment. This is expressed in thousandths of a percent, so a weight of 50000 represents 50% of traffic.
key -> (string)
value -> (long)
startTime -> (timestamp)
The date and time that this step of the launch starts.status -> (string)
The current state of the launch.statusReason -> (string)
If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped.tags -> (map)
The list of tag keys and values associated with this launch.
key -> (string)
value -> (string)
type -> (string)
The type of launch.