Skip to content

Stop Launch

cloudwatchevidently_stop_launch R Documentation

Stops a launch that is currently running

Description

Stops a launch that is currently running. After you stop a launch, you will not be able to resume it or restart it. Also, it will not be evaluated as a rule for traffic allocation, and the traffic that was allocated to the launch will instead be available to the feature's experiment, if there is one. Otherwise, all traffic will be served the default variation after the launch is stopped.

Usage

cloudwatchevidently_stop_launch(desiredState, launch, project, reason)

Arguments

desiredState

Specify whether to consider the launch as COMPLETED or CANCELLED after it stops.

launch

[required] The name of the launch to stop.

project

[required] The name or ARN of the project that contains the launch that you want to stop.

reason

A string that describes why you are stopping the launch.

Value

A list with the following syntax:

list(
  endedTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$stop_launch(
  desiredState = "COMPLETED"|"CANCELLED",
  launch = "string",
  project = "string",
  reason = "string"
)