@aws-sdk/client-device-farm 3.523.0 → 3.529.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 (111) hide show
  1. package/dist-cjs/index.js +80 -120
  2. package/dist-es/protocols/Aws_json1_1.js +1 -40
  3. package/package.json +17 -17
  4. package/dist-cjs/DeviceFarm.js +0 -1
  5. package/dist-cjs/DeviceFarmClient.js +0 -1
  6. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
  7. package/dist-cjs/commands/CreateDevicePoolCommand.js +0 -1
  8. package/dist-cjs/commands/CreateInstanceProfileCommand.js +0 -1
  9. package/dist-cjs/commands/CreateNetworkProfileCommand.js +0 -1
  10. package/dist-cjs/commands/CreateProjectCommand.js +0 -1
  11. package/dist-cjs/commands/CreateRemoteAccessSessionCommand.js +0 -1
  12. package/dist-cjs/commands/CreateTestGridProjectCommand.js +0 -1
  13. package/dist-cjs/commands/CreateTestGridUrlCommand.js +0 -1
  14. package/dist-cjs/commands/CreateUploadCommand.js +0 -1
  15. package/dist-cjs/commands/CreateVPCEConfigurationCommand.js +0 -1
  16. package/dist-cjs/commands/DeleteDevicePoolCommand.js +0 -1
  17. package/dist-cjs/commands/DeleteInstanceProfileCommand.js +0 -1
  18. package/dist-cjs/commands/DeleteNetworkProfileCommand.js +0 -1
  19. package/dist-cjs/commands/DeleteProjectCommand.js +0 -1
  20. package/dist-cjs/commands/DeleteRemoteAccessSessionCommand.js +0 -1
  21. package/dist-cjs/commands/DeleteRunCommand.js +0 -1
  22. package/dist-cjs/commands/DeleteTestGridProjectCommand.js +0 -1
  23. package/dist-cjs/commands/DeleteUploadCommand.js +0 -1
  24. package/dist-cjs/commands/DeleteVPCEConfigurationCommand.js +0 -1
  25. package/dist-cjs/commands/GetAccountSettingsCommand.js +0 -1
  26. package/dist-cjs/commands/GetDeviceCommand.js +0 -1
  27. package/dist-cjs/commands/GetDeviceInstanceCommand.js +0 -1
  28. package/dist-cjs/commands/GetDevicePoolCommand.js +0 -1
  29. package/dist-cjs/commands/GetDevicePoolCompatibilityCommand.js +0 -1
  30. package/dist-cjs/commands/GetInstanceProfileCommand.js +0 -1
  31. package/dist-cjs/commands/GetJobCommand.js +0 -1
  32. package/dist-cjs/commands/GetNetworkProfileCommand.js +0 -1
  33. package/dist-cjs/commands/GetOfferingStatusCommand.js +0 -1
  34. package/dist-cjs/commands/GetProjectCommand.js +0 -1
  35. package/dist-cjs/commands/GetRemoteAccessSessionCommand.js +0 -1
  36. package/dist-cjs/commands/GetRunCommand.js +0 -1
  37. package/dist-cjs/commands/GetSuiteCommand.js +0 -1
  38. package/dist-cjs/commands/GetTestCommand.js +0 -1
  39. package/dist-cjs/commands/GetTestGridProjectCommand.js +0 -1
  40. package/dist-cjs/commands/GetTestGridSessionCommand.js +0 -1
  41. package/dist-cjs/commands/GetUploadCommand.js +0 -1
  42. package/dist-cjs/commands/GetVPCEConfigurationCommand.js +0 -1
  43. package/dist-cjs/commands/InstallToRemoteAccessSessionCommand.js +0 -1
  44. package/dist-cjs/commands/ListArtifactsCommand.js +0 -1
  45. package/dist-cjs/commands/ListDeviceInstancesCommand.js +0 -1
  46. package/dist-cjs/commands/ListDevicePoolsCommand.js +0 -1
  47. package/dist-cjs/commands/ListDevicesCommand.js +0 -1
  48. package/dist-cjs/commands/ListInstanceProfilesCommand.js +0 -1
  49. package/dist-cjs/commands/ListJobsCommand.js +0 -1
  50. package/dist-cjs/commands/ListNetworkProfilesCommand.js +0 -1
  51. package/dist-cjs/commands/ListOfferingPromotionsCommand.js +0 -1
  52. package/dist-cjs/commands/ListOfferingTransactionsCommand.js +0 -1
  53. package/dist-cjs/commands/ListOfferingsCommand.js +0 -1
  54. package/dist-cjs/commands/ListProjectsCommand.js +0 -1
  55. package/dist-cjs/commands/ListRemoteAccessSessionsCommand.js +0 -1
  56. package/dist-cjs/commands/ListRunsCommand.js +0 -1
  57. package/dist-cjs/commands/ListSamplesCommand.js +0 -1
  58. package/dist-cjs/commands/ListSuitesCommand.js +0 -1
  59. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  60. package/dist-cjs/commands/ListTestGridProjectsCommand.js +0 -1
  61. package/dist-cjs/commands/ListTestGridSessionActionsCommand.js +0 -1
  62. package/dist-cjs/commands/ListTestGridSessionArtifactsCommand.js +0 -1
  63. package/dist-cjs/commands/ListTestGridSessionsCommand.js +0 -1
  64. package/dist-cjs/commands/ListTestsCommand.js +0 -1
  65. package/dist-cjs/commands/ListUniqueProblemsCommand.js +0 -1
  66. package/dist-cjs/commands/ListUploadsCommand.js +0 -1
  67. package/dist-cjs/commands/ListVPCEConfigurationsCommand.js +0 -1
  68. package/dist-cjs/commands/PurchaseOfferingCommand.js +0 -1
  69. package/dist-cjs/commands/RenewOfferingCommand.js +0 -1
  70. package/dist-cjs/commands/ScheduleRunCommand.js +0 -1
  71. package/dist-cjs/commands/StopJobCommand.js +0 -1
  72. package/dist-cjs/commands/StopRemoteAccessSessionCommand.js +0 -1
  73. package/dist-cjs/commands/StopRunCommand.js +0 -1
  74. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  75. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  76. package/dist-cjs/commands/UpdateDeviceInstanceCommand.js +0 -1
  77. package/dist-cjs/commands/UpdateDevicePoolCommand.js +0 -1
  78. package/dist-cjs/commands/UpdateInstanceProfileCommand.js +0 -1
  79. package/dist-cjs/commands/UpdateNetworkProfileCommand.js +0 -1
  80. package/dist-cjs/commands/UpdateProjectCommand.js +0 -1
  81. package/dist-cjs/commands/UpdateTestGridProjectCommand.js +0 -1
  82. package/dist-cjs/commands/UpdateUploadCommand.js +0 -1
  83. package/dist-cjs/commands/UpdateVPCEConfigurationCommand.js +0 -1
  84. package/dist-cjs/commands/index.js +0 -1
  85. package/dist-cjs/endpoint/EndpointParameters.js +0 -1
  86. package/dist-cjs/extensionConfiguration.js +0 -1
  87. package/dist-cjs/models/DeviceFarmServiceException.js +0 -1
  88. package/dist-cjs/models/index.js +0 -1
  89. package/dist-cjs/models/models_0.js +0 -1
  90. package/dist-cjs/pagination/GetOfferingStatusPaginator.js +0 -1
  91. package/dist-cjs/pagination/Interfaces.js +0 -1
  92. package/dist-cjs/pagination/ListArtifactsPaginator.js +0 -1
  93. package/dist-cjs/pagination/ListDevicePoolsPaginator.js +0 -1
  94. package/dist-cjs/pagination/ListDevicesPaginator.js +0 -1
  95. package/dist-cjs/pagination/ListJobsPaginator.js +0 -1
  96. package/dist-cjs/pagination/ListOfferingTransactionsPaginator.js +0 -1
  97. package/dist-cjs/pagination/ListOfferingsPaginator.js +0 -1
  98. package/dist-cjs/pagination/ListProjectsPaginator.js +0 -1
  99. package/dist-cjs/pagination/ListRunsPaginator.js +0 -1
  100. package/dist-cjs/pagination/ListSamplesPaginator.js +0 -1
  101. package/dist-cjs/pagination/ListSuitesPaginator.js +0 -1
  102. package/dist-cjs/pagination/ListTestGridProjectsPaginator.js +0 -1
  103. package/dist-cjs/pagination/ListTestGridSessionActionsPaginator.js +0 -1
  104. package/dist-cjs/pagination/ListTestGridSessionArtifactsPaginator.js +0 -1
  105. package/dist-cjs/pagination/ListTestGridSessionsPaginator.js +0 -1
  106. package/dist-cjs/pagination/ListTestsPaginator.js +0 -1
  107. package/dist-cjs/pagination/ListUniqueProblemsPaginator.js +0 -1
  108. package/dist-cjs/pagination/ListUploadsPaginator.js +0 -1
  109. package/dist-cjs/pagination/index.js +0 -1
  110. package/dist-cjs/protocols/Aws_json1_1.js +0 -1
  111. package/dist-cjs/runtimeExtensions.js +0 -1
@@ -1,3 +1,4 @@
1
+ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
1
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
4
  import { DeviceFarmServiceException as __BaseException } from "../models/DeviceFarmServiceException";
@@ -2378,43 +2379,3 @@ function sharedHeaders(operation) {
2378
2379
  "x-amz-target": `DeviceFarm_20150623.${operation}`,
2379
2380
  };
2380
2381
  }
2381
- const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
2382
- if (encoded.length) {
2383
- return JSON.parse(encoded);
2384
- }
2385
- return {};
2386
- });
2387
- const parseErrorBody = async (errorBody, context) => {
2388
- const value = await parseBody(errorBody, context);
2389
- value.message = value.message ?? value.Message;
2390
- return value;
2391
- };
2392
- const loadRestJsonErrorCode = (output, data) => {
2393
- const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
2394
- const sanitizeErrorCode = (rawValue) => {
2395
- let cleanValue = rawValue;
2396
- if (typeof cleanValue === "number") {
2397
- cleanValue = cleanValue.toString();
2398
- }
2399
- if (cleanValue.indexOf(",") >= 0) {
2400
- cleanValue = cleanValue.split(",")[0];
2401
- }
2402
- if (cleanValue.indexOf(":") >= 0) {
2403
- cleanValue = cleanValue.split(":")[0];
2404
- }
2405
- if (cleanValue.indexOf("#") >= 0) {
2406
- cleanValue = cleanValue.split("#")[1];
2407
- }
2408
- return cleanValue;
2409
- };
2410
- const headerKey = findKey(output.headers, "x-amzn-errortype");
2411
- if (headerKey !== undefined) {
2412
- return sanitizeErrorCode(output.headers[headerKey]);
2413
- }
2414
- if (data.code !== undefined) {
2415
- return sanitizeErrorCode(data.code);
2416
- }
2417
- if (data["__type"] !== undefined) {
2418
- return sanitizeErrorCode(data["__type"]);
2419
- }
2420
- };
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.523.0",
4
+ "version": "3.529.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,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.523.0",
24
- "@aws-sdk/core": "3.523.0",
25
- "@aws-sdk/credential-provider-node": "3.523.0",
23
+ "@aws-sdk/client-sts": "3.529.0",
24
+ "@aws-sdk/core": "3.529.0",
25
+ "@aws-sdk/credential-provider-node": "3.529.0",
26
26
  "@aws-sdk/middleware-host-header": "3.523.0",
27
27
  "@aws-sdk/middleware-logger": "3.523.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
- "@aws-sdk/middleware-user-agent": "3.523.0",
30
- "@aws-sdk/region-config-resolver": "3.523.0",
29
+ "@aws-sdk/middleware-user-agent": "3.525.0",
30
+ "@aws-sdk/region-config-resolver": "3.525.0",
31
31
  "@aws-sdk/types": "3.523.0",
32
- "@aws-sdk/util-endpoints": "3.523.0",
32
+ "@aws-sdk/util-endpoints": "3.525.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.523.0",
34
- "@aws-sdk/util-user-agent-node": "3.523.0",
35
- "@smithy/config-resolver": "^2.1.3",
36
- "@smithy/core": "^1.3.4",
34
+ "@aws-sdk/util-user-agent-node": "3.525.0",
35
+ "@smithy/config-resolver": "^2.1.4",
36
+ "@smithy/core": "^1.3.5",
37
37
  "@smithy/fetch-http-handler": "^2.4.3",
38
38
  "@smithy/hash-node": "^2.1.3",
39
39
  "@smithy/invalid-dependency": "^2.1.3",
40
40
  "@smithy/middleware-content-length": "^2.1.3",
41
- "@smithy/middleware-endpoint": "^2.4.3",
42
- "@smithy/middleware-retry": "^2.1.3",
41
+ "@smithy/middleware-endpoint": "^2.4.4",
42
+ "@smithy/middleware-retry": "^2.1.4",
43
43
  "@smithy/middleware-serde": "^2.1.3",
44
44
  "@smithy/middleware-stack": "^2.1.3",
45
- "@smithy/node-config-provider": "^2.2.3",
45
+ "@smithy/node-config-provider": "^2.2.4",
46
46
  "@smithy/node-http-handler": "^2.4.1",
47
47
  "@smithy/protocol-http": "^3.2.1",
48
- "@smithy/smithy-client": "^2.4.1",
48
+ "@smithy/smithy-client": "^2.4.2",
49
49
  "@smithy/types": "^2.10.1",
50
50
  "@smithy/url-parser": "^2.1.3",
51
51
  "@smithy/util-base64": "^2.1.1",
52
52
  "@smithy/util-body-length-browser": "^2.1.1",
53
53
  "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.3",
55
- "@smithy/util-defaults-mode-node": "^2.2.2",
56
- "@smithy/util-endpoints": "^1.1.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.1.4",
55
+ "@smithy/util-defaults-mode-node": "^2.2.3",
56
+ "@smithy/util-endpoints": "^1.1.4",
57
57
  "@smithy/util-middleware": "^2.1.3",
58
58
  "@smithy/util-retry": "^2.1.3",
59
59
  "@smithy/util-utf8": "^2.1.1",
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");