@aws-sdk/client-device-farm 3.775.0 → 3.782.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CreateDevicePoolCommand.d.ts +8 -8
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/CreateNetworkProfileCommand.d.ts +1 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +1 -20
- package/dist-types/commands/CreateRemoteAccessSessionCommand.d.ts +9 -9
- package/dist-types/commands/CreateTestGridProjectCommand.d.ts +1 -0
- package/dist-types/commands/CreateTestGridUrlCommand.d.ts +1 -0
- package/dist-types/commands/CreateUploadCommand.d.ts +1 -25
- package/dist-types/commands/CreateVPCEConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DeleteDevicePoolCommand.d.ts +7 -4
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/DeleteNetworkProfileCommand.d.ts +1 -0
- package/dist-types/commands/DeleteProjectCommand.d.ts +7 -4
- package/dist-types/commands/DeleteRemoteAccessSessionCommand.d.ts +7 -4
- package/dist-types/commands/DeleteRunCommand.d.ts +7 -4
- package/dist-types/commands/DeleteTestGridProjectCommand.d.ts +1 -0
- package/dist-types/commands/DeleteUploadCommand.d.ts +7 -4
- package/dist-types/commands/DeleteVPCEConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +9 -9
- package/dist-types/commands/GetDeviceCommand.d.ts +22 -22
- package/dist-types/commands/GetDeviceInstanceCommand.d.ts +1 -0
- package/dist-types/commands/GetDevicePoolCommand.d.ts +5 -5
- package/dist-types/commands/GetDevicePoolCompatibilityCommand.d.ts +8 -8
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/GetJobCommand.d.ts +5 -5
- package/dist-types/commands/GetNetworkProfileCommand.d.ts +1 -0
- package/dist-types/commands/GetOfferingStatusCommand.d.ts +1 -38
- package/dist-types/commands/GetProjectCommand.d.ts +1 -20
- package/dist-types/commands/GetRemoteAccessSessionCommand.d.ts +5 -5
- package/dist-types/commands/GetRunCommand.d.ts +1 -40
- package/dist-types/commands/GetSuiteCommand.d.ts +5 -5
- package/dist-types/commands/GetTestCommand.d.ts +5 -5
- package/dist-types/commands/GetTestGridProjectCommand.d.ts +1 -0
- package/dist-types/commands/GetTestGridSessionCommand.d.ts +1 -0
- package/dist-types/commands/GetUploadCommand.d.ts +5 -5
- package/dist-types/commands/GetVPCEConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/InstallToRemoteAccessSessionCommand.d.ts +6 -6
- package/dist-types/commands/ListArtifactsCommand.d.ts +8 -5
- package/dist-types/commands/ListDeviceInstancesCommand.d.ts +1 -0
- package/dist-types/commands/ListDevicePoolsCommand.d.ts +20 -20
- package/dist-types/commands/ListDevicesCommand.d.ts +7 -4
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
- package/dist-types/commands/ListJobsCommand.d.ts +7 -4
- package/dist-types/commands/ListNetworkProfilesCommand.d.ts +1 -0
- package/dist-types/commands/ListOfferingPromotionsCommand.d.ts +1 -0
- package/dist-types/commands/ListOfferingTransactionsCommand.d.ts +1 -93
- package/dist-types/commands/ListOfferingsCommand.d.ts +45 -45
- package/dist-types/commands/ListProjectsCommand.d.ts +1 -28
- package/dist-types/commands/ListRemoteAccessSessionsCommand.d.ts +6 -6
- package/dist-types/commands/ListRunsCommand.d.ts +1 -43
- package/dist-types/commands/ListSamplesCommand.d.ts +6 -6
- package/dist-types/commands/ListSuitesCommand.d.ts +6 -6
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/ListTestGridProjectsCommand.d.ts +1 -0
- package/dist-types/commands/ListTestGridSessionActionsCommand.d.ts +1 -0
- package/dist-types/commands/ListTestGridSessionArtifactsCommand.d.ts +1 -0
- package/dist-types/commands/ListTestGridSessionsCommand.d.ts +1 -0
- package/dist-types/commands/ListTestsCommand.d.ts +6 -6
- package/dist-types/commands/ListUniqueProblemsCommand.d.ts +6 -6
- package/dist-types/commands/ListUploadsCommand.d.ts +6 -6
- package/dist-types/commands/ListVPCEConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/PurchaseOfferingCommand.d.ts +1 -35
- package/dist-types/commands/RenewOfferingCommand.d.ts +1 -35
- package/dist-types/commands/ScheduleRunCommand.d.ts +10 -10
- package/dist-types/commands/StopJobCommand.d.ts +1 -0
- package/dist-types/commands/StopRemoteAccessSessionCommand.d.ts +1 -0
- package/dist-types/commands/StopRunCommand.d.ts +5 -5
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDeviceInstanceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDevicePoolCommand.d.ts +11 -11
- package/dist-types/commands/UpdateInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/UpdateNetworkProfileCommand.d.ts +1 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +1 -21
- package/dist-types/commands/UpdateTestGridProjectCommand.d.ts +1 -0
- package/dist-types/commands/UpdateUploadCommand.d.ts +1 -0
- package/dist-types/commands/UpdateVPCEConfigurationCommand.d.ts +1 -0
- package/package.json +5 -5
|
@@ -80,27 +80,8 @@ declare const GetProjectCommand_base: {
|
|
|
80
80
|
* @throws {@link DeviceFarmServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
82
82
|
*
|
|
83
|
-
* @public
|
|
84
|
-
* @example To get information about a project
|
|
85
|
-
* ```javascript
|
|
86
|
-
* // The following example gets information about a specific project.
|
|
87
|
-
* const input = {
|
|
88
|
-
* "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:5e01a8c7-c861-4c0a-b1d5-12345EXAMPLE"
|
|
89
|
-
* };
|
|
90
|
-
* const command = new GetProjectCommand(input);
|
|
91
|
-
* const response = await client.send(command);
|
|
92
|
-
* /* response ==
|
|
93
|
-
* {
|
|
94
|
-
* "project": {
|
|
95
|
-
* "name": "My Project",
|
|
96
|
-
* "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:5e01a8c7-c861-4c0a-b1d5-12345EXAMPLE",
|
|
97
|
-
* "created": "1472660939.152"
|
|
98
|
-
* }
|
|
99
|
-
* }
|
|
100
|
-
* *\/
|
|
101
|
-
* // example id: to-get-a-project-1470975038449
|
|
102
|
-
* ```
|
|
103
83
|
*
|
|
84
|
+
* @public
|
|
104
85
|
*/
|
|
105
86
|
export declare class GetProjectCommand extends GetProjectCommand_base {
|
|
106
87
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -154,23 +154,23 @@ declare const GetRemoteAccessSessionCommand_base: {
|
|
|
154
154
|
* @throws {@link DeviceFarmServiceException}
|
|
155
155
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
156
156
|
*
|
|
157
|
-
*
|
|
157
|
+
*
|
|
158
158
|
* @example To get a remote access session
|
|
159
159
|
* ```javascript
|
|
160
160
|
* // The following example gets a specific remote access session.
|
|
161
161
|
* const input = {
|
|
162
|
-
*
|
|
162
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456"
|
|
163
163
|
* };
|
|
164
164
|
* const command = new GetRemoteAccessSessionCommand(input);
|
|
165
165
|
* const response = await client.send(command);
|
|
166
|
-
* /* response
|
|
166
|
+
* /* response is
|
|
167
167
|
* {
|
|
168
|
-
*
|
|
168
|
+
* remoteAccessSession: { /* empty *\/ }
|
|
169
169
|
* }
|
|
170
170
|
* *\/
|
|
171
|
-
* // example id: to-get-a-remote-access-session-1471014119414
|
|
172
171
|
* ```
|
|
173
172
|
*
|
|
173
|
+
* @public
|
|
174
174
|
*/
|
|
175
175
|
export declare class GetRemoteAccessSessionCommand extends GetRemoteAccessSessionCommand_base {
|
|
176
176
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -166,47 +166,8 @@ declare const GetRunCommand_base: {
|
|
|
166
166
|
* @throws {@link DeviceFarmServiceException}
|
|
167
167
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
168
168
|
*
|
|
169
|
-
* @public
|
|
170
|
-
* @example To get information about a test run
|
|
171
|
-
* ```javascript
|
|
172
|
-
* // The following example gets information about a specific test run.
|
|
173
|
-
* const input = {
|
|
174
|
-
* "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/0fcac17b-6122-44d7-ae5a-12345EXAMPLE"
|
|
175
|
-
* };
|
|
176
|
-
* const command = new GetRunCommand(input);
|
|
177
|
-
* const response = await client.send(command);
|
|
178
|
-
* /* response ==
|
|
179
|
-
* {
|
|
180
|
-
* "run": {
|
|
181
|
-
* "name": "My Test Run",
|
|
182
|
-
* "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/0fcac17b-6122-44d7-ae5a-12345EXAMPLE",
|
|
183
|
-
* "billingMethod": "METERED",
|
|
184
|
-
* "completedJobs": 0,
|
|
185
|
-
* "counters": {
|
|
186
|
-
* "errored": 0,
|
|
187
|
-
* "failed": 0,
|
|
188
|
-
* "passed": 0,
|
|
189
|
-
* "skipped": 0,
|
|
190
|
-
* "stopped": 0,
|
|
191
|
-
* "total": 0,
|
|
192
|
-
* "warned": 0
|
|
193
|
-
* },
|
|
194
|
-
* "created": "1472667509.852",
|
|
195
|
-
* "deviceMinutes": {
|
|
196
|
-
* "metered": 0,
|
|
197
|
-
* "total": 0,
|
|
198
|
-
* "unmetered": 0
|
|
199
|
-
* },
|
|
200
|
-
* "platform": "ANDROID",
|
|
201
|
-
* "result": "PENDING",
|
|
202
|
-
* "status": "RUNNING",
|
|
203
|
-
* "totalJobs": 3
|
|
204
|
-
* }
|
|
205
|
-
* }
|
|
206
|
-
* *\/
|
|
207
|
-
* // example id: to-get-a-test-run-1471015895657
|
|
208
|
-
* ```
|
|
209
169
|
*
|
|
170
|
+
* @public
|
|
210
171
|
*/
|
|
211
172
|
export declare class GetRunCommand extends GetRunCommand_base {
|
|
212
173
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -90,23 +90,23 @@ declare const GetSuiteCommand_base: {
|
|
|
90
90
|
* @throws {@link DeviceFarmServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
92
92
|
*
|
|
93
|
-
*
|
|
93
|
+
*
|
|
94
94
|
* @example To get information about a test suite
|
|
95
95
|
* ```javascript
|
|
96
96
|
* // The following example gets information about a specific test suite.
|
|
97
97
|
* const input = {
|
|
98
|
-
*
|
|
98
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:suite:EXAMPLE-GUID-123-456"
|
|
99
99
|
* };
|
|
100
100
|
* const command = new GetSuiteCommand(input);
|
|
101
101
|
* const response = await client.send(command);
|
|
102
|
-
* /* response
|
|
102
|
+
* /* response is
|
|
103
103
|
* {
|
|
104
|
-
*
|
|
104
|
+
* suite: { /* empty *\/ }
|
|
105
105
|
* }
|
|
106
106
|
* *\/
|
|
107
|
-
* // example id: to-get-information-about-a-test-suite-1471016525008
|
|
108
107
|
* ```
|
|
109
108
|
*
|
|
109
|
+
* @public
|
|
110
110
|
*/
|
|
111
111
|
export declare class GetSuiteCommand extends GetSuiteCommand_base {
|
|
112
112
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -90,23 +90,23 @@ declare const GetTestCommand_base: {
|
|
|
90
90
|
* @throws {@link DeviceFarmServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
92
92
|
*
|
|
93
|
-
*
|
|
93
|
+
*
|
|
94
94
|
* @example To get information about a specific test
|
|
95
95
|
* ```javascript
|
|
96
96
|
* // The following example gets information about a specific test.
|
|
97
97
|
* const input = {
|
|
98
|
-
*
|
|
98
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:test:EXAMPLE-GUID-123-456"
|
|
99
99
|
* };
|
|
100
100
|
* const command = new GetTestCommand(input);
|
|
101
101
|
* const response = await client.send(command);
|
|
102
|
-
* /* response
|
|
102
|
+
* /* response is
|
|
103
103
|
* {
|
|
104
|
-
*
|
|
104
|
+
* test: { /* empty *\/ }
|
|
105
105
|
* }
|
|
106
106
|
* *\/
|
|
107
|
-
* // example id: to-get-information-about-a-specific-test-1471025744238
|
|
108
107
|
* ```
|
|
109
108
|
*
|
|
109
|
+
* @public
|
|
110
110
|
*/
|
|
111
111
|
export declare class GetTestCommand extends GetTestCommand_base {
|
|
112
112
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -78,6 +78,7 @@ declare const GetTestGridProjectCommand_base: {
|
|
|
78
78
|
* @throws {@link DeviceFarmServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
80
80
|
*
|
|
81
|
+
*
|
|
81
82
|
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class GetTestGridProjectCommand extends GetTestGridProjectCommand_base {
|
|
@@ -82,6 +82,7 @@ declare const GetTestGridSessionCommand_base: {
|
|
|
82
82
|
* @throws {@link DeviceFarmServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
84
84
|
*
|
|
85
|
+
*
|
|
85
86
|
* @public
|
|
86
87
|
*/
|
|
87
88
|
export declare class GetTestGridSessionCommand extends GetTestGridSessionCommand_base {
|
|
@@ -77,23 +77,23 @@ declare const GetUploadCommand_base: {
|
|
|
77
77
|
* @throws {@link DeviceFarmServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
79
79
|
*
|
|
80
|
-
*
|
|
80
|
+
*
|
|
81
81
|
* @example To get information about a specific upload
|
|
82
82
|
* ```javascript
|
|
83
83
|
* // The following example gets information about a specific upload.
|
|
84
84
|
* const input = {
|
|
85
|
-
*
|
|
85
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:upload:EXAMPLE-GUID-123-456"
|
|
86
86
|
* };
|
|
87
87
|
* const command = new GetUploadCommand(input);
|
|
88
88
|
* const response = await client.send(command);
|
|
89
|
-
* /* response
|
|
89
|
+
* /* response is
|
|
90
90
|
* {
|
|
91
|
-
*
|
|
91
|
+
* upload: { /* empty *\/ }
|
|
92
92
|
* }
|
|
93
93
|
* *\/
|
|
94
|
-
* // example id: to-get-information-about-a-specific-upload-1471025996221
|
|
95
94
|
* ```
|
|
96
95
|
*
|
|
96
|
+
* @public
|
|
97
97
|
*/
|
|
98
98
|
export declare class GetUploadCommand extends GetUploadCommand_base {
|
|
99
99
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -70,6 +70,7 @@ declare const GetVPCEConfigurationCommand_base: {
|
|
|
70
70
|
* @throws {@link DeviceFarmServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
72
72
|
*
|
|
73
|
+
*
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
75
76
|
export declare class GetVPCEConfigurationCommand extends GetVPCEConfigurationCommand_base {
|
|
@@ -80,24 +80,24 @@ declare const InstallToRemoteAccessSessionCommand_base: {
|
|
|
80
80
|
* @throws {@link DeviceFarmServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
82
82
|
*
|
|
83
|
-
*
|
|
83
|
+
*
|
|
84
84
|
* @example To install to a remote access session
|
|
85
85
|
* ```javascript
|
|
86
86
|
* // The following example installs a specific app to a device in a specific remote access session.
|
|
87
87
|
* const input = {
|
|
88
|
-
*
|
|
89
|
-
*
|
|
88
|
+
* appArn: "arn:aws:devicefarm:us-west-2:123456789101:app:EXAMPLE-GUID-123-456",
|
|
89
|
+
* remoteAccessSessionArn: "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456"
|
|
90
90
|
* };
|
|
91
91
|
* const command = new InstallToRemoteAccessSessionCommand(input);
|
|
92
92
|
* const response = await client.send(command);
|
|
93
|
-
* /* response
|
|
93
|
+
* /* response is
|
|
94
94
|
* {
|
|
95
|
-
*
|
|
95
|
+
* appUpload: { /* empty *\/ }
|
|
96
96
|
* }
|
|
97
97
|
* *\/
|
|
98
|
-
* // example id: to-install-to-a-remote-access-session-1471634453818
|
|
99
98
|
* ```
|
|
100
99
|
*
|
|
100
|
+
* @public
|
|
101
101
|
*/
|
|
102
102
|
export declare class InstallToRemoteAccessSessionCommand extends InstallToRemoteAccessSessionCommand_base {
|
|
103
103
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -77,19 +77,22 @@ declare const ListArtifactsCommand_base: {
|
|
|
77
77
|
* @throws {@link DeviceFarmServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
79
79
|
*
|
|
80
|
-
*
|
|
80
|
+
*
|
|
81
81
|
* @example To list artifacts for a resource
|
|
82
82
|
* ```javascript
|
|
83
83
|
* // The following example lists screenshot artifacts for a specific run.
|
|
84
84
|
* const input = {
|
|
85
|
-
*
|
|
86
|
-
*
|
|
85
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456",
|
|
86
|
+
* type: "SCREENSHOT"
|
|
87
87
|
* };
|
|
88
88
|
* const command = new ListArtifactsCommand(input);
|
|
89
|
-
* await client.send(command);
|
|
90
|
-
*
|
|
89
|
+
* const response = await client.send(command);
|
|
90
|
+
* /* response is
|
|
91
|
+
* { /* metadata only *\/ }
|
|
92
|
+
* *\/
|
|
91
93
|
* ```
|
|
92
94
|
*
|
|
95
|
+
* @public
|
|
93
96
|
*/
|
|
94
97
|
export declare class ListArtifactsCommand extends ListArtifactsCommand_base {
|
|
95
98
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -89,6 +89,7 @@ declare const ListDeviceInstancesCommand_base: {
|
|
|
89
89
|
* @throws {@link DeviceFarmServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
91
91
|
*
|
|
92
|
+
*
|
|
92
93
|
* @public
|
|
93
94
|
*/
|
|
94
95
|
export declare class ListDeviceInstancesCommand extends ListDeviceInstancesCommand_base {
|
|
@@ -84,49 +84,49 @@ declare const ListDevicePoolsCommand_base: {
|
|
|
84
84
|
* @throws {@link DeviceFarmServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
86
86
|
*
|
|
87
|
-
*
|
|
87
|
+
*
|
|
88
88
|
* @example To get information about device pools
|
|
89
89
|
* ```javascript
|
|
90
90
|
* // The following example returns information about the private device pools in a specific project.
|
|
91
91
|
* const input = {
|
|
92
|
-
*
|
|
93
|
-
*
|
|
92
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456",
|
|
93
|
+
* type: "PRIVATE"
|
|
94
94
|
* };
|
|
95
95
|
* const command = new ListDevicePoolsCommand(input);
|
|
96
96
|
* const response = await client.send(command);
|
|
97
|
-
* /* response
|
|
97
|
+
* /* response is
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
99
|
+
* devicePools: [
|
|
100
100
|
* {
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
101
|
+
* arn: "arn:aws:devicefarm:us-west-2::devicepool:082d10e5-d7d7-48a5-ba5c-12345EXAMPLE",
|
|
102
|
+
* description: "Top devices",
|
|
103
|
+
* name: "Top Devices",
|
|
104
|
+
* rules: [
|
|
105
105
|
* {
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
* "
|
|
106
|
+
* attribute: "ARN",
|
|
107
|
+
* operator: "IN",
|
|
108
|
+
* value: `["arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE","arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE","arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE","arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE","arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE","arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE","arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE","arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE","arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE","arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE"]`
|
|
109
109
|
* }
|
|
110
110
|
* ]
|
|
111
111
|
* },
|
|
112
112
|
* {
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
113
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:devicepool:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/bf96e75a-28f6-4e61-b6a7-12345EXAMPLE",
|
|
114
|
+
* description: "Samsung Galaxy Android devices",
|
|
115
|
+
* name: "My Android Device Pool",
|
|
116
|
+
* rules: [
|
|
117
117
|
* {
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
* "
|
|
118
|
+
* attribute: "ARN",
|
|
119
|
+
* operator: "IN",
|
|
120
|
+
* value: `["arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE","arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE","arn:aws:devicefarm:us-west-2::device:123456789EXAMPLE"]`
|
|
121
121
|
* }
|
|
122
122
|
* ]
|
|
123
123
|
* }
|
|
124
124
|
* ]
|
|
125
125
|
* }
|
|
126
126
|
* *\/
|
|
127
|
-
* // example id: to-get-information-about-device-pools-1471635745170
|
|
128
127
|
* ```
|
|
129
128
|
*
|
|
129
|
+
* @public
|
|
130
130
|
*/
|
|
131
131
|
export declare class ListDevicePoolsCommand extends ListDevicePoolsCommand_base {
|
|
132
132
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -128,18 +128,21 @@ declare const ListDevicesCommand_base: {
|
|
|
128
128
|
* @throws {@link DeviceFarmServiceException}
|
|
129
129
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
130
130
|
*
|
|
131
|
-
*
|
|
131
|
+
*
|
|
132
132
|
* @example To get information about devices
|
|
133
133
|
* ```javascript
|
|
134
134
|
* // The following example returns information about the available devices in a specific project.
|
|
135
135
|
* const input = {
|
|
136
|
-
*
|
|
136
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456"
|
|
137
137
|
* };
|
|
138
138
|
* const command = new ListDevicesCommand(input);
|
|
139
|
-
* await client.send(command);
|
|
140
|
-
*
|
|
139
|
+
* const response = await client.send(command);
|
|
140
|
+
* /* response is
|
|
141
|
+
* { /* empty *\/ }
|
|
142
|
+
* *\/
|
|
141
143
|
* ```
|
|
142
144
|
*
|
|
145
|
+
* @public
|
|
143
146
|
*/
|
|
144
147
|
export declare class ListDevicesCommand extends ListDevicesCommand_base {
|
|
145
148
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -79,6 +79,7 @@ declare const ListInstanceProfilesCommand_base: {
|
|
|
79
79
|
* @throws {@link DeviceFarmServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
81
81
|
*
|
|
82
|
+
*
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class ListInstanceProfilesCommand extends ListInstanceProfilesCommand_base {
|
|
@@ -147,18 +147,21 @@ declare const ListJobsCommand_base: {
|
|
|
147
147
|
* @throws {@link DeviceFarmServiceException}
|
|
148
148
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
149
149
|
*
|
|
150
|
-
*
|
|
150
|
+
*
|
|
151
151
|
* @example To get information about jobs
|
|
152
152
|
* ```javascript
|
|
153
153
|
* // The following example returns information about jobs in a specific project.
|
|
154
154
|
* const input = {
|
|
155
|
-
*
|
|
155
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456"
|
|
156
156
|
* };
|
|
157
157
|
* const command = new ListJobsCommand(input);
|
|
158
|
-
* await client.send(command);
|
|
159
|
-
*
|
|
158
|
+
* const response = await client.send(command);
|
|
159
|
+
* /* response is
|
|
160
|
+
* { /* metadata only *\/ }
|
|
161
|
+
* *\/
|
|
160
162
|
* ```
|
|
161
163
|
*
|
|
164
|
+
* @public
|
|
162
165
|
*/
|
|
163
166
|
export declare class ListJobsCommand extends ListJobsCommand_base {
|
|
164
167
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -84,6 +84,7 @@ declare const ListNetworkProfilesCommand_base: {
|
|
|
84
84
|
* @throws {@link DeviceFarmServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
86
86
|
*
|
|
87
|
+
*
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
export declare class ListNetworkProfilesCommand extends ListNetworkProfilesCommand_base {
|
|
@@ -78,6 +78,7 @@ declare const ListOfferingPromotionsCommand_base: {
|
|
|
78
78
|
* @throws {@link DeviceFarmServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
80
80
|
*
|
|
81
|
+
*
|
|
81
82
|
* @public
|
|
82
83
|
*/
|
|
83
84
|
export declare class ListOfferingPromotionsCommand extends ListOfferingPromotionsCommand_base {
|
|
@@ -104,100 +104,8 @@ declare const ListOfferingTransactionsCommand_base: {
|
|
|
104
104
|
* @throws {@link DeviceFarmServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
106
106
|
*
|
|
107
|
-
* @public
|
|
108
|
-
* @example To get information about device offering transactions
|
|
109
|
-
* ```javascript
|
|
110
|
-
* // The following example returns information about Device Farm offering transactions.
|
|
111
|
-
* const input = {
|
|
112
|
-
* "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE="
|
|
113
|
-
* };
|
|
114
|
-
* const command = new ListOfferingTransactionsCommand(input);
|
|
115
|
-
* const response = await client.send(command);
|
|
116
|
-
* /* response ==
|
|
117
|
-
* {
|
|
118
|
-
* "offeringTransactions": [
|
|
119
|
-
* {
|
|
120
|
-
* "cost": {
|
|
121
|
-
* "amount": 0,
|
|
122
|
-
* "currencyCode": "USD"
|
|
123
|
-
* },
|
|
124
|
-
* "createdOn": "1470021420",
|
|
125
|
-
* "offeringStatus": {
|
|
126
|
-
* "type": "RENEW",
|
|
127
|
-
* "effectiveOn": "1472688000",
|
|
128
|
-
* "offering": {
|
|
129
|
-
* "type": "RECURRING",
|
|
130
|
-
* "description": "Android Remote Access Unmetered Device Slot",
|
|
131
|
-
* "id": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE",
|
|
132
|
-
* "platform": "ANDROID"
|
|
133
|
-
* },
|
|
134
|
-
* "quantity": 0
|
|
135
|
-
* },
|
|
136
|
-
* "transactionId": "03728003-d1ea-4851-abd6-12345EXAMPLE"
|
|
137
|
-
* },
|
|
138
|
-
* {
|
|
139
|
-
* "cost": {
|
|
140
|
-
* "amount": 250,
|
|
141
|
-
* "currencyCode": "USD"
|
|
142
|
-
* },
|
|
143
|
-
* "createdOn": "1470021420",
|
|
144
|
-
* "offeringStatus": {
|
|
145
|
-
* "type": "PURCHASE",
|
|
146
|
-
* "effectiveOn": "1470021420",
|
|
147
|
-
* "offering": {
|
|
148
|
-
* "type": "RECURRING",
|
|
149
|
-
* "description": "Android Remote Access Unmetered Device Slot",
|
|
150
|
-
* "id": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE",
|
|
151
|
-
* "platform": "ANDROID"
|
|
152
|
-
* },
|
|
153
|
-
* "quantity": 1
|
|
154
|
-
* },
|
|
155
|
-
* "transactionId": "56820b6e-06bd-473a-8ff8-12345EXAMPLE"
|
|
156
|
-
* },
|
|
157
|
-
* {
|
|
158
|
-
* "cost": {
|
|
159
|
-
* "amount": 175,
|
|
160
|
-
* "currencyCode": "USD"
|
|
161
|
-
* },
|
|
162
|
-
* "createdOn": "1465538520",
|
|
163
|
-
* "offeringStatus": {
|
|
164
|
-
* "type": "PURCHASE",
|
|
165
|
-
* "effectiveOn": "1465538520",
|
|
166
|
-
* "offering": {
|
|
167
|
-
* "type": "RECURRING",
|
|
168
|
-
* "description": "Android Unmetered Device Slot",
|
|
169
|
-
* "id": "8980F81C-00D7-469D-8EC6-12345EXAMPLE",
|
|
170
|
-
* "platform": "ANDROID"
|
|
171
|
-
* },
|
|
172
|
-
* "quantity": 1
|
|
173
|
-
* },
|
|
174
|
-
* "transactionId": "953ae2c6-d760-4a04-9597-12345EXAMPLE"
|
|
175
|
-
* },
|
|
176
|
-
* {
|
|
177
|
-
* "cost": {
|
|
178
|
-
* "amount": 8.07,
|
|
179
|
-
* "currencyCode": "USD"
|
|
180
|
-
* },
|
|
181
|
-
* "createdOn": "1459344300",
|
|
182
|
-
* "offeringStatus": {
|
|
183
|
-
* "type": "PURCHASE",
|
|
184
|
-
* "effectiveOn": "1459344300",
|
|
185
|
-
* "offering": {
|
|
186
|
-
* "type": "RECURRING",
|
|
187
|
-
* "description": "iOS Unmetered Device Slot",
|
|
188
|
-
* "id": "A53D4D73-A6F6-4B82-A0B0-12345EXAMPLE",
|
|
189
|
-
* "platform": "IOS"
|
|
190
|
-
* },
|
|
191
|
-
* "quantity": 1
|
|
192
|
-
* },
|
|
193
|
-
* "transactionId": "2baf9021-ae3e-47f5-ab52-12345EXAMPLE"
|
|
194
|
-
* }
|
|
195
|
-
* ]
|
|
196
|
-
* }
|
|
197
|
-
* *\/
|
|
198
|
-
* // example id: to-get-information-about-device-offering-transactions-1472561712315
|
|
199
|
-
* ```
|
|
200
107
|
*
|
|
108
|
+
* @public
|
|
201
109
|
*/
|
|
202
110
|
export declare class ListOfferingTransactionsCommand extends ListOfferingTransactionsCommand_base {
|
|
203
111
|
/** @internal type navigation helper, not in runtime. */
|