| 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.ListRemoteAccessSessions
Description
Returns a list of all currently running remote access sessions.
This operation returns paginated results.
Synopsis
- data ListRemoteAccessSessions = ListRemoteAccessSessions' {}
- newListRemoteAccessSessions :: Text -> ListRemoteAccessSessions
- listRemoteAccessSessions_nextToken :: Lens' ListRemoteAccessSessions (Maybe Text)
- listRemoteAccessSessions_arn :: Lens' ListRemoteAccessSessions Text
- data ListRemoteAccessSessionsResponse = ListRemoteAccessSessionsResponse' {}
- newListRemoteAccessSessionsResponse :: Int -> ListRemoteAccessSessionsResponse
- listRemoteAccessSessionsResponse_nextToken :: Lens' ListRemoteAccessSessionsResponse (Maybe Text)
- listRemoteAccessSessionsResponse_remoteAccessSessions :: Lens' ListRemoteAccessSessionsResponse (Maybe [RemoteAccessSession])
- listRemoteAccessSessionsResponse_httpStatus :: Lens' ListRemoteAccessSessionsResponse Int
Creating a Request
data ListRemoteAccessSessions Source #
Represents the request to return information about the remote access session.
See: newListRemoteAccessSessions smart constructor.
Constructors
| ListRemoteAccessSessions' | |
Instances
newListRemoteAccessSessions Source #
Arguments
| :: Text | |
| -> ListRemoteAccessSessions |
Create a value of ListRemoteAccessSessions 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:
ListRemoteAccessSessions, listRemoteAccessSessions_nextToken - An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
ListRemoteAccessSessions, listRemoteAccessSessions_arn - The Amazon Resource Name (ARN) of the project about which you are
requesting information.
Request Lenses
listRemoteAccessSessions_nextToken :: Lens' ListRemoteAccessSessions (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
listRemoteAccessSessions_arn :: Lens' ListRemoteAccessSessions Text Source #
The Amazon Resource Name (ARN) of the project about which you are requesting information.
Destructuring the Response
data ListRemoteAccessSessionsResponse Source #
Represents the response from the server after AWS Device Farm makes a request to return information about the remote access session.
See: newListRemoteAccessSessionsResponse smart constructor.
Constructors
| ListRemoteAccessSessionsResponse' | |
Fields
| |
Instances
newListRemoteAccessSessionsResponse Source #
Create a value of ListRemoteAccessSessionsResponse 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:
ListRemoteAccessSessions, listRemoteAccessSessionsResponse_nextToken - An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in the
list.
$sel:remoteAccessSessions:ListRemoteAccessSessionsResponse', listRemoteAccessSessionsResponse_remoteAccessSessions - A container that represents the metadata from the service about each
remote access session you are requesting.
$sel:httpStatus:ListRemoteAccessSessionsResponse', listRemoteAccessSessionsResponse_httpStatus - The response's http status code.
Response Lenses
listRemoteAccessSessionsResponse_nextToken :: Lens' ListRemoteAccessSessionsResponse (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
listRemoteAccessSessionsResponse_remoteAccessSessions :: Lens' ListRemoteAccessSessionsResponse (Maybe [RemoteAccessSession]) Source #
A container that represents the metadata from the service about each remote access session you are requesting.
listRemoteAccessSessionsResponse_httpStatus :: Lens' ListRemoteAccessSessionsResponse Int Source #
The response's http status code.