amazonka-devicefarm-2.0: Amazon Device Farm SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data GetTestGridSession Source #

See: newGetTestGridSession smart constructor.

Constructors

GetTestGridSession' 

Fields

Instances

Instances details
ToJSON GetTestGridSession Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

ToHeaders GetTestGridSession Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

ToPath GetTestGridSession Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

ToQuery GetTestGridSession Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

AWSRequest GetTestGridSession Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

Associated Types

type AWSResponse GetTestGridSession #

Generic GetTestGridSession Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

Associated Types

type Rep GetTestGridSession :: Type -> Type #

Read GetTestGridSession Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

Show GetTestGridSession Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

NFData GetTestGridSession Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

Methods

rnf :: GetTestGridSession -> () #

Eq GetTestGridSession Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

Hashable GetTestGridSession Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

type AWSResponse GetTestGridSession Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

type Rep GetTestGridSession Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

type Rep GetTestGridSession = D1 ('MetaData "GetTestGridSession" "Amazonka.DeviceFarm.GetTestGridSession" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "GetTestGridSession'" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sessionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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

Instances details
Generic GetTestGridSessionResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

Associated Types

type Rep GetTestGridSessionResponse :: Type -> Type #

Read GetTestGridSessionResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

Show GetTestGridSessionResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

NFData GetTestGridSessionResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

Eq GetTestGridSessionResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

type Rep GetTestGridSessionResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.GetTestGridSession

type Rep GetTestGridSessionResponse = D1 ('MetaData "GetTestGridSessionResponse" "Amazonka.DeviceFarm.GetTestGridSession" "amazonka-devicefarm-2.0-2e4KvZvQ9bT8TNjEPvmW9Q" 'False) (C1 ('MetaCons "GetTestGridSessionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "testGridSession") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TestGridSession)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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