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 |
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
- 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.
Constructors
StopRun' | |
Instances
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
Arguments
:: Int | |
-> StopRunResponse |
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.