| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTDeviceAdvisor.StopSuiteRun
Description
Stops a Device Advisor test suite run that is currently running.
Requires permission to access the StopSuiteRun action.
Synopsis
- data StopSuiteRun = StopSuiteRun' {}
- newStopSuiteRun :: Text -> Text -> StopSuiteRun
- stopSuiteRun_suiteDefinitionId :: Lens' StopSuiteRun Text
- stopSuiteRun_suiteRunId :: Lens' StopSuiteRun Text
- data StopSuiteRunResponse = StopSuiteRunResponse' {
- httpStatus :: Int
- newStopSuiteRunResponse :: Int -> StopSuiteRunResponse
- stopSuiteRunResponse_httpStatus :: Lens' StopSuiteRunResponse Int
Creating a Request
data StopSuiteRun Source #
See: newStopSuiteRun smart constructor.
Constructors
| StopSuiteRun' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> StopSuiteRun |
Create a value of StopSuiteRun 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:
StopSuiteRun, stopSuiteRun_suiteDefinitionId - Suite definition ID of the test suite run to be stopped.
StopSuiteRun, stopSuiteRun_suiteRunId - Suite run ID of the test suite run to be stopped.
Request Lenses
stopSuiteRun_suiteDefinitionId :: Lens' StopSuiteRun Text Source #
Suite definition ID of the test suite run to be stopped.
stopSuiteRun_suiteRunId :: Lens' StopSuiteRun Text Source #
Suite run ID of the test suite run to be stopped.
Destructuring the Response
data StopSuiteRunResponse Source #
See: newStopSuiteRunResponse smart constructor.
Constructors
| StopSuiteRunResponse' | |
Fields
| |
Instances
newStopSuiteRunResponse Source #
Arguments
| :: Int | |
| -> StopSuiteRunResponse |
Create a value of StopSuiteRunResponse 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:httpStatus:StopSuiteRunResponse', stopSuiteRunResponse_httpStatus - The response's http status code.
Response Lenses
stopSuiteRunResponse_httpStatus :: Lens' StopSuiteRunResponse Int Source #
The response's http status code.