| 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.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
| Eq GetRun Source # | |
| Read GetRun Source # | |
| Show GetRun Source # | |
| Generic GetRun Source # | |
| NFData GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun | |
| Hashable GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun | |
| ToJSON GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun | |
| AWSRequest GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun Associated Types type AWSResponse GetRun # Methods request :: GetRun -> Request GetRun # response :: MonadResource m => Logger -> Service -> Proxy GetRun -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetRun))) # | |
| ToHeaders GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun | |
| ToPath GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun Methods toPath :: GetRun -> ByteString # | |
| ToQuery GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun Methods toQuery :: GetRun -> QueryString # | |
| type Rep GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun | |
| type AWSResponse GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun | |
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:
$sel:arn: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:
$sel:run: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.