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

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.

Synopsis

Creating a Request

data StopLaunch Source #

See: newStopLaunch smart constructor.

Constructors

StopLaunch' 

Fields

Instances

Instances details
ToJSON StopLaunch Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

ToHeaders StopLaunch Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

Methods

toHeaders :: StopLaunch -> [Header] #

ToPath StopLaunch Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

ToQuery StopLaunch Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

AWSRequest StopLaunch Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

Associated Types

type AWSResponse StopLaunch #

Generic StopLaunch Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

Associated Types

type Rep StopLaunch :: Type -> Type #

Read StopLaunch Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

Show StopLaunch Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

NFData StopLaunch Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

Methods

rnf :: StopLaunch -> () #

Eq StopLaunch Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

Hashable StopLaunch Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

type AWSResponse StopLaunch Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

type Rep StopLaunch Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

type Rep StopLaunch = D1 ('MetaData "StopLaunch" "Amazonka.Evidently.StopLaunch" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "StopLaunch'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "desiredState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchStopDesiredState)) :*: S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "launch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "project") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStopLaunch Source #

Create a value of StopLaunch 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:desiredState:StopLaunch', stopLaunch_desiredState - Specify whether to consider the launch as COMPLETED or CANCELLED after it stops.

StopLaunch, stopLaunch_reason - A string that describes why you are stopping the launch.

$sel:launch:StopLaunch', stopLaunch_launch - The name of the launch to stop.

StopLaunch, stopLaunch_project - The name or ARN of the project that contains the launch that you want to stop.

Request Lenses

stopLaunch_desiredState :: Lens' StopLaunch (Maybe LaunchStopDesiredState) Source #

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

stopLaunch_reason :: Lens' StopLaunch (Maybe Text) Source #

A string that describes why you are stopping the launch.

stopLaunch_launch :: Lens' StopLaunch Text Source #

The name of the launch to stop.

stopLaunch_project :: Lens' StopLaunch Text Source #

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

Destructuring the Response

data StopLaunchResponse Source #

See: newStopLaunchResponse smart constructor.

Constructors

StopLaunchResponse' 

Fields

Instances

Instances details
Generic StopLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

Associated Types

type Rep StopLaunchResponse :: Type -> Type #

Read StopLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

Show StopLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

NFData StopLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

Methods

rnf :: StopLaunchResponse -> () #

Eq StopLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

type Rep StopLaunchResponse Source # 
Instance details

Defined in Amazonka.Evidently.StopLaunch

type Rep StopLaunchResponse = D1 ('MetaData "StopLaunchResponse" "Amazonka.Evidently.StopLaunch" "amazonka-evidently-2.0-Es2fJk98R0DAUPYaVkZSYC" 'False) (C1 ('MetaCons "StopLaunchResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopLaunchResponse Source #

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

StopLaunchResponse, stopLaunchResponse_endedTime - The date and time that the launch stopped.

$sel:httpStatus:StopLaunchResponse', stopLaunchResponse_httpStatus - The response's http status code.

Response Lenses

stopLaunchResponse_endedTime :: Lens' StopLaunchResponse (Maybe UTCTime) Source #

The date and time that the launch stopped.