Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data StopRun = StopRun' {}
- newStopRun :: Text -> StopRun
- stopRun_arn :: Lens' StopRun Text
- data StopRunResponse = StopRunResponse' {
- run :: Maybe Run
- httpStatus :: Int
- newStopRunResponse :: Int -> StopRunResponse
- stopRunResponse_run :: Lens' StopRunResponse (Maybe Run)
- stopRunResponse_httpStatus :: Lens' StopRunResponse Int
Creating a Request
Represents the request to stop a specific run.
See: newStopRun
smart constructor.
Instances
Eq StopRun Source # | |
Read StopRun Source # | |
Show StopRun Source # | |
Generic StopRun Source # | |
NFData StopRun Source # | |
Defined in Amazonka.DeviceFarm.StopRun | |
Hashable StopRun Source # | |
Defined in Amazonka.DeviceFarm.StopRun | |
ToJSON StopRun Source # | |
Defined in Amazonka.DeviceFarm.StopRun | |
AWSRequest StopRun Source # | |
Defined in Amazonka.DeviceFarm.StopRun type AWSResponse StopRun # request :: StopRun -> Request StopRun # response :: MonadResource m => Logger -> Service -> Proxy StopRun -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse StopRun))) # | |
ToHeaders StopRun Source # | |
Defined in Amazonka.DeviceFarm.StopRun | |
ToPath StopRun Source # | |
Defined in Amazonka.DeviceFarm.StopRun toPath :: StopRun -> ByteString # | |
ToQuery StopRun Source # | |
Defined in Amazonka.DeviceFarm.StopRun toQuery :: StopRun -> QueryString # | |
type Rep StopRun Source # | |
Defined in Amazonka.DeviceFarm.StopRun | |
type AWSResponse StopRun Source # | |
Defined in Amazonka.DeviceFarm.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:
$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.
StopRunResponse' | |
|
Instances
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.