Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Initiates a stop request for the current test run. AWS Device Farm will immediately stop the run on devices where tests have not started executing, and you will not be billed for these devices. On devices where tests have started executing, Setup Suite and Teardown Suite tests will run to completion before stopping execution on those devices. You will be billed for Setup, Teardown, and any tests that were in progress or already completed.
Synopsis
- stopRun :: Text -> StopRun
- data StopRun
- srArn :: Lens' StopRun Text
- stopRunResponse :: Int -> StopRunResponse
- data StopRunResponse
- srsRun :: Lens' StopRunResponse (Maybe Run)
- srsResponseStatus :: Lens' StopRunResponse Int
Creating a Request
Represents the request to stop a specific run.
See: stopRun
smart constructor.
Instances
Request Lenses
srArn :: Lens' StopRun Text Source #
Represents the Amazon Resource Name (ARN) of the Device Farm run you wish to stop.
Destructuring the Response
Creates a value of StopRunResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srsRun
- The run that was stopped.srsResponseStatus
- -- | The response status code.
data StopRunResponse Source #
Represents the results of your stop run attempt.
See: stopRunResponse
smart constructor.
Instances
Response Lenses
srsResponseStatus :: Lens' StopRunResponse Int Source #
- - | The response status code.