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 |
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' {
- sessionArn :: Maybe Text
- projectArn :: Maybe Text
- sessionId :: Maybe Text
- newGetTestGridSession :: GetTestGridSession
- getTestGridSession_sessionArn :: Lens' GetTestGridSession (Maybe Text)
- getTestGridSession_projectArn :: 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.
GetTestGridSession' | |
|
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:sessionArn:GetTestGridSession'
, getTestGridSession_sessionArn
- An ARN that uniquely identifies a TestGridSession.
$sel:projectArn:GetTestGridSession'
, getTestGridSession_projectArn
- The ARN for the project that this session belongs to. See
CreateTestGridProject and ListTestGridProjects.
$sel:sessionId:GetTestGridSession'
, getTestGridSession_sessionId
- An ID associated with this session.
Request Lenses
getTestGridSession_sessionArn :: Lens' GetTestGridSession (Maybe Text) Source #
An ARN that uniquely identifies a TestGridSession.
getTestGridSession_projectArn :: Lens' GetTestGridSession (Maybe Text) Source #
The ARN for the project that this session belongs to. See CreateTestGridProject and ListTestGridProjects.
getTestGridSession_sessionId :: Lens' GetTestGridSession (Maybe Text) Source #
An ID associated with this session.
Destructuring the Response
data GetTestGridSessionResponse Source #
See: newGetTestGridSessionResponse
smart constructor.
GetTestGridSessionResponse' | |
|
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.