@aws-sdk/client-device-farm 3.325.0 → 3.327.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 +19 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +15 -0
- package/dist-types/commands/CreateNetworkProfileCommand.d.ts +19 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +20 -0
- package/dist-types/commands/CreateRemoteAccessSessionCommand.d.ts +90 -0
- package/dist-types/commands/CreateTestGridProjectCommand.d.ts +20 -0
- package/dist-types/commands/CreateTestGridUrlCommand.d.ts +7 -0
- package/dist-types/commands/CreateUploadCommand.d.ts +17 -0
- package/dist-types/commands/CreateVPCEConfigurationCommand.d.ts +12 -0
- package/dist-types/commands/DeleteDevicePoolCommand.d.ts +4 -0
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +4 -0
- package/dist-types/commands/DeleteNetworkProfileCommand.d.ts +4 -0
- package/dist-types/commands/DeleteProjectCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRemoteAccessSessionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRunCommand.d.ts +4 -0
- package/dist-types/commands/DeleteTestGridProjectCommand.d.ts +4 -0
- package/dist-types/commands/DeleteUploadCommand.d.ts +4 -0
- package/dist-types/commands/DeleteVPCEConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +24 -0
- package/dist-types/commands/GetDeviceCommand.d.ts +55 -0
- package/dist-types/commands/GetDeviceInstanceCommand.d.ts +24 -0
- package/dist-types/commands/GetDevicePoolCommand.d.ts +19 -0
- package/dist-types/commands/GetDevicePoolCompatibilityCommand.d.ts +127 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +15 -0
- package/dist-types/commands/GetJobCommand.d.ts +83 -0
- package/dist-types/commands/GetNetworkProfileCommand.d.ts +19 -0
- package/dist-types/commands/GetOfferingStatusCommand.d.ts +50 -0
- package/dist-types/commands/GetProjectCommand.d.ts +20 -0
- package/dist-types/commands/GetRemoteAccessSessionCommand.d.ts +90 -0
- package/dist-types/commands/GetRunCommand.d.ts +102 -0
- package/dist-types/commands/GetSuiteCommand.d.ts +30 -0
- package/dist-types/commands/GetTestCommand.d.ts +30 -0
- package/dist-types/commands/GetTestGridProjectCommand.d.ts +20 -0
- package/dist-types/commands/GetTestGridSessionCommand.d.ts +13 -0
- package/dist-types/commands/GetUploadCommand.d.ts +17 -0
- package/dist-types/commands/GetVPCEConfigurationCommand.d.ts +12 -0
- package/dist-types/commands/InstallToRemoteAccessSessionCommand.d.ts +17 -0
- package/dist-types/commands/ListArtifactsCommand.d.ts +15 -0
- package/dist-types/commands/ListDeviceInstancesCommand.d.ts +27 -0
- package/dist-types/commands/ListDevicePoolsCommand.d.ts +22 -0
- package/dist-types/commands/ListDevicesCommand.d.ts +58 -0
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +18 -0
- package/dist-types/commands/ListJobsCommand.d.ts +86 -0
- package/dist-types/commands/ListNetworkProfilesCommand.d.ts +22 -0
- package/dist-types/commands/ListOfferingPromotionsCommand.d.ts +12 -0
- package/dist-types/commands/ListOfferingTransactionsCommand.d.ts +37 -0
- package/dist-types/commands/ListOfferingsCommand.d.ts +23 -0
- package/dist-types/commands/ListProjectsCommand.d.ts +23 -0
- package/dist-types/commands/ListRemoteAccessSessionsCommand.d.ts +93 -0
- package/dist-types/commands/ListRunsCommand.d.ts +105 -0
- package/dist-types/commands/ListSamplesCommand.d.ts +13 -0
- package/dist-types/commands/ListSuitesCommand.d.ts +33 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/ListTestGridProjectsCommand.d.ts +23 -0
- package/dist-types/commands/ListTestGridSessionActionsCommand.d.ts +15 -0
- package/dist-types/commands/ListTestGridSessionArtifactsCommand.d.ts +13 -0
- package/dist-types/commands/ListTestGridSessionsCommand.d.ts +16 -0
- package/dist-types/commands/ListTestsCommand.d.ts +33 -0
- package/dist-types/commands/ListUniqueProblemsCommand.d.ts +85 -0
- package/dist-types/commands/ListUploadsCommand.d.ts +20 -0
- package/dist-types/commands/ListVPCEConfigurationsCommand.d.ts +15 -0
- package/dist-types/commands/PurchaseOfferingCommand.d.ts +34 -0
- package/dist-types/commands/RenewOfferingCommand.d.ts +34 -0
- package/dist-types/commands/ScheduleRunCommand.d.ts +102 -0
- package/dist-types/commands/StopJobCommand.d.ts +83 -0
- package/dist-types/commands/StopRemoteAccessSessionCommand.d.ts +90 -0
- package/dist-types/commands/StopRunCommand.d.ts +102 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDeviceInstanceCommand.d.ts +24 -0
- package/dist-types/commands/UpdateDevicePoolCommand.d.ts +19 -0
- package/dist-types/commands/UpdateInstanceProfileCommand.d.ts +15 -0
- package/dist-types/commands/UpdateNetworkProfileCommand.d.ts +19 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +20 -0
- package/dist-types/commands/UpdateTestGridProjectCommand.d.ts +20 -0
- package/dist-types/commands/UpdateUploadCommand.d.ts +17 -0
- package/dist-types/commands/UpdateVPCEConfigurationCommand.d.ts +12 -0
- package/package.json +7 -7
|
@@ -33,6 +33,19 @@ export interface ListTestGridSessionActionsCommandOutput extends ListTestGridSes
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListTestGridSessionActionsCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListTestGridSessionActionsResult
|
|
37
|
+
* // actions: [ // TestGridSessionActions
|
|
38
|
+
* // { // TestGridSessionAction
|
|
39
|
+
* // action: "STRING_VALUE",
|
|
40
|
+
* // started: new Date("TIMESTAMP"),
|
|
41
|
+
* // duration: Number("long"),
|
|
42
|
+
* // statusCode: "STRING_VALUE",
|
|
43
|
+
* // requestMethod: "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // ],
|
|
46
|
+
* // nextToken: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
36
49
|
* ```
|
|
37
50
|
*
|
|
38
51
|
* @param ListTestGridSessionActionsCommandInput - {@link ListTestGridSessionActionsCommandInput}
|
|
@@ -51,6 +64,8 @@ export interface ListTestGridSessionActionsCommandOutput extends ListTestGridSes
|
|
|
51
64
|
* @throws {@link NotFoundException} (client fault)
|
|
52
65
|
* <p>The specified entity was not found.</p>
|
|
53
66
|
*
|
|
67
|
+
* @throws {@link DeviceFarmServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
54
69
|
*
|
|
55
70
|
*/
|
|
56
71
|
export declare class ListTestGridSessionActionsCommand extends $Command<ListTestGridSessionActionsCommandInput, ListTestGridSessionActionsCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
@@ -34,6 +34,17 @@ export interface ListTestGridSessionArtifactsCommandOutput extends ListTestGridS
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListTestGridSessionArtifactsCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // ListTestGridSessionArtifactsResult
|
|
38
|
+
* // artifacts: [ // TestGridSessionArtifacts
|
|
39
|
+
* // { // TestGridSessionArtifact
|
|
40
|
+
* // filename: "STRING_VALUE",
|
|
41
|
+
* // type: "UNKNOWN" || "VIDEO" || "SELENIUM_LOG",
|
|
42
|
+
* // url: "STRING_VALUE",
|
|
43
|
+
* // },
|
|
44
|
+
* // ],
|
|
45
|
+
* // nextToken: "STRING_VALUE",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
37
48
|
* ```
|
|
38
49
|
*
|
|
39
50
|
* @param ListTestGridSessionArtifactsCommandInput - {@link ListTestGridSessionArtifactsCommandInput}
|
|
@@ -52,6 +63,8 @@ export interface ListTestGridSessionArtifactsCommandOutput extends ListTestGridS
|
|
|
52
63
|
* @throws {@link NotFoundException} (client fault)
|
|
53
64
|
* <p>The specified entity was not found.</p>
|
|
54
65
|
*
|
|
66
|
+
* @throws {@link DeviceFarmServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
55
68
|
*
|
|
56
69
|
*/
|
|
57
70
|
export declare class ListTestGridSessionArtifactsCommand extends $Command<ListTestGridSessionArtifactsCommandInput, ListTestGridSessionArtifactsCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
@@ -38,6 +38,20 @@ export interface ListTestGridSessionsCommandOutput extends ListTestGridSessionsR
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new ListTestGridSessionsCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // ListTestGridSessionsResult
|
|
42
|
+
* // testGridSessions: [ // TestGridSessions
|
|
43
|
+
* // { // TestGridSession
|
|
44
|
+
* // arn: "STRING_VALUE",
|
|
45
|
+
* // status: "ACTIVE" || "CLOSED" || "ERRORED",
|
|
46
|
+
* // created: new Date("TIMESTAMP"),
|
|
47
|
+
* // ended: new Date("TIMESTAMP"),
|
|
48
|
+
* // billingMinutes: Number("double"),
|
|
49
|
+
* // seleniumProperties: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // nextToken: "STRING_VALUE",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
41
55
|
* ```
|
|
42
56
|
*
|
|
43
57
|
* @param ListTestGridSessionsCommandInput - {@link ListTestGridSessionsCommandInput}
|
|
@@ -56,6 +70,8 @@ export interface ListTestGridSessionsCommandOutput extends ListTestGridSessionsR
|
|
|
56
70
|
* @throws {@link NotFoundException} (client fault)
|
|
57
71
|
* <p>The specified entity was not found.</p>
|
|
58
72
|
*
|
|
73
|
+
* @throws {@link DeviceFarmServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
59
75
|
*
|
|
60
76
|
*/
|
|
61
77
|
export declare class ListTestGridSessionsCommand extends $Command<ListTestGridSessionsCommandInput, ListTestGridSessionsCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
@@ -32,6 +32,37 @@ export interface ListTestsCommandOutput extends ListTestsResult, __MetadataBeare
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListTestsCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // ListTestsResult
|
|
36
|
+
* // tests: [ // Tests
|
|
37
|
+
* // { // Test
|
|
38
|
+
* // arn: "STRING_VALUE",
|
|
39
|
+
* // name: "STRING_VALUE",
|
|
40
|
+
* // type: "BUILTIN_FUZZ" || "BUILTIN_EXPLORER" || "WEB_PERFORMANCE_PROFILE" || "APPIUM_JAVA_JUNIT" || "APPIUM_JAVA_TESTNG" || "APPIUM_PYTHON" || "APPIUM_NODE" || "APPIUM_RUBY" || "APPIUM_WEB_JAVA_JUNIT" || "APPIUM_WEB_JAVA_TESTNG" || "APPIUM_WEB_PYTHON" || "APPIUM_WEB_NODE" || "APPIUM_WEB_RUBY" || "CALABASH" || "INSTRUMENTATION" || "UIAUTOMATION" || "UIAUTOMATOR" || "XCTEST" || "XCTEST_UI" || "REMOTE_ACCESS_RECORD" || "REMOTE_ACCESS_REPLAY",
|
|
41
|
+
* // created: new Date("TIMESTAMP"),
|
|
42
|
+
* // status: "PENDING" || "PENDING_CONCURRENCY" || "PENDING_DEVICE" || "PROCESSING" || "SCHEDULING" || "PREPARING" || "RUNNING" || "COMPLETED" || "STOPPING",
|
|
43
|
+
* // result: "PENDING" || "PASSED" || "WARNED" || "FAILED" || "SKIPPED" || "ERRORED" || "STOPPED",
|
|
44
|
+
* // started: new Date("TIMESTAMP"),
|
|
45
|
+
* // stopped: new Date("TIMESTAMP"),
|
|
46
|
+
* // counters: { // Counters
|
|
47
|
+
* // total: Number("int"),
|
|
48
|
+
* // passed: Number("int"),
|
|
49
|
+
* // failed: Number("int"),
|
|
50
|
+
* // warned: Number("int"),
|
|
51
|
+
* // errored: Number("int"),
|
|
52
|
+
* // stopped: Number("int"),
|
|
53
|
+
* // skipped: Number("int"),
|
|
54
|
+
* // },
|
|
55
|
+
* // message: "STRING_VALUE",
|
|
56
|
+
* // deviceMinutes: { // DeviceMinutes
|
|
57
|
+
* // total: Number("double"),
|
|
58
|
+
* // metered: Number("double"),
|
|
59
|
+
* // unmetered: Number("double"),
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // nextToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
35
66
|
* ```
|
|
36
67
|
*
|
|
37
68
|
* @param ListTestsCommandInput - {@link ListTestsCommandInput}
|
|
@@ -52,6 +83,8 @@ export interface ListTestsCommandOutput extends ListTestsResult, __MetadataBeare
|
|
|
52
83
|
* @throws {@link ServiceAccountException} (client fault)
|
|
53
84
|
* <p>There was a problem with the service account.</p>
|
|
54
85
|
*
|
|
86
|
+
* @throws {@link DeviceFarmServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
55
88
|
*
|
|
56
89
|
* @example To get information about tests
|
|
57
90
|
* ```javascript
|
|
@@ -36,6 +36,89 @@ export interface ListUniqueProblemsCommandOutput extends ListUniqueProblemsResul
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new ListUniqueProblemsCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // ListUniqueProblemsResult
|
|
40
|
+
* // uniqueProblems: { // UniqueProblemsByExecutionResultMap
|
|
41
|
+
* // "<keys>": [ // UniqueProblems
|
|
42
|
+
* // { // UniqueProblem
|
|
43
|
+
* // message: "STRING_VALUE",
|
|
44
|
+
* // problems: [ // Problems
|
|
45
|
+
* // { // Problem
|
|
46
|
+
* // run: { // ProblemDetail
|
|
47
|
+
* // arn: "STRING_VALUE",
|
|
48
|
+
* // name: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // job: {
|
|
51
|
+
* // arn: "STRING_VALUE",
|
|
52
|
+
* // name: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // suite: {
|
|
55
|
+
* // arn: "STRING_VALUE",
|
|
56
|
+
* // name: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // test: {
|
|
59
|
+
* // arn: "STRING_VALUE",
|
|
60
|
+
* // name: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // device: { // Device
|
|
63
|
+
* // arn: "STRING_VALUE",
|
|
64
|
+
* // name: "STRING_VALUE",
|
|
65
|
+
* // manufacturer: "STRING_VALUE",
|
|
66
|
+
* // model: "STRING_VALUE",
|
|
67
|
+
* // modelId: "STRING_VALUE",
|
|
68
|
+
* // formFactor: "PHONE" || "TABLET",
|
|
69
|
+
* // platform: "ANDROID" || "IOS",
|
|
70
|
+
* // os: "STRING_VALUE",
|
|
71
|
+
* // cpu: { // CPU
|
|
72
|
+
* // frequency: "STRING_VALUE",
|
|
73
|
+
* // architecture: "STRING_VALUE",
|
|
74
|
+
* // clock: Number("double"),
|
|
75
|
+
* // },
|
|
76
|
+
* // resolution: { // Resolution
|
|
77
|
+
* // width: Number("int"),
|
|
78
|
+
* // height: Number("int"),
|
|
79
|
+
* // },
|
|
80
|
+
* // heapSize: Number("long"),
|
|
81
|
+
* // memory: Number("long"),
|
|
82
|
+
* // image: "STRING_VALUE",
|
|
83
|
+
* // carrier: "STRING_VALUE",
|
|
84
|
+
* // radio: "STRING_VALUE",
|
|
85
|
+
* // remoteAccessEnabled: true || false,
|
|
86
|
+
* // remoteDebugEnabled: true || false,
|
|
87
|
+
* // fleetType: "STRING_VALUE",
|
|
88
|
+
* // fleetName: "STRING_VALUE",
|
|
89
|
+
* // instances: [ // DeviceInstances
|
|
90
|
+
* // { // DeviceInstance
|
|
91
|
+
* // arn: "STRING_VALUE",
|
|
92
|
+
* // deviceArn: "STRING_VALUE",
|
|
93
|
+
* // labels: [ // InstanceLabels
|
|
94
|
+
* // "STRING_VALUE",
|
|
95
|
+
* // ],
|
|
96
|
+
* // status: "IN_USE" || "PREPARING" || "AVAILABLE" || "NOT_AVAILABLE",
|
|
97
|
+
* // udid: "STRING_VALUE",
|
|
98
|
+
* // instanceProfile: { // InstanceProfile
|
|
99
|
+
* // arn: "STRING_VALUE",
|
|
100
|
+
* // packageCleanup: true || false,
|
|
101
|
+
* // excludeAppPackagesFromCleanup: [ // PackageIds
|
|
102
|
+
* // "STRING_VALUE",
|
|
103
|
+
* // ],
|
|
104
|
+
* // rebootAfterUse: true || false,
|
|
105
|
+
* // name: "STRING_VALUE",
|
|
106
|
+
* // description: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
110
|
+
* // availability: "TEMPORARY_NOT_AVAILABLE" || "BUSY" || "AVAILABLE" || "HIGHLY_AVAILABLE",
|
|
111
|
+
* // },
|
|
112
|
+
* // result: "PENDING" || "PASSED" || "WARNED" || "FAILED" || "SKIPPED" || "ERRORED" || "STOPPED",
|
|
113
|
+
* // message: "STRING_VALUE",
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // },
|
|
117
|
+
* // ],
|
|
118
|
+
* // },
|
|
119
|
+
* // nextToken: "STRING_VALUE",
|
|
120
|
+
* // };
|
|
121
|
+
*
|
|
39
122
|
* ```
|
|
40
123
|
*
|
|
41
124
|
* @param ListUniqueProblemsCommandInput - {@link ListUniqueProblemsCommandInput}
|
|
@@ -56,6 +139,8 @@ export interface ListUniqueProblemsCommandOutput extends ListUniqueProblemsResul
|
|
|
56
139
|
* @throws {@link ServiceAccountException} (client fault)
|
|
57
140
|
* <p>There was a problem with the service account.</p>
|
|
58
141
|
*
|
|
142
|
+
* @throws {@link DeviceFarmServiceException}
|
|
143
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
59
144
|
*
|
|
60
145
|
* @example To get information about unique problems
|
|
61
146
|
* ```javascript
|
|
@@ -33,6 +33,24 @@ export interface ListUploadsCommandOutput extends ListUploadsResult, __MetadataB
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListUploadsCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListUploadsResult
|
|
37
|
+
* // uploads: [ // Uploads
|
|
38
|
+
* // { // Upload
|
|
39
|
+
* // arn: "STRING_VALUE",
|
|
40
|
+
* // name: "STRING_VALUE",
|
|
41
|
+
* // created: new Date("TIMESTAMP"),
|
|
42
|
+
* // type: "ANDROID_APP" || "IOS_APP" || "WEB_APP" || "EXTERNAL_DATA" || "APPIUM_JAVA_JUNIT_TEST_PACKAGE" || "APPIUM_JAVA_TESTNG_TEST_PACKAGE" || "APPIUM_PYTHON_TEST_PACKAGE" || "APPIUM_NODE_TEST_PACKAGE" || "APPIUM_RUBY_TEST_PACKAGE" || "APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE" || "APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE" || "APPIUM_WEB_PYTHON_TEST_PACKAGE" || "APPIUM_WEB_NODE_TEST_PACKAGE" || "APPIUM_WEB_RUBY_TEST_PACKAGE" || "CALABASH_TEST_PACKAGE" || "INSTRUMENTATION_TEST_PACKAGE" || "UIAUTOMATION_TEST_PACKAGE" || "UIAUTOMATOR_TEST_PACKAGE" || "XCTEST_TEST_PACKAGE" || "XCTEST_UI_TEST_PACKAGE" || "APPIUM_JAVA_JUNIT_TEST_SPEC" || "APPIUM_JAVA_TESTNG_TEST_SPEC" || "APPIUM_PYTHON_TEST_SPEC" || "APPIUM_NODE_TEST_SPEC" || "APPIUM_RUBY_TEST_SPEC" || "APPIUM_WEB_JAVA_JUNIT_TEST_SPEC" || "APPIUM_WEB_JAVA_TESTNG_TEST_SPEC" || "APPIUM_WEB_PYTHON_TEST_SPEC" || "APPIUM_WEB_NODE_TEST_SPEC" || "APPIUM_WEB_RUBY_TEST_SPEC" || "INSTRUMENTATION_TEST_SPEC" || "XCTEST_UI_TEST_SPEC",
|
|
43
|
+
* // status: "INITIALIZED" || "PROCESSING" || "SUCCEEDED" || "FAILED",
|
|
44
|
+
* // url: "STRING_VALUE",
|
|
45
|
+
* // metadata: "STRING_VALUE",
|
|
46
|
+
* // contentType: "STRING_VALUE",
|
|
47
|
+
* // message: "STRING_VALUE",
|
|
48
|
+
* // category: "CURATED" || "PRIVATE",
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // nextToken: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
36
54
|
* ```
|
|
37
55
|
*
|
|
38
56
|
* @param ListUploadsCommandInput - {@link ListUploadsCommandInput}
|
|
@@ -53,6 +71,8 @@ export interface ListUploadsCommandOutput extends ListUploadsResult, __MetadataB
|
|
|
53
71
|
* @throws {@link ServiceAccountException} (client fault)
|
|
54
72
|
* <p>There was a problem with the service account.</p>
|
|
55
73
|
*
|
|
74
|
+
* @throws {@link DeviceFarmServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
56
76
|
*
|
|
57
77
|
* @example To get information about uploads
|
|
58
78
|
* ```javascript
|
|
@@ -33,6 +33,19 @@ export interface ListVPCEConfigurationsCommandOutput extends ListVPCEConfigurati
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new ListVPCEConfigurationsCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // ListVPCEConfigurationsResult
|
|
37
|
+
* // vpceConfigurations: [ // VPCEConfigurations
|
|
38
|
+
* // { // VPCEConfiguration
|
|
39
|
+
* // arn: "STRING_VALUE",
|
|
40
|
+
* // vpceConfigurationName: "STRING_VALUE",
|
|
41
|
+
* // vpceServiceName: "STRING_VALUE",
|
|
42
|
+
* // serviceDnsName: "STRING_VALUE",
|
|
43
|
+
* // vpceConfigurationDescription: "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // ],
|
|
46
|
+
* // nextToken: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
36
49
|
* ```
|
|
37
50
|
*
|
|
38
51
|
* @param ListVPCEConfigurationsCommandInput - {@link ListVPCEConfigurationsCommandInput}
|
|
@@ -47,6 +60,8 @@ export interface ListVPCEConfigurationsCommandOutput extends ListVPCEConfigurati
|
|
|
47
60
|
* @throws {@link ServiceAccountException} (client fault)
|
|
48
61
|
* <p>There was a problem with the service account.</p>
|
|
49
62
|
*
|
|
63
|
+
* @throws {@link DeviceFarmServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
50
65
|
*
|
|
51
66
|
*/
|
|
52
67
|
export declare class ListVPCEConfigurationsCommand extends $Command<ListVPCEConfigurationsCommandInput, ListVPCEConfigurationsCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
@@ -36,6 +36,38 @@ export interface PurchaseOfferingCommandOutput extends PurchaseOfferingResult, _
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new PurchaseOfferingCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // PurchaseOfferingResult
|
|
40
|
+
* // offeringTransaction: { // OfferingTransaction
|
|
41
|
+
* // offeringStatus: { // OfferingStatus
|
|
42
|
+
* // type: "PURCHASE" || "RENEW" || "SYSTEM",
|
|
43
|
+
* // offering: { // Offering
|
|
44
|
+
* // id: "STRING_VALUE",
|
|
45
|
+
* // description: "STRING_VALUE",
|
|
46
|
+
* // type: "RECURRING",
|
|
47
|
+
* // platform: "ANDROID" || "IOS",
|
|
48
|
+
* // recurringCharges: [ // RecurringCharges
|
|
49
|
+
* // { // RecurringCharge
|
|
50
|
+
* // cost: { // MonetaryAmount
|
|
51
|
+
* // amount: Number("double"),
|
|
52
|
+
* // currencyCode: "USD",
|
|
53
|
+
* // },
|
|
54
|
+
* // frequency: "MONTHLY",
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // },
|
|
58
|
+
* // quantity: Number("int"),
|
|
59
|
+
* // effectiveOn: new Date("TIMESTAMP"),
|
|
60
|
+
* // },
|
|
61
|
+
* // transactionId: "STRING_VALUE",
|
|
62
|
+
* // offeringPromotionId: "STRING_VALUE",
|
|
63
|
+
* // createdOn: new Date("TIMESTAMP"),
|
|
64
|
+
* // cost: {
|
|
65
|
+
* // amount: Number("double"),
|
|
66
|
+
* // currencyCode: "USD",
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
39
71
|
* ```
|
|
40
72
|
*
|
|
41
73
|
* @param PurchaseOfferingCommandInput - {@link PurchaseOfferingCommandInput}
|
|
@@ -60,6 +92,8 @@ export interface PurchaseOfferingCommandOutput extends PurchaseOfferingResult, _
|
|
|
60
92
|
* @throws {@link ServiceAccountException} (client fault)
|
|
61
93
|
* <p>There was a problem with the service account.</p>
|
|
62
94
|
*
|
|
95
|
+
* @throws {@link DeviceFarmServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
63
97
|
*
|
|
64
98
|
* @example To purchase a device slot offering
|
|
65
99
|
* ```javascript
|
|
@@ -34,6 +34,38 @@ export interface RenewOfferingCommandOutput extends RenewOfferingResult, __Metad
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new RenewOfferingCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // RenewOfferingResult
|
|
38
|
+
* // offeringTransaction: { // OfferingTransaction
|
|
39
|
+
* // offeringStatus: { // OfferingStatus
|
|
40
|
+
* // type: "PURCHASE" || "RENEW" || "SYSTEM",
|
|
41
|
+
* // offering: { // Offering
|
|
42
|
+
* // id: "STRING_VALUE",
|
|
43
|
+
* // description: "STRING_VALUE",
|
|
44
|
+
* // type: "RECURRING",
|
|
45
|
+
* // platform: "ANDROID" || "IOS",
|
|
46
|
+
* // recurringCharges: [ // RecurringCharges
|
|
47
|
+
* // { // RecurringCharge
|
|
48
|
+
* // cost: { // MonetaryAmount
|
|
49
|
+
* // amount: Number("double"),
|
|
50
|
+
* // currencyCode: "USD",
|
|
51
|
+
* // },
|
|
52
|
+
* // frequency: "MONTHLY",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // },
|
|
56
|
+
* // quantity: Number("int"),
|
|
57
|
+
* // effectiveOn: new Date("TIMESTAMP"),
|
|
58
|
+
* // },
|
|
59
|
+
* // transactionId: "STRING_VALUE",
|
|
60
|
+
* // offeringPromotionId: "STRING_VALUE",
|
|
61
|
+
* // createdOn: new Date("TIMESTAMP"),
|
|
62
|
+
* // cost: {
|
|
63
|
+
* // amount: Number("double"),
|
|
64
|
+
* // currencyCode: "USD",
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
37
69
|
* ```
|
|
38
70
|
*
|
|
39
71
|
* @param RenewOfferingCommandInput - {@link RenewOfferingCommandInput}
|
|
@@ -58,6 +90,8 @@ export interface RenewOfferingCommandOutput extends RenewOfferingResult, __Metad
|
|
|
58
90
|
* @throws {@link ServiceAccountException} (client fault)
|
|
59
91
|
* <p>There was a problem with the service account.</p>
|
|
60
92
|
*
|
|
93
|
+
* @throws {@link DeviceFarmServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
61
95
|
*
|
|
62
96
|
* @example To renew a device slot offering
|
|
63
97
|
* ```javascript
|
|
@@ -95,6 +95,106 @@ export interface ScheduleRunCommandOutput extends ScheduleRunResult, __MetadataB
|
|
|
95
95
|
* };
|
|
96
96
|
* const command = new ScheduleRunCommand(input);
|
|
97
97
|
* const response = await client.send(command);
|
|
98
|
+
* // { // ScheduleRunResult
|
|
99
|
+
* // run: { // Run
|
|
100
|
+
* // arn: "STRING_VALUE",
|
|
101
|
+
* // name: "STRING_VALUE",
|
|
102
|
+
* // type: "BUILTIN_FUZZ" || "BUILTIN_EXPLORER" || "WEB_PERFORMANCE_PROFILE" || "APPIUM_JAVA_JUNIT" || "APPIUM_JAVA_TESTNG" || "APPIUM_PYTHON" || "APPIUM_NODE" || "APPIUM_RUBY" || "APPIUM_WEB_JAVA_JUNIT" || "APPIUM_WEB_JAVA_TESTNG" || "APPIUM_WEB_PYTHON" || "APPIUM_WEB_NODE" || "APPIUM_WEB_RUBY" || "CALABASH" || "INSTRUMENTATION" || "UIAUTOMATION" || "UIAUTOMATOR" || "XCTEST" || "XCTEST_UI" || "REMOTE_ACCESS_RECORD" || "REMOTE_ACCESS_REPLAY",
|
|
103
|
+
* // platform: "ANDROID" || "IOS",
|
|
104
|
+
* // created: new Date("TIMESTAMP"),
|
|
105
|
+
* // status: "PENDING" || "PENDING_CONCURRENCY" || "PENDING_DEVICE" || "PROCESSING" || "SCHEDULING" || "PREPARING" || "RUNNING" || "COMPLETED" || "STOPPING",
|
|
106
|
+
* // result: "PENDING" || "PASSED" || "WARNED" || "FAILED" || "SKIPPED" || "ERRORED" || "STOPPED",
|
|
107
|
+
* // started: new Date("TIMESTAMP"),
|
|
108
|
+
* // stopped: new Date("TIMESTAMP"),
|
|
109
|
+
* // counters: { // Counters
|
|
110
|
+
* // total: Number("int"),
|
|
111
|
+
* // passed: Number("int"),
|
|
112
|
+
* // failed: Number("int"),
|
|
113
|
+
* // warned: Number("int"),
|
|
114
|
+
* // errored: Number("int"),
|
|
115
|
+
* // stopped: Number("int"),
|
|
116
|
+
* // skipped: Number("int"),
|
|
117
|
+
* // },
|
|
118
|
+
* // message: "STRING_VALUE",
|
|
119
|
+
* // totalJobs: Number("int"),
|
|
120
|
+
* // completedJobs: Number("int"),
|
|
121
|
+
* // billingMethod: "METERED" || "UNMETERED",
|
|
122
|
+
* // deviceMinutes: { // DeviceMinutes
|
|
123
|
+
* // total: Number("double"),
|
|
124
|
+
* // metered: Number("double"),
|
|
125
|
+
* // unmetered: Number("double"),
|
|
126
|
+
* // },
|
|
127
|
+
* // networkProfile: { // NetworkProfile
|
|
128
|
+
* // arn: "STRING_VALUE",
|
|
129
|
+
* // name: "STRING_VALUE",
|
|
130
|
+
* // description: "STRING_VALUE",
|
|
131
|
+
* // type: "CURATED" || "PRIVATE",
|
|
132
|
+
* // uplinkBandwidthBits: Number("long"),
|
|
133
|
+
* // downlinkBandwidthBits: Number("long"),
|
|
134
|
+
* // uplinkDelayMs: Number("long"),
|
|
135
|
+
* // downlinkDelayMs: Number("long"),
|
|
136
|
+
* // uplinkJitterMs: Number("long"),
|
|
137
|
+
* // downlinkJitterMs: Number("long"),
|
|
138
|
+
* // uplinkLossPercent: Number("int"),
|
|
139
|
+
* // downlinkLossPercent: Number("int"),
|
|
140
|
+
* // },
|
|
141
|
+
* // parsingResultUrl: "STRING_VALUE",
|
|
142
|
+
* // resultCode: "PARSING_FAILED" || "VPC_ENDPOINT_SETUP_FAILED",
|
|
143
|
+
* // seed: Number("int"),
|
|
144
|
+
* // appUpload: "STRING_VALUE",
|
|
145
|
+
* // eventCount: Number("int"),
|
|
146
|
+
* // jobTimeoutMinutes: Number("int"),
|
|
147
|
+
* // devicePoolArn: "STRING_VALUE",
|
|
148
|
+
* // locale: "STRING_VALUE",
|
|
149
|
+
* // radios: { // Radios
|
|
150
|
+
* // wifi: true || false,
|
|
151
|
+
* // bluetooth: true || false,
|
|
152
|
+
* // nfc: true || false,
|
|
153
|
+
* // gps: true || false,
|
|
154
|
+
* // },
|
|
155
|
+
* // location: { // Location
|
|
156
|
+
* // latitude: Number("double"), // required
|
|
157
|
+
* // longitude: Number("double"), // required
|
|
158
|
+
* // },
|
|
159
|
+
* // customerArtifactPaths: { // CustomerArtifactPaths
|
|
160
|
+
* // iosPaths: [ // IosPaths
|
|
161
|
+
* // "STRING_VALUE",
|
|
162
|
+
* // ],
|
|
163
|
+
* // androidPaths: [ // AndroidPaths
|
|
164
|
+
* // "STRING_VALUE",
|
|
165
|
+
* // ],
|
|
166
|
+
* // deviceHostPaths: [ // DeviceHostPaths
|
|
167
|
+
* // "STRING_VALUE",
|
|
168
|
+
* // ],
|
|
169
|
+
* // },
|
|
170
|
+
* // webUrl: "STRING_VALUE",
|
|
171
|
+
* // skipAppResign: true || false,
|
|
172
|
+
* // testSpecArn: "STRING_VALUE",
|
|
173
|
+
* // deviceSelectionResult: { // DeviceSelectionResult
|
|
174
|
+
* // filters: [ // DeviceFilters
|
|
175
|
+
* // { // DeviceFilter
|
|
176
|
+
* // attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
|
|
177
|
+
* // operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS", // required
|
|
178
|
+
* // values: [ // DeviceFilterValues // required
|
|
179
|
+
* // "STRING_VALUE",
|
|
180
|
+
* // ],
|
|
181
|
+
* // },
|
|
182
|
+
* // ],
|
|
183
|
+
* // matchedDevicesCount: Number("int"),
|
|
184
|
+
* // maxDevices: Number("int"),
|
|
185
|
+
* // },
|
|
186
|
+
* // vpcConfig: { // VpcConfig
|
|
187
|
+
* // securityGroupIds: [ // VpcSecurityGroupIds // required
|
|
188
|
+
* // "STRING_VALUE",
|
|
189
|
+
* // ],
|
|
190
|
+
* // subnetIds: [ // VpcSubnetIds // required
|
|
191
|
+
* // "STRING_VALUE",
|
|
192
|
+
* // ],
|
|
193
|
+
* // vpcId: "STRING_VALUE", // required
|
|
194
|
+
* // },
|
|
195
|
+
* // },
|
|
196
|
+
* // };
|
|
197
|
+
*
|
|
98
198
|
* ```
|
|
99
199
|
*
|
|
100
200
|
* @param ScheduleRunCommandInput - {@link ScheduleRunCommandInput}
|
|
@@ -118,6 +218,8 @@ export interface ScheduleRunCommandOutput extends ScheduleRunResult, __MetadataB
|
|
|
118
218
|
* @throws {@link ServiceAccountException} (client fault)
|
|
119
219
|
* <p>There was a problem with the service account.</p>
|
|
120
220
|
*
|
|
221
|
+
* @throws {@link DeviceFarmServiceException}
|
|
222
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
121
223
|
*
|
|
122
224
|
* @example To schedule a test run
|
|
123
225
|
* ```javascript
|
|
@@ -34,6 +34,87 @@ export interface StopJobCommandOutput extends StopJobResult, __MetadataBearer {
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new StopJobCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // StopJobResult
|
|
38
|
+
* // job: { // Job
|
|
39
|
+
* // arn: "STRING_VALUE",
|
|
40
|
+
* // name: "STRING_VALUE",
|
|
41
|
+
* // type: "BUILTIN_FUZZ" || "BUILTIN_EXPLORER" || "WEB_PERFORMANCE_PROFILE" || "APPIUM_JAVA_JUNIT" || "APPIUM_JAVA_TESTNG" || "APPIUM_PYTHON" || "APPIUM_NODE" || "APPIUM_RUBY" || "APPIUM_WEB_JAVA_JUNIT" || "APPIUM_WEB_JAVA_TESTNG" || "APPIUM_WEB_PYTHON" || "APPIUM_WEB_NODE" || "APPIUM_WEB_RUBY" || "CALABASH" || "INSTRUMENTATION" || "UIAUTOMATION" || "UIAUTOMATOR" || "XCTEST" || "XCTEST_UI" || "REMOTE_ACCESS_RECORD" || "REMOTE_ACCESS_REPLAY",
|
|
42
|
+
* // created: new Date("TIMESTAMP"),
|
|
43
|
+
* // status: "PENDING" || "PENDING_CONCURRENCY" || "PENDING_DEVICE" || "PROCESSING" || "SCHEDULING" || "PREPARING" || "RUNNING" || "COMPLETED" || "STOPPING",
|
|
44
|
+
* // result: "PENDING" || "PASSED" || "WARNED" || "FAILED" || "SKIPPED" || "ERRORED" || "STOPPED",
|
|
45
|
+
* // started: new Date("TIMESTAMP"),
|
|
46
|
+
* // stopped: new Date("TIMESTAMP"),
|
|
47
|
+
* // counters: { // Counters
|
|
48
|
+
* // total: Number("int"),
|
|
49
|
+
* // passed: Number("int"),
|
|
50
|
+
* // failed: Number("int"),
|
|
51
|
+
* // warned: Number("int"),
|
|
52
|
+
* // errored: Number("int"),
|
|
53
|
+
* // stopped: Number("int"),
|
|
54
|
+
* // skipped: Number("int"),
|
|
55
|
+
* // },
|
|
56
|
+
* // message: "STRING_VALUE",
|
|
57
|
+
* // device: { // Device
|
|
58
|
+
* // arn: "STRING_VALUE",
|
|
59
|
+
* // name: "STRING_VALUE",
|
|
60
|
+
* // manufacturer: "STRING_VALUE",
|
|
61
|
+
* // model: "STRING_VALUE",
|
|
62
|
+
* // modelId: "STRING_VALUE",
|
|
63
|
+
* // formFactor: "PHONE" || "TABLET",
|
|
64
|
+
* // platform: "ANDROID" || "IOS",
|
|
65
|
+
* // os: "STRING_VALUE",
|
|
66
|
+
* // cpu: { // CPU
|
|
67
|
+
* // frequency: "STRING_VALUE",
|
|
68
|
+
* // architecture: "STRING_VALUE",
|
|
69
|
+
* // clock: Number("double"),
|
|
70
|
+
* // },
|
|
71
|
+
* // resolution: { // Resolution
|
|
72
|
+
* // width: Number("int"),
|
|
73
|
+
* // height: Number("int"),
|
|
74
|
+
* // },
|
|
75
|
+
* // heapSize: Number("long"),
|
|
76
|
+
* // memory: Number("long"),
|
|
77
|
+
* // image: "STRING_VALUE",
|
|
78
|
+
* // carrier: "STRING_VALUE",
|
|
79
|
+
* // radio: "STRING_VALUE",
|
|
80
|
+
* // remoteAccessEnabled: true || false,
|
|
81
|
+
* // remoteDebugEnabled: true || false,
|
|
82
|
+
* // fleetType: "STRING_VALUE",
|
|
83
|
+
* // fleetName: "STRING_VALUE",
|
|
84
|
+
* // instances: [ // DeviceInstances
|
|
85
|
+
* // { // DeviceInstance
|
|
86
|
+
* // arn: "STRING_VALUE",
|
|
87
|
+
* // deviceArn: "STRING_VALUE",
|
|
88
|
+
* // labels: [ // InstanceLabels
|
|
89
|
+
* // "STRING_VALUE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // status: "IN_USE" || "PREPARING" || "AVAILABLE" || "NOT_AVAILABLE",
|
|
92
|
+
* // udid: "STRING_VALUE",
|
|
93
|
+
* // instanceProfile: { // InstanceProfile
|
|
94
|
+
* // arn: "STRING_VALUE",
|
|
95
|
+
* // packageCleanup: true || false,
|
|
96
|
+
* // excludeAppPackagesFromCleanup: [ // PackageIds
|
|
97
|
+
* // "STRING_VALUE",
|
|
98
|
+
* // ],
|
|
99
|
+
* // rebootAfterUse: true || false,
|
|
100
|
+
* // name: "STRING_VALUE",
|
|
101
|
+
* // description: "STRING_VALUE",
|
|
102
|
+
* // },
|
|
103
|
+
* // },
|
|
104
|
+
* // ],
|
|
105
|
+
* // availability: "TEMPORARY_NOT_AVAILABLE" || "BUSY" || "AVAILABLE" || "HIGHLY_AVAILABLE",
|
|
106
|
+
* // },
|
|
107
|
+
* // instanceArn: "STRING_VALUE",
|
|
108
|
+
* // deviceMinutes: { // DeviceMinutes
|
|
109
|
+
* // total: Number("double"),
|
|
110
|
+
* // metered: Number("double"),
|
|
111
|
+
* // unmetered: Number("double"),
|
|
112
|
+
* // },
|
|
113
|
+
* // videoEndpoint: "STRING_VALUE",
|
|
114
|
+
* // videoCapture: true || false,
|
|
115
|
+
* // },
|
|
116
|
+
* // };
|
|
117
|
+
*
|
|
37
118
|
* ```
|
|
38
119
|
*
|
|
39
120
|
* @param StopJobCommandInput - {@link StopJobCommandInput}
|
|
@@ -54,6 +135,8 @@ export interface StopJobCommandOutput extends StopJobResult, __MetadataBearer {
|
|
|
54
135
|
* @throws {@link ServiceAccountException} (client fault)
|
|
55
136
|
* <p>There was a problem with the service account.</p>
|
|
56
137
|
*
|
|
138
|
+
* @throws {@link DeviceFarmServiceException}
|
|
139
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
57
140
|
*
|
|
58
141
|
*/
|
|
59
142
|
export declare class StopJobCommand extends $Command<StopJobCommandInput, StopJobCommandOutput, DeviceFarmClientResolvedConfig> {
|