Skip to content

Commit 1295caa

Browse files
author
AWS
committed
AWS Device Farm Update: This release adds support for interacting with devices during a remote access session using the remoteDriverEndpoint interface
1 parent 45bfd43 commit 1295caa

File tree

2 files changed

+43
-64
lines changed

2 files changed

+43
-64
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Device Farm",
4+
"contributor": "",
5+
"description": "This release adds support for interacting with devices during a remote access session using the remoteDriverEndpoint interface"
6+
}

services/devicefarm/src/main/resources/codegen-resources/service-2.json

Lines changed: 37 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218
{"shape":"LimitExceededException"},
219219
{"shape":"ServiceAccountException"}
220220
],
221-
"documentation":"<p>Deletes an AWS Device Farm project, given the project ARN.</p> <p> Deleting this resource does not stop an in-progress run.</p>"
221+
"documentation":"<p>Deletes an AWS Device Farm project, given the project ARN. You cannot delete a project if it has an active run or session.</p> <important> <p>You cannot undo this operation.</p> </important>"
222222
},
223223
"DeleteRemoteAccessSession":{
224224
"name":"DeleteRemoteAccessSession",
@@ -234,7 +234,7 @@
234234
{"shape":"LimitExceededException"},
235235
{"shape":"ServiceAccountException"}
236236
],
237-
"documentation":"<p>Deletes a completed remote access session and its results.</p>"
237+
"documentation":"<p>Deletes a completed remote access session and its results. You cannot delete a remote access session if it is still active.</p> <important> <p>You cannot undo this operation.</p> </important>"
238238
},
239239
"DeleteRun":{
240240
"name":"DeleteRun",
@@ -250,7 +250,7 @@
250250
{"shape":"LimitExceededException"},
251251
{"shape":"ServiceAccountException"}
252252
],
253-
"documentation":"<p>Deletes the run, given the run ARN.</p> <p> Deleting this resource does not stop an in-progress run.</p>"
253+
"documentation":"<p>Deletes the run, given the run ARN. You cannot delete a run if it is still active.</p> <important> <p>You cannot undo this operation.</p> </important>"
254254
},
255255
"DeleteTestGridProject":{
256256
"name":"DeleteTestGridProject",
@@ -266,7 +266,7 @@
266266
{"shape":"CannotDeleteException"},
267267
{"shape":"InternalServiceException"}
268268
],
269-
"documentation":"<p> Deletes a Selenium testing project and all content generated under it. </p> <important> <p>You cannot undo this operation.</p> </important> <note> <p>You cannot delete a project if it has active sessions.</p> </note>"
269+
"documentation":"<p> Deletes a Selenium testing project and all content generated under it. You cannot delete a project if it has active sessions.</p> <important> <p>You cannot undo this operation.</p> </important>"
270270
},
271271
"DeleteUpload":{
272272
"name":"DeleteUpload",
@@ -1423,11 +1423,6 @@
14231423
"documentation":"<p>The requested object could not be deleted.</p>",
14241424
"exception":true
14251425
},
1426-
"ClientId":{
1427-
"type":"string",
1428-
"max":64,
1429-
"min":0
1430-
},
14311426
"ContentType":{
14321427
"type":"string",
14331428
"max":64,
@@ -1683,37 +1678,20 @@
16831678
"shape":"AmazonResourceName",
16841679
"documentation":"<p>The Amazon Resource Name (ARN) of the device instance for which you want to create a remote access session.</p>"
16851680
},
1686-
"sshPublicKey":{
1687-
"shape":"SshPublicKey",
1688-
"documentation":"<p>Ignored. The public key of the <code>ssh</code> key pair you want to use for connecting to remote devices in your remote debugging session. This key is required only if <code>remoteDebugEnabled</code> is set to <code>true</code>.</p> <p>Remote debugging is <a href=\"https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html\">no longer supported</a>.</p>"
1689-
},
1690-
"remoteDebugEnabled":{
1691-
"shape":"Boolean",
1692-
"documentation":"<p>Set to <code>true</code> if you want to access devices remotely for debugging in your remote access session.</p> <p>Remote debugging is <a href=\"https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html\">no longer supported</a>.</p>"
1693-
},
1694-
"remoteRecordEnabled":{
1695-
"shape":"Boolean",
1696-
"documentation":"<p>Set to <code>true</code> to enable remote recording for the remote access session.</p>"
1697-
},
1698-
"remoteRecordAppArn":{
1699-
"shape":"AmazonResourceName",
1700-
"documentation":"<p>The Amazon Resource Name (ARN) for the app to be recorded in the remote access session.</p>"
1701-
},
17021681
"name":{
17031682
"shape":"Name",
17041683
"documentation":"<p>The name of the remote access session to create.</p>"
17051684
},
1706-
"clientId":{
1707-
"shape":"ClientId",
1708-
"documentation":"<p>Unique identifier for the client. If you want access to multiple devices on the same client, you should pass the same <code>clientId</code> value in each call to <code>CreateRemoteAccessSession</code>. This identifier is required only if <code>remoteDebugEnabled</code> is set to <code>true</code>.</p> <p>Remote debugging is <a href=\"https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html\">no longer supported</a>.</p>"
1709-
},
17101685
"configuration":{
17111686
"shape":"CreateRemoteAccessSessionConfiguration",
17121687
"documentation":"<p>The configuration information for the remote access session request.</p>"
17131688
},
17141689
"interactionMode":{
17151690
"shape":"InteractionMode",
1716-
"documentation":"<p>The interaction mode of the remote access session. Valid values are:</p> <ul> <li> <p>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.</p> </li> <li> <p>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.</p> </li> <li> <p>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.</p> </li> </ul>"
1691+
"documentation":"<p>The interaction mode of the remote access session. Changing the interactive mode of remote access sessions is no longer available.</p>",
1692+
"deprecated":true,
1693+
"deprecatedMessage":"Changing the interactive mode of Remote Access sessions is no longer available.",
1694+
"deprecatedSince":"2019-09-09"
17171695
},
17181696
"skipAppResign":{
17191697
"shape":"Boolean",
@@ -2089,7 +2067,10 @@
20892067
},
20902068
"remoteDebugEnabled":{
20912069
"shape":"Boolean",
2092-
"documentation":"<p>This flag is set to <code>true</code> if remote debugging is enabled for the device.</p> <p>Remote debugging is <a href=\"https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html\">no longer supported</a>.</p>"
2070+
"documentation":"<p>This flag is set to <code>true</code> if remote debugging is enabled for the device.</p> <p>Remote debugging is <a href=\"https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html\">no longer supported</a>.</p>",
2071+
"deprecated":true,
2072+
"deprecatedMessage":"Direct Device Access is no longer available.",
2073+
"deprecatedSince":"2019-09-09"
20932074
},
20942075
"fleetType":{
20952076
"shape":"String",
@@ -2858,10 +2839,6 @@
28582839
}
28592840
}
28602841
},
2861-
"HostAddress":{
2862-
"type":"string",
2863-
"max":1024
2864-
},
28652842
"IdempotencyException":{
28662843
"type":"structure",
28672844
"members":{
@@ -4239,6 +4216,20 @@
42394216
"type":"list",
42404217
"member":{"shape":"RecurringCharge"}
42414218
},
4219+
"RemoteAccessEndpoints":{
4220+
"type":"structure",
4221+
"members":{
4222+
"remoteDriverEndpoint":{
4223+
"shape":"SensitiveURL",
4224+
"documentation":"<p>URL for controlling the device using WebDriver-compliant clients, like Appium, during the remote access session.</p>"
4225+
},
4226+
"interactiveEndpoint":{
4227+
"shape":"SensitiveURL",
4228+
"documentation":"<p>URL for viewing and interacting with the device during the remote access session.</p>"
4229+
}
4230+
},
4231+
"documentation":"<p>Represents the remote endpoints for viewing and controlling a device during a remote access session.</p>"
4232+
},
42424233
"RemoteAccessSession":{
42434234
"type":"structure",
42444235
"members":{
@@ -4282,26 +4273,6 @@
42824273
"shape":"AmazonResourceName",
42834274
"documentation":"<p>The ARN of the instance.</p>"
42844275
},
4285-
"remoteDebugEnabled":{
4286-
"shape":"Boolean",
4287-
"documentation":"<p>This flag is set to <code>true</code> if remote debugging is enabled for the remote access session.</p> <p>Remote debugging is <a href=\"https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html\">no longer supported</a>.</p>"
4288-
},
4289-
"remoteRecordEnabled":{
4290-
"shape":"Boolean",
4291-
"documentation":"<p>This flag is set to <code>true</code> if remote recording is enabled for the remote access session.</p>"
4292-
},
4293-
"remoteRecordAppArn":{
4294-
"shape":"AmazonResourceName",
4295-
"documentation":"<p>The ARN for the app to be recorded in the remote access session.</p>"
4296-
},
4297-
"hostAddress":{
4298-
"shape":"HostAddress",
4299-
"documentation":"<p>IP address of the EC2 host where you need to connect to remotely debug devices. Only returned if remote debugging is enabled for the remote access session.</p> <p>Remote debugging is <a href=\"https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html\">no longer supported</a>.</p>"
4300-
},
4301-
"clientId":{
4302-
"shape":"ClientId",
4303-
"documentation":"<p>Unique identifier of your client for the remote access session. Only returned if remote debugging is enabled for the remote access session.</p> <p>Remote debugging is <a href=\"https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html\">no longer supported</a>.</p>"
4304-
},
43054276
"billingMethod":{
43064277
"shape":"BillingMethod",
43074278
"documentation":"<p>The billing method of the remote access session. Possible values include <code>METERED</code> or <code>UNMETERED</code>. For more information about metered devices, see <a href=\"https://docs.aws.amazon.com/devicefarm/latest/developerguide/welcome.html#welcome-terminology\">AWS Device Farm terminology</a>.</p>"
@@ -4312,15 +4283,21 @@
43124283
},
43134284
"endpoint":{
43144285
"shape":"String",
4315-
"documentation":"<p>The endpoint for the remote access sesssion.</p>"
4286+
"documentation":"<p>The endpoint for the remote access session. This field is deprecated, and is replaced by the new <code>endpoints.interactiveEndpoint</code> field.</p>",
4287+
"deprecated":true,
4288+
"deprecatedMessage":"This field is deprecated, and is replaced by the new endpoints.interactiveEndpoint field.",
4289+
"deprecatedSince":"2025-11-17"
43164290
},
43174291
"deviceUdid":{
43184292
"shape":"String",
43194293
"documentation":"<p>Unique device identifier for the remote device. Only returned if remote debugging is enabled for the remote access session.</p> <p>Remote debugging is <a href=\"https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html\">no longer supported</a>.</p>"
43204294
},
43214295
"interactionMode":{
43224296
"shape":"InteractionMode",
4323-
"documentation":"<p>The interaction mode of the remote access session. Valid values are:</p> <ul> <li> <p>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.</p> </li> <li> <p>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.</p> </li> <li> <p>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.</p> </li> </ul>"
4297+
"documentation":"<p>The interaction mode of the remote access session. Changing the interactive mode of remote access sessions is no longer available.</p>",
4298+
"deprecated":true,
4299+
"deprecatedMessage":"Changing the interactive mode of Remote Access sessions is no longer available.",
4300+
"deprecatedSince":"2019-09-09"
43244301
},
43254302
"skipAppResign":{
43264303
"shape":"SkipAppResign",
@@ -4337,7 +4314,8 @@
43374314
"appUpload":{
43384315
"shape":"AmazonResourceName",
43394316
"documentation":"<p>The ARN for the app to be installed onto your device.</p>"
4340-
}
4317+
},
4318+
"endpoints":{"shape":"RemoteAccessEndpoints"}
43414319
},
43424320
"documentation":"<p>Represents information about the remote access session.</p>"
43434321
},
@@ -4769,7 +4747,7 @@
47694747
},
47704748
"SensitiveURL":{
47714749
"type":"string",
4772-
"max":2048,
4750+
"max":4096,
47734751
"min":0,
47744752
"sensitive":true
47754753
},
@@ -4790,11 +4768,6 @@
47904768
"min":0
47914769
},
47924770
"SkipAppResign":{"type":"boolean"},
4793-
"SshPublicKey":{
4794-
"type":"string",
4795-
"max":8192,
4796-
"min":0
4797-
},
47984771
"StopJobRequest":{
47994772
"type":"structure",
48004773
"required":["arn"],

0 commit comments

Comments
 (0)