@aws-sdk/client-device-farm 3.43.0 → 3.47.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-device-farm
9
+
10
+
11
+
12
+
13
+
14
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
31
+
32
+
33
+ ### Features
34
+
35
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
36
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
37
+
38
+
39
+
40
+
41
+
42
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
43
+
44
+
45
+ ### Features
46
+
47
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
54
 
8
55
  **Note:** Version bump only for package @aws-sdk/client-device-farm
@@ -14,6 +14,7 @@ const partitionHash = {
14
14
  "ap-south-1",
15
15
  "ap-southeast-1",
16
16
  "ap-southeast-2",
17
+ "ap-southeast-3",
17
18
  "ca-central-1",
18
19
  "eu-central-1",
19
20
  "eu-north-1",
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateTestGridProjectResult = exports.TestGridProject = exports.CreateTestGridProjectRequest = exports.TestGridVpcConfig = exports.CreateRemoteAccessSessionResult = exports.RemoteAccessSession = exports.ExecutionStatus = exports.ExecutionResult = exports.DeviceMinutes = exports.Device = exports.Resolution = exports.DeviceInstance = exports.InstanceStatus = exports.DeviceFormFactor = exports.DeviceAvailability = exports.CreateRemoteAccessSessionRequest = exports.InteractionMode = exports.CreateRemoteAccessSessionConfiguration = exports.TagOperationException = exports.CreateProjectResult = exports.Project = exports.CreateProjectRequest = exports.CreateNetworkProfileResult = exports.NetworkProfile = exports.CreateNetworkProfileRequest = exports.NetworkProfileType = exports.CreateInstanceProfileResult = exports.InstanceProfile = exports.CreateInstanceProfileRequest = exports.ServiceAccountException = exports.NotFoundException = exports.LimitExceededException = exports.CreateDevicePoolResult = exports.DevicePool = exports.DevicePoolType = exports.CreateDevicePoolRequest = exports.Rule = exports.RuleOperator = exports.DeviceAttribute = exports.CPU = exports.Counters = exports.CannotDeleteException = exports.BillingMethod = exports.ArtifactCategory = exports.Artifact = exports.ArtifactType = exports.ArgumentException = exports.AccountSettings = exports.DevicePlatform = exports.TrialMinutes = void 0;
4
- exports.GetDevicePoolCompatibilityResult = exports.DevicePoolCompatibilityResult = exports.IncompatibilityMessage = exports.GetDevicePoolCompatibilityRequest = exports.ScheduleRunTest = exports.TestType = exports.ScheduleRunConfiguration = exports.Radios = exports.Location = exports.GetDevicePoolResult = exports.GetDevicePoolRequest = exports.GetDeviceInstanceResult = exports.GetDeviceInstanceRequest = exports.GetDeviceResult = exports.GetDeviceRequest = exports.GetAccountSettingsResult = exports.GetAccountSettingsRequest = exports.InvalidOperationException = exports.DeleteVPCEConfigurationResult = exports.DeleteVPCEConfigurationRequest = exports.DeleteUploadResult = exports.DeleteUploadRequest = exports.DeleteTestGridProjectResult = exports.DeleteTestGridProjectRequest = exports.DeleteRunResult = exports.DeleteRunRequest = exports.DeleteRemoteAccessSessionResult = exports.DeleteRemoteAccessSessionRequest = exports.DeleteProjectResult = exports.DeleteProjectRequest = exports.DeleteNetworkProfileResult = exports.DeleteNetworkProfileRequest = exports.DeleteInstanceProfileResult = exports.DeleteInstanceProfileRequest = exports.DeleteDevicePoolResult = exports.DeleteDevicePoolRequest = exports.CustomerArtifactPaths = exports.CurrencyCode = exports.CreateVPCEConfigurationResult = exports.VPCEConfiguration = exports.CreateVPCEConfigurationRequest = exports.CreateUploadResult = exports.Upload = exports.UploadStatus = exports.UploadCategory = exports.CreateUploadRequest = exports.UploadType = exports.CreateTestGridUrlResult = exports.CreateTestGridUrlRequest = exports.InternalServiceException = void 0;
5
- exports.ListDeviceInstancesResult = exports.ListDeviceInstancesRequest = exports.ListArtifactsResult = exports.ListArtifactsRequest = exports.InstallToRemoteAccessSessionResult = exports.InstallToRemoteAccessSessionRequest = exports.GetVPCEConfigurationResult = exports.GetVPCEConfigurationRequest = exports.GetUploadResult = exports.GetUploadRequest = exports.GetTestGridSessionResult = exports.TestGridSession = exports.TestGridSessionStatus = exports.GetTestGridSessionRequest = exports.GetTestGridProjectResult = exports.GetTestGridProjectRequest = exports.GetTestResult = exports.Test = exports.GetTestRequest = exports.GetSuiteResult = exports.Suite = exports.GetSuiteRequest = exports.GetRunResult = exports.Run = exports.ExecutionResultCode = exports.DeviceSelectionResult = exports.DeviceFilter = exports.DeviceFilterAttribute = exports.GetRunRequest = exports.GetRemoteAccessSessionResult = exports.GetRemoteAccessSessionRequest = exports.GetProjectResult = exports.GetProjectRequest = exports.NotEligibleException = exports.GetOfferingStatusResult = exports.OfferingStatus = exports.OfferingTransactionType = exports.Offering = exports.OfferingType = exports.RecurringCharge = exports.RecurringChargeFrequency = exports.MonetaryAmount = exports.GetOfferingStatusRequest = exports.GetNetworkProfileResult = exports.GetNetworkProfileRequest = exports.GetJobResult = exports.Job = exports.GetJobRequest = exports.GetInstanceProfileResult = exports.GetInstanceProfileRequest = void 0;
6
- exports.Problem = exports.ProblemDetail = exports.ListUniqueProblemsRequest = exports.ListTestsResult = exports.ListTestsRequest = exports.ListTestGridSessionsResult = exports.ListTestGridSessionsRequest = exports.ListTestGridSessionArtifactsResult = exports.TestGridSessionArtifact = exports.TestGridSessionArtifactType = exports.ListTestGridSessionArtifactsRequest = exports.TestGridSessionArtifactCategory = exports.ListTestGridSessionActionsResult = exports.TestGridSessionAction = exports.ListTestGridSessionActionsRequest = exports.ListTestGridProjectsResult = exports.ListTestGridProjectsRequest = exports.ListTagsForResourceResponse = exports.Tag = exports.ListTagsForResourceRequest = exports.ListSuitesResult = exports.ListSuitesRequest = exports.ListSamplesResult = exports.Sample = exports.SampleType = exports.ListSamplesRequest = exports.ListRunsResult = exports.ListRunsRequest = exports.ListRemoteAccessSessionsResult = exports.ListRemoteAccessSessionsRequest = exports.ListProjectsResult = exports.ListProjectsRequest = exports.ListOfferingTransactionsResult = exports.OfferingTransaction = exports.ListOfferingTransactionsRequest = exports.ListOfferingsResult = exports.ListOfferingsRequest = exports.ListOfferingPromotionsResult = exports.OfferingPromotion = exports.ListOfferingPromotionsRequest = exports.ListNetworkProfilesResult = exports.ListNetworkProfilesRequest = exports.ListJobsResult = exports.ListJobsRequest = exports.ListInstanceProfilesResult = exports.ListInstanceProfilesRequest = exports.ListDevicesResult = exports.ListDevicesRequest = exports.ListDevicePoolsResult = exports.ListDevicePoolsRequest = void 0;
7
- exports.UpdateVPCEConfigurationResult = exports.UpdateVPCEConfigurationRequest = exports.UpdateUploadResult = exports.UpdateUploadRequest = exports.UpdateTestGridProjectResult = exports.UpdateTestGridProjectRequest = exports.UpdateProjectResult = exports.UpdateProjectRequest = exports.UpdateNetworkProfileResult = exports.UpdateNetworkProfileRequest = exports.UpdateInstanceProfileResult = exports.UpdateInstanceProfileRequest = exports.UpdateDevicePoolResult = exports.UpdateDevicePoolRequest = exports.UpdateDeviceInstanceResult = exports.UpdateDeviceInstanceRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TooManyTagsException = exports.TagResourceResponse = exports.TagResourceRequest = exports.TagPolicyException = exports.StopRunResult = exports.StopRunRequest = exports.StopRemoteAccessSessionResult = exports.StopRemoteAccessSessionRequest = exports.StopJobResult = exports.StopJobRequest = exports.ScheduleRunResult = exports.ScheduleRunRequest = exports.ExecutionConfiguration = exports.DeviceSelectionConfiguration = exports.IdempotencyException = exports.RenewOfferingResult = exports.RenewOfferingRequest = exports.PurchaseOfferingResult = exports.PurchaseOfferingRequest = exports.ListVPCEConfigurationsResult = exports.ListVPCEConfigurationsRequest = exports.ListUploadsResult = exports.ListUploadsRequest = exports.ListUniqueProblemsResult = exports.UniqueProblem = void 0;
3
+ exports.UploadStatus = exports.UploadCategory = exports.CreateUploadRequest = exports.UploadType = exports.CreateTestGridUrlResult = exports.CreateTestGridUrlRequest = exports.CreateTestGridProjectResult = exports.TestGridProject = exports.CreateTestGridProjectRequest = exports.TestGridVpcConfig = exports.CreateRemoteAccessSessionResult = exports.RemoteAccessSession = exports.ExecutionStatus = exports.ExecutionResult = exports.DeviceMinutes = exports.Device = exports.Resolution = exports.DeviceInstance = exports.InstanceStatus = exports.DeviceFormFactor = exports.DeviceAvailability = exports.CreateRemoteAccessSessionRequest = exports.InteractionMode = exports.CreateRemoteAccessSessionConfiguration = exports.CreateProjectResult = exports.Project = exports.CreateProjectRequest = exports.CreateNetworkProfileResult = exports.NetworkProfile = exports.CreateNetworkProfileRequest = exports.NetworkProfileType = exports.CreateInstanceProfileResult = exports.InstanceProfile = exports.CreateInstanceProfileRequest = exports.CreateDevicePoolResult = exports.DevicePool = exports.DevicePoolType = exports.CreateDevicePoolRequest = exports.Rule = exports.RuleOperator = exports.DeviceAttribute = exports.CPU = exports.Counters = exports.BillingMethod = exports.ArtifactCategory = exports.Artifact = exports.ArtifactType = exports.AccountSettings = exports.DevicePlatform = exports.TrialMinutes = void 0;
4
+ exports.GetOfferingStatusRequest = exports.GetNetworkProfileResult = exports.GetNetworkProfileRequest = exports.GetJobResult = exports.Job = exports.GetJobRequest = exports.GetInstanceProfileResult = exports.GetInstanceProfileRequest = exports.GetDevicePoolCompatibilityResult = exports.DevicePoolCompatibilityResult = exports.IncompatibilityMessage = exports.GetDevicePoolCompatibilityRequest = exports.ScheduleRunTest = exports.TestType = exports.ScheduleRunConfiguration = exports.Radios = exports.Location = exports.GetDevicePoolResult = exports.GetDevicePoolRequest = exports.GetDeviceInstanceResult = exports.GetDeviceInstanceRequest = exports.GetDeviceResult = exports.GetDeviceRequest = exports.GetAccountSettingsResult = exports.GetAccountSettingsRequest = exports.DeleteVPCEConfigurationResult = exports.DeleteVPCEConfigurationRequest = exports.DeleteUploadResult = exports.DeleteUploadRequest = exports.DeleteTestGridProjectResult = exports.DeleteTestGridProjectRequest = exports.DeleteRunResult = exports.DeleteRunRequest = exports.DeleteRemoteAccessSessionResult = exports.DeleteRemoteAccessSessionRequest = exports.DeleteProjectResult = exports.DeleteProjectRequest = exports.DeleteNetworkProfileResult = exports.DeleteNetworkProfileRequest = exports.DeleteInstanceProfileResult = exports.DeleteInstanceProfileRequest = exports.DeleteDevicePoolResult = exports.DeleteDevicePoolRequest = exports.CustomerArtifactPaths = exports.CurrencyCode = exports.CreateVPCEConfigurationResult = exports.VPCEConfiguration = exports.CreateVPCEConfigurationRequest = exports.CreateUploadResult = exports.Upload = void 0;
5
+ exports.ListNetworkProfilesRequest = exports.ListJobsResult = exports.ListJobsRequest = exports.ListInstanceProfilesResult = exports.ListInstanceProfilesRequest = exports.ListDevicesResult = exports.ListDevicesRequest = exports.ListDevicePoolsResult = exports.ListDevicePoolsRequest = exports.ListDeviceInstancesResult = exports.ListDeviceInstancesRequest = exports.ListArtifactsResult = exports.ListArtifactsRequest = exports.InstallToRemoteAccessSessionResult = exports.InstallToRemoteAccessSessionRequest = exports.GetVPCEConfigurationResult = exports.GetVPCEConfigurationRequest = exports.GetUploadResult = exports.GetUploadRequest = exports.GetTestGridSessionResult = exports.TestGridSession = exports.TestGridSessionStatus = exports.GetTestGridSessionRequest = exports.GetTestGridProjectResult = exports.GetTestGridProjectRequest = exports.GetTestResult = exports.Test = exports.GetTestRequest = exports.GetSuiteResult = exports.Suite = exports.GetSuiteRequest = exports.GetRunResult = exports.Run = exports.ExecutionResultCode = exports.DeviceSelectionResult = exports.DeviceFilter = exports.DeviceFilterAttribute = exports.GetRunRequest = exports.GetRemoteAccessSessionResult = exports.GetRemoteAccessSessionRequest = exports.GetProjectResult = exports.GetProjectRequest = exports.GetOfferingStatusResult = exports.OfferingStatus = exports.OfferingTransactionType = exports.Offering = exports.OfferingType = exports.RecurringCharge = exports.RecurringChargeFrequency = exports.MonetaryAmount = void 0;
6
+ exports.RenewOfferingRequest = exports.PurchaseOfferingResult = exports.PurchaseOfferingRequest = exports.ListVPCEConfigurationsResult = exports.ListVPCEConfigurationsRequest = exports.ListUploadsResult = exports.ListUploadsRequest = exports.ListUniqueProblemsResult = exports.UniqueProblem = exports.Problem = exports.ProblemDetail = exports.ListUniqueProblemsRequest = exports.ListTestsResult = exports.ListTestsRequest = exports.ListTestGridSessionsResult = exports.ListTestGridSessionsRequest = exports.ListTestGridSessionArtifactsResult = exports.TestGridSessionArtifact = exports.TestGridSessionArtifactType = exports.ListTestGridSessionArtifactsRequest = exports.TestGridSessionArtifactCategory = exports.ListTestGridSessionActionsResult = exports.TestGridSessionAction = exports.ListTestGridSessionActionsRequest = exports.ListTestGridProjectsResult = exports.ListTestGridProjectsRequest = exports.ListTagsForResourceResponse = exports.Tag = exports.ListTagsForResourceRequest = exports.ListSuitesResult = exports.ListSuitesRequest = exports.ListSamplesResult = exports.Sample = exports.SampleType = exports.ListSamplesRequest = exports.ListRunsResult = exports.ListRunsRequest = exports.ListRemoteAccessSessionsResult = exports.ListRemoteAccessSessionsRequest = exports.ListProjectsResult = exports.ListProjectsRequest = exports.ListOfferingTransactionsResult = exports.OfferingTransaction = exports.ListOfferingTransactionsRequest = exports.ListOfferingsResult = exports.ListOfferingsRequest = exports.ListOfferingPromotionsResult = exports.OfferingPromotion = exports.ListOfferingPromotionsRequest = exports.ListNetworkProfilesResult = void 0;
7
+ exports.UpdateVPCEConfigurationResult = exports.UpdateVPCEConfigurationRequest = exports.UpdateUploadResult = exports.UpdateUploadRequest = exports.UpdateTestGridProjectResult = exports.UpdateTestGridProjectRequest = exports.UpdateProjectResult = exports.UpdateProjectRequest = exports.UpdateNetworkProfileResult = exports.UpdateNetworkProfileRequest = exports.UpdateInstanceProfileResult = exports.UpdateInstanceProfileRequest = exports.UpdateDevicePoolResult = exports.UpdateDevicePoolRequest = exports.UpdateDeviceInstanceResult = exports.UpdateDeviceInstanceRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopRunResult = exports.StopRunRequest = exports.StopRemoteAccessSessionResult = exports.StopRemoteAccessSessionRequest = exports.StopJobResult = exports.StopJobRequest = exports.ScheduleRunResult = exports.ScheduleRunRequest = exports.ExecutionConfiguration = exports.DeviceSelectionConfiguration = exports.RenewOfferingResult = void 0;
8
8
  const smithy_client_1 = require("@aws-sdk/smithy-client");
9
9
  var TrialMinutes;
10
10
  (function (TrialMinutes) {
@@ -23,12 +23,6 @@ var AccountSettings;
23
23
  ...obj,
24
24
  });
25
25
  })(AccountSettings = exports.AccountSettings || (exports.AccountSettings = {}));
26
- var ArgumentException;
27
- (function (ArgumentException) {
28
- ArgumentException.filterSensitiveLog = (obj) => ({
29
- ...obj,
30
- });
31
- })(ArgumentException = exports.ArgumentException || (exports.ArgumentException = {}));
32
26
  var ArtifactType;
33
27
  (function (ArtifactType) {
34
28
  ArtifactType["APPIUM_JAVA_OUTPUT"] = "APPIUM_JAVA_OUTPUT";
@@ -77,12 +71,6 @@ var BillingMethod;
77
71
  BillingMethod["METERED"] = "METERED";
78
72
  BillingMethod["UNMETERED"] = "UNMETERED";
79
73
  })(BillingMethod = exports.BillingMethod || (exports.BillingMethod = {}));
80
- var CannotDeleteException;
81
- (function (CannotDeleteException) {
82
- CannotDeleteException.filterSensitiveLog = (obj) => ({
83
- ...obj,
84
- });
85
- })(CannotDeleteException = exports.CannotDeleteException || (exports.CannotDeleteException = {}));
86
74
  var Counters;
87
75
  (function (Counters) {
88
76
  Counters.filterSensitiveLog = (obj) => ({
@@ -151,24 +139,6 @@ var CreateDevicePoolResult;
151
139
  ...obj,
152
140
  });
153
141
  })(CreateDevicePoolResult = exports.CreateDevicePoolResult || (exports.CreateDevicePoolResult = {}));
154
- var LimitExceededException;
155
- (function (LimitExceededException) {
156
- LimitExceededException.filterSensitiveLog = (obj) => ({
157
- ...obj,
158
- });
159
- })(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
160
- var NotFoundException;
161
- (function (NotFoundException) {
162
- NotFoundException.filterSensitiveLog = (obj) => ({
163
- ...obj,
164
- });
165
- })(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
166
- var ServiceAccountException;
167
- (function (ServiceAccountException) {
168
- ServiceAccountException.filterSensitiveLog = (obj) => ({
169
- ...obj,
170
- });
171
- })(ServiceAccountException = exports.ServiceAccountException || (exports.ServiceAccountException = {}));
172
142
  var CreateInstanceProfileRequest;
173
143
  (function (CreateInstanceProfileRequest) {
174
144
  CreateInstanceProfileRequest.filterSensitiveLog = (obj) => ({
@@ -228,12 +198,6 @@ var CreateProjectResult;
228
198
  ...obj,
229
199
  });
230
200
  })(CreateProjectResult = exports.CreateProjectResult || (exports.CreateProjectResult = {}));
231
- var TagOperationException;
232
- (function (TagOperationException) {
233
- TagOperationException.filterSensitiveLog = (obj) => ({
234
- ...obj,
235
- });
236
- })(TagOperationException = exports.TagOperationException || (exports.TagOperationException = {}));
237
201
  var CreateRemoteAccessSessionConfiguration;
238
202
  (function (CreateRemoteAccessSessionConfiguration) {
239
203
  CreateRemoteAccessSessionConfiguration.filterSensitiveLog = (obj) => ({
@@ -353,12 +317,6 @@ var CreateTestGridProjectResult;
353
317
  ...obj,
354
318
  });
355
319
  })(CreateTestGridProjectResult = exports.CreateTestGridProjectResult || (exports.CreateTestGridProjectResult = {}));
356
- var InternalServiceException;
357
- (function (InternalServiceException) {
358
- InternalServiceException.filterSensitiveLog = (obj) => ({
359
- ...obj,
360
- });
361
- })(InternalServiceException = exports.InternalServiceException || (exports.InternalServiceException = {}));
362
320
  var CreateTestGridUrlRequest;
363
321
  (function (CreateTestGridUrlRequest) {
364
322
  CreateTestGridUrlRequest.filterSensitiveLog = (obj) => ({
@@ -575,12 +533,6 @@ var DeleteVPCEConfigurationResult;
575
533
  ...obj,
576
534
  });
577
535
  })(DeleteVPCEConfigurationResult = exports.DeleteVPCEConfigurationResult || (exports.DeleteVPCEConfigurationResult = {}));
578
- var InvalidOperationException;
579
- (function (InvalidOperationException) {
580
- InvalidOperationException.filterSensitiveLog = (obj) => ({
581
- ...obj,
582
- });
583
- })(InvalidOperationException = exports.InvalidOperationException || (exports.InvalidOperationException = {}));
584
536
  var GetAccountSettingsRequest;
585
537
  (function (GetAccountSettingsRequest) {
586
538
  GetAccountSettingsRequest.filterSensitiveLog = (obj) => ({
@@ -793,12 +745,6 @@ var GetOfferingStatusResult;
793
745
  ...obj,
794
746
  });
795
747
  })(GetOfferingStatusResult = exports.GetOfferingStatusResult || (exports.GetOfferingStatusResult = {}));
796
- var NotEligibleException;
797
- (function (NotEligibleException) {
798
- NotEligibleException.filterSensitiveLog = (obj) => ({
799
- ...obj,
800
- });
801
- })(NotEligibleException = exports.NotEligibleException || (exports.NotEligibleException = {}));
802
748
  var GetProjectRequest;
803
749
  (function (GetProjectRequest) {
804
750
  GetProjectRequest.filterSensitiveLog = (obj) => ({
@@ -1383,12 +1329,6 @@ var RenewOfferingResult;
1383
1329
  ...obj,
1384
1330
  });
1385
1331
  })(RenewOfferingResult = exports.RenewOfferingResult || (exports.RenewOfferingResult = {}));
1386
- var IdempotencyException;
1387
- (function (IdempotencyException) {
1388
- IdempotencyException.filterSensitiveLog = (obj) => ({
1389
- ...obj,
1390
- });
1391
- })(IdempotencyException = exports.IdempotencyException || (exports.IdempotencyException = {}));
1392
1332
  var DeviceSelectionConfiguration;
1393
1333
  (function (DeviceSelectionConfiguration) {
1394
1334
  DeviceSelectionConfiguration.filterSensitiveLog = (obj) => ({
@@ -1449,12 +1389,6 @@ var StopRunResult;
1449
1389
  ...obj,
1450
1390
  });
1451
1391
  })(StopRunResult = exports.StopRunResult || (exports.StopRunResult = {}));
1452
- var TagPolicyException;
1453
- (function (TagPolicyException) {
1454
- TagPolicyException.filterSensitiveLog = (obj) => ({
1455
- ...obj,
1456
- });
1457
- })(TagPolicyException = exports.TagPolicyException || (exports.TagPolicyException = {}));
1458
1392
  var TagResourceRequest;
1459
1393
  (function (TagResourceRequest) {
1460
1394
  TagResourceRequest.filterSensitiveLog = (obj) => ({
@@ -1467,12 +1401,6 @@ var TagResourceResponse;
1467
1401
  ...obj,
1468
1402
  });
1469
1403
  })(TagResourceResponse = exports.TagResourceResponse || (exports.TagResourceResponse = {}));
1470
- var TooManyTagsException;
1471
- (function (TooManyTagsException) {
1472
- TooManyTagsException.filterSensitiveLog = (obj) => ({
1473
- ...obj,
1474
- });
1475
- })(TooManyTagsException = exports.TooManyTagsException || (exports.TooManyTagsException = {}));
1476
1404
  var UntagResourceRequest;
1477
1405
  (function (UntagResourceRequest) {
1478
1406
  UntagResourceRequest.filterSensitiveLog = (obj) => ({
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
33
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -12,6 +12,7 @@ var partitionHash = {
12
12
  "ap-south-1",
13
13
  "ap-southeast-1",
14
14
  "ap-southeast-2",
15
+ "ap-southeast-3",
15
16
  "ca-central-1",
16
17
  "eu-central-1",
17
18
  "eu-north-1",
@@ -13,10 +13,6 @@ export var AccountSettings;
13
13
  (function (AccountSettings) {
14
14
  AccountSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
15
15
  })(AccountSettings || (AccountSettings = {}));
16
- export var ArgumentException;
17
- (function (ArgumentException) {
18
- ArgumentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
19
- })(ArgumentException || (ArgumentException = {}));
20
16
  export var ArtifactType;
21
17
  (function (ArtifactType) {
22
18
  ArtifactType["APPIUM_JAVA_OUTPUT"] = "APPIUM_JAVA_OUTPUT";
@@ -63,10 +59,6 @@ export var BillingMethod;
63
59
  BillingMethod["METERED"] = "METERED";
64
60
  BillingMethod["UNMETERED"] = "UNMETERED";
65
61
  })(BillingMethod || (BillingMethod = {}));
66
- export var CannotDeleteException;
67
- (function (CannotDeleteException) {
68
- CannotDeleteException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
69
- })(CannotDeleteException || (CannotDeleteException = {}));
70
62
  export var Counters;
71
63
  (function (Counters) {
72
64
  Counters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -123,18 +115,6 @@ export var CreateDevicePoolResult;
123
115
  (function (CreateDevicePoolResult) {
124
116
  CreateDevicePoolResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
125
117
  })(CreateDevicePoolResult || (CreateDevicePoolResult = {}));
126
- export var LimitExceededException;
127
- (function (LimitExceededException) {
128
- LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
129
- })(LimitExceededException || (LimitExceededException = {}));
130
- export var NotFoundException;
131
- (function (NotFoundException) {
132
- NotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
133
- })(NotFoundException || (NotFoundException = {}));
134
- export var ServiceAccountException;
135
- (function (ServiceAccountException) {
136
- ServiceAccountException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
137
- })(ServiceAccountException || (ServiceAccountException = {}));
138
118
  export var CreateInstanceProfileRequest;
139
119
  (function (CreateInstanceProfileRequest) {
140
120
  CreateInstanceProfileRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -176,10 +156,6 @@ export var CreateProjectResult;
176
156
  (function (CreateProjectResult) {
177
157
  CreateProjectResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
178
158
  })(CreateProjectResult || (CreateProjectResult = {}));
179
- export var TagOperationException;
180
- (function (TagOperationException) {
181
- TagOperationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
182
- })(TagOperationException || (TagOperationException = {}));
183
159
  export var CreateRemoteAccessSessionConfiguration;
184
160
  (function (CreateRemoteAccessSessionConfiguration) {
185
161
  CreateRemoteAccessSessionConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -275,10 +251,6 @@ export var CreateTestGridProjectResult;
275
251
  (function (CreateTestGridProjectResult) {
276
252
  CreateTestGridProjectResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
277
253
  })(CreateTestGridProjectResult || (CreateTestGridProjectResult = {}));
278
- export var InternalServiceException;
279
- (function (InternalServiceException) {
280
- InternalServiceException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
281
- })(InternalServiceException || (InternalServiceException = {}));
282
254
  export var CreateTestGridUrlRequest;
283
255
  (function (CreateTestGridUrlRequest) {
284
256
  CreateTestGridUrlRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -438,10 +410,6 @@ export var DeleteVPCEConfigurationResult;
438
410
  (function (DeleteVPCEConfigurationResult) {
439
411
  DeleteVPCEConfigurationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
440
412
  })(DeleteVPCEConfigurationResult || (DeleteVPCEConfigurationResult = {}));
441
- export var InvalidOperationException;
442
- (function (InvalidOperationException) {
443
- InvalidOperationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
444
- })(InvalidOperationException || (InvalidOperationException = {}));
445
413
  export var GetAccountSettingsRequest;
446
414
  (function (GetAccountSettingsRequest) {
447
415
  GetAccountSettingsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -596,10 +564,6 @@ export var GetOfferingStatusResult;
596
564
  (function (GetOfferingStatusResult) {
597
565
  GetOfferingStatusResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
598
566
  })(GetOfferingStatusResult || (GetOfferingStatusResult = {}));
599
- export var NotEligibleException;
600
- (function (NotEligibleException) {
601
- NotEligibleException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
602
- })(NotEligibleException || (NotEligibleException = {}));
603
567
  export var GetProjectRequest;
604
568
  (function (GetProjectRequest) {
605
569
  GetProjectRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1005,10 +969,6 @@ export var RenewOfferingResult;
1005
969
  (function (RenewOfferingResult) {
1006
970
  RenewOfferingResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1007
971
  })(RenewOfferingResult || (RenewOfferingResult = {}));
1008
- export var IdempotencyException;
1009
- (function (IdempotencyException) {
1010
- IdempotencyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1011
- })(IdempotencyException || (IdempotencyException = {}));
1012
972
  export var DeviceSelectionConfiguration;
1013
973
  (function (DeviceSelectionConfiguration) {
1014
974
  DeviceSelectionConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1049,10 +1009,6 @@ export var StopRunResult;
1049
1009
  (function (StopRunResult) {
1050
1010
  StopRunResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1051
1011
  })(StopRunResult || (StopRunResult = {}));
1052
- export var TagPolicyException;
1053
- (function (TagPolicyException) {
1054
- TagPolicyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1055
- })(TagPolicyException || (TagPolicyException = {}));
1056
1012
  export var TagResourceRequest;
1057
1013
  (function (TagResourceRequest) {
1058
1014
  TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1061,10 +1017,6 @@ export var TagResourceResponse;
1061
1017
  (function (TagResourceResponse) {
1062
1018
  TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1063
1019
  })(TagResourceResponse || (TagResourceResponse = {}));
1064
- export var TooManyTagsException;
1065
- (function (TooManyTagsException) {
1066
- TooManyTagsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1067
- })(TooManyTagsException || (TooManyTagsException = {}));
1068
1020
  export var UntagResourceRequest;
1069
1021
  (function (UntagResourceRequest) {
1070
1022
  UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
17
26
  };
@@ -1,21 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  export var getRuntimeConfig = function (config) {
17
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
21
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
28
  };
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateDevicePoolCommandInput, CreateDevicePoolCommandOutput } from "./commands/CreateDevicePoolCommand";
10
10
  import { CreateInstanceProfileCommandInput, CreateInstanceProfileCommandOutput } from "./commands/CreateInstanceProfileCommand";
@@ -185,6 +185,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
185
185
  * @internal
186
186
  */
187
187
  defaultUserAgentProvider?: Provider<__UserAgent>;
188
+ /**
189
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
190
+ */
191
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
188
192
  }
189
193
  declare type DeviceFarmClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
190
194
  /**
@@ -92,12 +92,6 @@ export interface ArgumentException extends __SmithyException, $MetadataBearer {
92
92
  */
93
93
  message?: string;
94
94
  }
95
- export declare namespace ArgumentException {
96
- /**
97
- * @internal
98
- */
99
- const filterSensitiveLog: (obj: ArgumentException) => any;
100
- }
101
95
  export declare enum ArtifactType {
102
96
  APPIUM_JAVA_OUTPUT = "APPIUM_JAVA_OUTPUT",
103
97
  APPIUM_JAVA_XML_OUTPUT = "APPIUM_JAVA_XML_OUTPUT",
@@ -265,12 +259,6 @@ export interface CannotDeleteException extends __SmithyException, $MetadataBeare
265
259
  $fault: "client";
266
260
  message?: string;
267
261
  }
268
- export declare namespace CannotDeleteException {
269
- /**
270
- * @internal
271
- */
272
- const filterSensitiveLog: (obj: CannotDeleteException) => any;
273
- }
274
262
  /**
275
263
  * <p>Represents entity counters.</p>
276
264
  */
@@ -600,12 +588,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
600
588
  */
601
589
  message?: string;
602
590
  }
603
- export declare namespace LimitExceededException {
604
- /**
605
- * @internal
606
- */
607
- const filterSensitiveLog: (obj: LimitExceededException) => any;
608
- }
609
591
  /**
610
592
  * <p>The specified entity was not found.</p>
611
593
  */
@@ -617,12 +599,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
617
599
  */
618
600
  message?: string;
619
601
  }
620
- export declare namespace NotFoundException {
621
- /**
622
- * @internal
623
- */
624
- const filterSensitiveLog: (obj: NotFoundException) => any;
625
- }
626
602
  /**
627
603
  * <p>There was a problem with the service account.</p>
628
604
  */
@@ -634,12 +610,6 @@ export interface ServiceAccountException extends __SmithyException, $MetadataBea
634
610
  */
635
611
  message?: string;
636
612
  }
637
- export declare namespace ServiceAccountException {
638
- /**
639
- * @internal
640
- */
641
- const filterSensitiveLog: (obj: ServiceAccountException) => any;
642
- }
643
613
  export interface CreateInstanceProfileRequest {
644
614
  /**
645
615
  * <p>The name of your instance profile.</p>
@@ -945,12 +915,6 @@ export interface TagOperationException extends __SmithyException, $MetadataBeare
945
915
  message?: string;
946
916
  resourceName?: string;
947
917
  }
948
- export declare namespace TagOperationException {
949
- /**
950
- * @internal
951
- */
952
- const filterSensitiveLog: (obj: TagOperationException) => any;
953
- }
954
918
  /**
955
919
  * <p>Configuration settings for a remote access session, including billing
956
920
  * method.</p>
@@ -1598,12 +1562,6 @@ export interface InternalServiceException extends __SmithyException, $MetadataBe
1598
1562
  $fault: "server";
1599
1563
  message?: string;
1600
1564
  }
1601
- export declare namespace InternalServiceException {
1602
- /**
1603
- * @internal
1604
- */
1605
- const filterSensitiveLog: (obj: InternalServiceException) => any;
1606
- }
1607
1565
  export interface CreateTestGridUrlRequest {
1608
1566
  /**
1609
1567
  * <p>ARN (from <a>CreateTestGridProject</a> or <a>ListTestGridProjects</a>) to associate
@@ -2332,12 +2290,6 @@ export interface InvalidOperationException extends __SmithyException, $MetadataB
2332
2290
  $fault: "client";
2333
2291
  message?: string;
2334
2292
  }
2335
- export declare namespace InvalidOperationException {
2336
- /**
2337
- * @internal
2338
- */
2339
- const filterSensitiveLog: (obj: InvalidOperationException) => any;
2340
- }
2341
2293
  /**
2342
2294
  * <p>Represents the request sent to retrieve the account settings.</p>
2343
2295
  */
@@ -3401,12 +3353,6 @@ export interface NotEligibleException extends __SmithyException, $MetadataBearer
3401
3353
  */
3402
3354
  message?: string;
3403
3355
  }
3404
- export declare namespace NotEligibleException {
3405
- /**
3406
- * @internal
3407
- */
3408
- const filterSensitiveLog: (obj: NotEligibleException) => any;
3409
- }
3410
3356
  /**
3411
3357
  * <p>Represents a request to the get project operation.</p>
3412
3358
  */
@@ -6173,12 +6119,6 @@ export interface IdempotencyException extends __SmithyException, $MetadataBearer
6173
6119
  */
6174
6120
  message?: string;
6175
6121
  }
6176
- export declare namespace IdempotencyException {
6177
- /**
6178
- * @internal
6179
- */
6180
- const filterSensitiveLog: (obj: IdempotencyException) => any;
6181
- }
6182
6122
  /**
6183
6123
  * <p>Represents the device filters used in a test run and the maximum number of devices to be included in the
6184
6124
  * run. It is passed in as the <code>deviceSelectionConfiguration</code> request parameter in <a>ScheduleRun</a>.</p>
@@ -6518,12 +6458,6 @@ export interface TagPolicyException extends __SmithyException, $MetadataBearer {
6518
6458
  message?: string;
6519
6459
  resourceName?: string;
6520
6460
  }
6521
- export declare namespace TagPolicyException {
6522
- /**
6523
- * @internal
6524
- */
6525
- const filterSensitiveLog: (obj: TagPolicyException) => any;
6526
- }
6527
6461
  export interface TagResourceRequest {
6528
6462
  /**
6529
6463
  * <p>The Amazon Resource Name (ARN) of the resource or resources to which to add tags. You can associate tags
@@ -6563,12 +6497,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
6563
6497
  message?: string;
6564
6498
  resourceName?: string;
6565
6499
  }
6566
- export declare namespace TooManyTagsException {
6567
- /**
6568
- * @internal
6569
- */
6570
- const filterSensitiveLog: (obj: TooManyTagsException) => any;
6571
- }
6572
6500
  export interface UntagResourceRequest {
6573
6501
  /**
6574
6502
  * <p>The Amazon Resource Name (ARN) of the resource or resources from which to delete tags. You can associate
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { DeviceFarmClientConfig } from "./DeviceFarmClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: DeviceFarmClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: DeviceFarmClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { DeviceFarmClientConfig } from "./DeviceFarmClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: DeviceFarmClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: DeviceFarmClientConfig) => {
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { CreateDevicePoolCommandInput, CreateDevicePoolCommandOutput } from "./commands/CreateDevicePoolCommand";
10
10
  import { CreateInstanceProfileCommandInput, CreateInstanceProfileCommandOutput } from "./commands/CreateInstanceProfileCommand";
@@ -128,6 +128,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
128
128
  regionInfoProvider?: RegionInfoProvider;
129
129
 
130
130
  defaultUserAgentProvider?: Provider<__UserAgent>;
131
+
132
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
131
133
  }
132
134
  declare type DeviceFarmClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
133
135
 
@@ -50,10 +50,6 @@ export interface ArgumentException extends __SmithyException, $MetadataBearer {
50
50
 
51
51
  message?: string;
52
52
  }
53
- export declare namespace ArgumentException {
54
-
55
- const filterSensitiveLog: (obj: ArgumentException) => any;
56
- }
57
53
  export declare enum ArtifactType {
58
54
  APPIUM_JAVA_OUTPUT = "APPIUM_JAVA_OUTPUT",
59
55
  APPIUM_JAVA_XML_OUTPUT = "APPIUM_JAVA_XML_OUTPUT",
@@ -116,10 +112,6 @@ export interface CannotDeleteException extends __SmithyException, $MetadataBeare
116
112
  $fault: "client";
117
113
  message?: string;
118
114
  }
119
- export declare namespace CannotDeleteException {
120
-
121
- const filterSensitiveLog: (obj: CannotDeleteException) => any;
122
- }
123
115
 
124
116
  export interface Counters {
125
117
 
@@ -248,10 +240,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
248
240
 
249
241
  message?: string;
250
242
  }
251
- export declare namespace LimitExceededException {
252
-
253
- const filterSensitiveLog: (obj: LimitExceededException) => any;
254
- }
255
243
 
256
244
  export interface NotFoundException extends __SmithyException, $MetadataBearer {
257
245
  name: "NotFoundException";
@@ -259,10 +247,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
259
247
 
260
248
  message?: string;
261
249
  }
262
- export declare namespace NotFoundException {
263
-
264
- const filterSensitiveLog: (obj: NotFoundException) => any;
265
- }
266
250
 
267
251
  export interface ServiceAccountException extends __SmithyException, $MetadataBearer {
268
252
  name: "ServiceAccountException";
@@ -270,10 +254,6 @@ export interface ServiceAccountException extends __SmithyException, $MetadataBea
270
254
 
271
255
  message?: string;
272
256
  }
273
- export declare namespace ServiceAccountException {
274
-
275
- const filterSensitiveLog: (obj: ServiceAccountException) => any;
276
- }
277
257
  export interface CreateInstanceProfileRequest {
278
258
 
279
259
  name: string | undefined;
@@ -432,10 +412,6 @@ export interface TagOperationException extends __SmithyException, $MetadataBeare
432
412
  message?: string;
433
413
  resourceName?: string;
434
414
  }
435
- export declare namespace TagOperationException {
436
-
437
- const filterSensitiveLog: (obj: TagOperationException) => any;
438
- }
439
415
 
440
416
  export interface CreateRemoteAccessSessionConfiguration {
441
417
 
@@ -725,10 +701,6 @@ export interface InternalServiceException extends __SmithyException, $MetadataBe
725
701
  $fault: "server";
726
702
  message?: string;
727
703
  }
728
- export declare namespace InternalServiceException {
729
-
730
- const filterSensitiveLog: (obj: InternalServiceException) => any;
731
- }
732
704
  export interface CreateTestGridUrlRequest {
733
705
 
734
706
  projectArn: string | undefined;
@@ -1041,10 +1013,6 @@ export interface InvalidOperationException extends __SmithyException, $MetadataB
1041
1013
  $fault: "client";
1042
1014
  message?: string;
1043
1015
  }
1044
- export declare namespace InvalidOperationException {
1045
-
1046
- const filterSensitiveLog: (obj: InvalidOperationException) => any;
1047
- }
1048
1016
 
1049
1017
  export interface GetAccountSettingsRequest {
1050
1018
  }
@@ -1443,10 +1411,6 @@ export interface NotEligibleException extends __SmithyException, $MetadataBearer
1443
1411
 
1444
1412
  message?: string;
1445
1413
  }
1446
- export declare namespace NotEligibleException {
1447
-
1448
- const filterSensitiveLog: (obj: NotEligibleException) => any;
1449
- }
1450
1414
 
1451
1415
  export interface GetProjectRequest {
1452
1416
 
@@ -2552,10 +2516,6 @@ export interface IdempotencyException extends __SmithyException, $MetadataBearer
2552
2516
 
2553
2517
  message?: string;
2554
2518
  }
2555
- export declare namespace IdempotencyException {
2556
-
2557
- const filterSensitiveLog: (obj: IdempotencyException) => any;
2558
- }
2559
2519
 
2560
2520
  export interface DeviceSelectionConfiguration {
2561
2521
 
@@ -2675,10 +2635,6 @@ export interface TagPolicyException extends __SmithyException, $MetadataBearer {
2675
2635
  message?: string;
2676
2636
  resourceName?: string;
2677
2637
  }
2678
- export declare namespace TagPolicyException {
2679
-
2680
- const filterSensitiveLog: (obj: TagPolicyException) => any;
2681
- }
2682
2638
  export interface TagResourceRequest {
2683
2639
 
2684
2640
  ResourceARN: string | undefined;
@@ -2702,10 +2658,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
2702
2658
  message?: string;
2703
2659
  resourceName?: string;
2704
2660
  }
2705
- export declare namespace TooManyTagsException {
2706
-
2707
- const filterSensitiveLog: (obj: TooManyTagsException) => any;
2708
- }
2709
2661
  export interface UntagResourceRequest {
2710
2662
 
2711
2663
  ResourceARN: string | undefined;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { DeviceFarmClientConfig } from "./DeviceFarmClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: DeviceFarmClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: DeviceFarmClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { DeviceFarmClientConfig } from "./DeviceFarmClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: DeviceFarmClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: DeviceFarmClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,18 +1,15 @@
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.43.0",
4
+ "version": "3.47.1",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "exit 0"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,48 +18,44 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.43.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
21
+ "@aws-sdk/client-sts": "3.47.1",
22
+ "@aws-sdk/config-resolver": "3.47.1",
23
+ "@aws-sdk/credential-provider-node": "3.47.1",
24
+ "@aws-sdk/fetch-http-handler": "3.47.1",
25
+ "@aws-sdk/hash-node": "3.47.1",
26
+ "@aws-sdk/invalid-dependency": "3.47.1",
27
+ "@aws-sdk/middleware-content-length": "3.47.1",
28
+ "@aws-sdk/middleware-host-header": "3.47.1",
29
+ "@aws-sdk/middleware-logger": "3.47.1",
30
+ "@aws-sdk/middleware-retry": "3.47.1",
31
+ "@aws-sdk/middleware-serde": "3.47.1",
32
+ "@aws-sdk/middleware-signing": "3.47.1",
33
+ "@aws-sdk/middleware-stack": "3.47.1",
34
+ "@aws-sdk/middleware-user-agent": "3.47.1",
35
+ "@aws-sdk/node-config-provider": "3.47.1",
36
+ "@aws-sdk/node-http-handler": "3.47.1",
37
+ "@aws-sdk/protocol-http": "3.47.1",
38
+ "@aws-sdk/smithy-client": "3.47.1",
39
+ "@aws-sdk/types": "3.47.1",
40
+ "@aws-sdk/url-parser": "3.47.1",
41
+ "@aws-sdk/util-base64-browser": "3.47.1",
42
+ "@aws-sdk/util-base64-node": "3.47.1",
43
+ "@aws-sdk/util-body-length-browser": "3.47.1",
44
+ "@aws-sdk/util-body-length-node": "3.47.1",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.1",
48
+ "@aws-sdk/util-user-agent-node": "3.47.1",
49
+ "@aws-sdk/util-utf8-browser": "3.47.1",
50
+ "@aws-sdk/util-utf8-node": "3.47.1",
52
51
  "tslib": "^2.3.0"
53
52
  },
54
53
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
56
- "@types/node": "^12.7.5",
57
- "downlevel-dts": "0.7.0",
58
- "jest": "^26.1.0",
59
- "rimraf": "^3.0.0",
60
- "ts-jest": "^26.4.1",
61
- "typedoc": "^0.19.2",
62
- "typescript": "~4.3.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.47.1",
55
+ "@types/node": "^12.7.5"
63
56
  },
64
57
  "engines": {
65
- "node": ">=10.0.0"
58
+ "node": ">=12.0.0"
66
59
  },
67
60
  "typesVersions": {
68
61
  "<4.0": {