Skip to content

Commit 574b189

Browse files
author
awstools
committed
feat(client-device-farm): This release adds support for interacting with devices during a remote access session using the remoteDriverEndpoint interface
1 parent c0076d8 commit 574b189

15 files changed

+858
-1016
lines changed

clients/client-device-farm/src/DeviceFarm.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,17 +1529,17 @@ export interface DeviceFarm {
15291529

15301530
/**
15311531
* <p>Welcome to the AWS Device Farm API documentation, which contains APIs for:</p>
1532-
* <ul>
1532+
* <ul>
15331533
* <li>
1534-
* <p>Testing on desktop browsers</p>
1535-
* <p> Device Farm makes it possible for you to test your web applications on desktop browsers using
1534+
* <p>Testing on desktop browsers</p>
1535+
* <p> Device Farm makes it possible for you to test your web applications on desktop browsers using
15361536
* Selenium. The APIs for desktop browser testing contain <code>TestGrid</code> in their names. For
15371537
* more information, see <a href="https://docs.aws.amazon.com/devicefarm/latest/testgrid/">Testing Web
15381538
* Applications on Selenium with Device Farm</a>.</p>
15391539
* </li>
15401540
* <li>
1541-
* <p>Testing on real mobile devices</p>
1542-
* <p>Device Farm makes it possible for you to test apps on physical phones, tablets, and other
1541+
* <p>Testing on real mobile devices</p>
1542+
* <p>Device Farm makes it possible for you to test apps on physical phones, tablets, and other
15431543
* devices in the cloud. For more information, see the <a href="https://docs.aws.amazon.com/devicefarm/latest/developerguide/">Device Farm Developer Guide</a>.</p>
15441544
* </li>
15451545
* </ul>

clients/client-device-farm/src/DeviceFarmClient.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -607,17 +607,17 @@ export interface DeviceFarmClientResolvedConfig extends DeviceFarmClientResolved
607607

608608
/**
609609
* <p>Welcome to the AWS Device Farm API documentation, which contains APIs for:</p>
610-
* <ul>
610+
* <ul>
611611
* <li>
612-
* <p>Testing on desktop browsers</p>
613-
* <p> Device Farm makes it possible for you to test your web applications on desktop browsers using
612+
* <p>Testing on desktop browsers</p>
613+
* <p> Device Farm makes it possible for you to test your web applications on desktop browsers using
614614
* Selenium. The APIs for desktop browser testing contain <code>TestGrid</code> in their names. For
615615
* more information, see <a href="https://docs.aws.amazon.com/devicefarm/latest/testgrid/">Testing Web
616616
* Applications on Selenium with Device Farm</a>.</p>
617617
* </li>
618618
* <li>
619-
* <p>Testing on real mobile devices</p>
620-
* <p>Device Farm makes it possible for you to test apps on physical phones, tablets, and other
619+
* <p>Testing on real mobile devices</p>
620+
* <p>Device Farm makes it possible for you to test apps on physical phones, tablets, and other
621621
* devices in the cloud. For more information, see the <a href="https://docs.aws.amazon.com/devicefarm/latest/developerguide/">Device Farm Developer Guide</a>.</p>
622622
* </li>
623623
* </ul>

clients/client-device-farm/src/commands/CreateRemoteAccessSessionCommand.ts

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,7 @@ export interface CreateRemoteAccessSessionCommandOutput extends CreateRemoteAcce
4141
* deviceArn: "STRING_VALUE", // required
4242
* appArn: "STRING_VALUE",
4343
* instanceArn: "STRING_VALUE",
44-
* sshPublicKey: "STRING_VALUE",
45-
* remoteDebugEnabled: true || false,
46-
* remoteRecordEnabled: true || false,
47-
* remoteRecordAppArn: "STRING_VALUE",
4844
* name: "STRING_VALUE",
49-
* clientId: "STRING_VALUE",
5045
* configuration: { // CreateRemoteAccessSessionConfiguration
5146
* auxiliaryApps: [ // AuxiliaryAppArnList
5247
* "STRING_VALUE",
@@ -126,11 +121,6 @@ export interface CreateRemoteAccessSessionCommandOutput extends CreateRemoteAcce
126121
* // availability: "TEMPORARY_NOT_AVAILABLE" || "BUSY" || "AVAILABLE" || "HIGHLY_AVAILABLE",
127122
* // },
128123
* // instanceArn: "STRING_VALUE",
129-
* // remoteDebugEnabled: true || false,
130-
* // remoteRecordEnabled: true || false,
131-
* // remoteRecordAppArn: "STRING_VALUE",
132-
* // hostAddress: "STRING_VALUE",
133-
* // clientId: "STRING_VALUE",
134124
* // billingMethod: "METERED" || "UNMETERED",
135125
* // deviceMinutes: { // DeviceMinutes
136126
* // total: Number("double"),
@@ -155,6 +145,10 @@ export interface CreateRemoteAccessSessionCommandOutput extends CreateRemoteAcce
155145
* // port: Number("int"), // required
156146
* // },
157147
* // appUpload: "STRING_VALUE",
148+
* // endpoints: { // RemoteAccessEndpoints
149+
* // remoteDriverEndpoint: "STRING_VALUE",
150+
* // interactiveEndpoint: "STRING_VALUE",
151+
* // },
158152
* // },
159153
* // };
160154
*

clients/client-device-farm/src/commands/DeleteProjectCommand.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ export interface DeleteProjectCommandInput extends DeleteProjectRequest {}
2727
export interface DeleteProjectCommandOutput extends DeleteProjectResult, __MetadataBearer {}
2828

2929
/**
30-
* <p>Deletes an AWS Device Farm project, given the project ARN.</p>
31-
* <p> Deleting this resource does not stop an in-progress run.</p>
30+
* <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>
31+
* <important>
32+
* <p>You cannot undo this operation.</p>
33+
* </important>
3234
* @example
3335
* Use a bare-bones client and the command you need to make an API call.
3436
* ```javascript

clients/client-device-farm/src/commands/DeleteRemoteAccessSessionCommand.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ export interface DeleteRemoteAccessSessionCommandInput extends DeleteRemoteAcces
2727
export interface DeleteRemoteAccessSessionCommandOutput extends DeleteRemoteAccessSessionResult, __MetadataBearer {}
2828

2929
/**
30-
* <p>Deletes a completed remote access session and its results.</p>
30+
* <p>Deletes a completed remote access session and its results. You cannot delete a remote access session if it is still active.</p>
31+
* <important>
32+
* <p>You cannot undo this operation.</p>
33+
* </important>
3134
* @example
3235
* Use a bare-bones client and the command you need to make an API call.
3336
* ```javascript

clients/client-device-farm/src/commands/DeleteRunCommand.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ export interface DeleteRunCommandInput extends DeleteRunRequest {}
2727
export interface DeleteRunCommandOutput extends DeleteRunResult, __MetadataBearer {}
2828

2929
/**
30-
* <p>Deletes the run, given the run ARN.</p>
31-
* <p> Deleting this resource does not stop an in-progress run.</p>
30+
* <p>Deletes the run, given the run ARN. You cannot delete a run if it is still active.</p>
31+
* <important>
32+
* <p>You cannot undo this operation.</p>
33+
* </important>
3234
* @example
3335
* Use a bare-bones client and the command you need to make an API call.
3436
* ```javascript

clients/client-device-farm/src/commands/DeleteTestGridProjectCommand.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,10 @@ export interface DeleteTestGridProjectCommandInput extends DeleteTestGridProject
2727
export interface DeleteTestGridProjectCommandOutput extends DeleteTestGridProjectResult, __MetadataBearer {}
2828

2929
/**
30-
* <p> Deletes a Selenium testing project and all content generated under it. </p>
30+
* <p> Deletes a Selenium testing project and all content generated under it. You cannot delete a project if it has active sessions.</p>
3131
* <important>
3232
* <p>You cannot undo this operation.</p>
3333
* </important>
34-
* <note>
35-
* <p>You cannot delete a project if it has active sessions.</p>
36-
* </note>
3734
* @example
3835
* Use a bare-bones client and the command you need to make an API call.
3936
* ```javascript

clients/client-device-farm/src/commands/GetRemoteAccessSessionCommand.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,6 @@ export interface GetRemoteAccessSessionCommandOutput extends GetRemoteAccessSess
102102
* // availability: "TEMPORARY_NOT_AVAILABLE" || "BUSY" || "AVAILABLE" || "HIGHLY_AVAILABLE",
103103
* // },
104104
* // instanceArn: "STRING_VALUE",
105-
* // remoteDebugEnabled: true || false,
106-
* // remoteRecordEnabled: true || false,
107-
* // remoteRecordAppArn: "STRING_VALUE",
108-
* // hostAddress: "STRING_VALUE",
109-
* // clientId: "STRING_VALUE",
110105
* // billingMethod: "METERED" || "UNMETERED",
111106
* // deviceMinutes: { // DeviceMinutes
112107
* // total: Number("double"),
@@ -131,6 +126,10 @@ export interface GetRemoteAccessSessionCommandOutput extends GetRemoteAccessSess
131126
* // port: Number("int"), // required
132127
* // },
133128
* // appUpload: "STRING_VALUE",
129+
* // endpoints: { // RemoteAccessEndpoints
130+
* // remoteDriverEndpoint: "STRING_VALUE",
131+
* // interactiveEndpoint: "STRING_VALUE",
132+
* // },
134133
* // },
135134
* // };
136135
*

clients/client-device-farm/src/commands/ListRemoteAccessSessionsCommand.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,6 @@ export interface ListRemoteAccessSessionsCommandOutput extends ListRemoteAccessS
104104
* // availability: "TEMPORARY_NOT_AVAILABLE" || "BUSY" || "AVAILABLE" || "HIGHLY_AVAILABLE",
105105
* // },
106106
* // instanceArn: "STRING_VALUE",
107-
* // remoteDebugEnabled: true || false,
108-
* // remoteRecordEnabled: true || false,
109-
* // remoteRecordAppArn: "STRING_VALUE",
110-
* // hostAddress: "STRING_VALUE",
111-
* // clientId: "STRING_VALUE",
112107
* // billingMethod: "METERED" || "UNMETERED",
113108
* // deviceMinutes: { // DeviceMinutes
114109
* // total: Number("double"),
@@ -133,6 +128,10 @@ export interface ListRemoteAccessSessionsCommandOutput extends ListRemoteAccessS
133128
* // port: Number("int"), // required
134129
* // },
135130
* // appUpload: "STRING_VALUE",
131+
* // endpoints: { // RemoteAccessEndpoints
132+
* // remoteDriverEndpoint: "STRING_VALUE",
133+
* // interactiveEndpoint: "STRING_VALUE",
134+
* // },
136135
* // },
137136
* // ],
138137
* // nextToken: "STRING_VALUE",

clients/client-device-farm/src/commands/ListUniqueProblemsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface ListUniqueProblemsCommandOutput extends ListUniqueProblemsResul
2828

2929
/**
3030
* <p>Gets information about unique problems, such as exceptions or crashes.</p>
31-
* <p>Unique problems are defined as a single instance of an error across a run, job, or suite. For example,
31+
* <p>Unique problems are defined as a single instance of an error across a run, job, or suite. For example,
3232
* if a call in your application consistently raises an exception (<code>OutOfBoundsException in
3333
* MyActivity.java:386</code>), <code>ListUniqueProblems</code> returns a single entry instead of many
3434
* individual entries for that exception.</p>

0 commit comments

Comments
 (0)