libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Methods

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

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

Read StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Show StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.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 #

NFData StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Methods

rnf :: StopRun -> () #

Hashable StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Methods

hashWithSalt :: Int -> StopRun -> Int #

hash :: StopRun -> Int #

ToJSON StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

AWSRequest StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Associated Types

type AWSResponse 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

type Rep StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

type Rep StopRun = D1 ('MetaData "StopRun" "Amazonka.DeviceFarm.StopRun" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "StopRun'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopRun Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

newStopRun Source #

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:

$sel:arn: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
Eq StopRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Read StopRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Show StopRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Generic StopRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Associated Types

type Rep StopRunResponse :: Type -> Type #

NFData StopRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

Methods

rnf :: StopRunResponse -> () #

type Rep StopRunResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.StopRun

type Rep StopRunResponse = D1 ('MetaData "StopRunResponse" "Amazonka.DeviceFarm.StopRun" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" '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:

$sel:run: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.