@aws-sdk/client-appflow 3.35.0 → 3.36.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 (176) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/Appflow.js +0 -1
  3. package/dist-cjs/AppflowClient.js +0 -1
  4. package/dist-cjs/commands/CreateConnectorProfileCommand.js +0 -1
  5. package/dist-cjs/commands/CreateFlowCommand.js +0 -1
  6. package/dist-cjs/commands/DeleteConnectorProfileCommand.js +0 -1
  7. package/dist-cjs/commands/DeleteFlowCommand.js +0 -1
  8. package/dist-cjs/commands/DescribeConnectorEntityCommand.js +0 -1
  9. package/dist-cjs/commands/DescribeConnectorProfilesCommand.js +0 -1
  10. package/dist-cjs/commands/DescribeConnectorsCommand.js +0 -1
  11. package/dist-cjs/commands/DescribeFlowCommand.js +0 -1
  12. package/dist-cjs/commands/DescribeFlowExecutionRecordsCommand.js +0 -1
  13. package/dist-cjs/commands/ListConnectorEntitiesCommand.js +0 -1
  14. package/dist-cjs/commands/ListFlowsCommand.js +0 -1
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  16. package/dist-cjs/commands/StartFlowCommand.js +0 -1
  17. package/dist-cjs/commands/StopFlowCommand.js +0 -1
  18. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  19. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  20. package/dist-cjs/commands/UpdateConnectorProfileCommand.js +0 -1
  21. package/dist-cjs/commands/UpdateFlowCommand.js +0 -1
  22. package/dist-cjs/endpoints.js +0 -1
  23. package/dist-cjs/index.js +0 -1
  24. package/dist-cjs/models/index.js +0 -1
  25. package/dist-cjs/models/models_0.js +0 -1
  26. package/dist-cjs/pagination/DescribeConnectorProfilesPaginator.js +0 -1
  27. package/dist-cjs/pagination/DescribeConnectorsPaginator.js +0 -1
  28. package/dist-cjs/pagination/DescribeFlowExecutionRecordsPaginator.js +0 -1
  29. package/dist-cjs/pagination/Interfaces.js +0 -1
  30. package/dist-cjs/pagination/ListFlowsPaginator.js +0 -1
  31. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  32. package/dist-cjs/runtimeConfig.browser.js +2 -3
  33. package/dist-cjs/runtimeConfig.js +3 -4
  34. package/dist-cjs/runtimeConfig.native.js +0 -1
  35. package/dist-cjs/runtimeConfig.shared.js +0 -1
  36. package/dist-es/Appflow.js +0 -1
  37. package/dist-es/AppflowClient.js +0 -1
  38. package/dist-es/commands/CreateConnectorProfileCommand.js +0 -1
  39. package/dist-es/commands/CreateFlowCommand.js +0 -1
  40. package/dist-es/commands/DeleteConnectorProfileCommand.js +0 -1
  41. package/dist-es/commands/DeleteFlowCommand.js +0 -1
  42. package/dist-es/commands/DescribeConnectorEntityCommand.js +0 -1
  43. package/dist-es/commands/DescribeConnectorProfilesCommand.js +0 -1
  44. package/dist-es/commands/DescribeConnectorsCommand.js +0 -1
  45. package/dist-es/commands/DescribeFlowCommand.js +0 -1
  46. package/dist-es/commands/DescribeFlowExecutionRecordsCommand.js +0 -1
  47. package/dist-es/commands/ListConnectorEntitiesCommand.js +0 -1
  48. package/dist-es/commands/ListFlowsCommand.js +0 -1
  49. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  50. package/dist-es/commands/StartFlowCommand.js +0 -1
  51. package/dist-es/commands/StopFlowCommand.js +0 -1
  52. package/dist-es/commands/TagResourceCommand.js +0 -1
  53. package/dist-es/commands/UntagResourceCommand.js +0 -1
  54. package/dist-es/commands/UpdateConnectorProfileCommand.js +0 -1
  55. package/dist-es/commands/UpdateFlowCommand.js +0 -1
  56. package/dist-es/endpoints.js +0 -1
  57. package/dist-es/index.js +0 -1
  58. package/dist-es/models/index.js +0 -1
  59. package/dist-es/models/models_0.js +0 -1
  60. package/dist-es/pagination/DescribeConnectorProfilesPaginator.js +0 -1
  61. package/dist-es/pagination/DescribeConnectorsPaginator.js +0 -1
  62. package/dist-es/pagination/DescribeFlowExecutionRecordsPaginator.js +0 -1
  63. package/dist-es/pagination/Interfaces.js +0 -1
  64. package/dist-es/pagination/ListFlowsPaginator.js +0 -1
  65. package/dist-es/protocols/Aws_restJson1.js +0 -1
  66. package/dist-es/runtimeConfig.browser.js +1 -2
  67. package/dist-es/runtimeConfig.js +2 -3
  68. package/dist-es/runtimeConfig.native.js +0 -1
  69. package/dist-es/runtimeConfig.shared.js +0 -1
  70. package/package.json +33 -30
  71. package/dist-cjs/Appflow.js.map +0 -1
  72. package/dist-cjs/AppflowClient.js.map +0 -1
  73. package/dist-cjs/commands/CreateConnectorProfileCommand.js.map +0 -1
  74. package/dist-cjs/commands/CreateFlowCommand.js.map +0 -1
  75. package/dist-cjs/commands/DeleteConnectorProfileCommand.js.map +0 -1
  76. package/dist-cjs/commands/DeleteFlowCommand.js.map +0 -1
  77. package/dist-cjs/commands/DescribeConnectorEntityCommand.js.map +0 -1
  78. package/dist-cjs/commands/DescribeConnectorProfilesCommand.js.map +0 -1
  79. package/dist-cjs/commands/DescribeConnectorsCommand.js.map +0 -1
  80. package/dist-cjs/commands/DescribeFlowCommand.js.map +0 -1
  81. package/dist-cjs/commands/DescribeFlowExecutionRecordsCommand.js.map +0 -1
  82. package/dist-cjs/commands/ListConnectorEntitiesCommand.js.map +0 -1
  83. package/dist-cjs/commands/ListFlowsCommand.js.map +0 -1
  84. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  85. package/dist-cjs/commands/StartFlowCommand.js.map +0 -1
  86. package/dist-cjs/commands/StopFlowCommand.js.map +0 -1
  87. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  88. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  89. package/dist-cjs/commands/UpdateConnectorProfileCommand.js.map +0 -1
  90. package/dist-cjs/commands/UpdateFlowCommand.js.map +0 -1
  91. package/dist-cjs/endpoints.js.map +0 -1
  92. package/dist-cjs/index.js.map +0 -1
  93. package/dist-cjs/models/index.js.map +0 -1
  94. package/dist-cjs/models/models_0.js.map +0 -1
  95. package/dist-cjs/pagination/DescribeConnectorProfilesPaginator.js.map +0 -1
  96. package/dist-cjs/pagination/DescribeConnectorsPaginator.js.map +0 -1
  97. package/dist-cjs/pagination/DescribeFlowExecutionRecordsPaginator.js.map +0 -1
  98. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  99. package/dist-cjs/pagination/ListFlowsPaginator.js.map +0 -1
  100. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  101. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  102. package/dist-cjs/runtimeConfig.js.map +0 -1
  103. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  104. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  105. package/dist-es/Appflow.js.map +0 -1
  106. package/dist-es/AppflowClient.js.map +0 -1
  107. package/dist-es/commands/CreateConnectorProfileCommand.js.map +0 -1
  108. package/dist-es/commands/CreateFlowCommand.js.map +0 -1
  109. package/dist-es/commands/DeleteConnectorProfileCommand.js.map +0 -1
  110. package/dist-es/commands/DeleteFlowCommand.js.map +0 -1
  111. package/dist-es/commands/DescribeConnectorEntityCommand.js.map +0 -1
  112. package/dist-es/commands/DescribeConnectorProfilesCommand.js.map +0 -1
  113. package/dist-es/commands/DescribeConnectorsCommand.js.map +0 -1
  114. package/dist-es/commands/DescribeFlowCommand.js.map +0 -1
  115. package/dist-es/commands/DescribeFlowExecutionRecordsCommand.js.map +0 -1
  116. package/dist-es/commands/ListConnectorEntitiesCommand.js.map +0 -1
  117. package/dist-es/commands/ListFlowsCommand.js.map +0 -1
  118. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  119. package/dist-es/commands/StartFlowCommand.js.map +0 -1
  120. package/dist-es/commands/StopFlowCommand.js.map +0 -1
  121. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  122. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  123. package/dist-es/commands/UpdateConnectorProfileCommand.js.map +0 -1
  124. package/dist-es/commands/UpdateFlowCommand.js.map +0 -1
  125. package/dist-es/endpoints.js.map +0 -1
  126. package/dist-es/index.js.map +0 -1
  127. package/dist-es/models/index.js.map +0 -1
  128. package/dist-es/models/models_0.js.map +0 -1
  129. package/dist-es/pagination/DescribeConnectorProfilesPaginator.js.map +0 -1
  130. package/dist-es/pagination/DescribeConnectorsPaginator.js.map +0 -1
  131. package/dist-es/pagination/DescribeFlowExecutionRecordsPaginator.js.map +0 -1
  132. package/dist-es/pagination/Interfaces.js.map +0 -1
  133. package/dist-es/pagination/ListFlowsPaginator.js.map +0 -1
  134. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  135. package/dist-es/runtimeConfig.browser.js.map +0 -1
  136. package/dist-es/runtimeConfig.js.map +0 -1
  137. package/dist-es/runtimeConfig.native.js.map +0 -1
  138. package/dist-es/runtimeConfig.shared.js.map +0 -1
  139. package/jest.config.js +0 -4
  140. package/src/Appflow.ts +0 -664
  141. package/src/AppflowClient.ts +0 -354
  142. package/src/commands/CreateConnectorProfileCommand.ts +0 -98
  143. package/src/commands/CreateFlowCommand.ts +0 -98
  144. package/src/commands/DeleteConnectorProfileCommand.ts +0 -95
  145. package/src/commands/DeleteFlowCommand.ts +0 -97
  146. package/src/commands/DescribeConnectorEntityCommand.ts +0 -96
  147. package/src/commands/DescribeConnectorProfilesCommand.ts +0 -102
  148. package/src/commands/DescribeConnectorsCommand.ts +0 -99
  149. package/src/commands/DescribeFlowCommand.ts +0 -95
  150. package/src/commands/DescribeFlowExecutionRecordsCommand.ts +0 -100
  151. package/src/commands/ListConnectorEntitiesCommand.ts +0 -98
  152. package/src/commands/ListFlowsCommand.ts +0 -95
  153. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  154. package/src/commands/StartFlowCommand.ts +0 -96
  155. package/src/commands/StopFlowCommand.ts +0 -97
  156. package/src/commands/TagResourceCommand.ts +0 -95
  157. package/src/commands/UntagResourceCommand.ts +0 -95
  158. package/src/commands/UpdateConnectorProfileCommand.ts +0 -95
  159. package/src/commands/UpdateFlowCommand.ts +0 -95
  160. package/src/endpoints.ts +0 -57
  161. package/src/index.ts +0 -26
  162. package/src/models/index.ts +0 -1
  163. package/src/models/models_0.ts +0 -5012
  164. package/src/pagination/DescribeConnectorProfilesPaginator.ts +0 -59
  165. package/src/pagination/DescribeConnectorsPaginator.ts +0 -58
  166. package/src/pagination/DescribeFlowExecutionRecordsPaginator.ts +0 -59
  167. package/src/pagination/Interfaces.ts +0 -8
  168. package/src/pagination/ListFlowsPaginator.ts +0 -55
  169. package/src/protocols/Aws_restJson1.ts +0 -5153
  170. package/src/runtimeConfig.browser.ts +0 -41
  171. package/src/runtimeConfig.native.ts +0 -17
  172. package/src/runtimeConfig.shared.ts +0 -17
  173. package/src/runtimeConfig.ts +0 -46
  174. package/tsconfig.es.json +0 -10
  175. package/tsconfig.json +0 -33
  176. package/tsconfig.types.json +0 -9
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import { Appflow } from "../Appflow";
4
- import { AppflowClient } from "../AppflowClient";
5
- import {
6
- DescribeConnectorProfilesCommand,
7
- DescribeConnectorProfilesCommandInput,
8
- DescribeConnectorProfilesCommandOutput,
9
- } from "../commands/DescribeConnectorProfilesCommand";
10
- import { AppflowPaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: AppflowClient,
17
- input: DescribeConnectorProfilesCommandInput,
18
- ...args: any
19
- ): Promise<DescribeConnectorProfilesCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeConnectorProfilesCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: Appflow,
28
- input: DescribeConnectorProfilesCommandInput,
29
- ...args: any
30
- ): Promise<DescribeConnectorProfilesCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeConnectorProfiles(input, ...args);
33
- };
34
- export async function* paginateDescribeConnectorProfiles(
35
- config: AppflowPaginationConfiguration,
36
- input: DescribeConnectorProfilesCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeConnectorProfilesCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.nextToken
40
- let token: typeof input.nextToken | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeConnectorProfilesCommandOutput;
43
- while (hasNext) {
44
- input.nextToken = token;
45
- input["maxResults"] = config.pageSize;
46
- if (config.client instanceof Appflow) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof AppflowClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected Appflow | AppflowClient");
52
- }
53
- yield page;
54
- token = page.nextToken;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,58 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import { Appflow } from "../Appflow";
4
- import { AppflowClient } from "../AppflowClient";
5
- import {
6
- DescribeConnectorsCommand,
7
- DescribeConnectorsCommandInput,
8
- DescribeConnectorsCommandOutput,
9
- } from "../commands/DescribeConnectorsCommand";
10
- import { AppflowPaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: AppflowClient,
17
- input: DescribeConnectorsCommandInput,
18
- ...args: any
19
- ): Promise<DescribeConnectorsCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeConnectorsCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: Appflow,
28
- input: DescribeConnectorsCommandInput,
29
- ...args: any
30
- ): Promise<DescribeConnectorsCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeConnectors(input, ...args);
33
- };
34
- export async function* paginateDescribeConnectors(
35
- config: AppflowPaginationConfiguration,
36
- input: DescribeConnectorsCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeConnectorsCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.nextToken
40
- let token: typeof input.nextToken | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeConnectorsCommandOutput;
43
- while (hasNext) {
44
- input.nextToken = token;
45
- if (config.client instanceof Appflow) {
46
- page = await makePagedRequest(config.client, input, ...additionalArguments);
47
- } else if (config.client instanceof AppflowClient) {
48
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
49
- } else {
50
- throw new Error("Invalid client, expected Appflow | AppflowClient");
51
- }
52
- yield page;
53
- token = page.nextToken;
54
- hasNext = !!token;
55
- }
56
- // @ts-ignore
57
- return undefined;
58
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import { Appflow } from "../Appflow";
4
- import { AppflowClient } from "../AppflowClient";
5
- import {
6
- DescribeFlowExecutionRecordsCommand,
7
- DescribeFlowExecutionRecordsCommandInput,
8
- DescribeFlowExecutionRecordsCommandOutput,
9
- } from "../commands/DescribeFlowExecutionRecordsCommand";
10
- import { AppflowPaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: AppflowClient,
17
- input: DescribeFlowExecutionRecordsCommandInput,
18
- ...args: any
19
- ): Promise<DescribeFlowExecutionRecordsCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeFlowExecutionRecordsCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: Appflow,
28
- input: DescribeFlowExecutionRecordsCommandInput,
29
- ...args: any
30
- ): Promise<DescribeFlowExecutionRecordsCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeFlowExecutionRecords(input, ...args);
33
- };
34
- export async function* paginateDescribeFlowExecutionRecords(
35
- config: AppflowPaginationConfiguration,
36
- input: DescribeFlowExecutionRecordsCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeFlowExecutionRecordsCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.nextToken
40
- let token: typeof input.nextToken | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeFlowExecutionRecordsCommandOutput;
43
- while (hasNext) {
44
- input.nextToken = token;
45
- input["maxResults"] = config.pageSize;
46
- if (config.client instanceof Appflow) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof AppflowClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected Appflow | AppflowClient");
52
- }
53
- yield page;
54
- token = page.nextToken;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,8 +0,0 @@
1
- import { PaginationConfiguration } from "@aws-sdk/types";
2
-
3
- import { Appflow } from "../Appflow";
4
- import { AppflowClient } from "../AppflowClient";
5
-
6
- export interface AppflowPaginationConfiguration extends PaginationConfiguration {
7
- client: Appflow | AppflowClient;
8
- }
@@ -1,55 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import { Appflow } from "../Appflow";
4
- import { AppflowClient } from "../AppflowClient";
5
- import { ListFlowsCommand, ListFlowsCommandInput, ListFlowsCommandOutput } from "../commands/ListFlowsCommand";
6
- import { AppflowPaginationConfiguration } from "./Interfaces";
7
-
8
- /**
9
- * @private
10
- */
11
- const makePagedClientRequest = async (
12
- client: AppflowClient,
13
- input: ListFlowsCommandInput,
14
- ...args: any
15
- ): Promise<ListFlowsCommandOutput> => {
16
- // @ts-ignore
17
- return await client.send(new ListFlowsCommand(input), ...args);
18
- };
19
- /**
20
- * @private
21
- */
22
- const makePagedRequest = async (
23
- client: Appflow,
24
- input: ListFlowsCommandInput,
25
- ...args: any
26
- ): Promise<ListFlowsCommandOutput> => {
27
- // @ts-ignore
28
- return await client.listFlows(input, ...args);
29
- };
30
- export async function* paginateListFlows(
31
- config: AppflowPaginationConfiguration,
32
- input: ListFlowsCommandInput,
33
- ...additionalArguments: any
34
- ): Paginator<ListFlowsCommandOutput> {
35
- // ToDo: replace with actual type instead of typeof input.nextToken
36
- let token: typeof input.nextToken | undefined = config.startingToken || undefined;
37
- let hasNext = true;
38
- let page: ListFlowsCommandOutput;
39
- while (hasNext) {
40
- input.nextToken = token;
41
- input["maxResults"] = config.pageSize;
42
- if (config.client instanceof Appflow) {
43
- page = await makePagedRequest(config.client, input, ...additionalArguments);
44
- } else if (config.client instanceof AppflowClient) {
45
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
46
- } else {
47
- throw new Error("Invalid client, expected Appflow | AppflowClient");
48
- }
49
- yield page;
50
- token = page.nextToken;
51
- hasNext = !!token;
52
- }
53
- // @ts-ignore
54
- return undefined;
55
- }