@aws-sdk/client-device-farm 3.775.0 → 3.777.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 +2 -2
|
@@ -89,26 +89,26 @@ declare const CreateDevicePoolCommand_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
93
|
* @example To create a new device pool
|
|
94
94
|
* ```javascript
|
|
95
95
|
* // The following example creates a new device pool named MyDevicePool inside an existing project.
|
|
96
96
|
* const input = {
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
97
|
+
* description: "My Android devices",
|
|
98
|
+
* name: "MyDevicePool",
|
|
99
|
+
* projectArn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456",
|
|
100
|
+
* rules: []
|
|
101
101
|
* };
|
|
102
102
|
* const command = new CreateDevicePoolCommand(input);
|
|
103
103
|
* const response = await client.send(command);
|
|
104
|
-
* /* response
|
|
104
|
+
* /* response is
|
|
105
105
|
* {
|
|
106
|
-
*
|
|
106
|
+
* devicePool: { /* empty *\/ }
|
|
107
107
|
* }
|
|
108
108
|
* *\/
|
|
109
|
-
* // example id: createdevicepool-example-1470862210860
|
|
110
109
|
* ```
|
|
111
110
|
*
|
|
111
|
+
* @public
|
|
112
112
|
*/
|
|
113
113
|
export declare class CreateDevicePoolCommand extends CreateDevicePoolCommand_base {
|
|
114
114
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -82,6 +82,7 @@ declare const CreateInstanceProfileCommand_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 CreateInstanceProfileCommand extends CreateInstanceProfileCommand_base {
|
|
@@ -90,6 +90,7 @@ declare const CreateNetworkProfileCommand_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
|
* @public
|
|
94
95
|
*/
|
|
95
96
|
export declare class CreateNetworkProfileCommand extends CreateNetworkProfileCommand_base {
|
|
@@ -93,27 +93,8 @@ declare const CreateProjectCommand_base: {
|
|
|
93
93
|
* @throws {@link DeviceFarmServiceException}
|
|
94
94
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
95
95
|
*
|
|
96
|
-
* @public
|
|
97
|
-
* @example To create a new project
|
|
98
|
-
* ```javascript
|
|
99
|
-
* // The following example creates a new project named MyProject.
|
|
100
|
-
* const input = {
|
|
101
|
-
* "name": "MyProject"
|
|
102
|
-
* };
|
|
103
|
-
* const command = new CreateProjectCommand(input);
|
|
104
|
-
* const response = await client.send(command);
|
|
105
|
-
* /* response ==
|
|
106
|
-
* {
|
|
107
|
-
* "project": {
|
|
108
|
-
* "name": "MyProject",
|
|
109
|
-
* "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:5e01a8c7-c861-4c0a-b1d5-12345EXAMPLE",
|
|
110
|
-
* "created": "1472660939.152"
|
|
111
|
-
* }
|
|
112
|
-
* }
|
|
113
|
-
* *\/
|
|
114
|
-
* // example id: createproject-example-1470862210860
|
|
115
|
-
* ```
|
|
116
96
|
*
|
|
97
|
+
* @public
|
|
117
98
|
*/
|
|
118
99
|
export declare class CreateProjectCommand extends CreateProjectCommand_base {
|
|
119
100
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -174,28 +174,28 @@ declare const CreateRemoteAccessSessionCommand_base: {
|
|
|
174
174
|
* @throws {@link DeviceFarmServiceException}
|
|
175
175
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
176
176
|
*
|
|
177
|
-
*
|
|
177
|
+
*
|
|
178
178
|
* @example To create a remote access session
|
|
179
179
|
* ```javascript
|
|
180
180
|
* // The following example creates a remote access session named MySession.
|
|
181
181
|
* const input = {
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
* "billingMethod": "METERED"
|
|
182
|
+
* configuration: {
|
|
183
|
+
* billingMethod: "METERED"
|
|
185
184
|
* },
|
|
186
|
-
*
|
|
187
|
-
*
|
|
185
|
+
* deviceArn: "arn:aws:devicefarm:us-west-2::device:123EXAMPLE",
|
|
186
|
+
* name: "MySession",
|
|
187
|
+
* projectArn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456"
|
|
188
188
|
* };
|
|
189
189
|
* const command = new CreateRemoteAccessSessionCommand(input);
|
|
190
190
|
* const response = await client.send(command);
|
|
191
|
-
* /* response
|
|
191
|
+
* /* response is
|
|
192
192
|
* {
|
|
193
|
-
*
|
|
193
|
+
* remoteAccessSession: { /* empty *\/ }
|
|
194
194
|
* }
|
|
195
195
|
* *\/
|
|
196
|
-
* // example id: to-create-a-remote-access-session-1470970668274
|
|
197
196
|
* ```
|
|
198
197
|
*
|
|
198
|
+
* @public
|
|
199
199
|
*/
|
|
200
200
|
export declare class CreateRemoteAccessSessionCommand extends CreateRemoteAccessSessionCommand_base {
|
|
201
201
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -89,6 +89,7 @@ declare const CreateTestGridProjectCommand_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 CreateTestGridProjectCommand extends CreateTestGridProjectCommand_base {
|
|
@@ -67,6 +67,7 @@ declare const CreateTestGridUrlCommand_base: {
|
|
|
67
67
|
* @throws {@link DeviceFarmServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class CreateTestGridUrlCommand extends CreateTestGridUrlCommand_base {
|
|
@@ -80,32 +80,8 @@ declare const CreateUploadCommand_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 create a new test package upload
|
|
85
|
-
* ```javascript
|
|
86
|
-
* // The following example creates a new Appium Python test package upload inside an existing project.
|
|
87
|
-
* const input = {
|
|
88
|
-
* "name": "MyAppiumPythonUpload",
|
|
89
|
-
* "type": "APPIUM_PYTHON_TEST_PACKAGE",
|
|
90
|
-
* "projectArn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456"
|
|
91
|
-
* };
|
|
92
|
-
* const command = new CreateUploadCommand(input);
|
|
93
|
-
* const response = await client.send(command);
|
|
94
|
-
* /* response ==
|
|
95
|
-
* {
|
|
96
|
-
* "upload": {
|
|
97
|
-
* "name": "MyAppiumPythonUpload",
|
|
98
|
-
* "type": "APPIUM_PYTHON_TEST_PACKAGE",
|
|
99
|
-
* "arn": "arn:aws:devicefarm:us-west-2:123456789101:upload:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/b5340a65-3da7-4da6-a26e-12345EXAMPLE",
|
|
100
|
-
* "created": "1472661404.186",
|
|
101
|
-
* "status": "INITIALIZED",
|
|
102
|
-
* "url": "https://prod-us-west-2-uploads.s3-us-west-2.amazonaws.com/arn%3Aaws%3Adevicefarm%3Aus-west-2%3A123456789101%3Aproject%3A5e01a8c7-c861-4c0a-b1d5-12345EXAMPLE/uploads/arn%3Aaws%3Adevicefarm%3Aus-west-2%3A123456789101%3Aupload%3A5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/b5340a65-3da7-4da6-a26e-12345EXAMPLE/MyAppiumPythonUpload?AWSAccessKeyId=1234567891011EXAMPLE&Expires=1472747804&Signature=1234567891011EXAMPLE"
|
|
103
|
-
* }
|
|
104
|
-
* }
|
|
105
|
-
* *\/
|
|
106
|
-
* // example id: createupload-example-1470864711775
|
|
107
|
-
* ```
|
|
108
83
|
*
|
|
84
|
+
* @public
|
|
109
85
|
*/
|
|
110
86
|
export declare class CreateUploadCommand extends CreateUploadCommand_base {
|
|
111
87
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -73,6 +73,7 @@ declare const CreateVPCEConfigurationCommand_base: {
|
|
|
73
73
|
* @throws {@link DeviceFarmServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class CreateVPCEConfigurationCommand extends CreateVPCEConfigurationCommand_base {
|
|
@@ -65,18 +65,21 @@ declare const DeleteDevicePoolCommand_base: {
|
|
|
65
65
|
* @throws {@link DeviceFarmServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
67
67
|
*
|
|
68
|
-
*
|
|
68
|
+
*
|
|
69
69
|
* @example To delete a device pool
|
|
70
70
|
* ```javascript
|
|
71
71
|
* // The following example deletes a specific device pool.
|
|
72
72
|
* const input = {
|
|
73
|
-
*
|
|
73
|
+
* arn: "arn:aws:devicefarm:us-west-2::devicepool:123-456-EXAMPLE-GUID"
|
|
74
74
|
* };
|
|
75
75
|
* const command = new DeleteDevicePoolCommand(input);
|
|
76
|
-
* await client.send(command);
|
|
77
|
-
*
|
|
76
|
+
* const response = await client.send(command);
|
|
77
|
+
* /* response is
|
|
78
|
+
* { /* empty *\/ }
|
|
79
|
+
* *\/
|
|
78
80
|
* ```
|
|
79
81
|
*
|
|
82
|
+
* @public
|
|
80
83
|
*/
|
|
81
84
|
export declare class DeleteDevicePoolCommand extends DeleteDevicePoolCommand_base {
|
|
82
85
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -64,6 +64,7 @@ declare const DeleteInstanceProfileCommand_base: {
|
|
|
64
64
|
* @throws {@link DeviceFarmServiceException}
|
|
65
65
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
66
66
|
*
|
|
67
|
+
*
|
|
67
68
|
* @public
|
|
68
69
|
*/
|
|
69
70
|
export declare class DeleteInstanceProfileCommand extends DeleteInstanceProfileCommand_base {
|
|
@@ -64,6 +64,7 @@ declare const DeleteNetworkProfileCommand_base: {
|
|
|
64
64
|
* @throws {@link DeviceFarmServiceException}
|
|
65
65
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
66
66
|
*
|
|
67
|
+
*
|
|
67
68
|
* @public
|
|
68
69
|
*/
|
|
69
70
|
export declare class DeleteNetworkProfileCommand extends DeleteNetworkProfileCommand_base {
|
|
@@ -65,18 +65,21 @@ declare const DeleteProjectCommand_base: {
|
|
|
65
65
|
* @throws {@link DeviceFarmServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
67
67
|
*
|
|
68
|
-
*
|
|
68
|
+
*
|
|
69
69
|
* @example To delete a project
|
|
70
70
|
* ```javascript
|
|
71
71
|
* // The following example deletes a specific project.
|
|
72
72
|
* const input = {
|
|
73
|
-
*
|
|
73
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456"
|
|
74
74
|
* };
|
|
75
75
|
* const command = new DeleteProjectCommand(input);
|
|
76
|
-
* await client.send(command);
|
|
77
|
-
*
|
|
76
|
+
* const response = await client.send(command);
|
|
77
|
+
* /* response is
|
|
78
|
+
* { /* empty *\/ }
|
|
79
|
+
* *\/
|
|
78
80
|
* ```
|
|
79
81
|
*
|
|
82
|
+
* @public
|
|
80
83
|
*/
|
|
81
84
|
export declare class DeleteProjectCommand extends DeleteProjectCommand_base {
|
|
82
85
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -64,18 +64,21 @@ declare const DeleteRemoteAccessSessionCommand_base: {
|
|
|
64
64
|
* @throws {@link DeviceFarmServiceException}
|
|
65
65
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
66
66
|
*
|
|
67
|
-
*
|
|
67
|
+
*
|
|
68
68
|
* @example To delete a specific remote access session
|
|
69
69
|
* ```javascript
|
|
70
70
|
* // The following example deletes a specific remote access session.
|
|
71
71
|
* const input = {
|
|
72
|
-
*
|
|
72
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456"
|
|
73
73
|
* };
|
|
74
74
|
* const command = new DeleteRemoteAccessSessionCommand(input);
|
|
75
|
-
* await client.send(command);
|
|
76
|
-
*
|
|
75
|
+
* const response = await client.send(command);
|
|
76
|
+
* /* response is
|
|
77
|
+
* { /* empty *\/ }
|
|
78
|
+
* *\/
|
|
77
79
|
* ```
|
|
78
80
|
*
|
|
81
|
+
* @public
|
|
79
82
|
*/
|
|
80
83
|
export declare class DeleteRemoteAccessSessionCommand extends DeleteRemoteAccessSessionCommand_base {
|
|
81
84
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -65,18 +65,21 @@ declare const DeleteRunCommand_base: {
|
|
|
65
65
|
* @throws {@link DeviceFarmServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
67
67
|
*
|
|
68
|
-
*
|
|
68
|
+
*
|
|
69
69
|
* @example To delete a run
|
|
70
70
|
* ```javascript
|
|
71
71
|
* // The following example deletes a specific test run.
|
|
72
72
|
* const input = {
|
|
73
|
-
*
|
|
73
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456"
|
|
74
74
|
* };
|
|
75
75
|
* const command = new DeleteRunCommand(input);
|
|
76
|
-
* await client.send(command);
|
|
77
|
-
*
|
|
76
|
+
* const response = await client.send(command);
|
|
77
|
+
* /* response is
|
|
78
|
+
* { /* empty *\/ }
|
|
79
|
+
* *\/
|
|
78
80
|
* ```
|
|
79
81
|
*
|
|
82
|
+
* @public
|
|
80
83
|
*/
|
|
81
84
|
export declare class DeleteRunCommand extends DeleteRunCommand_base {
|
|
82
85
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -71,6 +71,7 @@ declare const DeleteTestGridProjectCommand_base: {
|
|
|
71
71
|
* @throws {@link DeviceFarmServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
73
73
|
*
|
|
74
|
+
*
|
|
74
75
|
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class DeleteTestGridProjectCommand extends DeleteTestGridProjectCommand_base {
|
|
@@ -64,18 +64,21 @@ declare const DeleteUploadCommand_base: {
|
|
|
64
64
|
* @throws {@link DeviceFarmServiceException}
|
|
65
65
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
66
66
|
*
|
|
67
|
-
*
|
|
67
|
+
*
|
|
68
68
|
* @example To delete a specific upload
|
|
69
69
|
* ```javascript
|
|
70
70
|
* // The following example deletes a specific upload.
|
|
71
71
|
* const input = {
|
|
72
|
-
*
|
|
72
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:upload:EXAMPLE-GUID-123-456"
|
|
73
73
|
* };
|
|
74
74
|
* const command = new DeleteUploadCommand(input);
|
|
75
|
-
* await client.send(command);
|
|
76
|
-
*
|
|
75
|
+
* const response = await client.send(command);
|
|
76
|
+
* /* response is
|
|
77
|
+
* { /* empty *\/ }
|
|
78
|
+
* *\/
|
|
77
79
|
* ```
|
|
78
80
|
*
|
|
81
|
+
* @public
|
|
79
82
|
*/
|
|
80
83
|
export declare class DeleteUploadCommand extends DeleteUploadCommand_base {
|
|
81
84
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -65,6 +65,7 @@ declare const DeleteVPCEConfigurationCommand_base: {
|
|
|
65
65
|
* @throws {@link DeviceFarmServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
67
67
|
*
|
|
68
|
+
*
|
|
68
69
|
* @public
|
|
69
70
|
*/
|
|
70
71
|
export declare class DeleteVPCEConfigurationCommand extends DeleteVPCEConfigurationCommand_base {
|
|
@@ -83,27 +83,27 @@ declare const GetAccountSettingsCommand_base: {
|
|
|
83
83
|
* @throws {@link DeviceFarmServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
85
85
|
*
|
|
86
|
-
*
|
|
86
|
+
*
|
|
87
87
|
* @example To get information about account settings
|
|
88
88
|
* ```javascript
|
|
89
89
|
* // The following example returns information about your Device Farm account settings.
|
|
90
|
-
* const input = {};
|
|
90
|
+
* const input = { /* empty *\/ };
|
|
91
91
|
* const command = new GetAccountSettingsCommand(input);
|
|
92
92
|
* const response = await client.send(command);
|
|
93
|
-
* /* response
|
|
93
|
+
* /* response is
|
|
94
94
|
* {
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
95
|
+
* accountSettings: {
|
|
96
|
+
* awsAccountNumber: "123456789101",
|
|
97
|
+
* unmeteredDevices: {
|
|
98
|
+
* ANDROID: 1,
|
|
99
|
+
* IOS: 2
|
|
100
100
|
* }
|
|
101
101
|
* }
|
|
102
102
|
* }
|
|
103
103
|
* *\/
|
|
104
|
-
* // example id: to-get-information-about-account-settings-1472567568189
|
|
105
104
|
* ```
|
|
106
105
|
*
|
|
106
|
+
* @public
|
|
107
107
|
*/
|
|
108
108
|
export declare class GetAccountSettingsCommand extends GetAccountSettingsCommand_base {
|
|
109
109
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -115,43 +115,43 @@ declare const GetDeviceCommand_base: {
|
|
|
115
115
|
* @throws {@link DeviceFarmServiceException}
|
|
116
116
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
117
117
|
*
|
|
118
|
-
*
|
|
118
|
+
*
|
|
119
119
|
* @example To get information about a device
|
|
120
120
|
* ```javascript
|
|
121
121
|
* // The following example returns information about a specific device.
|
|
122
122
|
* const input = {
|
|
123
|
-
*
|
|
123
|
+
* arn: "arn:aws:devicefarm:us-west-2::device:123EXAMPLE"
|
|
124
124
|
* };
|
|
125
125
|
* const command = new GetDeviceCommand(input);
|
|
126
126
|
* const response = await client.send(command);
|
|
127
|
-
* /* response
|
|
127
|
+
* /* response is
|
|
128
128
|
* {
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
* "
|
|
135
|
-
* "frequency": "MHz"
|
|
129
|
+
* device: {
|
|
130
|
+
* arn: "arn:aws:devicefarm:us-west-2::device:A0E6E6E1059E45918208DF75B2B7EF6C",
|
|
131
|
+
* cpu: {
|
|
132
|
+
* architecture: "armeabi-v7a",
|
|
133
|
+
* clock: 2265.6,
|
|
134
|
+
* frequency: "MHz"
|
|
136
135
|
* },
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
* "
|
|
146
|
-
*
|
|
147
|
-
*
|
|
136
|
+
* formFactor: "PHONE",
|
|
137
|
+
* heapSize: 256000000,
|
|
138
|
+
* image: "75B2B7EF6C12345EXAMPLE",
|
|
139
|
+
* manufacturer: "LG",
|
|
140
|
+
* memory: 16000000000,
|
|
141
|
+
* model: "G2 (Sprint)",
|
|
142
|
+
* name: "LG G2 (Sprint)",
|
|
143
|
+
* os: "4.2.2",
|
|
144
|
+
* platform: "ANDROID",
|
|
145
|
+
* resolution: {
|
|
146
|
+
* height: 1920,
|
|
147
|
+
* width: 1080
|
|
148
148
|
* }
|
|
149
149
|
* }
|
|
150
150
|
* }
|
|
151
151
|
* *\/
|
|
152
|
-
* // example id: getdevice-example-1470870602173
|
|
153
152
|
* ```
|
|
154
153
|
*
|
|
154
|
+
* @public
|
|
155
155
|
*/
|
|
156
156
|
export declare class GetDeviceCommand extends GetDeviceCommand_base {
|
|
157
157
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -84,6 +84,7 @@ declare const GetDeviceInstanceCommand_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 GetDeviceInstanceCommand extends GetDeviceInstanceCommand_base {
|
|
@@ -79,23 +79,23 @@ declare const GetDevicePoolCommand_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
83
|
* @example To get information about a device pool
|
|
84
84
|
* ```javascript
|
|
85
85
|
* // The following example returns information about a specific device pool, given a project ARN.
|
|
86
86
|
* const input = {
|
|
87
|
-
*
|
|
87
|
+
* arn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456"
|
|
88
88
|
* };
|
|
89
89
|
* const command = new GetDevicePoolCommand(input);
|
|
90
90
|
* const response = await client.send(command);
|
|
91
|
-
* /* response
|
|
91
|
+
* /* response is
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
93
|
+
* devicePool: { /* empty *\/ }
|
|
94
94
|
* }
|
|
95
95
|
* *\/
|
|
96
|
-
* // example id: getdevicepool-example-1470870873136
|
|
97
96
|
* ```
|
|
98
97
|
*
|
|
98
|
+
* @public
|
|
99
99
|
*/
|
|
100
100
|
export declare class GetDevicePoolCommand extends GetDevicePoolCommand_base {
|
|
101
101
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -235,26 +235,26 @@ declare const GetDevicePoolCompatibilityCommand_base: {
|
|
|
235
235
|
* @throws {@link DeviceFarmServiceException}
|
|
236
236
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
237
237
|
*
|
|
238
|
-
*
|
|
238
|
+
*
|
|
239
239
|
* @example To get information about the compatibility of a device pool
|
|
240
240
|
* ```javascript
|
|
241
241
|
* // The following example returns information about the compatibility of a specific device pool, given its ARN.
|
|
242
242
|
* const input = {
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
243
|
+
* appArn: "arn:aws:devicefarm:us-west-2::app:123-456-EXAMPLE-GUID",
|
|
244
|
+
* devicePoolArn: "arn:aws:devicefarm:us-west-2::devicepool:123-456-EXAMPLE-GUID",
|
|
245
|
+
* testType: "APPIUM_PYTHON"
|
|
246
246
|
* };
|
|
247
247
|
* const command = new GetDevicePoolCompatibilityCommand(input);
|
|
248
248
|
* const response = await client.send(command);
|
|
249
|
-
* /* response
|
|
249
|
+
* /* response is
|
|
250
250
|
* {
|
|
251
|
-
*
|
|
252
|
-
*
|
|
251
|
+
* compatibleDevices: [],
|
|
252
|
+
* incompatibleDevices: []
|
|
253
253
|
* }
|
|
254
254
|
* *\/
|
|
255
|
-
* // example id: getdevicepoolcompatibility-example-1470925003466
|
|
256
255
|
* ```
|
|
257
256
|
*
|
|
257
|
+
* @public
|
|
258
258
|
*/
|
|
259
259
|
export declare class GetDevicePoolCompatibilityCommand extends GetDevicePoolCompatibilityCommand_base {
|
|
260
260
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -75,6 +75,7 @@ declare const GetInstanceProfileCommand_base: {
|
|
|
75
75
|
* @throws {@link DeviceFarmServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class GetInstanceProfileCommand extends GetInstanceProfileCommand_base {
|
|
@@ -143,23 +143,23 @@ declare const GetJobCommand_base: {
|
|
|
143
143
|
* @throws {@link DeviceFarmServiceException}
|
|
144
144
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
145
145
|
*
|
|
146
|
-
*
|
|
146
|
+
*
|
|
147
147
|
* @example To get information about a job
|
|
148
148
|
* ```javascript
|
|
149
149
|
* // The following example returns information about a specific job.
|
|
150
150
|
* const input = {
|
|
151
|
-
*
|
|
151
|
+
* arn: "arn:aws:devicefarm:us-west-2::job:123-456-EXAMPLE-GUID"
|
|
152
152
|
* };
|
|
153
153
|
* const command = new GetJobCommand(input);
|
|
154
154
|
* const response = await client.send(command);
|
|
155
|
-
* /* response
|
|
155
|
+
* /* response is
|
|
156
156
|
* {
|
|
157
|
-
*
|
|
157
|
+
* job: { /* empty *\/ }
|
|
158
158
|
* }
|
|
159
159
|
* *\/
|
|
160
|
-
* // example id: getjob-example-1470928294268
|
|
161
160
|
* ```
|
|
162
161
|
*
|
|
162
|
+
* @public
|
|
163
163
|
*/
|
|
164
164
|
export declare class GetJobCommand extends GetJobCommand_base {
|
|
165
165
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -79,6 +79,7 @@ declare const GetNetworkProfileCommand_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 GetNetworkProfileCommand extends GetNetworkProfileCommand_base {
|
|
@@ -117,45 +117,8 @@ declare const GetOfferingStatusCommand_base: {
|
|
|
117
117
|
* @throws {@link DeviceFarmServiceException}
|
|
118
118
|
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
119
119
|
*
|
|
120
|
-
* @public
|
|
121
|
-
* @example To get status information about device offerings
|
|
122
|
-
* ```javascript
|
|
123
|
-
* // The following example returns information about Device Farm offerings available to your account.
|
|
124
|
-
* const input = {
|
|
125
|
-
* "nextToken": "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE="
|
|
126
|
-
* };
|
|
127
|
-
* const command = new GetOfferingStatusCommand(input);
|
|
128
|
-
* const response = await client.send(command);
|
|
129
|
-
* /* response ==
|
|
130
|
-
* {
|
|
131
|
-
* "current": {
|
|
132
|
-
* "D68B3C05-1BA6-4360-BC69-12345EXAMPLE": {
|
|
133
|
-
* "offering": {
|
|
134
|
-
* "type": "RECURRING",
|
|
135
|
-
* "description": "Android Remote Access Unmetered Device Slot",
|
|
136
|
-
* "id": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE",
|
|
137
|
-
* "platform": "ANDROID"
|
|
138
|
-
* },
|
|
139
|
-
* "quantity": 1
|
|
140
|
-
* }
|
|
141
|
-
* },
|
|
142
|
-
* "nextPeriod": {
|
|
143
|
-
* "D68B3C05-1BA6-4360-BC69-12345EXAMPLE": {
|
|
144
|
-
* "effectiveOn": "1472688000",
|
|
145
|
-
* "offering": {
|
|
146
|
-
* "type": "RECURRING",
|
|
147
|
-
* "description": "Android Remote Access Unmetered Device Slot",
|
|
148
|
-
* "id": "D68B3C05-1BA6-4360-BC69-12345EXAMPLE",
|
|
149
|
-
* "platform": "ANDROID"
|
|
150
|
-
* },
|
|
151
|
-
* "quantity": 1
|
|
152
|
-
* }
|
|
153
|
-
* }
|
|
154
|
-
* }
|
|
155
|
-
* *\/
|
|
156
|
-
* // example id: to-get-status-information-about-device-offerings-1472568124402
|
|
157
|
-
* ```
|
|
158
120
|
*
|
|
121
|
+
* @public
|
|
159
122
|
*/
|
|
160
123
|
export declare class GetOfferingStatusCommand extends GetOfferingStatusCommand_base {
|
|
161
124
|
/** @internal type navigation helper, not in runtime. */
|