@aws-sdk/client-swf 3.758.0 → 3.772.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist-cjs/index.js +29 -29
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  ActivityTaskTimeoutType: () => ActivityTaskTimeoutType,
25
25
  CancelTimerFailedCause: () => CancelTimerFailedCause,
26
26
  CancelWorkflowExecutionFailedCause: () => CancelWorkflowExecutionFailedCause,
@@ -109,7 +109,7 @@ __export(src_exports, {
109
109
  paginateListWorkflowTypes: () => paginateListWorkflowTypes,
110
110
  paginatePollForDecisionTask: () => paginatePollForDecisionTask
111
111
  });
112
- module.exports = __toCommonJS(src_exports);
112
+ module.exports = __toCommonJS(index_exports);
113
113
 
114
114
  // src/SWFClient.ts
115
115
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -236,9 +236,9 @@ var SWFClient = class extends import_smithy_client.Client {
236
236
  this.middlewareStack.use(
237
237
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
238
238
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSWFHttpAuthSchemeParametersProvider,
239
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
239
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
240
240
  "aws.auth#sigv4": config.credentials
241
- })
241
+ }), "identityProviderConfigProvider")
242
242
  })
243
243
  );
244
244
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -1515,10 +1515,10 @@ var de_WorkflowExecutionAlreadyStartedFaultRes = /* @__PURE__ */ __name(async (p
1515
1515
  var se_CountClosedWorkflowExecutionsInput = /* @__PURE__ */ __name((input, context) => {
1516
1516
  return (0, import_smithy_client.take)(input, {
1517
1517
  closeStatusFilter: import_smithy_client._json,
1518
- closeTimeFilter: (_) => se_ExecutionTimeFilter(_, context),
1518
+ closeTimeFilter: /* @__PURE__ */ __name((_) => se_ExecutionTimeFilter(_, context), "closeTimeFilter"),
1519
1519
  domain: [],
1520
1520
  executionFilter: import_smithy_client._json,
1521
- startTimeFilter: (_) => se_ExecutionTimeFilter(_, context),
1521
+ startTimeFilter: /* @__PURE__ */ __name((_) => se_ExecutionTimeFilter(_, context), "startTimeFilter"),
1522
1522
  tagFilter: import_smithy_client._json,
1523
1523
  typeFilter: import_smithy_client._json
1524
1524
  });
@@ -1527,27 +1527,27 @@ var se_CountOpenWorkflowExecutionsInput = /* @__PURE__ */ __name((input, context
1527
1527
  return (0, import_smithy_client.take)(input, {
1528
1528
  domain: [],
1529
1529
  executionFilter: import_smithy_client._json,
1530
- startTimeFilter: (_) => se_ExecutionTimeFilter(_, context),
1530
+ startTimeFilter: /* @__PURE__ */ __name((_) => se_ExecutionTimeFilter(_, context), "startTimeFilter"),
1531
1531
  tagFilter: import_smithy_client._json,
1532
1532
  typeFilter: import_smithy_client._json
1533
1533
  });
1534
1534
  }, "se_CountOpenWorkflowExecutionsInput");
1535
1535
  var se_ExecutionTimeFilter = /* @__PURE__ */ __name((input, context) => {
1536
1536
  return (0, import_smithy_client.take)(input, {
1537
- latestDate: (_) => _.getTime() / 1e3,
1538
- oldestDate: (_) => _.getTime() / 1e3
1537
+ latestDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "latestDate"),
1538
+ oldestDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "oldestDate")
1539
1539
  });
1540
1540
  }, "se_ExecutionTimeFilter");
1541
1541
  var se_ListClosedWorkflowExecutionsInput = /* @__PURE__ */ __name((input, context) => {
1542
1542
  return (0, import_smithy_client.take)(input, {
1543
1543
  closeStatusFilter: import_smithy_client._json,
1544
- closeTimeFilter: (_) => se_ExecutionTimeFilter(_, context),
1544
+ closeTimeFilter: /* @__PURE__ */ __name((_) => se_ExecutionTimeFilter(_, context), "closeTimeFilter"),
1545
1545
  domain: [],
1546
1546
  executionFilter: import_smithy_client._json,
1547
1547
  maximumPageSize: [],
1548
1548
  nextPageToken: [],
1549
1549
  reverseOrder: [],
1550
- startTimeFilter: (_) => se_ExecutionTimeFilter(_, context),
1550
+ startTimeFilter: /* @__PURE__ */ __name((_) => se_ExecutionTimeFilter(_, context), "startTimeFilter"),
1551
1551
  tagFilter: import_smithy_client._json,
1552
1552
  typeFilter: import_smithy_client._json
1553
1553
  });
@@ -1559,7 +1559,7 @@ var se_ListOpenWorkflowExecutionsInput = /* @__PURE__ */ __name((input, context)
1559
1559
  maximumPageSize: [],
1560
1560
  nextPageToken: [],
1561
1561
  reverseOrder: [],
1562
- startTimeFilter: (_) => se_ExecutionTimeFilter(_, context),
1562
+ startTimeFilter: /* @__PURE__ */ __name((_) => se_ExecutionTimeFilter(_, context), "startTimeFilter"),
1563
1563
  tagFilter: import_smithy_client._json,
1564
1564
  typeFilter: import_smithy_client._json
1565
1565
  });
@@ -1567,14 +1567,14 @@ var se_ListOpenWorkflowExecutionsInput = /* @__PURE__ */ __name((input, context)
1567
1567
  var de_ActivityTypeDetail = /* @__PURE__ */ __name((output, context) => {
1568
1568
  return (0, import_smithy_client.take)(output, {
1569
1569
  configuration: import_smithy_client._json,
1570
- typeInfo: (_) => de_ActivityTypeInfo(_, context)
1570
+ typeInfo: /* @__PURE__ */ __name((_) => de_ActivityTypeInfo(_, context), "typeInfo")
1571
1571
  });
1572
1572
  }, "de_ActivityTypeDetail");
1573
1573
  var de_ActivityTypeInfo = /* @__PURE__ */ __name((output, context) => {
1574
1574
  return (0, import_smithy_client.take)(output, {
1575
1575
  activityType: import_smithy_client._json,
1576
- creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1577
- deprecationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1576
+ creationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationDate"),
1577
+ deprecationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "deprecationDate"),
1578
1578
  description: import_smithy_client.expectString,
1579
1579
  status: import_smithy_client.expectString
1580
1580
  });
@@ -1588,12 +1588,12 @@ var de_ActivityTypeInfoList = /* @__PURE__ */ __name((output, context) => {
1588
1588
  var de_ActivityTypeInfos = /* @__PURE__ */ __name((output, context) => {
1589
1589
  return (0, import_smithy_client.take)(output, {
1590
1590
  nextPageToken: import_smithy_client.expectString,
1591
- typeInfos: (_) => de_ActivityTypeInfoList(_, context)
1591
+ typeInfos: /* @__PURE__ */ __name((_) => de_ActivityTypeInfoList(_, context), "typeInfos")
1592
1592
  });
1593
1593
  }, "de_ActivityTypeInfos");
1594
1594
  var de_DecisionTask = /* @__PURE__ */ __name((output, context) => {
1595
1595
  return (0, import_smithy_client.take)(output, {
1596
- events: (_) => de_HistoryEventList(_, context),
1596
+ events: /* @__PURE__ */ __name((_) => de_HistoryEventList(_, context), "events"),
1597
1597
  nextPageToken: import_smithy_client.expectString,
1598
1598
  previousStartedEventId: import_smithy_client.expectLong,
1599
1599
  startedEventId: import_smithy_client.expectLong,
@@ -1604,7 +1604,7 @@ var de_DecisionTask = /* @__PURE__ */ __name((output, context) => {
1604
1604
  }, "de_DecisionTask");
1605
1605
  var de_History = /* @__PURE__ */ __name((output, context) => {
1606
1606
  return (0, import_smithy_client.take)(output, {
1607
- events: (_) => de_HistoryEventList(_, context),
1607
+ events: /* @__PURE__ */ __name((_) => de_HistoryEventList(_, context), "events"),
1608
1608
  nextPageToken: import_smithy_client.expectString
1609
1609
  });
1610
1610
  }, "de_History");
@@ -1632,7 +1632,7 @@ var de_HistoryEvent = /* @__PURE__ */ __name((output, context) => {
1632
1632
  decisionTaskStartedEventAttributes: import_smithy_client._json,
1633
1633
  decisionTaskTimedOutEventAttributes: import_smithy_client._json,
1634
1634
  eventId: import_smithy_client.expectLong,
1635
- eventTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1635
+ eventTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "eventTimestamp"),
1636
1636
  eventType: import_smithy_client.expectString,
1637
1637
  externalWorkflowExecutionCancelRequestedEventAttributes: import_smithy_client._json,
1638
1638
  externalWorkflowExecutionSignaledEventAttributes: import_smithy_client._json,
@@ -1678,8 +1678,8 @@ var de_HistoryEventList = /* @__PURE__ */ __name((output, context) => {
1678
1678
  var de_WorkflowExecutionDetail = /* @__PURE__ */ __name((output, context) => {
1679
1679
  return (0, import_smithy_client.take)(output, {
1680
1680
  executionConfiguration: import_smithy_client._json,
1681
- executionInfo: (_) => de_WorkflowExecutionInfo(_, context),
1682
- latestActivityTaskTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1681
+ executionInfo: /* @__PURE__ */ __name((_) => de_WorkflowExecutionInfo(_, context), "executionInfo"),
1682
+ latestActivityTaskTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "latestActivityTaskTimestamp"),
1683
1683
  latestExecutionContext: import_smithy_client.expectString,
1684
1684
  openCounts: import_smithy_client._json
1685
1685
  });
@@ -1688,11 +1688,11 @@ var de_WorkflowExecutionInfo = /* @__PURE__ */ __name((output, context) => {
1688
1688
  return (0, import_smithy_client.take)(output, {
1689
1689
  cancelRequested: import_smithy_client.expectBoolean,
1690
1690
  closeStatus: import_smithy_client.expectString,
1691
- closeTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1691
+ closeTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "closeTimestamp"),
1692
1692
  execution: import_smithy_client._json,
1693
1693
  executionStatus: import_smithy_client.expectString,
1694
1694
  parent: import_smithy_client._json,
1695
- startTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1695
+ startTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTimestamp"),
1696
1696
  tagList: import_smithy_client._json,
1697
1697
  workflowType: import_smithy_client._json
1698
1698
  });
@@ -1705,20 +1705,20 @@ var de_WorkflowExecutionInfoList = /* @__PURE__ */ __name((output, context) => {
1705
1705
  }, "de_WorkflowExecutionInfoList");
1706
1706
  var de_WorkflowExecutionInfos = /* @__PURE__ */ __name((output, context) => {
1707
1707
  return (0, import_smithy_client.take)(output, {
1708
- executionInfos: (_) => de_WorkflowExecutionInfoList(_, context),
1708
+ executionInfos: /* @__PURE__ */ __name((_) => de_WorkflowExecutionInfoList(_, context), "executionInfos"),
1709
1709
  nextPageToken: import_smithy_client.expectString
1710
1710
  });
1711
1711
  }, "de_WorkflowExecutionInfos");
1712
1712
  var de_WorkflowTypeDetail = /* @__PURE__ */ __name((output, context) => {
1713
1713
  return (0, import_smithy_client.take)(output, {
1714
1714
  configuration: import_smithy_client._json,
1715
- typeInfo: (_) => de_WorkflowTypeInfo(_, context)
1715
+ typeInfo: /* @__PURE__ */ __name((_) => de_WorkflowTypeInfo(_, context), "typeInfo")
1716
1716
  });
1717
1717
  }, "de_WorkflowTypeDetail");
1718
1718
  var de_WorkflowTypeInfo = /* @__PURE__ */ __name((output, context) => {
1719
1719
  return (0, import_smithy_client.take)(output, {
1720
- creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1721
- deprecationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1720
+ creationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "creationDate"),
1721
+ deprecationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "deprecationDate"),
1722
1722
  description: import_smithy_client.expectString,
1723
1723
  status: import_smithy_client.expectString,
1724
1724
  workflowType: import_smithy_client._json
@@ -1733,7 +1733,7 @@ var de_WorkflowTypeInfoList = /* @__PURE__ */ __name((output, context) => {
1733
1733
  var de_WorkflowTypeInfos = /* @__PURE__ */ __name((output, context) => {
1734
1734
  return (0, import_smithy_client.take)(output, {
1735
1735
  nextPageToken: import_smithy_client.expectString,
1736
- typeInfos: (_) => de_WorkflowTypeInfoList(_, context)
1736
+ typeInfos: /* @__PURE__ */ __name((_) => de_WorkflowTypeInfoList(_, context), "typeInfos")
1737
1737
  });
1738
1738
  }, "de_WorkflowTypeInfos");
1739
1739
  var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.758.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-swf",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",