@aws-sdk/client-appflow 3.32.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.
- package/CHANGELOG.md +44 -0
- package/{dist/cjs → dist-cjs}/Appflow.js +0 -1
- package/{dist/cjs → dist-cjs}/AppflowClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/CreateConnectorProfileCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateFlowCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteConnectorProfileCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteFlowCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeConnectorEntityCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeConnectorProfilesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeConnectorsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeFlowCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DescribeFlowExecutionRecordsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListConnectorEntitiesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListFlowsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StartFlowCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StopFlowCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateConnectorProfileCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateFlowCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/DescribeConnectorProfilesPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/DescribeConnectorsPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/DescribeFlowExecutionRecordsPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListFlowsPaginator.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +15 -16
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/Appflow.js +1 -45
- package/dist-es/AppflowClient.js +37 -0
- package/{dist/es → dist-es}/commands/CreateConnectorProfileCommand.js +4 -33
- package/{dist/es → dist-es}/commands/CreateFlowCommand.js +4 -33
- package/{dist/es → dist-es}/commands/DeleteConnectorProfileCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteFlowCommand.js +4 -32
- package/{dist/es → dist-es}/commands/DescribeConnectorEntityCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DescribeConnectorProfilesCommand.js +4 -34
- package/{dist/es → dist-es}/commands/DescribeConnectorsCommand.js +4 -34
- package/{dist/es → dist-es}/commands/DescribeFlowCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DescribeFlowExecutionRecordsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListConnectorEntitiesCommand.js +4 -33
- package/{dist/es → dist-es}/commands/ListFlowsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/StartFlowCommand.js +4 -31
- package/{dist/es → dist-es}/commands/StopFlowCommand.js +4 -32
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateConnectorProfileCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateFlowCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -484
- package/{dist/es → dist-es}/pagination/DescribeConnectorProfilesPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/DescribeConnectorsPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/DescribeFlowExecutionRecordsPaginator.js +16 -29
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListFlowsPaginator.js +16 -29
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +438 -444
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/Appflow.d.ts +1 -1
- package/{dist/types → dist-types}/AppflowClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateConnectorProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateFlowCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteConnectorProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteFlowCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeConnectorEntityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeConnectorProfilesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeConnectorsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeFlowCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeFlowExecutionRecordsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListConnectorEntitiesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListFlowsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartFlowCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopFlowCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateConnectorProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateFlowCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/DescribeConnectorProfilesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeConnectorsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeFlowExecutionRecordsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListFlowsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/Appflow.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/AppflowClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/CreateConnectorProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateFlowCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteConnectorProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteFlowCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectorEntityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectorProfilesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectorsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeFlowCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeFlowExecutionRecordsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListConnectorEntitiesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListFlowsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StartFlowCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StopFlowCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateConnectorProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateFlowCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeConnectorProfilesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeConnectorsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeFlowExecutionRecordsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListFlowsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/Appflow.ts +0 -663
- package/AppflowClient.ts +0 -353
- package/commands/CreateConnectorProfileCommand.ts +0 -97
- package/commands/CreateFlowCommand.ts +0 -97
- package/commands/DeleteConnectorProfileCommand.ts +0 -94
- package/commands/DeleteFlowCommand.ts +0 -96
- package/commands/DescribeConnectorEntityCommand.ts +0 -95
- package/commands/DescribeConnectorProfilesCommand.ts +0 -101
- package/commands/DescribeConnectorsCommand.ts +0 -98
- package/commands/DescribeFlowCommand.ts +0 -94
- package/commands/DescribeFlowExecutionRecordsCommand.ts +0 -99
- package/commands/ListConnectorEntitiesCommand.ts +0 -97
- package/commands/ListFlowsCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/StartFlowCommand.ts +0 -95
- package/commands/StopFlowCommand.ts +0 -96
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateConnectorProfileCommand.ts +0 -94
- package/commands/UpdateFlowCommand.ts +0 -94
- package/dist/cjs/Appflow.js.map +0 -1
- package/dist/cjs/AppflowClient.js.map +0 -1
- package/dist/cjs/commands/CreateConnectorProfileCommand.js.map +0 -1
- package/dist/cjs/commands/CreateFlowCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteConnectorProfileCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFlowCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeConnectorEntityCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeConnectorProfilesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeConnectorsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeFlowCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeFlowExecutionRecordsCommand.js.map +0 -1
- package/dist/cjs/commands/ListConnectorEntitiesCommand.js.map +0 -1
- package/dist/cjs/commands/ListFlowsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/StartFlowCommand.js.map +0 -1
- package/dist/cjs/commands/StopFlowCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateConnectorProfileCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFlowCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/DescribeConnectorProfilesPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeConnectorsPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeFlowExecutionRecordsPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListFlowsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/Appflow.js.map +0 -1
- package/dist/es/AppflowClient.js +0 -86
- package/dist/es/AppflowClient.js.map +0 -1
- package/dist/es/commands/CreateConnectorProfileCommand.js.map +0 -1
- package/dist/es/commands/CreateFlowCommand.js.map +0 -1
- package/dist/es/commands/DeleteConnectorProfileCommand.js.map +0 -1
- package/dist/es/commands/DeleteFlowCommand.js.map +0 -1
- package/dist/es/commands/DescribeConnectorEntityCommand.js.map +0 -1
- package/dist/es/commands/DescribeConnectorProfilesCommand.js.map +0 -1
- package/dist/es/commands/DescribeConnectorsCommand.js.map +0 -1
- package/dist/es/commands/DescribeFlowCommand.js.map +0 -1
- package/dist/es/commands/DescribeFlowExecutionRecordsCommand.js.map +0 -1
- package/dist/es/commands/ListConnectorEntitiesCommand.js.map +0 -1
- package/dist/es/commands/ListFlowsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/StartFlowCommand.js.map +0 -1
- package/dist/es/commands/StopFlowCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateConnectorProfileCommand.js.map +0 -1
- package/dist/es/commands/UpdateFlowCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -27
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/DescribeConnectorProfilesPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeConnectorsPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeFlowExecutionRecordsPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListFlowsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -5012
- package/pagination/DescribeConnectorProfilesPaginator.ts +0 -58
- package/pagination/DescribeConnectorsPaginator.ts +0 -57
- package/pagination/DescribeFlowExecutionRecordsPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListFlowsPaginator.ts +0 -54
- package/protocols/Aws_restJson1.ts +0 -5151
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -2,9 +2,6 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArra
|
|
|
2
2
|
import { Appflow } from "../Appflow";
|
|
3
3
|
import { AppflowClient } from "../AppflowClient";
|
|
4
4
|
import { DescribeConnectorProfilesCommand, } from "../commands/DescribeConnectorProfilesCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeConnectorProfilesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.describeConnectorProfiles.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateDescribeConnectorProfiles(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof Appflow)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof Appflow)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof AppflowClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof AppflowClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected Appflow | AppflowClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=DescribeConnectorProfilesPaginator.js.map
|
|
@@ -2,9 +2,6 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArra
|
|
|
2
2
|
import { Appflow } from "../Appflow";
|
|
3
3
|
import { AppflowClient } from "../AppflowClient";
|
|
4
4
|
import { DescribeConnectorsCommand, } from "../commands/DescribeConnectorsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeConnectorsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.describeConnectors.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,33 +44,30 @@ export function paginateDescribeConnectors(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
|
-
if (!(config.client instanceof Appflow)) return [3
|
|
60
|
-
return [4
|
|
49
|
+
if (!(config.client instanceof Appflow)) return [3, 3];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
61
51
|
case 2:
|
|
62
52
|
page = _a.sent();
|
|
63
|
-
return [3
|
|
53
|
+
return [3, 6];
|
|
64
54
|
case 3:
|
|
65
|
-
if (!(config.client instanceof AppflowClient)) return [3
|
|
66
|
-
return [4
|
|
55
|
+
if (!(config.client instanceof AppflowClient)) return [3, 5];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
67
57
|
case 4:
|
|
68
58
|
page = _a.sent();
|
|
69
|
-
return [3
|
|
59
|
+
return [3, 6];
|
|
70
60
|
case 5: throw new Error("Invalid client, expected Appflow | AppflowClient");
|
|
71
|
-
case 6: return [4
|
|
72
|
-
case 7: return [4
|
|
61
|
+
case 6: return [4, __await(page)];
|
|
62
|
+
case 7: return [4, _a.sent()];
|
|
73
63
|
case 8:
|
|
74
64
|
_a.sent();
|
|
75
65
|
token = page.nextToken;
|
|
76
66
|
hasNext = !!token;
|
|
77
|
-
return [3
|
|
78
|
-
case 9: return [4
|
|
79
|
-
case 10:
|
|
80
|
-
// @ts-ignore
|
|
81
|
-
return [2 /*return*/, _a.sent()];
|
|
67
|
+
return [3, 1];
|
|
68
|
+
case 9: return [4, __await(undefined)];
|
|
69
|
+
case 10: return [2, _a.sent()];
|
|
82
70
|
}
|
|
83
71
|
});
|
|
84
72
|
});
|
|
85
73
|
}
|
|
86
|
-
//# sourceMappingURL=DescribeConnectorsPaginator.js.map
|
|
@@ -2,9 +2,6 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArra
|
|
|
2
2
|
import { Appflow } from "../Appflow";
|
|
3
3
|
import { AppflowClient } from "../AppflowClient";
|
|
4
4
|
import { DescribeFlowExecutionRecordsCommand, } from "../commands/DescribeFlowExecutionRecordsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeFlowExecutionRecordsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.describeFlowExecutionRecords.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateDescribeFlowExecutionRecords(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof Appflow)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof Appflow)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof AppflowClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof AppflowClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected Appflow | AppflowClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=DescribeFlowExecutionRecordsPaginator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,9 +2,6 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArra
|
|
|
2
2
|
import { Appflow } from "../Appflow";
|
|
3
3
|
import { AppflowClient } from "../AppflowClient";
|
|
4
4
|
import { ListFlowsCommand } from "../commands/ListFlowsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListFlowsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listFlows.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListFlows(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof Appflow)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof Appflow)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof AppflowClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof AppflowClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected Appflow | AppflowClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListFlowsPaginator.js.map
|