libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DeviceFarm.ListTestGridSessions

Description

Retrieves a list of sessions for a TestGridProject.

Synopsis

Creating a Request

data ListTestGridSessions Source #

See: newListTestGridSessions smart constructor.

Constructors

ListTestGridSessions' 

Fields

Instances

Instances details
Eq ListTestGridSessions Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

Read ListTestGridSessions Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

Show ListTestGridSessions Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

Generic ListTestGridSessions Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

Associated Types

type Rep ListTestGridSessions :: Type -> Type #

NFData ListTestGridSessions Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

Methods

rnf :: ListTestGridSessions -> () #

Hashable ListTestGridSessions Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

ToJSON ListTestGridSessions Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

AWSRequest ListTestGridSessions Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

Associated Types

type AWSResponse ListTestGridSessions #

ToHeaders ListTestGridSessions Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

ToPath ListTestGridSessions Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

ToQuery ListTestGridSessions Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

type Rep ListTestGridSessions Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

type Rep ListTestGridSessions = D1 ('MetaData "ListTestGridSessions" "Amazonka.DeviceFarm.ListTestGridSessions" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "ListTestGridSessions'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TestGridSessionStatus)) :*: S1 ('MetaSel ('Just "maxResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "creationTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "endTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "endTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "creationTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "projectArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListTestGridSessions Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

newListTestGridSessions Source #

Create a value of ListTestGridSessions 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:status:ListTestGridSessions', listTestGridSessions_status - Return only sessions in this state.

$sel:maxResult:ListTestGridSessions', listTestGridSessions_maxResult - Return only this many results at a time.

$sel:creationTimeAfter:ListTestGridSessions', listTestGridSessions_creationTimeAfter - Return only sessions created after this time.

$sel:endTimeBefore:ListTestGridSessions', listTestGridSessions_endTimeBefore - Return only sessions that ended before this time.

$sel:endTimeAfter:ListTestGridSessions', listTestGridSessions_endTimeAfter - Return only sessions that ended after this time.

$sel:nextToken:ListTestGridSessions', listTestGridSessions_nextToken - Pagination token.

$sel:creationTimeBefore:ListTestGridSessions', listTestGridSessions_creationTimeBefore - Return only sessions created before this time.

$sel:projectArn:ListTestGridSessions', listTestGridSessions_projectArn - ARN of a TestGridProject.

Request Lenses

listTestGridSessions_maxResult :: Lens' ListTestGridSessions (Maybe Natural) Source #

Return only this many results at a time.

listTestGridSessions_creationTimeAfter :: Lens' ListTestGridSessions (Maybe UTCTime) Source #

Return only sessions created after this time.

listTestGridSessions_endTimeBefore :: Lens' ListTestGridSessions (Maybe UTCTime) Source #

Return only sessions that ended before this time.

listTestGridSessions_endTimeAfter :: Lens' ListTestGridSessions (Maybe UTCTime) Source #

Return only sessions that ended after this time.

listTestGridSessions_creationTimeBefore :: Lens' ListTestGridSessions (Maybe UTCTime) Source #

Return only sessions created before this time.

Destructuring the Response

data ListTestGridSessionsResponse Source #

See: newListTestGridSessionsResponse smart constructor.

Constructors

ListTestGridSessionsResponse' 

Fields

Instances

Instances details
Eq ListTestGridSessionsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

Read ListTestGridSessionsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

Show ListTestGridSessionsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

Generic ListTestGridSessionsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

Associated Types

type Rep ListTestGridSessionsResponse :: Type -> Type #

NFData ListTestGridSessionsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

type Rep ListTestGridSessionsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListTestGridSessions

type Rep ListTestGridSessionsResponse = D1 ('MetaData "ListTestGridSessionsResponse" "Amazonka.DeviceFarm.ListTestGridSessions" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "ListTestGridSessionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "testGridSessions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TestGridSession])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTestGridSessionsResponse Source #

Create a value of ListTestGridSessionsResponse 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:nextToken:ListTestGridSessions', listTestGridSessionsResponse_nextToken - Pagination token.

$sel:testGridSessions:ListTestGridSessionsResponse', listTestGridSessionsResponse_testGridSessions - The sessions that match the criteria in a ListTestGridSessionsRequest.

$sel:httpStatus:ListTestGridSessionsResponse', listTestGridSessionsResponse_httpStatus - The response's http status code.

Response Lenses

listTestGridSessionsResponse_testGridSessions :: Lens' ListTestGridSessionsResponse (Maybe [TestGridSession]) Source #

The sessions that match the criteria in a ListTestGridSessionsRequest.