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

Description

Stops an experiment that is currently running. If you stop an experiment, you can't resume it or restart it.

Synopsis

Creating a Request

data StopExperiment Source #

See: newStopExperiment smart constructor.

Constructors

StopExperiment' 

Fields

Instances

Instances details
ToJSON StopExperiment Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

ToHeaders StopExperiment Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

ToPath StopExperiment Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

ToQuery StopExperiment Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

AWSRequest StopExperiment Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

Associated Types

type AWSResponse StopExperiment #

Generic StopExperiment Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

Associated Types

type Rep StopExperiment :: Type -> Type #

Read StopExperiment Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

Show StopExperiment Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

NFData StopExperiment Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

Methods

rnf :: StopExperiment -> () #

Eq StopExperiment Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

Hashable StopExperiment Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

type AWSResponse StopExperiment Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

type Rep StopExperiment Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

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

newStopExperiment Source #

Create a value of StopExperiment 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:StopExperiment', stopExperiment_desiredState - Specify whether the experiment is to be considered COMPLETED or CANCELLED after it stops.

StopExperiment, stopExperiment_reason - A string that describes why you are stopping the experiment.

$sel:experiment:StopExperiment', stopExperiment_experiment - The name of the experiment to stop.

StopExperiment, stopExperiment_project - The name or ARN of the project that contains the experiment to stop.

Request Lenses

stopExperiment_desiredState :: Lens' StopExperiment (Maybe ExperimentStopDesiredState) Source #

Specify whether the experiment is to be considered COMPLETED or CANCELLED after it stops.

stopExperiment_reason :: Lens' StopExperiment (Maybe Text) Source #

A string that describes why you are stopping the experiment.

stopExperiment_experiment :: Lens' StopExperiment Text Source #

The name of the experiment to stop.

stopExperiment_project :: Lens' StopExperiment Text Source #

The name or ARN of the project that contains the experiment to stop.

Destructuring the Response

data StopExperimentResponse Source #

See: newStopExperimentResponse smart constructor.

Constructors

StopExperimentResponse' 

Fields

Instances

Instances details
Generic StopExperimentResponse Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

Associated Types

type Rep StopExperimentResponse :: Type -> Type #

Read StopExperimentResponse Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

Show StopExperimentResponse Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

NFData StopExperimentResponse Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

Methods

rnf :: StopExperimentResponse -> () #

Eq StopExperimentResponse Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

type Rep StopExperimentResponse Source # 
Instance details

Defined in Amazonka.Evidently.StopExperiment

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

newStopExperimentResponse Source #

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

StopExperimentResponse, stopExperimentResponse_endedTime - The date and time that the experiment stopped.

$sel:httpStatus:StopExperimentResponse', stopExperimentResponse_httpStatus - The response's http status code.

Response Lenses

stopExperimentResponse_endedTime :: Lens' StopExperimentResponse (Maybe UTCTime) Source #

The date and time that the experiment stopped.