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 |
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
ToJSON GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun | |
ToHeaders GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun | |
ToPath GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun toPath :: GetRun -> ByteString # | |
ToQuery GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun toQuery :: GetRun -> QueryString # | |
AWSRequest GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun type AWSResponse GetRun # request :: (Service -> Service) -> GetRun -> Request GetRun # response :: MonadResource m => (ByteStringLazy -> IO ByteStringLazy) -> Service -> Proxy GetRun -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetRun))) # | |
Generic GetRun Source # | |
Read GetRun Source # | |
Show GetRun Source # | |
NFData GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun | |
Eq GetRun Source # | |
Hashable GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun | |
type AWSResponse GetRun Source # | |
Defined in Amazonka.DeviceFarm.GetRun | |
type Rep 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:
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.
GetRunResponse' | |
|
Instances
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.