@aws-sdk/client-swf 3.42.0 → 3.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **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))
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+ * 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))
29
+
30
+
31
+
32
+
33
+
34
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
35
+
36
+
37
+ ### Features
38
+
39
+ * **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))
40
+
41
+
42
+
43
+
44
+
45
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
46
+
47
+ **Note:** Version bump only for package @aws-sdk/client-swf
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
7
54
 
8
55
  **Note:** Version bump only for package @aws-sdk/client-swf
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "us-east-1": {
7
7
  variants: [
8
- {
9
- hostname: "swf.us-east-1.amazonaws.com",
10
- tags: [],
11
- },
12
8
  {
13
9
  hostname: "swf-fips.us-east-1.amazonaws.com",
14
10
  tags: ["fips"],
@@ -17,10 +13,6 @@ const regionHash = {
17
13
  },
18
14
  "us-east-2": {
19
15
  variants: [
20
- {
21
- hostname: "swf.us-east-2.amazonaws.com",
22
- tags: [],
23
- },
24
16
  {
25
17
  hostname: "swf-fips.us-east-2.amazonaws.com",
26
18
  tags: ["fips"],
@@ -47,10 +39,6 @@ const regionHash = {
47
39
  },
48
40
  "us-west-1": {
49
41
  variants: [
50
- {
51
- hostname: "swf.us-west-1.amazonaws.com",
52
- tags: [],
53
- },
54
42
  {
55
43
  hostname: "swf-fips.us-west-1.amazonaws.com",
56
44
  tags: ["fips"],
@@ -59,10 +47,6 @@ const regionHash = {
59
47
  },
60
48
  "us-west-2": {
61
49
  variants: [
62
- {
63
- hostname: "swf.us-west-2.amazonaws.com",
64
- tags: [],
65
- },
66
50
  {
67
51
  hostname: "swf-fips.us-west-2.amazonaws.com",
68
52
  tags: ["fips"],
@@ -81,6 +65,7 @@ const partitionHash = {
81
65
  "ap-south-1",
82
66
  "ap-southeast-1",
83
67
  "ap-southeast-2",
68
+ "ap-southeast-3",
84
69
  "ca-central-1",
85
70
  "eu-central-1",
86
71
  "eu-north-1",
@@ -1,9 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ScheduleLambdaFunctionDecisionAttributes = exports.ScheduleActivityTaskDecisionAttributes = exports.RequestCancelExternalWorkflowExecutionDecisionAttributes = exports.RequestCancelActivityTaskDecisionAttributes = exports.RecordMarkerDecisionAttributes = exports.FailWorkflowExecutionDecisionAttributes = exports.CountPendingDecisionTasksInput = exports.PendingTaskCount = exports.CountPendingActivityTasksInput = exports.CountOpenWorkflowExecutionsInput = exports.WorkflowExecutionCount = exports.UnknownResourceFault = exports.OperationNotPermittedFault = exports.CountClosedWorkflowExecutionsInput = exports.WorkflowTypeFilter = exports.TagFilter = exports.WorkflowExecutionFilter = exports.ExecutionTimeFilter = exports.ContinueAsNewWorkflowExecutionFailedEventAttributes = exports.ContinueAsNewWorkflowExecutionDecisionAttributes = exports.CompleteWorkflowExecutionFailedEventAttributes = exports.CompleteWorkflowExecutionDecisionAttributes = exports.CloseStatusFilter = exports.ChildWorkflowExecutionTimedOutEventAttributes = exports.ChildWorkflowExecutionTerminatedEventAttributes = exports.ChildWorkflowExecutionStartedEventAttributes = exports.ChildWorkflowExecutionFailedEventAttributes = exports.ChildWorkflowExecutionCompletedEventAttributes = exports.ChildWorkflowExecutionCanceledEventAttributes = exports.WorkflowType = exports.CancelWorkflowExecutionFailedEventAttributes = exports.CancelWorkflowExecutionDecisionAttributes = exports.CancelTimerFailedEventAttributes = exports.CancelTimerDecisionAttributes = exports.ActivityTypeInfos = exports.ActivityTypeDetail = exports.ActivityTypeInfo = exports.ActivityTypeConfiguration = exports.ActivityTaskTimedOutEventAttributes = exports.ActivityTaskStatus = exports.ActivityTaskStartedEventAttributes = exports.ActivityTaskScheduledEventAttributes = exports.TaskList = exports.ActivityTaskFailedEventAttributes = exports.ActivityTaskCompletedEventAttributes = exports.ActivityTaskCancelRequestedEventAttributes = exports.ActivityTaskCanceledEventAttributes = exports.ActivityTask = exports.WorkflowExecution = exports.ActivityType = void 0;
4
- exports.DescribeActivityTypeInput = exports.DeprecateWorkflowTypeInput = exports.DomainDeprecatedFault = exports.DeprecateDomainInput = exports.TypeDeprecatedFault = exports.DeprecateActivityTypeInput = exports.DefaultUndefinedFault = exports.DecisionTask = exports.HistoryEvent = exports.WorkflowExecutionTimedOutEventAttributes = exports.WorkflowExecutionTerminatedEventAttributes = exports.WorkflowExecutionStartedEventAttributes = exports.WorkflowExecutionSignaledEventAttributes = exports.WorkflowExecutionFailedEventAttributes = exports.WorkflowExecutionContinuedAsNewEventAttributes = exports.WorkflowExecutionCompletedEventAttributes = exports.WorkflowExecutionCancelRequestedEventAttributes = exports.WorkflowExecutionCanceledEventAttributes = exports.TimerStartedEventAttributes = exports.TimerFiredEventAttributes = exports.TimerCanceledEventAttributes = exports.StartTimerFailedEventAttributes = exports.StartLambdaFunctionFailedEventAttributes = exports.StartChildWorkflowExecutionInitiatedEventAttributes = exports.StartChildWorkflowExecutionFailedEventAttributes = exports.SignalExternalWorkflowExecutionInitiatedEventAttributes = exports.SignalExternalWorkflowExecutionFailedEventAttributes = exports.ScheduleLambdaFunctionFailedEventAttributes = exports.ScheduleActivityTaskFailedEventAttributes = exports.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = exports.RequestCancelExternalWorkflowExecutionFailedEventAttributes = exports.RequestCancelActivityTaskFailedEventAttributes = exports.RecordMarkerFailedEventAttributes = exports.MarkerRecordedEventAttributes = exports.LambdaFunctionTimedOutEventAttributes = exports.LambdaFunctionStartedEventAttributes = exports.LambdaFunctionScheduledEventAttributes = exports.LambdaFunctionFailedEventAttributes = exports.LambdaFunctionCompletedEventAttributes = exports.FailWorkflowExecutionFailedEventAttributes = exports.ExternalWorkflowExecutionSignaledEventAttributes = exports.ExternalWorkflowExecutionCancelRequestedEventAttributes = exports.DecisionTaskTimedOutEventAttributes = exports.DecisionTaskStartedEventAttributes = exports.DecisionTaskScheduledEventAttributes = exports.DecisionTaskCompletedEventAttributes = exports.Decision = exports.StartTimerDecisionAttributes = exports.StartChildWorkflowExecutionDecisionAttributes = exports.SignalExternalWorkflowExecutionDecisionAttributes = void 0;
5
- exports.UndeprecateWorkflowTypeInput = exports.UndeprecateDomainInput = exports.UndeprecateActivityTypeInput = exports.TerminateWorkflowExecutionInput = exports.TagResourceInput = exports.WorkflowExecutionAlreadyStartedFault = exports.StartWorkflowExecutionInput = exports.SignalWorkflowExecutionInput = exports.Run = exports.RespondDecisionTaskCompletedInput = exports.RespondActivityTaskFailedInput = exports.RespondActivityTaskCompletedInput = exports.RespondActivityTaskCanceledInput = exports.RequestCancelWorkflowExecutionInput = exports.RegisterWorkflowTypeInput = exports.TooManyTagsFault = exports.RegisterDomainInput = exports.TypeAlreadyExistsFault = exports.RegisterActivityTypeInput = exports.RecordActivityTaskHeartbeatInput = exports.PollForDecisionTaskInput = exports.PollForActivityTaskInput = exports.WorkflowTypeInfos = exports.ListWorkflowTypesInput = exports.ListTagsForResourceOutput = exports.ResourceTag = exports.ListTagsForResourceInput = exports.ListOpenWorkflowExecutionsInput = exports.ListDomainsInput = exports.WorkflowExecutionInfos = exports.ListClosedWorkflowExecutionsInput = exports.ListActivityTypesInput = exports.LimitExceededFault = exports.History = exports.GetWorkflowExecutionHistoryInput = exports.DomainInfos = exports.DomainAlreadyExistsFault = exports.WorkflowTypeDetail = exports.WorkflowTypeInfo = exports.WorkflowTypeConfiguration = exports.DescribeWorkflowTypeInput = exports.WorkflowExecutionDetail = exports.WorkflowExecutionOpenCounts = exports.WorkflowExecutionInfo = exports.WorkflowExecutionConfiguration = exports.DescribeWorkflowExecutionInput = exports.DomainDetail = exports.DomainInfo = exports.DomainConfiguration = exports.DescribeDomainInput = void 0;
6
- exports.UntagResourceInput = void 0;
3
+ exports.StartChildWorkflowExecutionDecisionAttributes = exports.SignalExternalWorkflowExecutionDecisionAttributes = exports.ScheduleLambdaFunctionDecisionAttributes = exports.ScheduleActivityTaskDecisionAttributes = exports.RequestCancelExternalWorkflowExecutionDecisionAttributes = exports.RequestCancelActivityTaskDecisionAttributes = exports.RecordMarkerDecisionAttributes = exports.FailWorkflowExecutionDecisionAttributes = exports.CountPendingDecisionTasksInput = exports.PendingTaskCount = exports.CountPendingActivityTasksInput = exports.CountOpenWorkflowExecutionsInput = exports.WorkflowExecutionCount = exports.CountClosedWorkflowExecutionsInput = exports.WorkflowTypeFilter = exports.TagFilter = exports.WorkflowExecutionFilter = exports.ExecutionTimeFilter = exports.ContinueAsNewWorkflowExecutionFailedEventAttributes = exports.ContinueAsNewWorkflowExecutionDecisionAttributes = exports.CompleteWorkflowExecutionFailedEventAttributes = exports.CompleteWorkflowExecutionDecisionAttributes = exports.CloseStatusFilter = exports.ChildWorkflowExecutionTimedOutEventAttributes = exports.ChildWorkflowExecutionTerminatedEventAttributes = exports.ChildWorkflowExecutionStartedEventAttributes = exports.ChildWorkflowExecutionFailedEventAttributes = exports.ChildWorkflowExecutionCompletedEventAttributes = exports.ChildWorkflowExecutionCanceledEventAttributes = exports.WorkflowType = exports.CancelWorkflowExecutionFailedEventAttributes = exports.CancelWorkflowExecutionDecisionAttributes = exports.CancelTimerFailedEventAttributes = exports.CancelTimerDecisionAttributes = exports.ActivityTypeInfos = exports.ActivityTypeDetail = exports.ActivityTypeInfo = exports.ActivityTypeConfiguration = exports.ActivityTaskTimedOutEventAttributes = exports.ActivityTaskStatus = exports.ActivityTaskStartedEventAttributes = exports.ActivityTaskScheduledEventAttributes = exports.TaskList = exports.ActivityTaskFailedEventAttributes = exports.ActivityTaskCompletedEventAttributes = exports.ActivityTaskCancelRequestedEventAttributes = exports.ActivityTaskCanceledEventAttributes = exports.ActivityTask = exports.WorkflowExecution = exports.ActivityType = void 0;
4
+ exports.DescribeWorkflowExecutionInput = exports.DomainDetail = exports.DomainInfo = exports.DomainConfiguration = exports.DescribeDomainInput = exports.DescribeActivityTypeInput = exports.DeprecateWorkflowTypeInput = exports.DeprecateDomainInput = exports.DeprecateActivityTypeInput = exports.DecisionTask = exports.HistoryEvent = exports.WorkflowExecutionTimedOutEventAttributes = exports.WorkflowExecutionTerminatedEventAttributes = exports.WorkflowExecutionStartedEventAttributes = exports.WorkflowExecutionSignaledEventAttributes = exports.WorkflowExecutionFailedEventAttributes = exports.WorkflowExecutionContinuedAsNewEventAttributes = exports.WorkflowExecutionCompletedEventAttributes = exports.WorkflowExecutionCancelRequestedEventAttributes = exports.WorkflowExecutionCanceledEventAttributes = exports.TimerStartedEventAttributes = exports.TimerFiredEventAttributes = exports.TimerCanceledEventAttributes = exports.StartTimerFailedEventAttributes = exports.StartLambdaFunctionFailedEventAttributes = exports.StartChildWorkflowExecutionInitiatedEventAttributes = exports.StartChildWorkflowExecutionFailedEventAttributes = exports.SignalExternalWorkflowExecutionInitiatedEventAttributes = exports.SignalExternalWorkflowExecutionFailedEventAttributes = exports.ScheduleLambdaFunctionFailedEventAttributes = exports.ScheduleActivityTaskFailedEventAttributes = exports.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = exports.RequestCancelExternalWorkflowExecutionFailedEventAttributes = exports.RequestCancelActivityTaskFailedEventAttributes = exports.RecordMarkerFailedEventAttributes = exports.MarkerRecordedEventAttributes = exports.LambdaFunctionTimedOutEventAttributes = exports.LambdaFunctionStartedEventAttributes = exports.LambdaFunctionScheduledEventAttributes = exports.LambdaFunctionFailedEventAttributes = exports.LambdaFunctionCompletedEventAttributes = exports.FailWorkflowExecutionFailedEventAttributes = exports.ExternalWorkflowExecutionSignaledEventAttributes = exports.ExternalWorkflowExecutionCancelRequestedEventAttributes = exports.DecisionTaskTimedOutEventAttributes = exports.DecisionTaskStartedEventAttributes = exports.DecisionTaskScheduledEventAttributes = exports.DecisionTaskCompletedEventAttributes = exports.Decision = exports.StartTimerDecisionAttributes = void 0;
5
+ exports.UntagResourceInput = exports.UndeprecateWorkflowTypeInput = exports.UndeprecateDomainInput = exports.UndeprecateActivityTypeInput = exports.TerminateWorkflowExecutionInput = exports.TagResourceInput = exports.StartWorkflowExecutionInput = exports.SignalWorkflowExecutionInput = exports.Run = exports.RespondDecisionTaskCompletedInput = exports.RespondActivityTaskFailedInput = exports.RespondActivityTaskCompletedInput = exports.RespondActivityTaskCanceledInput = exports.RequestCancelWorkflowExecutionInput = exports.RegisterWorkflowTypeInput = exports.RegisterDomainInput = exports.RegisterActivityTypeInput = exports.RecordActivityTaskHeartbeatInput = exports.PollForDecisionTaskInput = exports.PollForActivityTaskInput = exports.WorkflowTypeInfos = exports.ListWorkflowTypesInput = exports.ListTagsForResourceOutput = exports.ResourceTag = exports.ListTagsForResourceInput = exports.ListOpenWorkflowExecutionsInput = exports.ListDomainsInput = exports.WorkflowExecutionInfos = exports.ListClosedWorkflowExecutionsInput = exports.ListActivityTypesInput = exports.History = exports.GetWorkflowExecutionHistoryInput = exports.DomainInfos = exports.WorkflowTypeDetail = exports.WorkflowTypeInfo = exports.WorkflowTypeConfiguration = exports.DescribeWorkflowTypeInput = exports.WorkflowExecutionDetail = exports.WorkflowExecutionOpenCounts = exports.WorkflowExecutionInfo = exports.WorkflowExecutionConfiguration = void 0;
7
6
  var ActivityType;
8
7
  (function (ActivityType) {
9
8
  ActivityType.filterSensitiveLog = (obj) => ({
@@ -226,18 +225,6 @@ var CountClosedWorkflowExecutionsInput;
226
225
  ...obj,
227
226
  });
228
227
  })(CountClosedWorkflowExecutionsInput = exports.CountClosedWorkflowExecutionsInput || (exports.CountClosedWorkflowExecutionsInput = {}));
229
- var OperationNotPermittedFault;
230
- (function (OperationNotPermittedFault) {
231
- OperationNotPermittedFault.filterSensitiveLog = (obj) => ({
232
- ...obj,
233
- });
234
- })(OperationNotPermittedFault = exports.OperationNotPermittedFault || (exports.OperationNotPermittedFault = {}));
235
- var UnknownResourceFault;
236
- (function (UnknownResourceFault) {
237
- UnknownResourceFault.filterSensitiveLog = (obj) => ({
238
- ...obj,
239
- });
240
- })(UnknownResourceFault = exports.UnknownResourceFault || (exports.UnknownResourceFault = {}));
241
228
  var WorkflowExecutionCount;
242
229
  (function (WorkflowExecutionCount) {
243
230
  WorkflowExecutionCount.filterSensitiveLog = (obj) => ({
@@ -562,36 +549,18 @@ var DecisionTask;
562
549
  ...obj,
563
550
  });
564
551
  })(DecisionTask = exports.DecisionTask || (exports.DecisionTask = {}));
565
- var DefaultUndefinedFault;
566
- (function (DefaultUndefinedFault) {
567
- DefaultUndefinedFault.filterSensitiveLog = (obj) => ({
568
- ...obj,
569
- });
570
- })(DefaultUndefinedFault = exports.DefaultUndefinedFault || (exports.DefaultUndefinedFault = {}));
571
552
  var DeprecateActivityTypeInput;
572
553
  (function (DeprecateActivityTypeInput) {
573
554
  DeprecateActivityTypeInput.filterSensitiveLog = (obj) => ({
574
555
  ...obj,
575
556
  });
576
557
  })(DeprecateActivityTypeInput = exports.DeprecateActivityTypeInput || (exports.DeprecateActivityTypeInput = {}));
577
- var TypeDeprecatedFault;
578
- (function (TypeDeprecatedFault) {
579
- TypeDeprecatedFault.filterSensitiveLog = (obj) => ({
580
- ...obj,
581
- });
582
- })(TypeDeprecatedFault = exports.TypeDeprecatedFault || (exports.TypeDeprecatedFault = {}));
583
558
  var DeprecateDomainInput;
584
559
  (function (DeprecateDomainInput) {
585
560
  DeprecateDomainInput.filterSensitiveLog = (obj) => ({
586
561
  ...obj,
587
562
  });
588
563
  })(DeprecateDomainInput = exports.DeprecateDomainInput || (exports.DeprecateDomainInput = {}));
589
- var DomainDeprecatedFault;
590
- (function (DomainDeprecatedFault) {
591
- DomainDeprecatedFault.filterSensitiveLog = (obj) => ({
592
- ...obj,
593
- });
594
- })(DomainDeprecatedFault = exports.DomainDeprecatedFault || (exports.DomainDeprecatedFault = {}));
595
564
  var DeprecateWorkflowTypeInput;
596
565
  (function (DeprecateWorkflowTypeInput) {
597
566
  DeprecateWorkflowTypeInput.filterSensitiveLog = (obj) => ({
@@ -682,12 +651,6 @@ var WorkflowTypeDetail;
682
651
  ...obj,
683
652
  });
684
653
  })(WorkflowTypeDetail = exports.WorkflowTypeDetail || (exports.WorkflowTypeDetail = {}));
685
- var DomainAlreadyExistsFault;
686
- (function (DomainAlreadyExistsFault) {
687
- DomainAlreadyExistsFault.filterSensitiveLog = (obj) => ({
688
- ...obj,
689
- });
690
- })(DomainAlreadyExistsFault = exports.DomainAlreadyExistsFault || (exports.DomainAlreadyExistsFault = {}));
691
654
  var DomainInfos;
692
655
  (function (DomainInfos) {
693
656
  DomainInfos.filterSensitiveLog = (obj) => ({
@@ -706,12 +669,6 @@ var History;
706
669
  ...obj,
707
670
  });
708
671
  })(History = exports.History || (exports.History = {}));
709
- var LimitExceededFault;
710
- (function (LimitExceededFault) {
711
- LimitExceededFault.filterSensitiveLog = (obj) => ({
712
- ...obj,
713
- });
714
- })(LimitExceededFault = exports.LimitExceededFault || (exports.LimitExceededFault = {}));
715
672
  var ListActivityTypesInput;
716
673
  (function (ListActivityTypesInput) {
717
674
  ListActivityTypesInput.filterSensitiveLog = (obj) => ({
@@ -796,24 +753,12 @@ var RegisterActivityTypeInput;
796
753
  ...obj,
797
754
  });
798
755
  })(RegisterActivityTypeInput = exports.RegisterActivityTypeInput || (exports.RegisterActivityTypeInput = {}));
799
- var TypeAlreadyExistsFault;
800
- (function (TypeAlreadyExistsFault) {
801
- TypeAlreadyExistsFault.filterSensitiveLog = (obj) => ({
802
- ...obj,
803
- });
804
- })(TypeAlreadyExistsFault = exports.TypeAlreadyExistsFault || (exports.TypeAlreadyExistsFault = {}));
805
756
  var RegisterDomainInput;
806
757
  (function (RegisterDomainInput) {
807
758
  RegisterDomainInput.filterSensitiveLog = (obj) => ({
808
759
  ...obj,
809
760
  });
810
761
  })(RegisterDomainInput = exports.RegisterDomainInput || (exports.RegisterDomainInput = {}));
811
- var TooManyTagsFault;
812
- (function (TooManyTagsFault) {
813
- TooManyTagsFault.filterSensitiveLog = (obj) => ({
814
- ...obj,
815
- });
816
- })(TooManyTagsFault = exports.TooManyTagsFault || (exports.TooManyTagsFault = {}));
817
762
  var RegisterWorkflowTypeInput;
818
763
  (function (RegisterWorkflowTypeInput) {
819
764
  RegisterWorkflowTypeInput.filterSensitiveLog = (obj) => ({
@@ -868,12 +813,6 @@ var StartWorkflowExecutionInput;
868
813
  ...obj,
869
814
  });
870
815
  })(StartWorkflowExecutionInput = exports.StartWorkflowExecutionInput || (exports.StartWorkflowExecutionInput = {}));
871
- var WorkflowExecutionAlreadyStartedFault;
872
- (function (WorkflowExecutionAlreadyStartedFault) {
873
- WorkflowExecutionAlreadyStartedFault.filterSensitiveLog = (obj) => ({
874
- ...obj,
875
- });
876
- })(WorkflowExecutionAlreadyStartedFault = exports.WorkflowExecutionAlreadyStartedFault || (exports.WorkflowExecutionAlreadyStartedFault = {}));
877
816
  var TagResourceInput;
878
817
  (function (TagResourceInput) {
879
818
  TagResourceInput.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),
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "us-east-1": {
5
5
  variants: [
6
- {
7
- hostname: "swf.us-east-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "swf-fips.us-east-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "us-east-2": {
17
13
  variants: [
18
- {
19
- hostname: "swf.us-east-2.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "swf-fips.us-east-2.amazonaws.com",
24
16
  tags: ["fips"],
@@ -45,10 +37,6 @@ var regionHash = {
45
37
  },
46
38
  "us-west-1": {
47
39
  variants: [
48
- {
49
- hostname: "swf.us-west-1.amazonaws.com",
50
- tags: [],
51
- },
52
40
  {
53
41
  hostname: "swf-fips.us-west-1.amazonaws.com",
54
42
  tags: ["fips"],
@@ -57,10 +45,6 @@ var regionHash = {
57
45
  },
58
46
  "us-west-2": {
59
47
  variants: [
60
- {
61
- hostname: "swf.us-west-2.amazonaws.com",
62
- tags: [],
63
- },
64
48
  {
65
49
  hostname: "swf-fips.us-west-2.amazonaws.com",
66
50
  tags: ["fips"],
@@ -79,6 +63,7 @@ var partitionHash = {
79
63
  "ap-south-1",
80
64
  "ap-southeast-1",
81
65
  "ap-southeast-2",
66
+ "ap-southeast-3",
82
67
  "ca-central-1",
83
68
  "eu-central-1",
84
69
  "eu-north-1",
@@ -147,14 +147,6 @@ export var CountClosedWorkflowExecutionsInput;
147
147
  (function (CountClosedWorkflowExecutionsInput) {
148
148
  CountClosedWorkflowExecutionsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
149
149
  })(CountClosedWorkflowExecutionsInput || (CountClosedWorkflowExecutionsInput = {}));
150
- export var OperationNotPermittedFault;
151
- (function (OperationNotPermittedFault) {
152
- OperationNotPermittedFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
153
- })(OperationNotPermittedFault || (OperationNotPermittedFault = {}));
154
- export var UnknownResourceFault;
155
- (function (UnknownResourceFault) {
156
- UnknownResourceFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
157
- })(UnknownResourceFault || (UnknownResourceFault = {}));
158
150
  export var WorkflowExecutionCount;
159
151
  (function (WorkflowExecutionCount) {
160
152
  WorkflowExecutionCount.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -371,26 +363,14 @@ export var DecisionTask;
371
363
  (function (DecisionTask) {
372
364
  DecisionTask.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
373
365
  })(DecisionTask || (DecisionTask = {}));
374
- export var DefaultUndefinedFault;
375
- (function (DefaultUndefinedFault) {
376
- DefaultUndefinedFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
377
- })(DefaultUndefinedFault || (DefaultUndefinedFault = {}));
378
366
  export var DeprecateActivityTypeInput;
379
367
  (function (DeprecateActivityTypeInput) {
380
368
  DeprecateActivityTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
381
369
  })(DeprecateActivityTypeInput || (DeprecateActivityTypeInput = {}));
382
- export var TypeDeprecatedFault;
383
- (function (TypeDeprecatedFault) {
384
- TypeDeprecatedFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
385
- })(TypeDeprecatedFault || (TypeDeprecatedFault = {}));
386
370
  export var DeprecateDomainInput;
387
371
  (function (DeprecateDomainInput) {
388
372
  DeprecateDomainInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
389
373
  })(DeprecateDomainInput || (DeprecateDomainInput = {}));
390
- export var DomainDeprecatedFault;
391
- (function (DomainDeprecatedFault) {
392
- DomainDeprecatedFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
393
- })(DomainDeprecatedFault || (DomainDeprecatedFault = {}));
394
374
  export var DeprecateWorkflowTypeInput;
395
375
  (function (DeprecateWorkflowTypeInput) {
396
376
  DeprecateWorkflowTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -451,10 +431,6 @@ export var WorkflowTypeDetail;
451
431
  (function (WorkflowTypeDetail) {
452
432
  WorkflowTypeDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
453
433
  })(WorkflowTypeDetail || (WorkflowTypeDetail = {}));
454
- export var DomainAlreadyExistsFault;
455
- (function (DomainAlreadyExistsFault) {
456
- DomainAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
457
- })(DomainAlreadyExistsFault || (DomainAlreadyExistsFault = {}));
458
434
  export var DomainInfos;
459
435
  (function (DomainInfos) {
460
436
  DomainInfos.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -467,10 +443,6 @@ export var History;
467
443
  (function (History) {
468
444
  History.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
469
445
  })(History || (History = {}));
470
- export var LimitExceededFault;
471
- (function (LimitExceededFault) {
472
- LimitExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
473
- })(LimitExceededFault || (LimitExceededFault = {}));
474
446
  export var ListActivityTypesInput;
475
447
  (function (ListActivityTypesInput) {
476
448
  ListActivityTypesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -527,18 +499,10 @@ export var RegisterActivityTypeInput;
527
499
  (function (RegisterActivityTypeInput) {
528
500
  RegisterActivityTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
529
501
  })(RegisterActivityTypeInput || (RegisterActivityTypeInput = {}));
530
- export var TypeAlreadyExistsFault;
531
- (function (TypeAlreadyExistsFault) {
532
- TypeAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
533
- })(TypeAlreadyExistsFault || (TypeAlreadyExistsFault = {}));
534
502
  export var RegisterDomainInput;
535
503
  (function (RegisterDomainInput) {
536
504
  RegisterDomainInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
537
505
  })(RegisterDomainInput || (RegisterDomainInput = {}));
538
- export var TooManyTagsFault;
539
- (function (TooManyTagsFault) {
540
- TooManyTagsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
541
- })(TooManyTagsFault || (TooManyTagsFault = {}));
542
506
  export var RegisterWorkflowTypeInput;
543
507
  (function (RegisterWorkflowTypeInput) {
544
508
  RegisterWorkflowTypeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -575,10 +539,6 @@ export var StartWorkflowExecutionInput;
575
539
  (function (StartWorkflowExecutionInput) {
576
540
  StartWorkflowExecutionInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
577
541
  })(StartWorkflowExecutionInput || (StartWorkflowExecutionInput = {}));
578
- export var WorkflowExecutionAlreadyStartedFault;
579
- (function (WorkflowExecutionAlreadyStartedFault) {
580
- WorkflowExecutionAlreadyStartedFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
581
- })(WorkflowExecutionAlreadyStartedFault || (WorkflowExecutionAlreadyStartedFault = {}));
582
542
  export var TagResourceInput;
583
543
  (function (TagResourceInput) {
584
544
  TagResourceInput.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 { CountClosedWorkflowExecutionsCommandInput, CountClosedWorkflowExecutionsCommandOutput } from "./commands/CountClosedWorkflowExecutionsCommand";
10
10
  import { CountOpenWorkflowExecutionsCommandInput, CountOpenWorkflowExecutionsCommandOutput } from "./commands/CountOpenWorkflowExecutionsCommand";
@@ -145,6 +145,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
145
145
  * @internal
146
146
  */
147
147
  defaultUserAgentProvider?: Provider<__UserAgent>;
148
+ /**
149
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
150
+ */
151
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
148
152
  }
149
153
  declare type SWFClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
150
154
  /**
@@ -1236,12 +1236,6 @@ export interface OperationNotPermittedFault extends __SmithyException, $Metadata
1236
1236
  */
1237
1237
  message?: string;
1238
1238
  }
1239
- export declare namespace OperationNotPermittedFault {
1240
- /**
1241
- * @internal
1242
- */
1243
- const filterSensitiveLog: (obj: OperationNotPermittedFault) => any;
1244
- }
1245
1239
  /**
1246
1240
  * <p>Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.</p>
1247
1241
  */
@@ -1253,12 +1247,6 @@ export interface UnknownResourceFault extends __SmithyException, $MetadataBearer
1253
1247
  */
1254
1248
  message?: string;
1255
1249
  }
1256
- export declare namespace UnknownResourceFault {
1257
- /**
1258
- * @internal
1259
- */
1260
- const filterSensitiveLog: (obj: UnknownResourceFault) => any;
1261
- }
1262
1250
  /**
1263
1251
  * <p>Contains the count of workflow executions returned from <a>CountOpenWorkflowExecutions</a> or
1264
1252
  * <a>CountClosedWorkflowExecutions</a>
@@ -4137,12 +4125,6 @@ export interface DefaultUndefinedFault extends __SmithyException, $MetadataBeare
4137
4125
  $fault: "client";
4138
4126
  message?: string;
4139
4127
  }
4140
- export declare namespace DefaultUndefinedFault {
4141
- /**
4142
- * @internal
4143
- */
4144
- const filterSensitiveLog: (obj: DefaultUndefinedFault) => any;
4145
- }
4146
4128
  export interface DeprecateActivityTypeInput {
4147
4129
  /**
4148
4130
  * <p>The name of the domain in which the activity type is registered.</p>
@@ -4170,12 +4152,6 @@ export interface TypeDeprecatedFault extends __SmithyException, $MetadataBearer
4170
4152
  */
4171
4153
  message?: string;
4172
4154
  }
4173
- export declare namespace TypeDeprecatedFault {
4174
- /**
4175
- * @internal
4176
- */
4177
- const filterSensitiveLog: (obj: TypeDeprecatedFault) => any;
4178
- }
4179
4155
  export interface DeprecateDomainInput {
4180
4156
  /**
4181
4157
  * <p>The name of the domain to deprecate.</p>
@@ -4199,12 +4175,6 @@ export interface DomainDeprecatedFault extends __SmithyException, $MetadataBeare
4199
4175
  */
4200
4176
  message?: string;
4201
4177
  }
4202
- export declare namespace DomainDeprecatedFault {
4203
- /**
4204
- * @internal
4205
- */
4206
- const filterSensitiveLog: (obj: DomainDeprecatedFault) => any;
4207
- }
4208
4178
  export interface DeprecateWorkflowTypeInput {
4209
4179
  /**
4210
4180
  * <p>The name of the domain in which the workflow type is registered.</p>
@@ -4716,12 +4686,6 @@ export interface DomainAlreadyExistsFault extends __SmithyException, $MetadataBe
4716
4686
  */
4717
4687
  message?: string;
4718
4688
  }
4719
- export declare namespace DomainAlreadyExistsFault {
4720
- /**
4721
- * @internal
4722
- */
4723
- const filterSensitiveLog: (obj: DomainAlreadyExistsFault) => any;
4724
- }
4725
4689
  /**
4726
4690
  * <p>Contains a paginated collection of DomainInfo structures.</p>
4727
4691
  */
@@ -4815,12 +4779,6 @@ export interface LimitExceededFault extends __SmithyException, $MetadataBearer {
4815
4779
  */
4816
4780
  message?: string;
4817
4781
  }
4818
- export declare namespace LimitExceededFault {
4819
- /**
4820
- * @internal
4821
- */
4822
- const filterSensitiveLog: (obj: LimitExceededFault) => any;
4823
- }
4824
4782
  export interface ListActivityTypesInput {
4825
4783
  /**
4826
4784
  * <p>The name of the domain in which the activity types have been registered.</p>
@@ -5407,12 +5365,6 @@ export interface TypeAlreadyExistsFault extends __SmithyException, $MetadataBear
5407
5365
  */
5408
5366
  message?: string;
5409
5367
  }
5410
- export declare namespace TypeAlreadyExistsFault {
5411
- /**
5412
- * @internal
5413
- */
5414
- const filterSensitiveLog: (obj: TypeAlreadyExistsFault) => any;
5415
- }
5416
5368
  export interface RegisterDomainInput {
5417
5369
  /**
5418
5370
  * <p>Name of the domain to register. The name must be unique in the region that the domain
@@ -5460,12 +5412,6 @@ export interface TooManyTagsFault extends __SmithyException, $MetadataBearer {
5460
5412
  $fault: "client";
5461
5413
  message?: string;
5462
5414
  }
5463
- export declare namespace TooManyTagsFault {
5464
- /**
5465
- * @internal
5466
- */
5467
- const filterSensitiveLog: (obj: TooManyTagsFault) => any;
5468
- }
5469
5415
  export interface RegisterWorkflowTypeInput {
5470
5416
  /**
5471
5417
  * <p>The name of the domain in which to register the workflow type.</p>
@@ -5897,12 +5843,6 @@ export interface WorkflowExecutionAlreadyStartedFault extends __SmithyException,
5897
5843
  */
5898
5844
  message?: string;
5899
5845
  }
5900
- export declare namespace WorkflowExecutionAlreadyStartedFault {
5901
- /**
5902
- * @internal
5903
- */
5904
- const filterSensitiveLog: (obj: WorkflowExecutionAlreadyStartedFault) => any;
5905
- }
5906
5846
  export interface TagResourceInput {
5907
5847
  /**
5908
5848
  * <p>The Amazon Resource Name (ARN) for the Amazon SWF domain.</p>
@@ -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 { SWFClientConfig } from "./SWFClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: SWFClientConfig) => {
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: SWFClientConfig) => {
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 { SWFClientConfig } from "./SWFClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: SWFClientConfig) => {
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: SWFClientConfig) => {
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 { CountClosedWorkflowExecutionsCommandInput, CountClosedWorkflowExecutionsCommandOutput } from "./commands/CountClosedWorkflowExecutionsCommand";
10
10
  import { CountOpenWorkflowExecutionsCommandInput, CountOpenWorkflowExecutionsCommandOutput } from "./commands/CountOpenWorkflowExecutionsCommand";
@@ -88,6 +88,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
88
88
  regionInfoProvider?: RegionInfoProvider;
89
89
 
90
90
  defaultUserAgentProvider?: Provider<__UserAgent>;
91
+
92
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
91
93
  }
92
94
  declare type SWFClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
93
95
 
@@ -517,10 +517,6 @@ export interface OperationNotPermittedFault extends __SmithyException, $Metadata
517
517
 
518
518
  message?: string;
519
519
  }
520
- export declare namespace OperationNotPermittedFault {
521
-
522
- const filterSensitiveLog: (obj: OperationNotPermittedFault) => any;
523
- }
524
520
 
525
521
  export interface UnknownResourceFault extends __SmithyException, $MetadataBearer {
526
522
  name: "UnknownResourceFault";
@@ -528,10 +524,6 @@ export interface UnknownResourceFault extends __SmithyException, $MetadataBearer
528
524
 
529
525
  message?: string;
530
526
  }
531
- export declare namespace UnknownResourceFault {
532
-
533
- const filterSensitiveLog: (obj: UnknownResourceFault) => any;
534
- }
535
527
 
536
528
  export interface WorkflowExecutionCount {
537
529
 
@@ -1493,10 +1485,6 @@ export interface DefaultUndefinedFault extends __SmithyException, $MetadataBeare
1493
1485
  $fault: "client";
1494
1486
  message?: string;
1495
1487
  }
1496
- export declare namespace DefaultUndefinedFault {
1497
-
1498
- const filterSensitiveLog: (obj: DefaultUndefinedFault) => any;
1499
- }
1500
1488
  export interface DeprecateActivityTypeInput {
1501
1489
 
1502
1490
  domain: string | undefined;
@@ -1514,10 +1502,6 @@ export interface TypeDeprecatedFault extends __SmithyException, $MetadataBearer
1514
1502
 
1515
1503
  message?: string;
1516
1504
  }
1517
- export declare namespace TypeDeprecatedFault {
1518
-
1519
- const filterSensitiveLog: (obj: TypeDeprecatedFault) => any;
1520
- }
1521
1505
  export interface DeprecateDomainInput {
1522
1506
 
1523
1507
  name: string | undefined;
@@ -1533,10 +1517,6 @@ export interface DomainDeprecatedFault extends __SmithyException, $MetadataBeare
1533
1517
 
1534
1518
  message?: string;
1535
1519
  }
1536
- export declare namespace DomainDeprecatedFault {
1537
-
1538
- const filterSensitiveLog: (obj: DomainDeprecatedFault) => any;
1539
- }
1540
1520
  export interface DeprecateWorkflowTypeInput {
1541
1521
 
1542
1522
  domain: string | undefined;
@@ -1753,10 +1733,6 @@ export interface DomainAlreadyExistsFault extends __SmithyException, $MetadataBe
1753
1733
 
1754
1734
  message?: string;
1755
1735
  }
1756
- export declare namespace DomainAlreadyExistsFault {
1757
-
1758
- const filterSensitiveLog: (obj: DomainAlreadyExistsFault) => any;
1759
- }
1760
1736
 
1761
1737
  export interface DomainInfos {
1762
1738
 
@@ -1802,10 +1778,6 @@ export interface LimitExceededFault extends __SmithyException, $MetadataBearer {
1802
1778
 
1803
1779
  message?: string;
1804
1780
  }
1805
- export declare namespace LimitExceededFault {
1806
-
1807
- const filterSensitiveLog: (obj: LimitExceededFault) => any;
1808
- }
1809
1781
  export interface ListActivityTypesInput {
1810
1782
 
1811
1783
  domain: string | undefined;
@@ -2026,10 +1998,6 @@ export interface TypeAlreadyExistsFault extends __SmithyException, $MetadataBear
2026
1998
 
2027
1999
  message?: string;
2028
2000
  }
2029
- export declare namespace TypeAlreadyExistsFault {
2030
-
2031
- const filterSensitiveLog: (obj: TypeAlreadyExistsFault) => any;
2032
- }
2033
2001
  export interface RegisterDomainInput {
2034
2002
 
2035
2003
  name: string | undefined;
@@ -2050,10 +2018,6 @@ export interface TooManyTagsFault extends __SmithyException, $MetadataBearer {
2050
2018
  $fault: "client";
2051
2019
  message?: string;
2052
2020
  }
2053
- export declare namespace TooManyTagsFault {
2054
-
2055
- const filterSensitiveLog: (obj: TooManyTagsFault) => any;
2056
- }
2057
2021
  export interface RegisterWorkflowTypeInput {
2058
2022
 
2059
2023
  domain: string | undefined;
@@ -2197,10 +2161,6 @@ export interface WorkflowExecutionAlreadyStartedFault extends __SmithyException,
2197
2161
 
2198
2162
  message?: string;
2199
2163
  }
2200
- export declare namespace WorkflowExecutionAlreadyStartedFault {
2201
-
2202
- const filterSensitiveLog: (obj: WorkflowExecutionAlreadyStartedFault) => any;
2203
- }
2204
2164
  export interface TagResourceInput {
2205
2165
 
2206
2166
  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 { SWFClientConfig } from "./SWFClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: SWFClientConfig) => {
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: SWFClientConfig) => {
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 { SWFClientConfig } from "./SWFClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: SWFClientConfig) => {
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: SWFClientConfig) => {
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-swf",
3
3
  "description": "AWS SDK for JavaScript Swf Client for Node.js, Browser and React Native",
4
- "version": "3.42.0",
4
+ "version": "3.47.0",
5
5
  "scripts": {
6
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 ./",
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.42.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.0",
22
+ "@aws-sdk/config-resolver": "3.47.0",
23
+ "@aws-sdk/credential-provider-node": "3.47.0",
24
+ "@aws-sdk/fetch-http-handler": "3.47.0",
25
+ "@aws-sdk/hash-node": "3.47.0",
26
+ "@aws-sdk/invalid-dependency": "3.47.0",
27
+ "@aws-sdk/middleware-content-length": "3.47.0",
28
+ "@aws-sdk/middleware-host-header": "3.47.0",
29
+ "@aws-sdk/middleware-logger": "3.47.0",
30
+ "@aws-sdk/middleware-retry": "3.47.0",
31
+ "@aws-sdk/middleware-serde": "3.47.0",
32
+ "@aws-sdk/middleware-signing": "3.47.0",
33
+ "@aws-sdk/middleware-stack": "3.47.0",
34
+ "@aws-sdk/middleware-user-agent": "3.47.0",
35
+ "@aws-sdk/node-config-provider": "3.47.0",
36
+ "@aws-sdk/node-http-handler": "3.47.0",
37
+ "@aws-sdk/protocol-http": "3.47.0",
38
+ "@aws-sdk/smithy-client": "3.47.0",
39
+ "@aws-sdk/types": "3.47.0",
40
+ "@aws-sdk/url-parser": "3.47.0",
41
+ "@aws-sdk/util-base64-browser": "3.47.0",
42
+ "@aws-sdk/util-base64-node": "3.47.0",
43
+ "@aws-sdk/util-body-length-browser": "3.47.0",
44
+ "@aws-sdk/util-body-length-node": "3.47.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.0",
48
+ "@aws-sdk/util-user-agent-node": "3.47.0",
49
+ "@aws-sdk/util-utf8-browser": "3.47.0",
50
+ "@aws-sdk/util-utf8-node": "3.47.0",
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.0",
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": {