import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EvidentlyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EvidentlyClient"; import type { StopLaunchRequest, StopLaunchResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link StopLaunchCommand}. */ export interface StopLaunchCommandInput extends StopLaunchRequest { } /** * @public * * The output of {@link StopLaunchCommand}. */ export interface StopLaunchCommandOutput extends StopLaunchResponse, __MetadataBearer { } declare const StopLaunchCommand_base: { new (input: StopLaunchCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: StopLaunchCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

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.

* * @deprecated AWS CloudWatch Evidently has been deprecated since 11/17/2025. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EvidentlyClient, StopLaunchCommand } from "@aws-sdk/client-evidently"; // ES Modules import * // const { EvidentlyClient, StopLaunchCommand } = require("@aws-sdk/client-evidently"); // CommonJS import * // import type { EvidentlyClientConfig } from "@aws-sdk/client-evidently"; * const config = {}; // type is EvidentlyClientConfig * const client = new EvidentlyClient(config); * const input = { // StopLaunchRequest * project: "STRING_VALUE", // required * launch: "STRING_VALUE", // required * desiredState: "STRING_VALUE", * reason: "STRING_VALUE", * }; * const command = new StopLaunchCommand(input); * const response = await client.send(command); * // { // StopLaunchResponse * // endedTime: new Date("TIMESTAMP"), * // }; * * ``` * * @param StopLaunchCommandInput - {@link StopLaunchCommandInput} * @returns {@link StopLaunchCommandOutput} * @see {@link StopLaunchCommandInput} for command's `input` shape. * @see {@link StopLaunchCommandOutput} for command's `response` shape. * @see {@link EvidentlyClientResolvedConfig | config} for EvidentlyClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient permissions to perform this action.

* * @throws {@link ResourceNotFoundException} (client fault) *

The request references a resource that does not exist.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied because of request throttling. Retry the request.

* * @throws {@link ValidationException} (client fault) *

The value of a parameter in the request caused an error.

* * @throws {@link EvidentlyServiceException} *

Base exception class for all service exceptions from Evidently service.

* * * @public */ export declare class StopLaunchCommand extends StopLaunchCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StopLaunchRequest; output: StopLaunchResponse; }; sdk: { input: StopLaunchCommandInput; output: StopLaunchCommandOutput; }; }; }