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 |
Specifies and starts a remote access session.
Synopsis
- data CreateRemoteAccessSession = CreateRemoteAccessSession' {
- clientId :: Maybe Text
- skipAppResign :: Maybe Bool
- instanceArn :: Maybe Text
- remoteRecordEnabled :: Maybe Bool
- remoteRecordAppArn :: Maybe Text
- sshPublicKey :: Maybe Text
- name :: Maybe Text
- remoteDebugEnabled :: Maybe Bool
- configuration :: Maybe CreateRemoteAccessSessionConfiguration
- interactionMode :: Maybe InteractionMode
- projectArn :: Text
- deviceArn :: Text
- newCreateRemoteAccessSession :: Text -> Text -> CreateRemoteAccessSession
- createRemoteAccessSession_clientId :: Lens' CreateRemoteAccessSession (Maybe Text)
- createRemoteAccessSession_skipAppResign :: Lens' CreateRemoteAccessSession (Maybe Bool)
- createRemoteAccessSession_instanceArn :: Lens' CreateRemoteAccessSession (Maybe Text)
- createRemoteAccessSession_remoteRecordEnabled :: Lens' CreateRemoteAccessSession (Maybe Bool)
- createRemoteAccessSession_remoteRecordAppArn :: Lens' CreateRemoteAccessSession (Maybe Text)
- createRemoteAccessSession_sshPublicKey :: Lens' CreateRemoteAccessSession (Maybe Text)
- createRemoteAccessSession_name :: Lens' CreateRemoteAccessSession (Maybe Text)
- createRemoteAccessSession_remoteDebugEnabled :: Lens' CreateRemoteAccessSession (Maybe Bool)
- createRemoteAccessSession_configuration :: Lens' CreateRemoteAccessSession (Maybe CreateRemoteAccessSessionConfiguration)
- createRemoteAccessSession_interactionMode :: Lens' CreateRemoteAccessSession (Maybe InteractionMode)
- createRemoteAccessSession_projectArn :: Lens' CreateRemoteAccessSession Text
- createRemoteAccessSession_deviceArn :: Lens' CreateRemoteAccessSession Text
- data CreateRemoteAccessSessionResponse = CreateRemoteAccessSessionResponse' {}
- newCreateRemoteAccessSessionResponse :: Int -> CreateRemoteAccessSessionResponse
- createRemoteAccessSessionResponse_remoteAccessSession :: Lens' CreateRemoteAccessSessionResponse (Maybe RemoteAccessSession)
- createRemoteAccessSessionResponse_httpStatus :: Lens' CreateRemoteAccessSessionResponse Int
Creating a Request
data CreateRemoteAccessSession Source #
Creates and submits a request to start a remote access session.
See: newCreateRemoteAccessSession
smart constructor.
CreateRemoteAccessSession' | |
|
Instances
newCreateRemoteAccessSession Source #
:: Text | |
-> Text | |
-> CreateRemoteAccessSession |
Create a value of CreateRemoteAccessSession
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:clientId:CreateRemoteAccessSession'
, createRemoteAccessSession_clientId
- Unique identifier for the client. If you want access to multiple devices
on the same client, you should pass the same clientId
value in each
call to CreateRemoteAccessSession
. This identifier is required only if
remoteDebugEnabled
is set to true
.
Remote debugging is no longer supported.
$sel:skipAppResign:CreateRemoteAccessSession'
, createRemoteAccessSession_skipAppResign
- When set to true
, for private devices, Device Farm does not sign your
app again. For public devices, Device Farm always signs your apps again.
For more information on how Device Farm modifies your uploads during tests, see Do you modify my app?
$sel:instanceArn:CreateRemoteAccessSession'
, createRemoteAccessSession_instanceArn
- The Amazon Resource Name (ARN) of the device instance for which you want
to create a remote access session.
$sel:remoteRecordEnabled:CreateRemoteAccessSession'
, createRemoteAccessSession_remoteRecordEnabled
- Set to true
to enable remote recording for the remote access session.
$sel:remoteRecordAppArn:CreateRemoteAccessSession'
, createRemoteAccessSession_remoteRecordAppArn
- The Amazon Resource Name (ARN) for the app to be recorded in the remote
access session.
$sel:sshPublicKey:CreateRemoteAccessSession'
, createRemoteAccessSession_sshPublicKey
- Ignored. The public key of the ssh
key pair you want to use for
connecting to remote devices in your remote debugging session. This key
is required only if remoteDebugEnabled
is set to true
.
Remote debugging is no longer supported.
$sel:name:CreateRemoteAccessSession'
, createRemoteAccessSession_name
- The name of the remote access session to create.
$sel:remoteDebugEnabled:CreateRemoteAccessSession'
, createRemoteAccessSession_remoteDebugEnabled
- Set to true
if you want to access devices remotely for debugging in
your remote access session.
Remote debugging is no longer supported.
$sel:configuration:CreateRemoteAccessSession'
, createRemoteAccessSession_configuration
- The configuration information for the remote access session request.
$sel:interactionMode:CreateRemoteAccessSession'
, createRemoteAccessSession_interactionMode
- The interaction mode of the remote access session. Valid values are:
- INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run XCUITest framework-based tests in this mode.
- NO_VIDEO: You are connected to the device, but cannot interact with it or view the screen. This mode has the fastest test execution speed. You can run XCUITest framework-based tests in this mode.
- VIDEO_ONLY: You can view the screen, but cannot touch or rotate it. You can run XCUITest framework-based tests and watch the screen in this mode.
$sel:projectArn:CreateRemoteAccessSession'
, createRemoteAccessSession_projectArn
- The Amazon Resource Name (ARN) of the project for which you want to
create a remote access session.
$sel:deviceArn:CreateRemoteAccessSession'
, createRemoteAccessSession_deviceArn
- The ARN of the device for which you want to create a remote access
session.
Request Lenses
createRemoteAccessSession_clientId :: Lens' CreateRemoteAccessSession (Maybe Text) Source #
Unique identifier for the client. If you want access to multiple devices
on the same client, you should pass the same clientId
value in each
call to CreateRemoteAccessSession
. This identifier is required only if
remoteDebugEnabled
is set to true
.
Remote debugging is no longer supported.
createRemoteAccessSession_skipAppResign :: Lens' CreateRemoteAccessSession (Maybe Bool) Source #
When set to true
, for private devices, Device Farm does not sign your
app again. For public devices, Device Farm always signs your apps again.
For more information on how Device Farm modifies your uploads during tests, see Do you modify my app?
createRemoteAccessSession_instanceArn :: Lens' CreateRemoteAccessSession (Maybe Text) Source #
The Amazon Resource Name (ARN) of the device instance for which you want to create a remote access session.
createRemoteAccessSession_remoteRecordEnabled :: Lens' CreateRemoteAccessSession (Maybe Bool) Source #
Set to true
to enable remote recording for the remote access session.
createRemoteAccessSession_remoteRecordAppArn :: Lens' CreateRemoteAccessSession (Maybe Text) Source #
The Amazon Resource Name (ARN) for the app to be recorded in the remote access session.
createRemoteAccessSession_sshPublicKey :: Lens' CreateRemoteAccessSession (Maybe Text) Source #
Ignored. The public key of the ssh
key pair you want to use for
connecting to remote devices in your remote debugging session. This key
is required only if remoteDebugEnabled
is set to true
.
Remote debugging is no longer supported.
createRemoteAccessSession_name :: Lens' CreateRemoteAccessSession (Maybe Text) Source #
The name of the remote access session to create.
createRemoteAccessSession_remoteDebugEnabled :: Lens' CreateRemoteAccessSession (Maybe Bool) Source #
Set to true
if you want to access devices remotely for debugging in
your remote access session.
Remote debugging is no longer supported.
createRemoteAccessSession_configuration :: Lens' CreateRemoteAccessSession (Maybe CreateRemoteAccessSessionConfiguration) Source #
The configuration information for the remote access session request.
createRemoteAccessSession_interactionMode :: Lens' CreateRemoteAccessSession (Maybe InteractionMode) Source #
The interaction mode of the remote access session. Valid values are:
- INTERACTIVE: You can interact with the iOS device by viewing, touching, and rotating the screen. You cannot run XCUITest framework-based tests in this mode.
- NO_VIDEO: You are connected to the device, but cannot interact with it or view the screen. This mode has the fastest test execution speed. You can run XCUITest framework-based tests in this mode.
- VIDEO_ONLY: You can view the screen, but cannot touch or rotate it. You can run XCUITest framework-based tests and watch the screen in this mode.
createRemoteAccessSession_projectArn :: Lens' CreateRemoteAccessSession Text Source #
The Amazon Resource Name (ARN) of the project for which you want to create a remote access session.
createRemoteAccessSession_deviceArn :: Lens' CreateRemoteAccessSession Text Source #
The ARN of the device for which you want to create a remote access session.
Destructuring the Response
data CreateRemoteAccessSessionResponse Source #
Represents the server response from a request to create a remote access session.
See: newCreateRemoteAccessSessionResponse
smart constructor.
CreateRemoteAccessSessionResponse' | |
|
Instances
Eq CreateRemoteAccessSessionResponse Source # | |
Read CreateRemoteAccessSessionResponse Source # | |
Show CreateRemoteAccessSessionResponse Source # | |
Generic CreateRemoteAccessSessionResponse Source # | |
NFData CreateRemoteAccessSessionResponse Source # | |
Defined in Amazonka.DeviceFarm.CreateRemoteAccessSession rnf :: CreateRemoteAccessSessionResponse -> () # | |
type Rep CreateRemoteAccessSessionResponse Source # | |
Defined in Amazonka.DeviceFarm.CreateRemoteAccessSession type Rep CreateRemoteAccessSessionResponse = D1 ('MetaData "CreateRemoteAccessSessionResponse" "Amazonka.DeviceFarm.CreateRemoteAccessSession" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "CreateRemoteAccessSessionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "remoteAccessSession") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RemoteAccessSession)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateRemoteAccessSessionResponse Source #
Create a value of CreateRemoteAccessSessionResponse
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:remoteAccessSession:CreateRemoteAccessSessionResponse'
, createRemoteAccessSessionResponse_remoteAccessSession
- A container that describes the remote access session when the request to
create a remote access session is sent.
$sel:httpStatus:CreateRemoteAccessSessionResponse'
, createRemoteAccessSessionResponse_httpStatus
- The response's http status code.
Response Lenses
createRemoteAccessSessionResponse_remoteAccessSession :: Lens' CreateRemoteAccessSessionResponse (Maybe RemoteAccessSession) Source #
A container that describes the remote access session when the request to create a remote access session is sent.
createRemoteAccessSessionResponse_httpStatus :: Lens' CreateRemoteAccessSessionResponse Int Source #
The response's http status code.