@aws-sdk/client-device-farm 3.774.0 → 3.777.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/DeviceFarmClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/CreateDevicePoolCommand.d.ts +8 -8
  8. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +1 -0
  9. package/dist-types/commands/CreateNetworkProfileCommand.d.ts +1 -0
  10. package/dist-types/commands/CreateProjectCommand.d.ts +1 -20
  11. package/dist-types/commands/CreateRemoteAccessSessionCommand.d.ts +9 -9
  12. package/dist-types/commands/CreateTestGridProjectCommand.d.ts +1 -0
  13. package/dist-types/commands/CreateTestGridUrlCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateUploadCommand.d.ts +1 -25
  15. package/dist-types/commands/CreateVPCEConfigurationCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteDevicePoolCommand.d.ts +7 -4
  17. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +1 -0
  18. package/dist-types/commands/DeleteNetworkProfileCommand.d.ts +1 -0
  19. package/dist-types/commands/DeleteProjectCommand.d.ts +7 -4
  20. package/dist-types/commands/DeleteRemoteAccessSessionCommand.d.ts +7 -4
  21. package/dist-types/commands/DeleteRunCommand.d.ts +7 -4
  22. package/dist-types/commands/DeleteTestGridProjectCommand.d.ts +1 -0
  23. package/dist-types/commands/DeleteUploadCommand.d.ts +7 -4
  24. package/dist-types/commands/DeleteVPCEConfigurationCommand.d.ts +1 -0
  25. package/dist-types/commands/GetAccountSettingsCommand.d.ts +9 -9
  26. package/dist-types/commands/GetDeviceCommand.d.ts +22 -22
  27. package/dist-types/commands/GetDeviceInstanceCommand.d.ts +1 -0
  28. package/dist-types/commands/GetDevicePoolCommand.d.ts +5 -5
  29. package/dist-types/commands/GetDevicePoolCompatibilityCommand.d.ts +8 -8
  30. package/dist-types/commands/GetInstanceProfileCommand.d.ts +1 -0
  31. package/dist-types/commands/GetJobCommand.d.ts +5 -5
  32. package/dist-types/commands/GetNetworkProfileCommand.d.ts +1 -0
  33. package/dist-types/commands/GetOfferingStatusCommand.d.ts +1 -38
  34. package/dist-types/commands/GetProjectCommand.d.ts +1 -20
  35. package/dist-types/commands/GetRemoteAccessSessionCommand.d.ts +5 -5
  36. package/dist-types/commands/GetRunCommand.d.ts +1 -40
  37. package/dist-types/commands/GetSuiteCommand.d.ts +5 -5
  38. package/dist-types/commands/GetTestCommand.d.ts +5 -5
  39. package/dist-types/commands/GetTestGridProjectCommand.d.ts +1 -0
  40. package/dist-types/commands/GetTestGridSessionCommand.d.ts +1 -0
  41. package/dist-types/commands/GetUploadCommand.d.ts +5 -5
  42. package/dist-types/commands/GetVPCEConfigurationCommand.d.ts +1 -0
  43. package/dist-types/commands/InstallToRemoteAccessSessionCommand.d.ts +6 -6
  44. package/dist-types/commands/ListArtifactsCommand.d.ts +8 -5
  45. package/dist-types/commands/ListDeviceInstancesCommand.d.ts +1 -0
  46. package/dist-types/commands/ListDevicePoolsCommand.d.ts +20 -20
  47. package/dist-types/commands/ListDevicesCommand.d.ts +7 -4
  48. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
  49. package/dist-types/commands/ListJobsCommand.d.ts +7 -4
  50. package/dist-types/commands/ListNetworkProfilesCommand.d.ts +1 -0
  51. package/dist-types/commands/ListOfferingPromotionsCommand.d.ts +1 -0
  52. package/dist-types/commands/ListOfferingTransactionsCommand.d.ts +1 -93
  53. package/dist-types/commands/ListOfferingsCommand.d.ts +45 -45
  54. package/dist-types/commands/ListProjectsCommand.d.ts +1 -28
  55. package/dist-types/commands/ListRemoteAccessSessionsCommand.d.ts +6 -6
  56. package/dist-types/commands/ListRunsCommand.d.ts +1 -43
  57. package/dist-types/commands/ListSamplesCommand.d.ts +6 -6
  58. package/dist-types/commands/ListSuitesCommand.d.ts +6 -6
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  60. package/dist-types/commands/ListTestGridProjectsCommand.d.ts +1 -0
  61. package/dist-types/commands/ListTestGridSessionActionsCommand.d.ts +1 -0
  62. package/dist-types/commands/ListTestGridSessionArtifactsCommand.d.ts +1 -0
  63. package/dist-types/commands/ListTestGridSessionsCommand.d.ts +1 -0
  64. package/dist-types/commands/ListTestsCommand.d.ts +6 -6
  65. package/dist-types/commands/ListUniqueProblemsCommand.d.ts +6 -6
  66. package/dist-types/commands/ListUploadsCommand.d.ts +6 -6
  67. package/dist-types/commands/ListVPCEConfigurationsCommand.d.ts +1 -0
  68. package/dist-types/commands/PurchaseOfferingCommand.d.ts +1 -35
  69. package/dist-types/commands/RenewOfferingCommand.d.ts +1 -35
  70. package/dist-types/commands/ScheduleRunCommand.d.ts +10 -10
  71. package/dist-types/commands/StopJobCommand.d.ts +1 -0
  72. package/dist-types/commands/StopRemoteAccessSessionCommand.d.ts +1 -0
  73. package/dist-types/commands/StopRunCommand.d.ts +5 -5
  74. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  75. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  76. package/dist-types/commands/UpdateDeviceInstanceCommand.d.ts +1 -0
  77. package/dist-types/commands/UpdateDevicePoolCommand.d.ts +11 -11
  78. package/dist-types/commands/UpdateInstanceProfileCommand.d.ts +1 -0
  79. package/dist-types/commands/UpdateNetworkProfileCommand.d.ts +1 -0
  80. package/dist-types/commands/UpdateProjectCommand.d.ts +1 -21
  81. package/dist-types/commands/UpdateTestGridProjectCommand.d.ts +1 -0
  82. package/dist-types/commands/UpdateUploadCommand.d.ts +1 -0
  83. package/dist-types/commands/UpdateVPCEConfigurationCommand.d.ts +1 -0
  84. package/package.json +33 -33
@@ -237,29 +237,29 @@ declare const ScheduleRunCommand_base: {
237
237
  * @throws {@link DeviceFarmServiceException}
238
238
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
239
239
  *
240
- * @public
240
+ *
241
241
  * @example To schedule a test run
242
242
  * ```javascript
243
243
  * // The following example schedules a test run named MyRun.
244
244
  * const input = {
245
- * "name": "MyRun",
246
- * "devicePoolArn": "arn:aws:devicefarm:us-west-2:123456789101:pool:EXAMPLE-GUID-123-456",
247
- * "projectArn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456",
248
- * "test": {
249
- * "type": "APPIUM_JAVA_JUNIT",
250
- * "testPackageArn": "arn:aws:devicefarm:us-west-2:123456789101:test:EXAMPLE-GUID-123-456"
245
+ * devicePoolArn: "arn:aws:devicefarm:us-west-2:123456789101:pool:EXAMPLE-GUID-123-456",
246
+ * name: "MyRun",
247
+ * projectArn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456",
248
+ * test: {
249
+ * testPackageArn: "arn:aws:devicefarm:us-west-2:123456789101:test:EXAMPLE-GUID-123-456",
250
+ * type: "APPIUM_JAVA_JUNIT"
251
251
  * }
252
252
  * };
253
253
  * const command = new ScheduleRunCommand(input);
254
254
  * const response = await client.send(command);
255
- * /* response ==
255
+ * /* response is
256
256
  * {
257
- * "run": {}
257
+ * run: { /* empty *\/ }
258
258
  * }
259
259
  * *\/
260
- * // example id: to-schedule-a-test-run-1472652429636
261
260
  * ```
262
261
  *
262
+ * @public
263
263
  */
264
264
  export declare class ScheduleRunCommand extends ScheduleRunCommand_base {
265
265
  /** @internal type navigation helper, not in runtime. */
@@ -146,6 +146,7 @@ declare const StopJobCommand_base: {
146
146
  * @throws {@link DeviceFarmServiceException}
147
147
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
148
148
  *
149
+ *
149
150
  * @public
150
151
  */
151
152
  export declare class StopJobCommand extends StopJobCommand_base {
@@ -154,6 +154,7 @@ declare const StopRemoteAccessSessionCommand_base: {
154
154
  * @throws {@link DeviceFarmServiceException}
155
155
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
156
156
  *
157
+ *
157
158
  * @public
158
159
  */
159
160
  export declare class StopRemoteAccessSessionCommand extends StopRemoteAccessSessionCommand_base {
@@ -169,23 +169,23 @@ declare const StopRunCommand_base: {
169
169
  * @throws {@link DeviceFarmServiceException}
170
170
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
171
171
  *
172
- * @public
172
+ *
173
173
  * @example To stop a test run
174
174
  * ```javascript
175
175
  * // The following example stops a specific test run.
176
176
  * const input = {
177
- * "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456"
177
+ * arn: "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456"
178
178
  * };
179
179
  * const command = new StopRunCommand(input);
180
180
  * const response = await client.send(command);
181
- * /* response ==
181
+ * /* response is
182
182
  * {
183
- * "run": {}
183
+ * run: { /* empty *\/ }
184
184
  * }
185
185
  * *\/
186
- * // example id: to-stop-a-test-run-1472653770340
187
186
  * ```
188
187
  *
188
+ * @public
189
189
  */
190
190
  export declare class StopRunCommand extends StopRunCommand_base {
191
191
  /** @internal type navigation helper, not in runtime. */
@@ -77,6 +77,7 @@ declare const TagResourceCommand_base: {
77
77
  * @throws {@link DeviceFarmServiceException}
78
78
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
79
79
  *
80
+ *
80
81
  * @public
81
82
  */
82
83
  export declare class TagResourceCommand extends TagResourceCommand_base {
@@ -64,6 +64,7 @@ declare const UntagResourceCommand_base: {
64
64
  * @throws {@link DeviceFarmServiceException}
65
65
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
66
66
  *
67
+ *
67
68
  * @public
68
69
  */
69
70
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
@@ -88,6 +88,7 @@ declare const UpdateDeviceInstanceCommand_base: {
88
88
  * @throws {@link DeviceFarmServiceException}
89
89
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
90
90
  *
91
+ *
91
92
  * @public
92
93
  */
93
94
  export declare class UpdateDeviceInstanceCommand extends UpdateDeviceInstanceCommand_base {
@@ -92,32 +92,32 @@ declare const UpdateDevicePoolCommand_base: {
92
92
  * @throws {@link DeviceFarmServiceException}
93
93
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
94
94
  *
95
- * @public
95
+ *
96
96
  * @example To update a device pool
97
97
  * ```javascript
98
98
  * // The following example updates the specified device pool with a new name and description. It also enables remote access of devices in the device pool.
99
99
  * const input = {
100
- * "name": "NewName",
101
- * "arn": "arn:aws:devicefarm:us-west-2::devicepool:082d10e5-d7d7-48a5-ba5c-12345EXAMPLE",
102
- * "description": "NewDescription",
103
- * "rules": [
100
+ * arn: "arn:aws:devicefarm:us-west-2::devicepool:082d10e5-d7d7-48a5-ba5c-12345EXAMPLE",
101
+ * description: "NewDescription",
102
+ * name: "NewName",
103
+ * rules: [
104
104
  * {
105
- * "value": "True",
106
- * "attribute": "REMOTE_ACCESS_ENABLED",
107
- * "operator": "EQUALS"
105
+ * attribute: "REMOTE_ACCESS_ENABLED",
106
+ * operator: "EQUALS",
107
+ * value: "True"
108
108
  * }
109
109
  * ]
110
110
  * };
111
111
  * const command = new UpdateDevicePoolCommand(input);
112
112
  * const response = await client.send(command);
113
- * /* response ==
113
+ * /* response is
114
114
  * {
115
- * "devicePool": {}
115
+ * devicePool: { /* empty *\/ }
116
116
  * }
117
117
  * *\/
118
- * // example id: to-update-a-device-pool-1472653887677
119
118
  * ```
120
119
  *
120
+ * @public
121
121
  */
122
122
  export declare class UpdateDevicePoolCommand extends UpdateDevicePoolCommand_base {
123
123
  /** @internal type navigation helper, not in runtime. */
@@ -82,6 +82,7 @@ declare const UpdateInstanceProfileCommand_base: {
82
82
  * @throws {@link DeviceFarmServiceException}
83
83
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
84
84
  *
85
+ *
85
86
  * @public
86
87
  */
87
88
  export declare class UpdateInstanceProfileCommand extends UpdateInstanceProfileCommand_base {
@@ -90,6 +90,7 @@ declare const UpdateNetworkProfileCommand_base: {
90
90
  * @throws {@link DeviceFarmServiceException}
91
91
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
92
92
  *
93
+ *
93
94
  * @public
94
95
  */
95
96
  export declare class UpdateNetworkProfileCommand extends UpdateNetworkProfileCommand_base {
@@ -92,28 +92,8 @@ declare const UpdateProjectCommand_base: {
92
92
  * @throws {@link DeviceFarmServiceException}
93
93
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
94
94
  *
95
- * @public
96
- * @example To update a device pool
97
- * ```javascript
98
- * // The following example updates the specified project with a new name.
99
- * const input = {
100
- * "name": "NewName",
101
- * "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:8f75187d-101e-4625-accc-12345EXAMPLE"
102
- * };
103
- * const command = new UpdateProjectCommand(input);
104
- * const response = await client.send(command);
105
- * /* response ==
106
- * {
107
- * "project": {
108
- * "name": "NewName",
109
- * "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:8f75187d-101e-4625-accc-12345EXAMPLE",
110
- * "created": "1448400709.927"
111
- * }
112
- * }
113
- * *\/
114
- * // example id: to-update-a-device-pool-1472653887677
115
- * ```
116
95
  *
96
+ * @public
117
97
  */
118
98
  export declare class UpdateProjectCommand extends UpdateProjectCommand_base {
119
99
  /** @internal type navigation helper, not in runtime. */
@@ -92,6 +92,7 @@ declare const UpdateTestGridProjectCommand_base: {
92
92
  * @throws {@link DeviceFarmServiceException}
93
93
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
94
94
  *
95
+ *
95
96
  * @public
96
97
  */
97
98
  export declare class UpdateTestGridProjectCommand extends UpdateTestGridProjectCommand_base {
@@ -80,6 +80,7 @@ declare const UpdateUploadCommand_base: {
80
80
  * @throws {@link DeviceFarmServiceException}
81
81
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
82
82
  *
83
+ *
83
84
  * @public
84
85
  */
85
86
  export declare class UpdateUploadCommand extends UpdateUploadCommand_base {
@@ -77,6 +77,7 @@ declare const UpdateVPCEConfigurationCommand_base: {
77
77
  * @throws {@link DeviceFarmServiceException}
78
78
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
79
79
  *
80
+ *
80
81
  * @public
81
82
  */
82
83
  export declare class UpdateVPCEConfigurationCommand extends UpdateVPCEConfigurationCommand_base {
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.774.0",
4
+ "version": "3.777.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-device-farm",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.774.0",
24
- "@aws-sdk/credential-provider-node": "3.774.0",
25
- "@aws-sdk/middleware-host-header": "3.774.0",
26
- "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
- "@aws-sdk/middleware-user-agent": "3.774.0",
29
- "@aws-sdk/region-config-resolver": "3.734.0",
30
- "@aws-sdk/types": "3.734.0",
31
- "@aws-sdk/util-endpoints": "3.743.0",
32
- "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.774.0",
34
- "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.5",
36
- "@smithy/fetch-http-handler": "^5.0.1",
37
- "@smithy/hash-node": "^4.0.1",
38
- "@smithy/invalid-dependency": "^4.0.1",
39
- "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.6",
41
- "@smithy/middleware-retry": "^4.0.7",
42
- "@smithy/middleware-serde": "^4.0.2",
43
- "@smithy/middleware-stack": "^4.0.1",
44
- "@smithy/node-config-provider": "^4.0.1",
45
- "@smithy/node-http-handler": "^4.0.3",
46
- "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.6",
48
- "@smithy/types": "^4.1.0",
49
- "@smithy/url-parser": "^4.0.1",
23
+ "@aws-sdk/core": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.777.0",
25
+ "@aws-sdk/middleware-host-header": "3.775.0",
26
+ "@aws-sdk/middleware-logger": "3.775.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.775.0",
29
+ "@aws-sdk/region-config-resolver": "3.775.0",
30
+ "@aws-sdk/types": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.775.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.775.0",
34
+ "@smithy/config-resolver": "^4.1.0",
35
+ "@smithy/core": "^3.2.0",
36
+ "@smithy/fetch-http-handler": "^5.0.2",
37
+ "@smithy/hash-node": "^4.0.2",
38
+ "@smithy/invalid-dependency": "^4.0.2",
39
+ "@smithy/middleware-content-length": "^4.0.2",
40
+ "@smithy/middleware-endpoint": "^4.1.0",
41
+ "@smithy/middleware-retry": "^4.1.0",
42
+ "@smithy/middleware-serde": "^4.0.3",
43
+ "@smithy/middleware-stack": "^4.0.2",
44
+ "@smithy/node-config-provider": "^4.0.2",
45
+ "@smithy/node-http-handler": "^4.0.4",
46
+ "@smithy/protocol-http": "^5.1.0",
47
+ "@smithy/smithy-client": "^4.2.0",
48
+ "@smithy/types": "^4.2.0",
49
+ "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.7",
54
- "@smithy/util-defaults-mode-node": "^4.0.7",
55
- "@smithy/util-endpoints": "^3.0.1",
56
- "@smithy/util-middleware": "^4.0.1",
57
- "@smithy/util-retry": "^4.0.1",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.8",
54
+ "@smithy/util-defaults-mode-node": "^4.0.8",
55
+ "@smithy/util-endpoints": "^3.0.2",
56
+ "@smithy/util-middleware": "^4.0.2",
57
+ "@smithy/util-retry": "^4.0.2",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
59
  "tslib": "^2.6.2"
60
60
  },