We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
Starts an existing launch. To create a launch, use CreateLaunch.
Use a bare-bones client and the command you need to make an API call.
import { EvidentlyClient, StartLaunchCommand } from "@aws-sdk/client-evidently"; // ES Modules import// const { EvidentlyClient, StartLaunchCommand } = require("@aws-sdk/client-evidently"); // CommonJS importconst client = new EvidentlyClient(config);const input = { // StartLaunchRequest project: "STRING_VALUE", // required launch: "STRING_VALUE", // required};const command = new StartLaunchCommand(input);const response = await client.send(command);// { // StartLaunchResponse// launch: { // Launch// arn: "STRING_VALUE", // required// name: "STRING_VALUE", // required// project: "STRING_VALUE",// status: "STRING_VALUE", // required// statusReason: "STRING_VALUE",// description: "STRING_VALUE",// createdTime: new Date("TIMESTAMP"), // required// lastUpdatedTime: new Date("TIMESTAMP"), // required// execution: { // LaunchExecution// startedTime: new Date("TIMESTAMP"),// endedTime: new Date("TIMESTAMP"),// },// groups: [ // LaunchGroupList// { // LaunchGroup// name: "STRING_VALUE", // required// description: "STRING_VALUE",// featureVariations: { // FeatureToVariationMap // required// "<keys>": "STRING_VALUE",// },// },// ],// metricMonitors: [ // MetricMonitorList// { // MetricMonitor// metricDefinition: { // MetricDefinition// name: "STRING_VALUE",// entityIdKey: "STRING_VALUE",// valueKey: "STRING_VALUE",// eventPattern: "STRING_VALUE",// unitLabel: "STRING_VALUE",// },// },// ],// randomizationSalt: "STRING_VALUE",// type: "STRING_VALUE", // required// scheduledSplitsDefinition: { // ScheduledSplitsLaunchDefinition// steps: [ // ScheduledStepList// { // ScheduledSplit// startTime: new Date("TIMESTAMP"), // required// groupWeights: { // GroupToWeightMap// "<keys>": Number("long"),// },// segmentOverrides: [ // SegmentOverridesList// { // SegmentOverride// segment: "STRING_VALUE", // required// evaluationOrder: Number("long"), // required// weights: { // required// "<keys>": Number("long"),// },// },// ],// },// ],// },// tags: { // TagMap// "<keys>": "STRING_VALUE",// },// },// };
StartLaunchCommandInput
StartLaunchCommandOutput
input
response
config
AccessDeniedException (client fault)
You do not have sufficient permissions to perform this action.
ConflictException (client fault)
A resource was in an inconsistent state during an update or a deletion.
ResourceNotFoundException (client fault)
The request references a resource that does not exist.
ServiceQuotaExceededException (client fault)
The request would cause a service quota to be exceeded.
ThrottlingException (client fault)
The request was denied because of request throttling. Retry the request.
ValidationException (client fault)
The value of a parameter in the request caused an error.
EvidentlyServiceException
Base exception class for all service exceptions from Evidently service.
Readonly
Static
Starts an existing launch. To create a launch, use CreateLaunch.
Example
Use a bare-bones client and the command you need to make an API call.
Param
StartLaunchCommandInput
Returns
StartLaunchCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
You do not have sufficient permissions to perform this action.
Throws
ConflictException (client fault)
A resource was in an inconsistent state during an update or a deletion.
Throws
ResourceNotFoundException (client fault)
The request references a resource that does not exist.
Throws
ServiceQuotaExceededException (client fault)
The request would cause a service quota to be exceeded.
Throws
ThrottlingException (client fault)
The request was denied because of request throttling. Retry the request.
Throws
ValidationException (client fault)
The value of a parameter in the request caused an error.
Throws
EvidentlyServiceException
Base exception class for all service exceptions from Evidently service.