| 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.ListTestGridSessions
Description
Retrieves a list of sessions for a TestGridProject.
Synopsis
- data ListTestGridSessions = ListTestGridSessions' {}
- newListTestGridSessions :: Text -> ListTestGridSessions
- listTestGridSessions_creationTimeAfter :: Lens' ListTestGridSessions (Maybe UTCTime)
- listTestGridSessions_creationTimeBefore :: Lens' ListTestGridSessions (Maybe UTCTime)
- listTestGridSessions_endTimeAfter :: Lens' ListTestGridSessions (Maybe UTCTime)
- listTestGridSessions_endTimeBefore :: Lens' ListTestGridSessions (Maybe UTCTime)
- listTestGridSessions_maxResult :: Lens' ListTestGridSessions (Maybe Natural)
- listTestGridSessions_nextToken :: Lens' ListTestGridSessions (Maybe Text)
- listTestGridSessions_status :: Lens' ListTestGridSessions (Maybe TestGridSessionStatus)
- listTestGridSessions_projectArn :: Lens' ListTestGridSessions Text
- data ListTestGridSessionsResponse = ListTestGridSessionsResponse' {}
- newListTestGridSessionsResponse :: Int -> ListTestGridSessionsResponse
- listTestGridSessionsResponse_nextToken :: Lens' ListTestGridSessionsResponse (Maybe Text)
- listTestGridSessionsResponse_testGridSessions :: Lens' ListTestGridSessionsResponse (Maybe [TestGridSession])
- listTestGridSessionsResponse_httpStatus :: Lens' ListTestGridSessionsResponse Int
Creating a Request
data ListTestGridSessions Source #
See: newListTestGridSessions smart constructor.
Constructors
| ListTestGridSessions' | |
Fields
| |
Instances
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:creationTimeAfter:ListTestGridSessions', listTestGridSessions_creationTimeAfter - Return only sessions created after this time.
$sel:creationTimeBefore:ListTestGridSessions', listTestGridSessions_creationTimeBefore - Return only sessions created before this time.
$sel:endTimeAfter:ListTestGridSessions', listTestGridSessions_endTimeAfter - Return only sessions that ended after this time.
$sel:endTimeBefore:ListTestGridSessions', listTestGridSessions_endTimeBefore - Return only sessions that ended before this time.
$sel:maxResult:ListTestGridSessions', listTestGridSessions_maxResult - Return only this many results at a time.
ListTestGridSessions, listTestGridSessions_nextToken - Pagination token.
ListTestGridSessions, listTestGridSessions_status - Return only sessions in this state.
$sel:projectArn:ListTestGridSessions', listTestGridSessions_projectArn - ARN of a TestGridProject.
Request Lenses
listTestGridSessions_creationTimeAfter :: Lens' ListTestGridSessions (Maybe UTCTime) Source #
Return only sessions created after this time.
listTestGridSessions_creationTimeBefore :: Lens' ListTestGridSessions (Maybe UTCTime) Source #
Return only sessions created before this time.
listTestGridSessions_endTimeAfter :: Lens' ListTestGridSessions (Maybe UTCTime) Source #
Return only sessions that ended after this time.
listTestGridSessions_endTimeBefore :: Lens' ListTestGridSessions (Maybe UTCTime) Source #
Return only sessions that ended before this time.
listTestGridSessions_maxResult :: Lens' ListTestGridSessions (Maybe Natural) Source #
Return only this many results at a time.
listTestGridSessions_nextToken :: Lens' ListTestGridSessions (Maybe Text) Source #
Pagination token.
listTestGridSessions_status :: Lens' ListTestGridSessions (Maybe TestGridSessionStatus) Source #
Return only sessions in this state.
listTestGridSessions_projectArn :: Lens' ListTestGridSessions Text Source #
ARN of a TestGridProject.
Destructuring the Response
data ListTestGridSessionsResponse Source #
See: newListTestGridSessionsResponse smart constructor.
Constructors
| ListTestGridSessionsResponse' | |
Fields
| |
Instances
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:
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_nextToken :: Lens' ListTestGridSessionsResponse (Maybe Text) Source #
Pagination token.
listTestGridSessionsResponse_testGridSessions :: Lens' ListTestGridSessionsResponse (Maybe [TestGridSession]) Source #
The sessions that match the criteria in a ListTestGridSessionsRequest.
listTestGridSessionsResponse_httpStatus :: Lens' ListTestGridSessionsResponse Int Source #
The response's http status code.