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 |
Retrieves a list of sessions for a TestGridProject.
Synopsis
- data ListTestGridSessions = ListTestGridSessions' {}
- newListTestGridSessions :: Text -> ListTestGridSessions
- listTestGridSessions_status :: Lens' ListTestGridSessions (Maybe TestGridSessionStatus)
- listTestGridSessions_maxResult :: Lens' ListTestGridSessions (Maybe Natural)
- listTestGridSessions_creationTimeAfter :: Lens' ListTestGridSessions (Maybe UTCTime)
- listTestGridSessions_endTimeBefore :: Lens' ListTestGridSessions (Maybe UTCTime)
- listTestGridSessions_endTimeAfter :: Lens' ListTestGridSessions (Maybe UTCTime)
- listTestGridSessions_nextToken :: Lens' ListTestGridSessions (Maybe Text)
- listTestGridSessions_creationTimeBefore :: Lens' ListTestGridSessions (Maybe UTCTime)
- 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.
ListTestGridSessions' | |
|
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: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_status :: Lens' ListTestGridSessions (Maybe TestGridSessionStatus) Source #
Return only sessions in this state.
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_nextToken :: Lens' ListTestGridSessions (Maybe Text) Source #
Pagination token.
listTestGridSessions_creationTimeBefore :: Lens' ListTestGridSessions (Maybe UTCTime) Source #
Return only sessions created before this time.
listTestGridSessions_projectArn :: Lens' ListTestGridSessions Text Source #
ARN of a TestGridProject.
Destructuring the Response
data ListTestGridSessionsResponse Source #
See: newListTestGridSessionsResponse
smart constructor.
ListTestGridSessionsResponse' | |
|
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:
$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_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.