| 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.GetTestGridSession
Description
A session is an instance of a browser created through a
RemoteWebDriver with the URL from CreateTestGridUrlResult$url. You can
use the following to look up sessions:
- The session ARN (GetTestGridSessionRequest$sessionArn).
- The project ARN and a session ID (GetTestGridSessionRequest$projectArn and GetTestGridSessionRequest$sessionId).
Synopsis
- data GetTestGridSession = GetTestGridSession' {
- projectArn :: Maybe Text
- sessionArn :: Maybe Text
- sessionId :: Maybe Text
- newGetTestGridSession :: GetTestGridSession
- getTestGridSession_projectArn :: Lens' GetTestGridSession (Maybe Text)
- getTestGridSession_sessionArn :: Lens' GetTestGridSession (Maybe Text)
- getTestGridSession_sessionId :: Lens' GetTestGridSession (Maybe Text)
- data GetTestGridSessionResponse = GetTestGridSessionResponse' {}
- newGetTestGridSessionResponse :: Int -> GetTestGridSessionResponse
- getTestGridSessionResponse_testGridSession :: Lens' GetTestGridSessionResponse (Maybe TestGridSession)
- getTestGridSessionResponse_httpStatus :: Lens' GetTestGridSessionResponse Int
Creating a Request
data GetTestGridSession Source #
See: newGetTestGridSession smart constructor.
Constructors
| GetTestGridSession' | |
Fields
| |
Instances
newGetTestGridSession :: GetTestGridSession Source #
Create a value of GetTestGridSession 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:projectArn:GetTestGridSession', getTestGridSession_projectArn - The ARN for the project that this session belongs to. See
CreateTestGridProject and ListTestGridProjects.
$sel:sessionArn:GetTestGridSession', getTestGridSession_sessionArn - An ARN that uniquely identifies a TestGridSession.
$sel:sessionId:GetTestGridSession', getTestGridSession_sessionId - An ID associated with this session.
Request Lenses
getTestGridSession_projectArn :: Lens' GetTestGridSession (Maybe Text) Source #
The ARN for the project that this session belongs to. See CreateTestGridProject and ListTestGridProjects.
getTestGridSession_sessionArn :: Lens' GetTestGridSession (Maybe Text) Source #
An ARN that uniquely identifies a TestGridSession.
getTestGridSession_sessionId :: Lens' GetTestGridSession (Maybe Text) Source #
An ID associated with this session.
Destructuring the Response
data GetTestGridSessionResponse Source #
See: newGetTestGridSessionResponse smart constructor.
Constructors
| GetTestGridSessionResponse' | |
Fields
| |
Instances
newGetTestGridSessionResponse Source #
Create a value of GetTestGridSessionResponse 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:testGridSession:GetTestGridSessionResponse', getTestGridSessionResponse_testGridSession - The TestGridSession that was requested.
$sel:httpStatus:GetTestGridSessionResponse', getTestGridSessionResponse_httpStatus - The response's http status code.
Response Lenses
getTestGridSessionResponse_testGridSession :: Lens' GetTestGridSessionResponse (Maybe TestGridSession) Source #
The TestGridSession that was requested.
getTestGridSessionResponse_httpStatus :: Lens' GetTestGridSessionResponse Int Source #
The response's http status code.