@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.
Files changed (78) hide show
  1. package/dist-types/commands/CreateDevicePoolCommand.d.ts +19 -0
  2. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +15 -0
  3. package/dist-types/commands/CreateNetworkProfileCommand.d.ts +19 -0
  4. package/dist-types/commands/CreateProjectCommand.d.ts +20 -0
  5. package/dist-types/commands/CreateRemoteAccessSessionCommand.d.ts +90 -0
  6. package/dist-types/commands/CreateTestGridProjectCommand.d.ts +20 -0
  7. package/dist-types/commands/CreateTestGridUrlCommand.d.ts +7 -0
  8. package/dist-types/commands/CreateUploadCommand.d.ts +17 -0
  9. package/dist-types/commands/CreateVPCEConfigurationCommand.d.ts +12 -0
  10. package/dist-types/commands/DeleteDevicePoolCommand.d.ts +4 -0
  11. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +4 -0
  12. package/dist-types/commands/DeleteNetworkProfileCommand.d.ts +4 -0
  13. package/dist-types/commands/DeleteProjectCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteRemoteAccessSessionCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteRunCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteTestGridProjectCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteUploadCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteVPCEConfigurationCommand.d.ts +4 -0
  19. package/dist-types/commands/GetAccountSettingsCommand.d.ts +24 -0
  20. package/dist-types/commands/GetDeviceCommand.d.ts +55 -0
  21. package/dist-types/commands/GetDeviceInstanceCommand.d.ts +24 -0
  22. package/dist-types/commands/GetDevicePoolCommand.d.ts +19 -0
  23. package/dist-types/commands/GetDevicePoolCompatibilityCommand.d.ts +127 -0
  24. package/dist-types/commands/GetInstanceProfileCommand.d.ts +15 -0
  25. package/dist-types/commands/GetJobCommand.d.ts +83 -0
  26. package/dist-types/commands/GetNetworkProfileCommand.d.ts +19 -0
  27. package/dist-types/commands/GetOfferingStatusCommand.d.ts +50 -0
  28. package/dist-types/commands/GetProjectCommand.d.ts +20 -0
  29. package/dist-types/commands/GetRemoteAccessSessionCommand.d.ts +90 -0
  30. package/dist-types/commands/GetRunCommand.d.ts +102 -0
  31. package/dist-types/commands/GetSuiteCommand.d.ts +30 -0
  32. package/dist-types/commands/GetTestCommand.d.ts +30 -0
  33. package/dist-types/commands/GetTestGridProjectCommand.d.ts +20 -0
  34. package/dist-types/commands/GetTestGridSessionCommand.d.ts +13 -0
  35. package/dist-types/commands/GetUploadCommand.d.ts +17 -0
  36. package/dist-types/commands/GetVPCEConfigurationCommand.d.ts +12 -0
  37. package/dist-types/commands/InstallToRemoteAccessSessionCommand.d.ts +17 -0
  38. package/dist-types/commands/ListArtifactsCommand.d.ts +15 -0
  39. package/dist-types/commands/ListDeviceInstancesCommand.d.ts +27 -0
  40. package/dist-types/commands/ListDevicePoolsCommand.d.ts +22 -0
  41. package/dist-types/commands/ListDevicesCommand.d.ts +58 -0
  42. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +18 -0
  43. package/dist-types/commands/ListJobsCommand.d.ts +86 -0
  44. package/dist-types/commands/ListNetworkProfilesCommand.d.ts +22 -0
  45. package/dist-types/commands/ListOfferingPromotionsCommand.d.ts +12 -0
  46. package/dist-types/commands/ListOfferingTransactionsCommand.d.ts +37 -0
  47. package/dist-types/commands/ListOfferingsCommand.d.ts +23 -0
  48. package/dist-types/commands/ListProjectsCommand.d.ts +23 -0
  49. package/dist-types/commands/ListRemoteAccessSessionsCommand.d.ts +93 -0
  50. package/dist-types/commands/ListRunsCommand.d.ts +105 -0
  51. package/dist-types/commands/ListSamplesCommand.d.ts +13 -0
  52. package/dist-types/commands/ListSuitesCommand.d.ts +33 -0
  53. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  54. package/dist-types/commands/ListTestGridProjectsCommand.d.ts +23 -0
  55. package/dist-types/commands/ListTestGridSessionActionsCommand.d.ts +15 -0
  56. package/dist-types/commands/ListTestGridSessionArtifactsCommand.d.ts +13 -0
  57. package/dist-types/commands/ListTestGridSessionsCommand.d.ts +16 -0
  58. package/dist-types/commands/ListTestsCommand.d.ts +33 -0
  59. package/dist-types/commands/ListUniqueProblemsCommand.d.ts +85 -0
  60. package/dist-types/commands/ListUploadsCommand.d.ts +20 -0
  61. package/dist-types/commands/ListVPCEConfigurationsCommand.d.ts +15 -0
  62. package/dist-types/commands/PurchaseOfferingCommand.d.ts +34 -0
  63. package/dist-types/commands/RenewOfferingCommand.d.ts +34 -0
  64. package/dist-types/commands/ScheduleRunCommand.d.ts +102 -0
  65. package/dist-types/commands/StopJobCommand.d.ts +83 -0
  66. package/dist-types/commands/StopRemoteAccessSessionCommand.d.ts +90 -0
  67. package/dist-types/commands/StopRunCommand.d.ts +102 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  69. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  70. package/dist-types/commands/UpdateDeviceInstanceCommand.d.ts +24 -0
  71. package/dist-types/commands/UpdateDevicePoolCommand.d.ts +19 -0
  72. package/dist-types/commands/UpdateInstanceProfileCommand.d.ts +15 -0
  73. package/dist-types/commands/UpdateNetworkProfileCommand.d.ts +19 -0
  74. package/dist-types/commands/UpdateProjectCommand.d.ts +20 -0
  75. package/dist-types/commands/UpdateTestGridProjectCommand.d.ts +20 -0
  76. package/dist-types/commands/UpdateUploadCommand.d.ts +17 -0
  77. package/dist-types/commands/UpdateVPCEConfigurationCommand.d.ts +12 -0
  78. package/package.json +16 -16
@@ -31,6 +31,28 @@ export interface GetDeviceInstanceCommandOutput extends GetDeviceInstanceResult,
31
31
  * };
32
32
  * const command = new GetDeviceInstanceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetDeviceInstanceResult
35
+ * // deviceInstance: { // DeviceInstance
36
+ * // arn: "STRING_VALUE",
37
+ * // deviceArn: "STRING_VALUE",
38
+ * // labels: [ // InstanceLabels
39
+ * // "STRING_VALUE",
40
+ * // ],
41
+ * // status: "IN_USE" || "PREPARING" || "AVAILABLE" || "NOT_AVAILABLE",
42
+ * // udid: "STRING_VALUE",
43
+ * // instanceProfile: { // InstanceProfile
44
+ * // arn: "STRING_VALUE",
45
+ * // packageCleanup: true || false,
46
+ * // excludeAppPackagesFromCleanup: [ // PackageIds
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // rebootAfterUse: true || false,
50
+ * // name: "STRING_VALUE",
51
+ * // description: "STRING_VALUE",
52
+ * // },
53
+ * // },
54
+ * // };
55
+ *
34
56
  * ```
35
57
  *
36
58
  * @param GetDeviceInstanceCommandInput - {@link GetDeviceInstanceCommandInput}
@@ -51,6 +73,8 @@ export interface GetDeviceInstanceCommandOutput extends GetDeviceInstanceResult,
51
73
  * @throws {@link ServiceAccountException} (client fault)
52
74
  * <p>There was a problem with the service account.</p>
53
75
  *
76
+ * @throws {@link DeviceFarmServiceException}
77
+ * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
54
78
  *
55
79
  */
56
80
  export declare class GetDeviceInstanceCommand extends $Command<GetDeviceInstanceCommandInput, GetDeviceInstanceCommandOutput, DeviceFarmClientResolvedConfig> {
@@ -31,6 +31,23 @@ export interface GetDevicePoolCommandOutput extends GetDevicePoolResult, __Metad
31
31
  * };
32
32
  * const command = new GetDevicePoolCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetDevicePoolResult
35
+ * // devicePool: { // DevicePool
36
+ * // arn: "STRING_VALUE",
37
+ * // name: "STRING_VALUE",
38
+ * // description: "STRING_VALUE",
39
+ * // type: "CURATED" || "PRIVATE",
40
+ * // rules: [ // Rules
41
+ * // { // Rule
42
+ * // attribute: "ARN" || "PLATFORM" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
43
+ * // operator: "EQUALS" || "LESS_THAN" || "LESS_THAN_OR_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUALS" || "IN" || "NOT_IN" || "CONTAINS",
44
+ * // value: "STRING_VALUE",
45
+ * // },
46
+ * // ],
47
+ * // maxDevices: Number("int"),
48
+ * // },
49
+ * // };
50
+ *
34
51
  * ```
35
52
  *
36
53
  * @param GetDevicePoolCommandInput - {@link GetDevicePoolCommandInput}
@@ -51,6 +68,8 @@ export interface GetDevicePoolCommandOutput extends GetDevicePoolResult, __Metad
51
68
  * @throws {@link ServiceAccountException} (client fault)
52
69
  * <p>There was a problem with the service account.</p>
53
70
  *
71
+ * @throws {@link DeviceFarmServiceException}
72
+ * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
54
73
  *
55
74
  * @example To get information about a device pool
56
75
  * ```javascript
@@ -75,6 +75,131 @@ export interface GetDevicePoolCompatibilityCommandOutput extends GetDevicePoolCo
75
75
  * };
76
76
  * const command = new GetDevicePoolCompatibilityCommand(input);
77
77
  * const response = await client.send(command);
78
+ * // { // GetDevicePoolCompatibilityResult
79
+ * // compatibleDevices: [ // DevicePoolCompatibilityResults
80
+ * // { // DevicePoolCompatibilityResult
81
+ * // device: { // Device
82
+ * // arn: "STRING_VALUE",
83
+ * // name: "STRING_VALUE",
84
+ * // manufacturer: "STRING_VALUE",
85
+ * // model: "STRING_VALUE",
86
+ * // modelId: "STRING_VALUE",
87
+ * // formFactor: "PHONE" || "TABLET",
88
+ * // platform: "ANDROID" || "IOS",
89
+ * // os: "STRING_VALUE",
90
+ * // cpu: { // CPU
91
+ * // frequency: "STRING_VALUE",
92
+ * // architecture: "STRING_VALUE",
93
+ * // clock: Number("double"),
94
+ * // },
95
+ * // resolution: { // Resolution
96
+ * // width: Number("int"),
97
+ * // height: Number("int"),
98
+ * // },
99
+ * // heapSize: Number("long"),
100
+ * // memory: Number("long"),
101
+ * // image: "STRING_VALUE",
102
+ * // carrier: "STRING_VALUE",
103
+ * // radio: "STRING_VALUE",
104
+ * // remoteAccessEnabled: true || false,
105
+ * // remoteDebugEnabled: true || false,
106
+ * // fleetType: "STRING_VALUE",
107
+ * // fleetName: "STRING_VALUE",
108
+ * // instances: [ // DeviceInstances
109
+ * // { // DeviceInstance
110
+ * // arn: "STRING_VALUE",
111
+ * // deviceArn: "STRING_VALUE",
112
+ * // labels: [ // InstanceLabels
113
+ * // "STRING_VALUE",
114
+ * // ],
115
+ * // status: "IN_USE" || "PREPARING" || "AVAILABLE" || "NOT_AVAILABLE",
116
+ * // udid: "STRING_VALUE",
117
+ * // instanceProfile: { // InstanceProfile
118
+ * // arn: "STRING_VALUE",
119
+ * // packageCleanup: true || false,
120
+ * // excludeAppPackagesFromCleanup: [ // PackageIds
121
+ * // "STRING_VALUE",
122
+ * // ],
123
+ * // rebootAfterUse: true || false,
124
+ * // name: "STRING_VALUE",
125
+ * // description: "STRING_VALUE",
126
+ * // },
127
+ * // },
128
+ * // ],
129
+ * // availability: "TEMPORARY_NOT_AVAILABLE" || "BUSY" || "AVAILABLE" || "HIGHLY_AVAILABLE",
130
+ * // },
131
+ * // compatible: true || false,
132
+ * // incompatibilityMessages: [ // IncompatibilityMessages
133
+ * // { // IncompatibilityMessage
134
+ * // message: "STRING_VALUE",
135
+ * // type: "ARN" || "PLATFORM" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
136
+ * // },
137
+ * // ],
138
+ * // },
139
+ * // ],
140
+ * // incompatibleDevices: [
141
+ * // {
142
+ * // device: {
143
+ * // arn: "STRING_VALUE",
144
+ * // name: "STRING_VALUE",
145
+ * // manufacturer: "STRING_VALUE",
146
+ * // model: "STRING_VALUE",
147
+ * // modelId: "STRING_VALUE",
148
+ * // formFactor: "PHONE" || "TABLET",
149
+ * // platform: "ANDROID" || "IOS",
150
+ * // os: "STRING_VALUE",
151
+ * // cpu: {
152
+ * // frequency: "STRING_VALUE",
153
+ * // architecture: "STRING_VALUE",
154
+ * // clock: Number("double"),
155
+ * // },
156
+ * // resolution: {
157
+ * // width: Number("int"),
158
+ * // height: Number("int"),
159
+ * // },
160
+ * // heapSize: Number("long"),
161
+ * // memory: Number("long"),
162
+ * // image: "STRING_VALUE",
163
+ * // carrier: "STRING_VALUE",
164
+ * // radio: "STRING_VALUE",
165
+ * // remoteAccessEnabled: true || false,
166
+ * // remoteDebugEnabled: true || false,
167
+ * // fleetType: "STRING_VALUE",
168
+ * // fleetName: "STRING_VALUE",
169
+ * // instances: [
170
+ * // {
171
+ * // arn: "STRING_VALUE",
172
+ * // deviceArn: "STRING_VALUE",
173
+ * // labels: [
174
+ * // "STRING_VALUE",
175
+ * // ],
176
+ * // status: "IN_USE" || "PREPARING" || "AVAILABLE" || "NOT_AVAILABLE",
177
+ * // udid: "STRING_VALUE",
178
+ * // instanceProfile: {
179
+ * // arn: "STRING_VALUE",
180
+ * // packageCleanup: true || false,
181
+ * // excludeAppPackagesFromCleanup: [
182
+ * // "STRING_VALUE",
183
+ * // ],
184
+ * // rebootAfterUse: true || false,
185
+ * // name: "STRING_VALUE",
186
+ * // description: "STRING_VALUE",
187
+ * // },
188
+ * // },
189
+ * // ],
190
+ * // availability: "TEMPORARY_NOT_AVAILABLE" || "BUSY" || "AVAILABLE" || "HIGHLY_AVAILABLE",
191
+ * // },
192
+ * // compatible: true || false,
193
+ * // incompatibilityMessages: [
194
+ * // {
195
+ * // message: "STRING_VALUE",
196
+ * // type: "ARN" || "PLATFORM" || "FORM_FACTOR" || "MANUFACTURER" || "REMOTE_ACCESS_ENABLED" || "REMOTE_DEBUG_ENABLED" || "APPIUM_VERSION" || "INSTANCE_ARN" || "INSTANCE_LABELS" || "FLEET_TYPE" || "OS_VERSION" || "MODEL" || "AVAILABILITY",
197
+ * // },
198
+ * // ],
199
+ * // },
200
+ * // ],
201
+ * // };
202
+ *
78
203
  * ```
79
204
  *
80
205
  * @param GetDevicePoolCompatibilityCommandInput - {@link GetDevicePoolCompatibilityCommandInput}
@@ -95,6 +220,8 @@ export interface GetDevicePoolCompatibilityCommandOutput extends GetDevicePoolCo
95
220
  * @throws {@link ServiceAccountException} (client fault)
96
221
  * <p>There was a problem with the service account.</p>
97
222
  *
223
+ * @throws {@link DeviceFarmServiceException}
224
+ * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
98
225
  *
99
226
  * @example To get information about the compatibility of a device pool
100
227
  * ```javascript
@@ -31,6 +31,19 @@ export interface GetInstanceProfileCommandOutput extends GetInstanceProfileResul
31
31
  * };
32
32
  * const command = new GetInstanceProfileCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetInstanceProfileResult
35
+ * // instanceProfile: { // InstanceProfile
36
+ * // arn: "STRING_VALUE",
37
+ * // packageCleanup: true || false,
38
+ * // excludeAppPackagesFromCleanup: [ // PackageIds
39
+ * // "STRING_VALUE",
40
+ * // ],
41
+ * // rebootAfterUse: true || false,
42
+ * // name: "STRING_VALUE",
43
+ * // description: "STRING_VALUE",
44
+ * // },
45
+ * // };
46
+ *
34
47
  * ```
35
48
  *
36
49
  * @param GetInstanceProfileCommandInput - {@link GetInstanceProfileCommandInput}
@@ -51,6 +64,8 @@ export interface GetInstanceProfileCommandOutput extends GetInstanceProfileResul
51
64
  * @throws {@link ServiceAccountException} (client fault)
52
65
  * <p>There was a problem with the service account.</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 GetInstanceProfileCommand extends $Command<GetInstanceProfileCommandInput, GetInstanceProfileCommandOutput, DeviceFarmClientResolvedConfig> {
@@ -31,6 +31,87 @@ export interface GetJobCommandOutput extends GetJobResult, __MetadataBearer {
31
31
  * };
32
32
  * const command = new GetJobCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetJobResult
35
+ * // job: { // Job
36
+ * // arn: "STRING_VALUE",
37
+ * // name: "STRING_VALUE",
38
+ * // 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",
39
+ * // created: new Date("TIMESTAMP"),
40
+ * // status: "PENDING" || "PENDING_CONCURRENCY" || "PENDING_DEVICE" || "PROCESSING" || "SCHEDULING" || "PREPARING" || "RUNNING" || "COMPLETED" || "STOPPING",
41
+ * // result: "PENDING" || "PASSED" || "WARNED" || "FAILED" || "SKIPPED" || "ERRORED" || "STOPPED",
42
+ * // started: new Date("TIMESTAMP"),
43
+ * // stopped: new Date("TIMESTAMP"),
44
+ * // counters: { // Counters
45
+ * // total: Number("int"),
46
+ * // passed: Number("int"),
47
+ * // failed: Number("int"),
48
+ * // warned: Number("int"),
49
+ * // errored: Number("int"),
50
+ * // stopped: Number("int"),
51
+ * // skipped: Number("int"),
52
+ * // },
53
+ * // message: "STRING_VALUE",
54
+ * // device: { // Device
55
+ * // arn: "STRING_VALUE",
56
+ * // name: "STRING_VALUE",
57
+ * // manufacturer: "STRING_VALUE",
58
+ * // model: "STRING_VALUE",
59
+ * // modelId: "STRING_VALUE",
60
+ * // formFactor: "PHONE" || "TABLET",
61
+ * // platform: "ANDROID" || "IOS",
62
+ * // os: "STRING_VALUE",
63
+ * // cpu: { // CPU
64
+ * // frequency: "STRING_VALUE",
65
+ * // architecture: "STRING_VALUE",
66
+ * // clock: Number("double"),
67
+ * // },
68
+ * // resolution: { // Resolution
69
+ * // width: Number("int"),
70
+ * // height: Number("int"),
71
+ * // },
72
+ * // heapSize: Number("long"),
73
+ * // memory: Number("long"),
74
+ * // image: "STRING_VALUE",
75
+ * // carrier: "STRING_VALUE",
76
+ * // radio: "STRING_VALUE",
77
+ * // remoteAccessEnabled: true || false,
78
+ * // remoteDebugEnabled: true || false,
79
+ * // fleetType: "STRING_VALUE",
80
+ * // fleetName: "STRING_VALUE",
81
+ * // instances: [ // DeviceInstances
82
+ * // { // DeviceInstance
83
+ * // arn: "STRING_VALUE",
84
+ * // deviceArn: "STRING_VALUE",
85
+ * // labels: [ // InstanceLabels
86
+ * // "STRING_VALUE",
87
+ * // ],
88
+ * // status: "IN_USE" || "PREPARING" || "AVAILABLE" || "NOT_AVAILABLE",
89
+ * // udid: "STRING_VALUE",
90
+ * // instanceProfile: { // InstanceProfile
91
+ * // arn: "STRING_VALUE",
92
+ * // packageCleanup: true || false,
93
+ * // excludeAppPackagesFromCleanup: [ // PackageIds
94
+ * // "STRING_VALUE",
95
+ * // ],
96
+ * // rebootAfterUse: true || false,
97
+ * // name: "STRING_VALUE",
98
+ * // description: "STRING_VALUE",
99
+ * // },
100
+ * // },
101
+ * // ],
102
+ * // availability: "TEMPORARY_NOT_AVAILABLE" || "BUSY" || "AVAILABLE" || "HIGHLY_AVAILABLE",
103
+ * // },
104
+ * // instanceArn: "STRING_VALUE",
105
+ * // deviceMinutes: { // DeviceMinutes
106
+ * // total: Number("double"),
107
+ * // metered: Number("double"),
108
+ * // unmetered: Number("double"),
109
+ * // },
110
+ * // videoEndpoint: "STRING_VALUE",
111
+ * // videoCapture: true || false,
112
+ * // },
113
+ * // };
114
+ *
34
115
  * ```
35
116
  *
36
117
  * @param GetJobCommandInput - {@link GetJobCommandInput}
@@ -51,6 +132,8 @@ export interface GetJobCommandOutput extends GetJobResult, __MetadataBearer {
51
132
  * @throws {@link ServiceAccountException} (client fault)
52
133
  * <p>There was a problem with the service account.</p>
53
134
  *
135
+ * @throws {@link DeviceFarmServiceException}
136
+ * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
54
137
  *
55
138
  * @example To get information about a job
56
139
  * ```javascript
@@ -31,6 +31,23 @@ export interface GetNetworkProfileCommandOutput extends GetNetworkProfileResult,
31
31
  * };
32
32
  * const command = new GetNetworkProfileCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetNetworkProfileResult
35
+ * // networkProfile: { // NetworkProfile
36
+ * // arn: "STRING_VALUE",
37
+ * // name: "STRING_VALUE",
38
+ * // description: "STRING_VALUE",
39
+ * // type: "CURATED" || "PRIVATE",
40
+ * // uplinkBandwidthBits: Number("long"),
41
+ * // downlinkBandwidthBits: Number("long"),
42
+ * // uplinkDelayMs: Number("long"),
43
+ * // downlinkDelayMs: Number("long"),
44
+ * // uplinkJitterMs: Number("long"),
45
+ * // downlinkJitterMs: Number("long"),
46
+ * // uplinkLossPercent: Number("int"),
47
+ * // downlinkLossPercent: Number("int"),
48
+ * // },
49
+ * // };
50
+ *
34
51
  * ```
35
52
  *
36
53
  * @param GetNetworkProfileCommandInput - {@link GetNetworkProfileCommandInput}
@@ -51,6 +68,8 @@ export interface GetNetworkProfileCommandOutput extends GetNetworkProfileResult,
51
68
  * @throws {@link ServiceAccountException} (client fault)
52
69
  * <p>There was a problem with the service account.</p>
53
70
  *
71
+ * @throws {@link DeviceFarmServiceException}
72
+ * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
54
73
  *
55
74
  */
56
75
  export declare class GetNetworkProfileCommand extends $Command<GetNetworkProfileCommandInput, GetNetworkProfileCommandOutput, DeviceFarmClientResolvedConfig> {
@@ -34,6 +34,54 @@ export interface GetOfferingStatusCommandOutput extends GetOfferingStatusResult,
34
34
  * };
35
35
  * const command = new GetOfferingStatusCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // GetOfferingStatusResult
38
+ * // current: { // OfferingStatusMap
39
+ * // "<keys>": { // 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
+ * // },
60
+ * // nextPeriod: {
61
+ * // "<keys>": {
62
+ * // type: "PURCHASE" || "RENEW" || "SYSTEM",
63
+ * // offering: {
64
+ * // id: "STRING_VALUE",
65
+ * // description: "STRING_VALUE",
66
+ * // type: "RECURRING",
67
+ * // platform: "ANDROID" || "IOS",
68
+ * // recurringCharges: [
69
+ * // {
70
+ * // cost: {
71
+ * // amount: Number("double"),
72
+ * // currencyCode: "USD",
73
+ * // },
74
+ * // frequency: "MONTHLY",
75
+ * // },
76
+ * // ],
77
+ * // },
78
+ * // quantity: Number("int"),
79
+ * // effectiveOn: new Date("TIMESTAMP"),
80
+ * // },
81
+ * // },
82
+ * // nextToken: "STRING_VALUE",
83
+ * // };
84
+ *
37
85
  * ```
38
86
  *
39
87
  * @param GetOfferingStatusCommandInput - {@link GetOfferingStatusCommandInput}
@@ -58,6 +106,8 @@ export interface GetOfferingStatusCommandOutput extends GetOfferingStatusResult,
58
106
  * @throws {@link ServiceAccountException} (client fault)
59
107
  * <p>There was a problem with the service account.</p>
60
108
  *
109
+ * @throws {@link DeviceFarmServiceException}
110
+ * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
61
111
  *
62
112
  * @example To get status information about device offerings
63
113
  * ```javascript
@@ -31,6 +31,24 @@ export interface GetProjectCommandOutput extends GetProjectResult, __MetadataBea
31
31
  * };
32
32
  * const command = new GetProjectCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetProjectResult
35
+ * // project: { // Project
36
+ * // arn: "STRING_VALUE",
37
+ * // name: "STRING_VALUE",
38
+ * // defaultJobTimeoutMinutes: Number("int"),
39
+ * // created: new Date("TIMESTAMP"),
40
+ * // vpcConfig: { // VpcConfig
41
+ * // securityGroupIds: [ // VpcSecurityGroupIds // required
42
+ * // "STRING_VALUE",
43
+ * // ],
44
+ * // subnetIds: [ // VpcSubnetIds // required
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // vpcId: "STRING_VALUE", // required
48
+ * // },
49
+ * // },
50
+ * // };
51
+ *
34
52
  * ```
35
53
  *
36
54
  * @param GetProjectCommandInput - {@link GetProjectCommandInput}
@@ -51,6 +69,8 @@ export interface GetProjectCommandOutput extends GetProjectResult, __MetadataBea
51
69
  * @throws {@link ServiceAccountException} (client fault)
52
70
  * <p>There was a problem with the service account.</p>
53
71
  *
72
+ * @throws {@link DeviceFarmServiceException}
73
+ * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
54
74
  *
55
75
  * @example To get information about a project
56
76
  * ```javascript
@@ -31,6 +31,94 @@ export interface GetRemoteAccessSessionCommandOutput extends GetRemoteAccessSess
31
31
  * };
32
32
  * const command = new GetRemoteAccessSessionCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetRemoteAccessSessionResult
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 GetRemoteAccessSessionCommandInput - {@link GetRemoteAccessSessionCommandInput}
@@ -51,6 +139,8 @@ export interface GetRemoteAccessSessionCommandOutput extends GetRemoteAccessSess
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
  * @example To get a remote access session
56
146
  * ```javascript