@aws-sdk/client-appflow 3.35.0 → 3.38.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 (212) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist-cjs/Appflow.js +0 -44
  3. package/dist-cjs/AppflowClient.js +0 -49
  4. package/dist-cjs/commands/CreateConnectorProfileCommand.js +0 -28
  5. package/dist-cjs/commands/CreateFlowCommand.js +0 -28
  6. package/dist-cjs/commands/DeleteConnectorProfileCommand.js +0 -25
  7. package/dist-cjs/commands/DeleteFlowCommand.js +0 -27
  8. package/dist-cjs/commands/DescribeConnectorEntityCommand.js +0 -26
  9. package/dist-cjs/commands/DescribeConnectorProfilesCommand.js +0 -29
  10. package/dist-cjs/commands/DescribeConnectorsCommand.js +0 -29
  11. package/dist-cjs/commands/DescribeFlowCommand.js +0 -25
  12. package/dist-cjs/commands/DescribeFlowExecutionRecordsCommand.js +0 -25
  13. package/dist-cjs/commands/ListConnectorEntitiesCommand.js +0 -28
  14. package/dist-cjs/commands/ListFlowsCommand.js +0 -25
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  16. package/dist-cjs/commands/StartFlowCommand.js +0 -26
  17. package/dist-cjs/commands/StopFlowCommand.js +0 -27
  18. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  19. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  20. package/dist-cjs/commands/UpdateConnectorProfileCommand.js +0 -25
  21. package/dist-cjs/commands/UpdateFlowCommand.js +0 -25
  22. package/dist-cjs/commands/index.js +21 -0
  23. package/dist-cjs/endpoints.js +1 -2
  24. package/dist-cjs/index.js +4 -26
  25. package/dist-cjs/models/index.js +0 -1
  26. package/dist-cjs/models/models_0.js +13 -486
  27. package/dist-cjs/pagination/DescribeConnectorProfilesPaginator.js +0 -11
  28. package/dist-cjs/pagination/DescribeConnectorsPaginator.js +0 -11
  29. package/dist-cjs/pagination/DescribeFlowExecutionRecordsPaginator.js +0 -11
  30. package/dist-cjs/pagination/Interfaces.js +0 -1
  31. package/dist-cjs/pagination/ListFlowsPaginator.js +0 -11
  32. package/dist-cjs/pagination/index.js +8 -0
  33. package/dist-cjs/protocols/Aws_restJson1.js +18 -6
  34. package/dist-cjs/runtimeConfig.browser.js +1 -6
  35. package/dist-cjs/runtimeConfig.js +2 -7
  36. package/dist-cjs/runtimeConfig.native.js +0 -4
  37. package/dist-cjs/runtimeConfig.shared.js +0 -4
  38. package/dist-es/Appflow.js +0 -1
  39. package/dist-es/AppflowClient.js +0 -1
  40. package/dist-es/commands/CreateConnectorProfileCommand.js +0 -1
  41. package/dist-es/commands/CreateFlowCommand.js +0 -1
  42. package/dist-es/commands/DeleteConnectorProfileCommand.js +0 -1
  43. package/dist-es/commands/DeleteFlowCommand.js +0 -1
  44. package/dist-es/commands/DescribeConnectorEntityCommand.js +0 -1
  45. package/dist-es/commands/DescribeConnectorProfilesCommand.js +0 -1
  46. package/dist-es/commands/DescribeConnectorsCommand.js +0 -1
  47. package/dist-es/commands/DescribeFlowCommand.js +0 -1
  48. package/dist-es/commands/DescribeFlowExecutionRecordsCommand.js +0 -1
  49. package/dist-es/commands/ListConnectorEntitiesCommand.js +0 -1
  50. package/dist-es/commands/ListFlowsCommand.js +0 -1
  51. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  52. package/dist-es/commands/StartFlowCommand.js +0 -1
  53. package/dist-es/commands/StopFlowCommand.js +0 -1
  54. package/dist-es/commands/TagResourceCommand.js +0 -1
  55. package/dist-es/commands/UntagResourceCommand.js +0 -1
  56. package/dist-es/commands/UpdateConnectorProfileCommand.js +0 -1
  57. package/dist-es/commands/UpdateFlowCommand.js +0 -1
  58. package/dist-es/commands/index.js +18 -0
  59. package/dist-es/endpoints.js +1 -2
  60. package/dist-es/index.js +4 -26
  61. package/dist-es/models/index.js +0 -1
  62. package/dist-es/models/models_0.js +9 -1
  63. package/dist-es/pagination/DescribeConnectorProfilesPaginator.js +0 -1
  64. package/dist-es/pagination/DescribeConnectorsPaginator.js +0 -1
  65. package/dist-es/pagination/DescribeFlowExecutionRecordsPaginator.js +0 -1
  66. package/dist-es/pagination/Interfaces.js +0 -1
  67. package/dist-es/pagination/ListFlowsPaginator.js +0 -1
  68. package/dist-es/pagination/index.js +5 -0
  69. package/dist-es/protocols/Aws_restJson1.js +16 -2
  70. package/dist-es/runtimeConfig.browser.js +1 -2
  71. package/dist-es/runtimeConfig.js +2 -3
  72. package/dist-es/runtimeConfig.native.js +0 -1
  73. package/dist-es/runtimeConfig.shared.js +0 -1
  74. package/dist-types/commands/index.d.ts +18 -0
  75. package/dist-types/index.d.ts +4 -25
  76. package/dist-types/models/models_0.d.ts +23 -0
  77. package/dist-types/pagination/index.d.ts +5 -0
  78. package/dist-types/ts3.4/Appflow.d.ts +19 -120
  79. package/dist-types/ts3.4/AppflowClient.d.ts +24 -129
  80. package/dist-types/ts3.4/commands/CreateConnectorProfileCommand.d.ts +2 -23
  81. package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +2 -23
  82. package/dist-types/ts3.4/commands/DeleteConnectorProfileCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +2 -22
  84. package/dist-types/ts3.4/commands/DescribeConnectorEntityCommand.d.ts +2 -21
  85. package/dist-types/ts3.4/commands/DescribeConnectorProfilesCommand.d.ts +2 -24
  86. package/dist-types/ts3.4/commands/DescribeConnectorsCommand.d.ts +2 -24
  87. package/dist-types/ts3.4/commands/DescribeFlowCommand.d.ts +2 -20
  88. package/dist-types/ts3.4/commands/DescribeFlowExecutionRecordsCommand.d.ts +2 -20
  89. package/dist-types/ts3.4/commands/ListConnectorEntitiesCommand.d.ts +2 -23
  90. package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/StartFlowCommand.d.ts +2 -21
  93. package/dist-types/ts3.4/commands/StopFlowCommand.d.ts +2 -22
  94. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  95. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  96. package/dist-types/ts3.4/commands/UpdateConnectorProfileCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +2 -20
  98. package/dist-types/ts3.4/commands/index.d.ts +18 -0
  99. package/dist-types/ts3.4/index.d.ts +4 -25
  100. package/dist-types/ts3.4/models/models_0.d.ts +731 -2349
  101. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  102. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  103. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  104. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  105. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  106. package/package.json +33 -30
  107. package/dist-cjs/Appflow.js.map +0 -1
  108. package/dist-cjs/AppflowClient.js.map +0 -1
  109. package/dist-cjs/commands/CreateConnectorProfileCommand.js.map +0 -1
  110. package/dist-cjs/commands/CreateFlowCommand.js.map +0 -1
  111. package/dist-cjs/commands/DeleteConnectorProfileCommand.js.map +0 -1
  112. package/dist-cjs/commands/DeleteFlowCommand.js.map +0 -1
  113. package/dist-cjs/commands/DescribeConnectorEntityCommand.js.map +0 -1
  114. package/dist-cjs/commands/DescribeConnectorProfilesCommand.js.map +0 -1
  115. package/dist-cjs/commands/DescribeConnectorsCommand.js.map +0 -1
  116. package/dist-cjs/commands/DescribeFlowCommand.js.map +0 -1
  117. package/dist-cjs/commands/DescribeFlowExecutionRecordsCommand.js.map +0 -1
  118. package/dist-cjs/commands/ListConnectorEntitiesCommand.js.map +0 -1
  119. package/dist-cjs/commands/ListFlowsCommand.js.map +0 -1
  120. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  121. package/dist-cjs/commands/StartFlowCommand.js.map +0 -1
  122. package/dist-cjs/commands/StopFlowCommand.js.map +0 -1
  123. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  124. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  125. package/dist-cjs/commands/UpdateConnectorProfileCommand.js.map +0 -1
  126. package/dist-cjs/commands/UpdateFlowCommand.js.map +0 -1
  127. package/dist-cjs/endpoints.js.map +0 -1
  128. package/dist-cjs/index.js.map +0 -1
  129. package/dist-cjs/models/index.js.map +0 -1
  130. package/dist-cjs/models/models_0.js.map +0 -1
  131. package/dist-cjs/pagination/DescribeConnectorProfilesPaginator.js.map +0 -1
  132. package/dist-cjs/pagination/DescribeConnectorsPaginator.js.map +0 -1
  133. package/dist-cjs/pagination/DescribeFlowExecutionRecordsPaginator.js.map +0 -1
  134. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  135. package/dist-cjs/pagination/ListFlowsPaginator.js.map +0 -1
  136. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  137. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  138. package/dist-cjs/runtimeConfig.js.map +0 -1
  139. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  140. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  141. package/dist-es/Appflow.js.map +0 -1
  142. package/dist-es/AppflowClient.js.map +0 -1
  143. package/dist-es/commands/CreateConnectorProfileCommand.js.map +0 -1
  144. package/dist-es/commands/CreateFlowCommand.js.map +0 -1
  145. package/dist-es/commands/DeleteConnectorProfileCommand.js.map +0 -1
  146. package/dist-es/commands/DeleteFlowCommand.js.map +0 -1
  147. package/dist-es/commands/DescribeConnectorEntityCommand.js.map +0 -1
  148. package/dist-es/commands/DescribeConnectorProfilesCommand.js.map +0 -1
  149. package/dist-es/commands/DescribeConnectorsCommand.js.map +0 -1
  150. package/dist-es/commands/DescribeFlowCommand.js.map +0 -1
  151. package/dist-es/commands/DescribeFlowExecutionRecordsCommand.js.map +0 -1
  152. package/dist-es/commands/ListConnectorEntitiesCommand.js.map +0 -1
  153. package/dist-es/commands/ListFlowsCommand.js.map +0 -1
  154. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  155. package/dist-es/commands/StartFlowCommand.js.map +0 -1
  156. package/dist-es/commands/StopFlowCommand.js.map +0 -1
  157. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  158. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  159. package/dist-es/commands/UpdateConnectorProfileCommand.js.map +0 -1
  160. package/dist-es/commands/UpdateFlowCommand.js.map +0 -1
  161. package/dist-es/endpoints.js.map +0 -1
  162. package/dist-es/index.js.map +0 -1
  163. package/dist-es/models/index.js.map +0 -1
  164. package/dist-es/models/models_0.js.map +0 -1
  165. package/dist-es/pagination/DescribeConnectorProfilesPaginator.js.map +0 -1
  166. package/dist-es/pagination/DescribeConnectorsPaginator.js.map +0 -1
  167. package/dist-es/pagination/DescribeFlowExecutionRecordsPaginator.js.map +0 -1
  168. package/dist-es/pagination/Interfaces.js.map +0 -1
  169. package/dist-es/pagination/ListFlowsPaginator.js.map +0 -1
  170. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  171. package/dist-es/runtimeConfig.browser.js.map +0 -1
  172. package/dist-es/runtimeConfig.js.map +0 -1
  173. package/dist-es/runtimeConfig.native.js.map +0 -1
  174. package/dist-es/runtimeConfig.shared.js.map +0 -1
  175. package/jest.config.js +0 -4
  176. package/src/Appflow.ts +0 -664
  177. package/src/AppflowClient.ts +0 -354
  178. package/src/commands/CreateConnectorProfileCommand.ts +0 -98
  179. package/src/commands/CreateFlowCommand.ts +0 -98
  180. package/src/commands/DeleteConnectorProfileCommand.ts +0 -95
  181. package/src/commands/DeleteFlowCommand.ts +0 -97
  182. package/src/commands/DescribeConnectorEntityCommand.ts +0 -96
  183. package/src/commands/DescribeConnectorProfilesCommand.ts +0 -102
  184. package/src/commands/DescribeConnectorsCommand.ts +0 -99
  185. package/src/commands/DescribeFlowCommand.ts +0 -95
  186. package/src/commands/DescribeFlowExecutionRecordsCommand.ts +0 -100
  187. package/src/commands/ListConnectorEntitiesCommand.ts +0 -98
  188. package/src/commands/ListFlowsCommand.ts +0 -95
  189. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  190. package/src/commands/StartFlowCommand.ts +0 -96
  191. package/src/commands/StopFlowCommand.ts +0 -97
  192. package/src/commands/TagResourceCommand.ts +0 -95
  193. package/src/commands/UntagResourceCommand.ts +0 -95
  194. package/src/commands/UpdateConnectorProfileCommand.ts +0 -95
  195. package/src/commands/UpdateFlowCommand.ts +0 -95
  196. package/src/endpoints.ts +0 -57
  197. package/src/index.ts +0 -26
  198. package/src/models/index.ts +0 -1
  199. package/src/models/models_0.ts +0 -5012
  200. package/src/pagination/DescribeConnectorProfilesPaginator.ts +0 -59
  201. package/src/pagination/DescribeConnectorsPaginator.ts +0 -58
  202. package/src/pagination/DescribeFlowExecutionRecordsPaginator.ts +0 -59
  203. package/src/pagination/Interfaces.ts +0 -8
  204. package/src/pagination/ListFlowsPaginator.ts +0 -55
  205. package/src/protocols/Aws_restJson1.ts +0 -5153
  206. package/src/runtimeConfig.browser.ts +0 -41
  207. package/src/runtimeConfig.native.ts +0 -17
  208. package/src/runtimeConfig.shared.ts +0 -17
  209. package/src/runtimeConfig.ts +0 -46
  210. package/tsconfig.es.json +0 -10
  211. package/tsconfig.json +0 -33
  212. package/tsconfig.types.json +0 -9
@@ -4,22 +4,13 @@ exports.paginateDescribeConnectorProfiles = void 0;
4
4
  const Appflow_1 = require("../Appflow");
5
5
  const AppflowClient_1 = require("../AppflowClient");
6
6
  const DescribeConnectorProfilesCommand_1 = require("../commands/DescribeConnectorProfilesCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeConnectorProfilesCommand_1.DescribeConnectorProfilesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeConnectorProfiles(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeConnectorProfiles(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeConnectorProfiles(config, input, ...additionalAr
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeConnectorProfiles = paginateDescribeConnectorProfiles;
46
- //# sourceMappingURL=DescribeConnectorProfilesPaginator.js.map
@@ -4,22 +4,13 @@ exports.paginateDescribeConnectors = void 0;
4
4
  const Appflow_1 = require("../Appflow");
5
5
  const AppflowClient_1 = require("../AppflowClient");
6
6
  const DescribeConnectorsCommand_1 = require("../commands/DescribeConnectorsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeConnectorsCommand_1.DescribeConnectorsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeConnectors(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeConnectors(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -38,8 +29,6 @@ async function* paginateDescribeConnectors(config, input, ...additionalArguments
38
29
  token = page.nextToken;
39
30
  hasNext = !!token;
40
31
  }
41
- // @ts-ignore
42
32
  return undefined;
43
33
  }
44
34
  exports.paginateDescribeConnectors = paginateDescribeConnectors;
45
- //# sourceMappingURL=DescribeConnectorsPaginator.js.map
@@ -4,22 +4,13 @@ exports.paginateDescribeFlowExecutionRecords = void 0;
4
4
  const Appflow_1 = require("../Appflow");
5
5
  const AppflowClient_1 = require("../AppflowClient");
6
6
  const DescribeFlowExecutionRecordsCommand_1 = require("../commands/DescribeFlowExecutionRecordsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeFlowExecutionRecordsCommand_1.DescribeFlowExecutionRecordsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeFlowExecutionRecords(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeFlowExecutionRecords(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeFlowExecutionRecords(config, input, ...additiona
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeFlowExecutionRecords = paginateDescribeFlowExecutionRecords;
46
- //# sourceMappingURL=DescribeFlowExecutionRecordsPaginator.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Interfaces.js.map
@@ -4,22 +4,13 @@ exports.paginateListFlows = void 0;
4
4
  const Appflow_1 = require("../Appflow");
5
5
  const AppflowClient_1 = require("../AppflowClient");
6
6
  const ListFlowsCommand_1 = require("../commands/ListFlowsCommand");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new ListFlowsCommand_1.ListFlowsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.listFlows(input, ...args);
20
12
  };
21
13
  async function* paginateListFlows(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.nextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateListFlows(config, input, ...additionalArguments) {
39
30
  token = page.nextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateListFlows = paginateListFlows;
46
- //# sourceMappingURL=ListFlowsPaginator.js.map
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DescribeConnectorProfilesPaginator"), exports);
5
+ tslib_1.__exportStar(require("./DescribeConnectorsPaginator"), exports);
6
+ tslib_1.__exportStar(require("./DescribeFlowExecutionRecordsPaginator"), exports);
7
+ tslib_1.__exportStar(require("./Interfaces"), exports);
8
+ tslib_1.__exportStar(require("./ListFlowsPaginator"), exports);
@@ -2432,6 +2432,12 @@ const serializeAws_restJson1S3DestinationProperties = (input, context) => {
2432
2432
  }),
2433
2433
  };
2434
2434
  };
2435
+ const serializeAws_restJson1S3InputFormatConfig = (input, context) => {
2436
+ return {
2437
+ ...(input.s3InputFileType !== undefined &&
2438
+ input.s3InputFileType !== null && { s3InputFileType: input.s3InputFileType }),
2439
+ };
2440
+ };
2435
2441
  const serializeAws_restJson1S3OutputFormatConfig = (input, context) => {
2436
2442
  return {
2437
2443
  ...(input.aggregationConfig !== undefined &&
@@ -2447,6 +2453,10 @@ const serializeAws_restJson1S3SourceProperties = (input, context) => {
2447
2453
  return {
2448
2454
  ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
2449
2455
  ...(input.bucketPrefix !== undefined && input.bucketPrefix !== null && { bucketPrefix: input.bucketPrefix }),
2456
+ ...(input.s3InputFormatConfig !== undefined &&
2457
+ input.s3InputFormatConfig !== null && {
2458
+ s3InputFormatConfig: serializeAws_restJson1S3InputFormatConfig(input.s3InputFormatConfig, context),
2459
+ }),
2450
2460
  };
2451
2461
  };
2452
2462
  const serializeAws_restJson1SalesforceConnectorProfileCredentials = (input, context) => {
@@ -3517,6 +3527,11 @@ const deserializeAws_restJson1S3DestinationProperties = (output, context) => {
3517
3527
  : undefined,
3518
3528
  };
3519
3529
  };
3530
+ const deserializeAws_restJson1S3InputFormatConfig = (output, context) => {
3531
+ return {
3532
+ s3InputFileType: smithy_client_1.expectString(output.s3InputFileType),
3533
+ };
3534
+ };
3520
3535
  const deserializeAws_restJson1S3Metadata = (output, context) => {
3521
3536
  return {};
3522
3537
  };
@@ -3535,6 +3550,9 @@ const deserializeAws_restJson1S3SourceProperties = (output, context) => {
3535
3550
  return {
3536
3551
  bucketName: smithy_client_1.expectString(output.bucketName),
3537
3552
  bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3553
+ s3InputFormatConfig: output.s3InputFormatConfig !== undefined && output.s3InputFormatConfig !== null
3554
+ ? deserializeAws_restJson1S3InputFormatConfig(output.s3InputFormatConfig, context)
3555
+ : undefined,
3538
3556
  };
3539
3557
  };
3540
3558
  const deserializeAws_restJson1SalesforceConnectorProfileProperties = (output, context) => {
@@ -3951,14 +3969,12 @@ const deserializeMetadata = (output) => {
3951
3969
  cfId: output.headers["x-amz-cf-id"],
3952
3970
  });
3953
3971
  };
3954
- // Collect low-level response body stream to Uint8Array.
3955
3972
  const collectBody = (streamBody = new Uint8Array(), context) => {
3956
3973
  if (streamBody instanceof Uint8Array) {
3957
3974
  return Promise.resolve(streamBody);
3958
3975
  }
3959
3976
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
3960
3977
  };
3961
- // Encode Uint8Array data into string with utf-8.
3962
3978
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
3963
3979
  const isSerializableHeaderValue = (value) => value !== undefined &&
3964
3980
  value !== null &&
@@ -3971,9 +3987,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
3971
3987
  }
3972
3988
  return {};
3973
3989
  });
3974
- /**
3975
- * Load an error code for the aws.rest-json-1.1 protocol.
3976
- */
3977
3990
  const loadRestJsonErrorCode = (output, data) => {
3978
3991
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
3979
3992
  const sanitizeErrorCode = (rawValue) => {
@@ -3998,4 +4011,3 @@ const loadRestJsonErrorCode = (output, data) => {
3998
4011
  }
3999
4012
  return "";
4000
4013
  };
4001
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
5
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
6
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
7
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -10,12 +11,7 @@ const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
10
11
  const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
11
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
12
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
13
- // @ts-ignore: package.json will be imported from dist folders
14
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
15
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- /**
17
- * @internal
18
- */
19
15
  const getRuntimeConfig = (config) => {
20
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -39,4 +35,3 @@ const getRuntimeConfig = (config) => {
39
35
  };
40
36
  };
41
37
  exports.getRuntimeConfig = getRuntimeConfig;
42
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
5
6
  const client_sts_1 = require("@aws-sdk/client-sts");
6
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -9,17 +10,12 @@ const hash_node_1 = require("@aws-sdk/hash-node");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
11
  const node_config_provider_1 = require("@aws-sdk/node-config-provider");
11
12
  const node_http_handler_1 = require("@aws-sdk/node-http-handler");
12
- const smithy_client_1 = require("@aws-sdk/smithy-client");
13
13
  const util_base64_node_1 = require("@aws-sdk/util-base64-node");
14
14
  const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
15
  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
- // @ts-ignore: package.json will be imported from dist folders
18
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
19
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
20
- /**
21
- * @internal
22
- */
18
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
23
19
  const getRuntimeConfig = (config) => {
24
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
25
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -44,4 +40,3 @@ const getRuntimeConfig = (config) => {
44
40
  };
45
41
  };
46
42
  exports.getRuntimeConfig = getRuntimeConfig;
47
- //# sourceMappingURL=runtimeConfig.js.map
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
17
14
  };
18
15
  };
19
16
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpoints_1 = require("./endpoints");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
18
15
  });
19
16
  };
20
17
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -278,4 +278,3 @@ var Appflow = (function (_super) {
278
278
  return Appflow;
279
279
  }(AppflowClient));
280
280
  export { Appflow };
281
- //# sourceMappingURL=Appflow.js.map
@@ -35,4 +35,3 @@ var AppflowClient = (function (_super) {
35
35
  return AppflowClient;
36
36
  }(__Client));
37
37
  export { AppflowClient };
38
- //# sourceMappingURL=AppflowClient.js.map
@@ -37,4 +37,3 @@ var CreateConnectorProfileCommand = (function (_super) {
37
37
  return CreateConnectorProfileCommand;
38
38
  }($Command));
39
39
  export { CreateConnectorProfileCommand };
40
- //# sourceMappingURL=CreateConnectorProfileCommand.js.map
@@ -37,4 +37,3 @@ var CreateFlowCommand = (function (_super) {
37
37
  return CreateFlowCommand;
38
38
  }($Command));
39
39
  export { CreateFlowCommand };
40
- //# sourceMappingURL=CreateFlowCommand.js.map
@@ -37,4 +37,3 @@ var DeleteConnectorProfileCommand = (function (_super) {
37
37
  return DeleteConnectorProfileCommand;
38
38
  }($Command));
39
39
  export { DeleteConnectorProfileCommand };
40
- //# sourceMappingURL=DeleteConnectorProfileCommand.js.map
@@ -37,4 +37,3 @@ var DeleteFlowCommand = (function (_super) {
37
37
  return DeleteFlowCommand;
38
38
  }($Command));
39
39
  export { DeleteFlowCommand };
40
- //# sourceMappingURL=DeleteFlowCommand.js.map
@@ -37,4 +37,3 @@ var DescribeConnectorEntityCommand = (function (_super) {
37
37
  return DescribeConnectorEntityCommand;
38
38
  }($Command));
39
39
  export { DescribeConnectorEntityCommand };
40
- //# sourceMappingURL=DescribeConnectorEntityCommand.js.map
@@ -37,4 +37,3 @@ var DescribeConnectorProfilesCommand = (function (_super) {
37
37
  return DescribeConnectorProfilesCommand;
38
38
  }($Command));
39
39
  export { DescribeConnectorProfilesCommand };
40
- //# sourceMappingURL=DescribeConnectorProfilesCommand.js.map
@@ -37,4 +37,3 @@ var DescribeConnectorsCommand = (function (_super) {
37
37
  return DescribeConnectorsCommand;
38
38
  }($Command));
39
39
  export { DescribeConnectorsCommand };
40
- //# sourceMappingURL=DescribeConnectorsCommand.js.map
@@ -37,4 +37,3 @@ var DescribeFlowCommand = (function (_super) {
37
37
  return DescribeFlowCommand;
38
38
  }($Command));
39
39
  export { DescribeFlowCommand };
40
- //# sourceMappingURL=DescribeFlowCommand.js.map
@@ -37,4 +37,3 @@ var DescribeFlowExecutionRecordsCommand = (function (_super) {
37
37
  return DescribeFlowExecutionRecordsCommand;
38
38
  }($Command));
39
39
  export { DescribeFlowExecutionRecordsCommand };
40
- //# sourceMappingURL=DescribeFlowExecutionRecordsCommand.js.map
@@ -37,4 +37,3 @@ var ListConnectorEntitiesCommand = (function (_super) {
37
37
  return ListConnectorEntitiesCommand;
38
38
  }($Command));
39
39
  export { ListConnectorEntitiesCommand };
40
- //# sourceMappingURL=ListConnectorEntitiesCommand.js.map
@@ -37,4 +37,3 @@ var ListFlowsCommand = (function (_super) {
37
37
  return ListFlowsCommand;
38
38
  }($Command));
39
39
  export { ListFlowsCommand };
40
- //# sourceMappingURL=ListFlowsCommand.js.map
@@ -37,4 +37,3 @@ var ListTagsForResourceCommand = (function (_super) {
37
37
  return ListTagsForResourceCommand;
38
38
  }($Command));
39
39
  export { ListTagsForResourceCommand };
40
- //# sourceMappingURL=ListTagsForResourceCommand.js.map
@@ -37,4 +37,3 @@ var StartFlowCommand = (function (_super) {
37
37
  return StartFlowCommand;
38
38
  }($Command));
39
39
  export { StartFlowCommand };
40
- //# sourceMappingURL=StartFlowCommand.js.map
@@ -37,4 +37,3 @@ var StopFlowCommand = (function (_super) {
37
37
  return StopFlowCommand;
38
38
  }($Command));
39
39
  export { StopFlowCommand };
40
- //# sourceMappingURL=StopFlowCommand.js.map
@@ -37,4 +37,3 @@ var TagResourceCommand = (function (_super) {
37
37
  return TagResourceCommand;
38
38
  }($Command));
39
39
  export { TagResourceCommand };
40
- //# sourceMappingURL=TagResourceCommand.js.map
@@ -37,4 +37,3 @@ var UntagResourceCommand = (function (_super) {
37
37
  return UntagResourceCommand;
38
38
  }($Command));
39
39
  export { UntagResourceCommand };
40
- //# sourceMappingURL=UntagResourceCommand.js.map
@@ -37,4 +37,3 @@ var UpdateConnectorProfileCommand = (function (_super) {
37
37
  return UpdateConnectorProfileCommand;
38
38
  }($Command));
39
39
  export { UpdateConnectorProfileCommand };
40
- //# sourceMappingURL=UpdateConnectorProfileCommand.js.map
@@ -37,4 +37,3 @@ var UpdateFlowCommand = (function (_super) {
37
37
  return UpdateFlowCommand;
38
38
  }($Command));
39
39
  export { UpdateFlowCommand };
40
- //# sourceMappingURL=UpdateFlowCommand.js.map
@@ -0,0 +1,18 @@
1
+ export * from "./CreateConnectorProfileCommand";
2
+ export * from "./CreateFlowCommand";
3
+ export * from "./DeleteConnectorProfileCommand";
4
+ export * from "./DeleteFlowCommand";
5
+ export * from "./DescribeConnectorEntityCommand";
6
+ export * from "./DescribeConnectorProfilesCommand";
7
+ export * from "./DescribeConnectorsCommand";
8
+ export * from "./DescribeFlowCommand";
9
+ export * from "./DescribeFlowExecutionRecordsCommand";
10
+ export * from "./ListConnectorEntitiesCommand";
11
+ export * from "./ListFlowsCommand";
12
+ export * from "./ListTagsForResourceCommand";
13
+ export * from "./StartFlowCommand";
14
+ export * from "./StopFlowCommand";
15
+ export * from "./TagResourceCommand";
16
+ export * from "./UntagResourceCommand";
17
+ export * from "./UpdateConnectorProfileCommand";
18
+ export * from "./UpdateFlowCommand";
@@ -33,7 +33,7 @@ var partitionHash = {
33
33
  hostname: "appflow.{region}.amazonaws.com.cn",
34
34
  },
35
35
  "aws-iso": {
36
- regions: ["us-iso-east-1"],
36
+ regions: ["us-iso-east-1", "us-iso-west-1"],
37
37
  hostname: "appflow.{region}.c2s.ic.gov",
38
38
  },
39
39
  "aws-iso-b": {
@@ -50,4 +50,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
50
50
  return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "appflow", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
- //# sourceMappingURL=endpoints.js.map
package/dist-es/index.js CHANGED
@@ -1,27 +1,5 @@
1
- export * from "./AppflowClient";
2
1
  export * from "./Appflow";
3
- export * from "./commands/CreateConnectorProfileCommand";
4
- export * from "./commands/CreateFlowCommand";
5
- export * from "./commands/DeleteConnectorProfileCommand";
6
- export * from "./commands/DeleteFlowCommand";
7
- export * from "./commands/DescribeConnectorEntityCommand";
8
- export * from "./commands/DescribeConnectorProfilesCommand";
9
- export * from "./pagination/DescribeConnectorProfilesPaginator";
10
- export * from "./commands/DescribeConnectorsCommand";
11
- export * from "./pagination/DescribeConnectorsPaginator";
12
- export * from "./commands/DescribeFlowCommand";
13
- export * from "./commands/DescribeFlowExecutionRecordsCommand";
14
- export * from "./pagination/DescribeFlowExecutionRecordsPaginator";
15
- export * from "./commands/ListConnectorEntitiesCommand";
16
- export * from "./commands/ListFlowsCommand";
17
- export * from "./pagination/ListFlowsPaginator";
18
- export * from "./commands/ListTagsForResourceCommand";
19
- export * from "./commands/StartFlowCommand";
20
- export * from "./commands/StopFlowCommand";
21
- export * from "./commands/TagResourceCommand";
22
- export * from "./commands/UntagResourceCommand";
23
- export * from "./commands/UpdateConnectorProfileCommand";
24
- export * from "./commands/UpdateFlowCommand";
25
- export * from "./pagination/Interfaces";
26
- export * from "./models/index";
27
- //# sourceMappingURL=index.js.map
2
+ export * from "./AppflowClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -1,2 +1 @@
1
1
  export * from "./models_0";
2
- //# sourceMappingURL=index.js.map
@@ -814,6 +814,15 @@ export var MarketoSourceProperties;
814
814
  (function (MarketoSourceProperties) {
815
815
  MarketoSourceProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
816
816
  })(MarketoSourceProperties || (MarketoSourceProperties = {}));
817
+ export var S3InputFileType;
818
+ (function (S3InputFileType) {
819
+ S3InputFileType["CSV"] = "CSV";
820
+ S3InputFileType["JSON"] = "JSON";
821
+ })(S3InputFileType || (S3InputFileType = {}));
822
+ export var S3InputFormatConfig;
823
+ (function (S3InputFormatConfig) {
824
+ S3InputFormatConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
825
+ })(S3InputFormatConfig || (S3InputFormatConfig = {}));
817
826
  export var S3SourceProperties;
818
827
  (function (S3SourceProperties) {
819
828
  S3SourceProperties.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1087,4 +1096,3 @@ export var UpdateFlowResponse;
1087
1096
  (function (UpdateFlowResponse) {
1088
1097
  UpdateFlowResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1089
1098
  })(UpdateFlowResponse || (UpdateFlowResponse = {}));
1090
- //# sourceMappingURL=models_0.js.map
@@ -72,4 +72,3 @@ export function paginateDescribeConnectorProfiles(config, input) {
72
72
  });
73
73
  });
74
74
  }
75
- //# sourceMappingURL=DescribeConnectorProfilesPaginator.js.map
@@ -71,4 +71,3 @@ export function paginateDescribeConnectors(config, input) {
71
71
  });
72
72
  });
73
73
  }
74
- //# sourceMappingURL=DescribeConnectorsPaginator.js.map
@@ -72,4 +72,3 @@ export function paginateDescribeFlowExecutionRecords(config, input) {
72
72
  });
73
73
  });
74
74
  }
75
- //# sourceMappingURL=DescribeFlowExecutionRecordsPaginator.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=Interfaces.js.map
@@ -72,4 +72,3 @@ export function paginateListFlows(config, input) {
72
72
  });
73
73
  });
74
74
  }
75
- //# sourceMappingURL=ListFlowsPaginator.js.map
@@ -0,0 +1,5 @@
1
+ export * from "./DescribeConnectorProfilesPaginator";
2
+ export * from "./DescribeConnectorsPaginator";
3
+ export * from "./DescribeFlowExecutionRecordsPaginator";
4
+ export * from "./Interfaces";
5
+ export * from "./ListFlowsPaginator";
@@ -2552,6 +2552,10 @@ var serializeAws_restJson1S3DestinationProperties = function (input, context) {
2552
2552
  s3OutputFormatConfig: serializeAws_restJson1S3OutputFormatConfig(input.s3OutputFormatConfig, context),
2553
2553
  }));
2554
2554
  };
2555
+ var serializeAws_restJson1S3InputFormatConfig = function (input, context) {
2556
+ return __assign({}, (input.s3InputFileType !== undefined &&
2557
+ input.s3InputFileType !== null && { s3InputFileType: input.s3InputFileType }));
2558
+ };
2555
2559
  var serializeAws_restJson1S3OutputFormatConfig = function (input, context) {
2556
2560
  return __assign(__assign(__assign({}, (input.aggregationConfig !== undefined &&
2557
2561
  input.aggregationConfig !== null && {
@@ -2560,7 +2564,10 @@ var serializeAws_restJson1S3OutputFormatConfig = function (input, context) {
2560
2564
  input.prefixConfig !== null && { prefixConfig: serializeAws_restJson1PrefixConfig(input.prefixConfig, context) }));
2561
2565
  };
2562
2566
  var serializeAws_restJson1S3SourceProperties = function (input, context) {
2563
- return __assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.bucketPrefix !== undefined && input.bucketPrefix !== null && { bucketPrefix: input.bucketPrefix }));
2567
+ return __assign(__assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.bucketPrefix !== undefined && input.bucketPrefix !== null && { bucketPrefix: input.bucketPrefix })), (input.s3InputFormatConfig !== undefined &&
2568
+ input.s3InputFormatConfig !== null && {
2569
+ s3InputFormatConfig: serializeAws_restJson1S3InputFormatConfig(input.s3InputFormatConfig, context),
2570
+ }));
2564
2571
  };
2565
2572
  var serializeAws_restJson1SalesforceConnectorProfileCredentials = function (input, context) {
2566
2573
  return __assign(__assign(__assign(__assign({}, (input.accessToken !== undefined && input.accessToken !== null && { accessToken: input.accessToken })), (input.clientCredentialsArn !== undefined &&
@@ -3483,6 +3490,11 @@ var deserializeAws_restJson1S3DestinationProperties = function (output, context)
3483
3490
  : undefined,
3484
3491
  };
3485
3492
  };
3493
+ var deserializeAws_restJson1S3InputFormatConfig = function (output, context) {
3494
+ return {
3495
+ s3InputFileType: __expectString(output.s3InputFileType),
3496
+ };
3497
+ };
3486
3498
  var deserializeAws_restJson1S3Metadata = function (output, context) {
3487
3499
  return {};
3488
3500
  };
@@ -3501,6 +3513,9 @@ var deserializeAws_restJson1S3SourceProperties = function (output, context) {
3501
3513
  return {
3502
3514
  bucketName: __expectString(output.bucketName),
3503
3515
  bucketPrefix: __expectString(output.bucketPrefix),
3516
+ s3InputFormatConfig: output.s3InputFormatConfig !== undefined && output.s3InputFormatConfig !== null
3517
+ ? deserializeAws_restJson1S3InputFormatConfig(output.s3InputFormatConfig, context)
3518
+ : undefined,
3504
3519
  };
3505
3520
  };
3506
3521
  var deserializeAws_restJson1SalesforceConnectorProfileProperties = function (output, context) {
@@ -3964,4 +3979,3 @@ var loadRestJsonErrorCode = function (output, data) {
3964
3979
  }
3965
3980
  return "";
3966
3981
  };
3967
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -1,4 +1,5 @@
1
1
  import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
2
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
4
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
4
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -7,11 +8,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
7
8
  import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
8
9
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
9
10
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
10
- import packageInfo from "../package.json";
11
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
12
  export var getRuntimeConfig = function (config) {
13
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
14
14
  var clientSharedValues = getSharedRuntimeConfig(config);
15
15
  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, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
16
16
  };
17
- //# sourceMappingURL=runtimeConfig.browser.js.map