@aws-sdk/client-device-farm 3.321.1 → 3.326.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 +16 -16
|
@@ -31,6 +31,94 @@ export interface StopRemoteAccessSessionCommandOutput extends StopRemoteAccessSe
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new StopRemoteAccessSessionCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // StopRemoteAccessSessionResult
|
|
35
|
+
* // remoteAccessSession: { // RemoteAccessSession
|
|
36
|
+
* // arn: "STRING_VALUE",
|
|
37
|
+
* // name: "STRING_VALUE",
|
|
38
|
+
* // created: new Date("TIMESTAMP"),
|
|
39
|
+
* // status: "PENDING" || "PENDING_CONCURRENCY" || "PENDING_DEVICE" || "PROCESSING" || "SCHEDULING" || "PREPARING" || "RUNNING" || "COMPLETED" || "STOPPING",
|
|
40
|
+
* // result: "PENDING" || "PASSED" || "WARNED" || "FAILED" || "SKIPPED" || "ERRORED" || "STOPPED",
|
|
41
|
+
* // message: "STRING_VALUE",
|
|
42
|
+
* // started: new Date("TIMESTAMP"),
|
|
43
|
+
* // stopped: new Date("TIMESTAMP"),
|
|
44
|
+
* // device: { // Device
|
|
45
|
+
* // arn: "STRING_VALUE",
|
|
46
|
+
* // name: "STRING_VALUE",
|
|
47
|
+
* // manufacturer: "STRING_VALUE",
|
|
48
|
+
* // model: "STRING_VALUE",
|
|
49
|
+
* // modelId: "STRING_VALUE",
|
|
50
|
+
* // formFactor: "PHONE" || "TABLET",
|
|
51
|
+
* // platform: "ANDROID" || "IOS",
|
|
52
|
+
* // os: "STRING_VALUE",
|
|
53
|
+
* // cpu: { // CPU
|
|
54
|
+
* // frequency: "STRING_VALUE",
|
|
55
|
+
* // architecture: "STRING_VALUE",
|
|
56
|
+
* // clock: Number("double"),
|
|
57
|
+
* // },
|
|
58
|
+
* // resolution: { // Resolution
|
|
59
|
+
* // width: Number("int"),
|
|
60
|
+
* // height: Number("int"),
|
|
61
|
+
* // },
|
|
62
|
+
* // heapSize: Number("long"),
|
|
63
|
+
* // memory: Number("long"),
|
|
64
|
+
* // image: "STRING_VALUE",
|
|
65
|
+
* // carrier: "STRING_VALUE",
|
|
66
|
+
* // radio: "STRING_VALUE",
|
|
67
|
+
* // remoteAccessEnabled: true || false,
|
|
68
|
+
* // remoteDebugEnabled: true || false,
|
|
69
|
+
* // fleetType: "STRING_VALUE",
|
|
70
|
+
* // fleetName: "STRING_VALUE",
|
|
71
|
+
* // instances: [ // DeviceInstances
|
|
72
|
+
* // { // DeviceInstance
|
|
73
|
+
* // arn: "STRING_VALUE",
|
|
74
|
+
* // deviceArn: "STRING_VALUE",
|
|
75
|
+
* // labels: [ // InstanceLabels
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // status: "IN_USE" || "PREPARING" || "AVAILABLE" || "NOT_AVAILABLE",
|
|
79
|
+
* // udid: "STRING_VALUE",
|
|
80
|
+
* // instanceProfile: { // InstanceProfile
|
|
81
|
+
* // arn: "STRING_VALUE",
|
|
82
|
+
* // packageCleanup: true || false,
|
|
83
|
+
* // excludeAppPackagesFromCleanup: [ // PackageIds
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // rebootAfterUse: true || false,
|
|
87
|
+
* // name: "STRING_VALUE",
|
|
88
|
+
* // description: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
92
|
+
* // availability: "TEMPORARY_NOT_AVAILABLE" || "BUSY" || "AVAILABLE" || "HIGHLY_AVAILABLE",
|
|
93
|
+
* // },
|
|
94
|
+
* // instanceArn: "STRING_VALUE",
|
|
95
|
+
* // remoteDebugEnabled: true || false,
|
|
96
|
+
* // remoteRecordEnabled: true || false,
|
|
97
|
+
* // remoteRecordAppArn: "STRING_VALUE",
|
|
98
|
+
* // hostAddress: "STRING_VALUE",
|
|
99
|
+
* // clientId: "STRING_VALUE",
|
|
100
|
+
* // billingMethod: "METERED" || "UNMETERED",
|
|
101
|
+
* // deviceMinutes: { // DeviceMinutes
|
|
102
|
+
* // total: Number("double"),
|
|
103
|
+
* // metered: Number("double"),
|
|
104
|
+
* // unmetered: Number("double"),
|
|
105
|
+
* // },
|
|
106
|
+
* // endpoint: "STRING_VALUE",
|
|
107
|
+
* // deviceUdid: "STRING_VALUE",
|
|
108
|
+
* // interactionMode: "INTERACTIVE" || "NO_VIDEO" || "VIDEO_ONLY",
|
|
109
|
+
* // skipAppResign: true || false,
|
|
110
|
+
* // vpcConfig: { // VpcConfig
|
|
111
|
+
* // securityGroupIds: [ // VpcSecurityGroupIds // required
|
|
112
|
+
* // "STRING_VALUE",
|
|
113
|
+
* // ],
|
|
114
|
+
* // subnetIds: [ // VpcSubnetIds // required
|
|
115
|
+
* // "STRING_VALUE",
|
|
116
|
+
* // ],
|
|
117
|
+
* // vpcId: "STRING_VALUE", // required
|
|
118
|
+
* // },
|
|
119
|
+
* // },
|
|
120
|
+
* // };
|
|
121
|
+
*
|
|
34
122
|
* ```
|
|
35
123
|
*
|
|
36
124
|
* @param StopRemoteAccessSessionCommandInput - {@link StopRemoteAccessSessionCommandInput}
|
|
@@ -51,6 +139,8 @@ export interface StopRemoteAccessSessionCommandOutput extends StopRemoteAccessSe
|
|
|
51
139
|
* @throws {@link ServiceAccountException} (client fault)
|
|
52
140
|
* <p>There was a problem with the service account.</p>
|
|
53
141
|
*
|
|
142
|
+
* @throws {@link DeviceFarmServiceException}
|
|
143
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
54
144
|
*
|
|
55
145
|
*/
|
|
56
146
|
export declare class StopRemoteAccessSessionCommand extends $Command<StopRemoteAccessSessionCommandInput, StopRemoteAccessSessionCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
@@ -34,6 +34,106 @@ export interface StopRunCommandOutput extends StopRunResult, __MetadataBearer {
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new StopRunCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // StopRunResult
|
|
38
|
+
* // run: { // Run
|
|
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
|
+
* // platform: "ANDROID" || "IOS",
|
|
43
|
+
* // created: new Date("TIMESTAMP"),
|
|
44
|
+
* // status: "PENDING" || "PENDING_CONCURRENCY" || "PENDING_DEVICE" || "PROCESSING" || "SCHEDULING" || "PREPARING" || "RUNNING" || "COMPLETED" || "STOPPING",
|
|
45
|
+
* // result: "PENDING" || "PASSED" || "WARNED" || "FAILED" || "SKIPPED" || "ERRORED" || "STOPPED",
|
|
46
|
+
* // started: new Date("TIMESTAMP"),
|
|
47
|
+
* // stopped: new Date("TIMESTAMP"),
|
|
48
|
+
* // counters: { // Counters
|
|
49
|
+
* // total: Number("int"),
|
|
50
|
+
* // passed: Number("int"),
|
|
51
|
+
* // failed: Number("int"),
|
|
52
|
+
* // warned: Number("int"),
|
|
53
|
+
* // errored: Number("int"),
|
|
54
|
+
* // stopped: Number("int"),
|
|
55
|
+
* // skipped: Number("int"),
|
|
56
|
+
* // },
|
|
57
|
+
* // message: "STRING_VALUE",
|
|
58
|
+
* // totalJobs: Number("int"),
|
|
59
|
+
* // completedJobs: Number("int"),
|
|
60
|
+
* // billingMethod: "METERED" || "UNMETERED",
|
|
61
|
+
* // deviceMinutes: { // DeviceMinutes
|
|
62
|
+
* // total: Number("double"),
|
|
63
|
+
* // metered: Number("double"),
|
|
64
|
+
* // unmetered: Number("double"),
|
|
65
|
+
* // },
|
|
66
|
+
* // networkProfile: { // NetworkProfile
|
|
67
|
+
* // arn: "STRING_VALUE",
|
|
68
|
+
* // name: "STRING_VALUE",
|
|
69
|
+
* // description: "STRING_VALUE",
|
|
70
|
+
* // type: "CURATED" || "PRIVATE",
|
|
71
|
+
* // uplinkBandwidthBits: Number("long"),
|
|
72
|
+
* // downlinkBandwidthBits: Number("long"),
|
|
73
|
+
* // uplinkDelayMs: Number("long"),
|
|
74
|
+
* // downlinkDelayMs: Number("long"),
|
|
75
|
+
* // uplinkJitterMs: Number("long"),
|
|
76
|
+
* // downlinkJitterMs: Number("long"),
|
|
77
|
+
* // uplinkLossPercent: Number("int"),
|
|
78
|
+
* // downlinkLossPercent: Number("int"),
|
|
79
|
+
* // },
|
|
80
|
+
* // parsingResultUrl: "STRING_VALUE",
|
|
81
|
+
* // resultCode: "PARSING_FAILED" || "VPC_ENDPOINT_SETUP_FAILED",
|
|
82
|
+
* // seed: Number("int"),
|
|
83
|
+
* // appUpload: "STRING_VALUE",
|
|
84
|
+
* // eventCount: Number("int"),
|
|
85
|
+
* // jobTimeoutMinutes: Number("int"),
|
|
86
|
+
* // devicePoolArn: "STRING_VALUE",
|
|
87
|
+
* // locale: "STRING_VALUE",
|
|
88
|
+
* // radios: { // Radios
|
|
89
|
+
* // wifi: true || false,
|
|
90
|
+
* // bluetooth: true || false,
|
|
91
|
+
* // nfc: true || false,
|
|
92
|
+
* // gps: true || false,
|
|
93
|
+
* // },
|
|
94
|
+
* // location: { // Location
|
|
95
|
+
* // latitude: Number("double"), // required
|
|
96
|
+
* // longitude: Number("double"), // required
|
|
97
|
+
* // },
|
|
98
|
+
* // customerArtifactPaths: { // CustomerArtifactPaths
|
|
99
|
+
* // iosPaths: [ // IosPaths
|
|
100
|
+
* // "STRING_VALUE",
|
|
101
|
+
* // ],
|
|
102
|
+
* // androidPaths: [ // AndroidPaths
|
|
103
|
+
* // "STRING_VALUE",
|
|
104
|
+
* // ],
|
|
105
|
+
* // deviceHostPaths: [ // DeviceHostPaths
|
|
106
|
+
* // "STRING_VALUE",
|
|
107
|
+
* // ],
|
|
108
|
+
* // },
|
|
109
|
+
* // webUrl: "STRING_VALUE",
|
|
110
|
+
* // skipAppResign: true || false,
|
|
111
|
+
* // testSpecArn: "STRING_VALUE",
|
|
112
|
+
* // deviceSelectionResult: { // DeviceSelectionResult
|
|
113
|
+
* // filters: [ // DeviceFilters
|
|
114
|
+
* // { // DeviceFilter
|
|
115
|
+
* // attribute: "ARN" || "PLATFORM" || "OS_VERSION" || "MODEL" || "AVAILABILITY" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE", // required
|
|
116
|
+
* // operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS", // required
|
|
117
|
+
* // values: [ // DeviceFilterValues // required
|
|
118
|
+
* // "STRING_VALUE",
|
|
119
|
+
* // ],
|
|
120
|
+
* // },
|
|
121
|
+
* // ],
|
|
122
|
+
* // matchedDevicesCount: Number("int"),
|
|
123
|
+
* // maxDevices: Number("int"),
|
|
124
|
+
* // },
|
|
125
|
+
* // vpcConfig: { // VpcConfig
|
|
126
|
+
* // securityGroupIds: [ // VpcSecurityGroupIds // required
|
|
127
|
+
* // "STRING_VALUE",
|
|
128
|
+
* // ],
|
|
129
|
+
* // subnetIds: [ // VpcSubnetIds // required
|
|
130
|
+
* // "STRING_VALUE",
|
|
131
|
+
* // ],
|
|
132
|
+
* // vpcId: "STRING_VALUE", // required
|
|
133
|
+
* // },
|
|
134
|
+
* // },
|
|
135
|
+
* // };
|
|
136
|
+
*
|
|
37
137
|
* ```
|
|
38
138
|
*
|
|
39
139
|
* @param StopRunCommandInput - {@link StopRunCommandInput}
|
|
@@ -54,6 +154,8 @@ export interface StopRunCommandOutput extends StopRunResult, __MetadataBearer {
|
|
|
54
154
|
* @throws {@link ServiceAccountException} (client fault)
|
|
55
155
|
* <p>There was a problem with the service account.</p>
|
|
56
156
|
*
|
|
157
|
+
* @throws {@link DeviceFarmServiceException}
|
|
158
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
57
159
|
*
|
|
58
160
|
* @example To stop a test run
|
|
59
161
|
* ```javascript
|
|
@@ -39,6 +39,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new TagResourceCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
42
44
|
* ```
|
|
43
45
|
*
|
|
44
46
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -64,6 +66,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
64
66
|
* <p>The list of tags on the repository is over the limit. The maximum number of tags that
|
|
65
67
|
* can be applied to a repository is 50. </p>
|
|
66
68
|
*
|
|
69
|
+
* @throws {@link DeviceFarmServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
67
71
|
*
|
|
68
72
|
*/
|
|
69
73
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UntagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -51,6 +53,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
51
53
|
* @throws {@link TagOperationException} (client fault)
|
|
52
54
|
* <p>The operation was not successful. Try again.</p>
|
|
53
55
|
*
|
|
56
|
+
* @throws {@link DeviceFarmServiceException}
|
|
57
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
54
58
|
*
|
|
55
59
|
*/
|
|
56
60
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
@@ -35,6 +35,28 @@ export interface UpdateDeviceInstanceCommandOutput extends UpdateDeviceInstanceR
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new UpdateDeviceInstanceCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // UpdateDeviceInstanceResult
|
|
39
|
+
* // deviceInstance: { // DeviceInstance
|
|
40
|
+
* // arn: "STRING_VALUE",
|
|
41
|
+
* // deviceArn: "STRING_VALUE",
|
|
42
|
+
* // labels: [ // InstanceLabels
|
|
43
|
+
* // "STRING_VALUE",
|
|
44
|
+
* // ],
|
|
45
|
+
* // status: "IN_USE" || "PREPARING" || "AVAILABLE" || "NOT_AVAILABLE",
|
|
46
|
+
* // udid: "STRING_VALUE",
|
|
47
|
+
* // instanceProfile: { // InstanceProfile
|
|
48
|
+
* // arn: "STRING_VALUE",
|
|
49
|
+
* // packageCleanup: true || false,
|
|
50
|
+
* // excludeAppPackagesFromCleanup: [ // PackageIds
|
|
51
|
+
* // "STRING_VALUE",
|
|
52
|
+
* // ],
|
|
53
|
+
* // rebootAfterUse: true || false,
|
|
54
|
+
* // name: "STRING_VALUE",
|
|
55
|
+
* // description: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
38
60
|
* ```
|
|
39
61
|
*
|
|
40
62
|
* @param UpdateDeviceInstanceCommandInput - {@link UpdateDeviceInstanceCommandInput}
|
|
@@ -55,6 +77,8 @@ export interface UpdateDeviceInstanceCommandOutput extends UpdateDeviceInstanceR
|
|
|
55
77
|
* @throws {@link ServiceAccountException} (client fault)
|
|
56
78
|
* <p>There was a problem with the service account.</p>
|
|
57
79
|
*
|
|
80
|
+
* @throws {@link DeviceFarmServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
58
82
|
*
|
|
59
83
|
*/
|
|
60
84
|
export declare class UpdateDeviceInstanceCommand extends $Command<UpdateDeviceInstanceCommandInput, UpdateDeviceInstanceCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
@@ -44,6 +44,23 @@ export interface UpdateDevicePoolCommandOutput extends UpdateDevicePoolResult, _
|
|
|
44
44
|
* };
|
|
45
45
|
* const command = new UpdateDevicePoolCommand(input);
|
|
46
46
|
* const response = await client.send(command);
|
|
47
|
+
* // { // UpdateDevicePoolResult
|
|
48
|
+
* // devicePool: { // DevicePool
|
|
49
|
+
* // arn: "STRING_VALUE",
|
|
50
|
+
* // name: "STRING_VALUE",
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // type: "CURATED" || "PRIVATE",
|
|
53
|
+
* // rules: [ // Rules
|
|
54
|
+
* // { // Rule
|
|
55
|
+
* // attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
|
|
56
|
+
* // operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS",
|
|
57
|
+
* // value: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // maxDevices: Number("int"),
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
47
64
|
* ```
|
|
48
65
|
*
|
|
49
66
|
* @param UpdateDevicePoolCommandInput - {@link UpdateDevicePoolCommandInput}
|
|
@@ -64,6 +81,8 @@ export interface UpdateDevicePoolCommandOutput extends UpdateDevicePoolResult, _
|
|
|
64
81
|
* @throws {@link ServiceAccountException} (client fault)
|
|
65
82
|
* <p>There was a problem with the service account.</p>
|
|
66
83
|
*
|
|
84
|
+
* @throws {@link DeviceFarmServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
67
86
|
*
|
|
68
87
|
* @example To update a device pool
|
|
69
88
|
* ```javascript
|
|
@@ -38,6 +38,19 @@ export interface UpdateInstanceProfileCommandOutput extends UpdateInstanceProfil
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new UpdateInstanceProfileCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // UpdateInstanceProfileResult
|
|
42
|
+
* // instanceProfile: { // InstanceProfile
|
|
43
|
+
* // arn: "STRING_VALUE",
|
|
44
|
+
* // packageCleanup: true || false,
|
|
45
|
+
* // excludeAppPackagesFromCleanup: [ // PackageIds
|
|
46
|
+
* // "STRING_VALUE",
|
|
47
|
+
* // ],
|
|
48
|
+
* // rebootAfterUse: true || false,
|
|
49
|
+
* // name: "STRING_VALUE",
|
|
50
|
+
* // description: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
41
54
|
* ```
|
|
42
55
|
*
|
|
43
56
|
* @param UpdateInstanceProfileCommandInput - {@link UpdateInstanceProfileCommandInput}
|
|
@@ -58,6 +71,8 @@ export interface UpdateInstanceProfileCommandOutput extends UpdateInstanceProfil
|
|
|
58
71
|
* @throws {@link ServiceAccountException} (client fault)
|
|
59
72
|
* <p>There was a problem with the service account.</p>
|
|
60
73
|
*
|
|
74
|
+
* @throws {@link DeviceFarmServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
61
76
|
*
|
|
62
77
|
*/
|
|
63
78
|
export declare class UpdateInstanceProfileCommand extends $Command<UpdateInstanceProfileCommandInput, UpdateInstanceProfileCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
@@ -42,6 +42,23 @@ export interface UpdateNetworkProfileCommandOutput extends UpdateNetworkProfileR
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new UpdateNetworkProfileCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdateNetworkProfileResult
|
|
46
|
+
* // networkProfile: { // NetworkProfile
|
|
47
|
+
* // arn: "STRING_VALUE",
|
|
48
|
+
* // name: "STRING_VALUE",
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
50
|
+
* // type: "CURATED" || "PRIVATE",
|
|
51
|
+
* // uplinkBandwidthBits: Number("long"),
|
|
52
|
+
* // downlinkBandwidthBits: Number("long"),
|
|
53
|
+
* // uplinkDelayMs: Number("long"),
|
|
54
|
+
* // downlinkDelayMs: Number("long"),
|
|
55
|
+
* // uplinkJitterMs: Number("long"),
|
|
56
|
+
* // downlinkJitterMs: Number("long"),
|
|
57
|
+
* // uplinkLossPercent: Number("int"),
|
|
58
|
+
* // downlinkLossPercent: Number("int"),
|
|
59
|
+
* // },
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
45
62
|
* ```
|
|
46
63
|
*
|
|
47
64
|
* @param UpdateNetworkProfileCommandInput - {@link UpdateNetworkProfileCommandInput}
|
|
@@ -62,6 +79,8 @@ export interface UpdateNetworkProfileCommandOutput extends UpdateNetworkProfileR
|
|
|
62
79
|
* @throws {@link ServiceAccountException} (client fault)
|
|
63
80
|
* <p>There was a problem with the service account.</p>
|
|
64
81
|
*
|
|
82
|
+
* @throws {@link DeviceFarmServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
65
84
|
*
|
|
66
85
|
*/
|
|
67
86
|
export declare class UpdateNetworkProfileCommand extends $Command<UpdateNetworkProfileCommandInput, UpdateNetworkProfileCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
@@ -43,6 +43,24 @@ export interface UpdateProjectCommandOutput extends UpdateProjectResult, __Metad
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new UpdateProjectCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // UpdateProjectResult
|
|
47
|
+
* // project: { // Project
|
|
48
|
+
* // arn: "STRING_VALUE",
|
|
49
|
+
* // name: "STRING_VALUE",
|
|
50
|
+
* // defaultJobTimeoutMinutes: Number("int"),
|
|
51
|
+
* // created: new Date("TIMESTAMP"),
|
|
52
|
+
* // vpcConfig: { // VpcConfig
|
|
53
|
+
* // securityGroupIds: [ // VpcSecurityGroupIds // required
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // subnetIds: [ // VpcSubnetIds // required
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // vpcId: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
46
64
|
* ```
|
|
47
65
|
*
|
|
48
66
|
* @param UpdateProjectCommandInput - {@link UpdateProjectCommandInput}
|
|
@@ -63,6 +81,8 @@ export interface UpdateProjectCommandOutput extends UpdateProjectResult, __Metad
|
|
|
63
81
|
* @throws {@link ServiceAccountException} (client fault)
|
|
64
82
|
* <p>There was a problem with the service account.</p>
|
|
65
83
|
*
|
|
84
|
+
* @throws {@link DeviceFarmServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
66
86
|
*
|
|
67
87
|
* @example To update a device pool
|
|
68
88
|
* ```javascript
|
|
@@ -42,6 +42,24 @@ export interface UpdateTestGridProjectCommandOutput extends UpdateTestGridProjec
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new UpdateTestGridProjectCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdateTestGridProjectResult
|
|
46
|
+
* // testGridProject: { // TestGridProject
|
|
47
|
+
* // arn: "STRING_VALUE",
|
|
48
|
+
* // name: "STRING_VALUE",
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
50
|
+
* // vpcConfig: { // TestGridVpcConfig
|
|
51
|
+
* // securityGroupIds: [ // SecurityGroupIds // required
|
|
52
|
+
* // "STRING_VALUE",
|
|
53
|
+
* // ],
|
|
54
|
+
* // subnetIds: [ // SubnetIds // required
|
|
55
|
+
* // "STRING_VALUE",
|
|
56
|
+
* // ],
|
|
57
|
+
* // vpcId: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // created: new Date("TIMESTAMP"),
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
45
63
|
* ```
|
|
46
64
|
*
|
|
47
65
|
* @param UpdateTestGridProjectCommandInput - {@link UpdateTestGridProjectCommandInput}
|
|
@@ -63,6 +81,8 @@ export interface UpdateTestGridProjectCommandOutput extends UpdateTestGridProjec
|
|
|
63
81
|
* @throws {@link NotFoundException} (client fault)
|
|
64
82
|
* <p>The specified entity was not found.</p>
|
|
65
83
|
*
|
|
84
|
+
* @throws {@link DeviceFarmServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
66
86
|
*
|
|
67
87
|
*/
|
|
68
88
|
export declare class UpdateTestGridProjectCommand extends $Command<UpdateTestGridProjectCommandInput, UpdateTestGridProjectCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
@@ -34,6 +34,21 @@ export interface UpdateUploadCommandOutput extends UpdateUploadResult, __Metadat
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UpdateUploadCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // UpdateUploadResult
|
|
38
|
+
* // upload: { // 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
|
+
*
|
|
37
52
|
* ```
|
|
38
53
|
*
|
|
39
54
|
* @param UpdateUploadCommandInput - {@link UpdateUploadCommandInput}
|
|
@@ -54,6 +69,8 @@ export interface UpdateUploadCommandOutput extends UpdateUploadResult, __Metadat
|
|
|
54
69
|
* @throws {@link ServiceAccountException} (client fault)
|
|
55
70
|
* <p>There was a problem with the service account.</p>
|
|
56
71
|
*
|
|
72
|
+
* @throws {@link DeviceFarmServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
57
74
|
*
|
|
58
75
|
*/
|
|
59
76
|
export declare class UpdateUploadCommand extends $Command<UpdateUploadCommandInput, UpdateUploadCommandOutput, DeviceFarmClientResolvedConfig> {
|
|
@@ -35,6 +35,16 @@ export interface UpdateVPCEConfigurationCommandOutput extends UpdateVPCEConfigur
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new UpdateVPCEConfigurationCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // UpdateVPCEConfigurationResult
|
|
39
|
+
* // vpceConfiguration: { // VPCEConfiguration
|
|
40
|
+
* // arn: "STRING_VALUE",
|
|
41
|
+
* // vpceConfigurationName: "STRING_VALUE",
|
|
42
|
+
* // vpceServiceName: "STRING_VALUE",
|
|
43
|
+
* // serviceDnsName: "STRING_VALUE",
|
|
44
|
+
* // vpceConfigurationDescription: "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
38
48
|
* ```
|
|
39
49
|
*
|
|
40
50
|
* @param UpdateVPCEConfigurationCommandInput - {@link UpdateVPCEConfigurationCommandInput}
|
|
@@ -56,6 +66,8 @@ export interface UpdateVPCEConfigurationCommandOutput extends UpdateVPCEConfigur
|
|
|
56
66
|
* @throws {@link ServiceAccountException} (client fault)
|
|
57
67
|
* <p>There was a problem with the service account.</p>
|
|
58
68
|
*
|
|
69
|
+
* @throws {@link DeviceFarmServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from DeviceFarm service.</p>
|
|
59
71
|
*
|
|
60
72
|
*/
|
|
61
73
|
export declare class UpdateVPCEConfigurationCommand extends $Command<UpdateVPCEConfigurationCommandInput, UpdateVPCEConfigurationCommandOutput, DeviceFarmClientResolvedConfig> {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-device-farm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Device Farm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.326.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,33 +21,33 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.325.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.325.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.325.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|