AWS Security ChangesHomeSearch

AWS cli medium security documentation change

Service: cli · 2025-11-19 · Security-related medium

File: cli/latest/reference/devicefarm/stop-remote-access-session.md

Summary

Removed deprecated remote debugging/recording fields, updated interaction mode documentation, fixed typo in 'session', and added new remote endpoints structure

Security assessment

The removal of remote debugging-related fields (remoteDebugEnabled, hostAddress, clientId) with explicit notes about the feature being unsupported suggests potential security risks in the deprecated functionality. The addition of new endpoint structures (remoteDriverEndpoint, interactiveEndpoint) indicates a shift to more secure/controlled access methods. Deprecating insecure features reduces attack surface.

Diff

diff --git a/cli/latest/reference/devicefarm/stop-remote-access-session.md b/cli/latest/reference/devicefarm/stop-remote-access-session.md
index 7f69206ff..7b9d4d4c8 100644
--- a//cli/latest/reference/devicefarm/stop-remote-access-session.md
+++ b//cli/latest/reference/devicefarm/stop-remote-access-session.md
@@ -15 +15 @@
-  * [AWS CLI 2.31.37 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.39 Command Reference](../../index.html) »
@@ -587,47 +586,0 @@ remoteAccessSession -> (structure)
-> 
-> remoteDebugEnabled -> (boolean)
->
->> This flag is set to `true` if remote debugging is enabled for the remote access session.
->> 
->> Remote debugging is [no longer supported](https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html) .
-> 
-> remoteRecordEnabled -> (boolean)
->
->> This flag is set to `true` if remote recording is enabled for the remote access session.
-> 
-> remoteRecordAppArn -> (string)
->
->> The ARN for the app to be recorded in the remote access session.
->> 
->> Constraints:
->> 
->>   * min: `32`
->>   * max: `1011`
->>   * pattern: `^arn:aws:devicefarm:.+`
->> 
-
-> 
-> hostAddress -> (string)
->
->> 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.
->> 
->> Remote debugging is [no longer supported](https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html) .
->> 
->> Constraints:
->> 
->>   * max: `1024`
->> 
-
-> 
-> clientId -> (string)
->
->> Unique identifier of your client for the remote access session. Only returned if remote debugging is enabled for the remote access session.
->> 
->> Remote debugging is [no longer supported](https://docs.aws.amazon.com/devicefarm/latest/developerguide/history.html) .
->> 
->> Constraints:
->> 
->>   * min: `0`
->>   * max: `64`
->> 
-
@@ -664 +617 @@ remoteAccessSession -> (structure)
->> The endpoint for the remote access sesssion.
+>> The endpoint for the remote access session. This field is deprecated, and is replaced by the new `endpoints.interactiveEndpoint` field.
@@ -674,7 +627 @@ remoteAccessSession -> (structure)
->> 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.
->> 
-
+>> The interaction mode of the remote access session. Changing the interactive mode of remote access sessions is no longer available.
@@ -798,0 +746,26 @@ remoteAccessSession -> (structure)
+> 
+> endpoints -> (structure)
+>
+>> Represents the remote endpoints for viewing and controlling a device during a remote access session.
+>> 
+>> remoteDriverEndpoint -> (string)
+>>
+>>> URL for controlling the device using WebDriver-compliant clients, like Appium, during the remote access session.
+>>> 
+>>> Constraints:
+>>> 
+>>>   * min: `0`
+>>>   * max: `4096`
+>>> 
+
+>> 
+>> interactiveEndpoint -> (string)
+>>
+>>> URL for viewing and interacting with the device during the remote access session.
+>>> 
+>>> Constraints:
+>>> 
+>>>   * min: `0`
+>>>   * max: `4096`
+>>> 
+
@@ -810 +783 @@ remoteAccessSession -> (structure)
-  * [AWS CLI 2.31.37 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.39 Command Reference](../../index.html) »