amazonka-devicefarm-2.0: Amazon Device Farm 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.DeviceFarm.StopRun

Description

Initiates a stop request for the current test run. AWS Device Farm immediately stops the run on devices where tests have not started. You are not billed for these devices. On devices where tests have started executing, setup suite and teardown suite tests run to completion on those devices. You are billed for setup, teardown, and any tests that were in progress or already completed.

Synopsis

Creating a Request

data StopRun Source #

Represents the request to stop a specific run.

See: newStopRun smart constructor.

Constructors

StopRun' 

Fields

  • arn :: Text

    Represents the Amazon Resource Name (ARN) of the Device Farm run to stop.

Instances

Instances details
ToJSON StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

ToHeaders StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Methods

toHeaders :: StopRun -> [Header] #

ToPath StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Methods

toPath :: StopRun -> ByteString #

ToQuery StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

AWSRequest StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Associated Types

type AWSResponse StopRun #

Generic StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Associated Types

type Rep StopRun :: Type -> Type #

Methods

from :: StopRun -> Rep StopRun x #

to :: Rep StopRun x -> StopRun #

Read StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Show StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

NFData StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Methods

rnf :: StopRun -> () #

Eq StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Methods

(==) :: StopRun -> StopRun -> Bool #

(/=) :: StopRun -> StopRun -> Bool #

Hashable StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Methods

hashWithSalt :: Int -> StopRun -> Int #

hash :: StopRun -> Int #

type AWSResponse StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

type Rep StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

type Rep StopRun = D1 ('MetaData "StopRun" "Amazonka.DeviceFarm.StopRun" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "StopRun'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStopRun Source #

Arguments

:: Text

StopRun

-> StopRun 

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

StopRun, stopRun_arn - Represents the Amazon Resource Name (ARN) of the Device Farm run to stop.

Request Lenses

stopRun_arn :: Lens' StopRun Text Source #

Represents the Amazon Resource Name (ARN) of the Device Farm run to stop.

Destructuring the Response

data StopRunResponse Source #

Represents the results of your stop run attempt.

See: newStopRunResponse smart constructor.

Constructors

StopRunResponse' 

Fields

Instances

Instances details
Generic StopRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Associated Types

type Rep StopRunResponse :: Type -> Type #

Read StopRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Show StopRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

NFData StopRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Methods

rnf :: StopRunResponse -> () #

Eq StopRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

type Rep StopRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

type Rep StopRunResponse = D1 ('MetaData "StopRunResponse" "Amazonka.DeviceFarm.StopRun" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "StopRunResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "run") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Run)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopRunResponse Source #

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

StopRunResponse, stopRunResponse_run - The run that was stopped.

$sel:httpStatus:StopRunResponse', stopRunResponse_httpStatus - The response's http status code.

Response Lenses

stopRunResponse_run :: Lens' StopRunResponse (Maybe Run) Source #

The run that was stopped.

stopRunResponse_httpStatus :: Lens' StopRunResponse Int Source #

The response's http status code.