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.DeviceFarm.GetRun
Description
Gets information about a run.
Synopsis
- data GetRun = GetRun' {}
- newGetRun :: Text -> GetRun
- getRun_arn :: Lens' GetRun Text
- data GetRunResponse = GetRunResponse' {
- run :: Maybe Run
- httpStatus :: Int
- newGetRunResponse :: Int -> GetRunResponse
- getRunResponse_run :: Lens' GetRunResponse (Maybe Run)
- getRunResponse_httpStatus :: Lens' GetRunResponse Int
Creating a Request
Represents a request to the get run operation.
See: newGetRun
smart constructor.
Instances
Create a value of GetRun
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:
GetRun
, getRun_arn
- The run's ARN.
Request Lenses
Destructuring the Response
data GetRunResponse Source #
Represents the result of a get run request.
See: newGetRunResponse
smart constructor.
Constructors
GetRunResponse' | |
Fields
|
Instances
Arguments
:: Int | |
-> GetRunResponse |
Create a value of GetRunResponse
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:
GetRunResponse
, getRunResponse_run
- The run to get results from.
$sel:httpStatus:GetRunResponse'
, getRunResponse_httpStatus
- The response's http status code.
Response Lenses
getRunResponse_run :: Lens' GetRunResponse (Maybe Run) Source #
The run to get results from.
getRunResponse_httpStatus :: Lens' GetRunResponse Int Source #
The response's http status code.