@aws-sdk/client-appfabric 3.361.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/LICENSE +201 -0
- package/README.md +421 -0
- package/dist-cjs/AppFabric.js +63 -0
- package/dist-cjs/AppFabricClient.js +41 -0
- package/dist-cjs/commands/BatchGetUserAccessTasksCommand.js +47 -0
- package/dist-cjs/commands/ConnectAppAuthorizationCommand.js +47 -0
- package/dist-cjs/commands/CreateAppAuthorizationCommand.js +47 -0
- package/dist-cjs/commands/CreateAppBundleCommand.js +46 -0
- package/dist-cjs/commands/CreateIngestionCommand.js +46 -0
- package/dist-cjs/commands/CreateIngestionDestinationCommand.js +46 -0
- package/dist-cjs/commands/DeleteAppAuthorizationCommand.js +46 -0
- package/dist-cjs/commands/DeleteAppBundleCommand.js +46 -0
- package/dist-cjs/commands/DeleteIngestionCommand.js +46 -0
- package/dist-cjs/commands/DeleteIngestionDestinationCommand.js +46 -0
- package/dist-cjs/commands/GetAppAuthorizationCommand.js +46 -0
- package/dist-cjs/commands/GetAppBundleCommand.js +46 -0
- package/dist-cjs/commands/GetIngestionCommand.js +46 -0
- package/dist-cjs/commands/GetIngestionDestinationCommand.js +46 -0
- package/dist-cjs/commands/ListAppAuthorizationsCommand.js +46 -0
- package/dist-cjs/commands/ListAppBundlesCommand.js +46 -0
- package/dist-cjs/commands/ListIngestionDestinationsCommand.js +46 -0
- package/dist-cjs/commands/ListIngestionsCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/StartIngestionCommand.js +46 -0
- package/dist-cjs/commands/StartUserAccessTasksCommand.js +47 -0
- package/dist-cjs/commands/StopIngestionCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateAppAuthorizationCommand.js +47 -0
- package/dist-cjs/commands/UpdateIngestionDestinationCommand.js +46 -0
- package/dist-cjs/commands/index.js +29 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/AppFabricServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +255 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAppAuthorizationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListAppBundlesPaginator.js +29 -0
- package/dist-cjs/pagination/ListIngestionDestinationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListIngestionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1988 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-es/AppFabric.js +59 -0
- package/dist-es/AppFabricClient.js +37 -0
- package/dist-es/commands/BatchGetUserAccessTasksCommand.js +43 -0
- package/dist-es/commands/ConnectAppAuthorizationCommand.js +43 -0
- package/dist-es/commands/CreateAppAuthorizationCommand.js +43 -0
- package/dist-es/commands/CreateAppBundleCommand.js +42 -0
- package/dist-es/commands/CreateIngestionCommand.js +42 -0
- package/dist-es/commands/CreateIngestionDestinationCommand.js +42 -0
- package/dist-es/commands/DeleteAppAuthorizationCommand.js +42 -0
- package/dist-es/commands/DeleteAppBundleCommand.js +42 -0
- package/dist-es/commands/DeleteIngestionCommand.js +42 -0
- package/dist-es/commands/DeleteIngestionDestinationCommand.js +42 -0
- package/dist-es/commands/GetAppAuthorizationCommand.js +42 -0
- package/dist-es/commands/GetAppBundleCommand.js +42 -0
- package/dist-es/commands/GetIngestionCommand.js +42 -0
- package/dist-es/commands/GetIngestionDestinationCommand.js +42 -0
- package/dist-es/commands/ListAppAuthorizationsCommand.js +42 -0
- package/dist-es/commands/ListAppBundlesCommand.js +42 -0
- package/dist-es/commands/ListIngestionDestinationsCommand.js +42 -0
- package/dist-es/commands/ListIngestionsCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/StartIngestionCommand.js +42 -0
- package/dist-es/commands/StartUserAccessTasksCommand.js +43 -0
- package/dist-es/commands/StopIngestionCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateAppAuthorizationCommand.js +43 -0
- package/dist-es/commands/UpdateIngestionDestinationCommand.js +42 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/AppFabricServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +235 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAppAuthorizationsPaginator.js +25 -0
- package/dist-es/pagination/ListAppBundlesPaginator.js +25 -0
- package/dist-es/pagination/ListIngestionDestinationsPaginator.js +25 -0
- package/dist-es/pagination/ListIngestionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +1932 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-types/AppFabric.d.ts +200 -0
- package/dist-types/AppFabricClient.d.ts +196 -0
- package/dist-types/commands/BatchGetUserAccessTasksCommand.d.ts +112 -0
- package/dist-types/commands/ConnectAppAuthorizationCommand.d.ts +105 -0
- package/dist-types/commands/CreateAppAuthorizationCommand.d.ts +132 -0
- package/dist-types/commands/CreateAppBundleCommand.d.ts +102 -0
- package/dist-types/commands/CreateIngestionCommand.d.ts +111 -0
- package/dist-types/commands/CreateIngestionDestinationCommand.d.ts +146 -0
- package/dist-types/commands/DeleteAppAuthorizationCommand.d.ts +89 -0
- package/dist-types/commands/DeleteAppBundleCommand.d.ts +88 -0
- package/dist-types/commands/DeleteIngestionCommand.d.ts +89 -0
- package/dist-types/commands/DeleteIngestionDestinationCommand.d.ts +93 -0
- package/dist-types/commands/GetAppAuthorizationCommand.d.ts +104 -0
- package/dist-types/commands/GetAppBundleCommand.d.ts +92 -0
- package/dist-types/commands/GetIngestionCommand.d.ts +99 -0
- package/dist-types/commands/GetIngestionDestinationCommand.d.ts +117 -0
- package/dist-types/commands/ListAppAuthorizationsCommand.d.ts +104 -0
- package/dist-types/commands/ListAppBundlesCommand.d.ts +92 -0
- package/dist-types/commands/ListIngestionDestinationsCommand.d.ts +97 -0
- package/dist-types/commands/ListIngestionsCommand.d.ts +99 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +94 -0
- package/dist-types/commands/StartIngestionCommand.d.ts +91 -0
- package/dist-types/commands/StartUserAccessTasksCommand.d.ts +102 -0
- package/dist-types/commands/StopIngestionCommand.d.ts +91 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateAppAuthorizationCommand.d.ts +120 -0
- package/dist-types/commands/UpdateIngestionDestinationCommand.d.ts +137 -0
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +19 -0
- package/dist-types/models/AppFabricServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1860 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAppAuthorizationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAppBundlesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIngestionDestinationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIngestionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +236 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +18 -0
- package/dist-types/ts3.4/AppFabric.d.ts +447 -0
- package/dist-types/ts3.4/AppFabricClient.d.ts +270 -0
- package/dist-types/ts3.4/commands/BatchGetUserAccessTasksCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ConnectAppAuthorizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAppAuthorizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAppBundleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateIngestionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateIngestionDestinationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAppAuthorizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAppBundleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteIngestionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteIngestionDestinationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAppAuthorizationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAppBundleCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetIngestionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetIngestionDestinationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAppAuthorizationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAppBundlesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListIngestionDestinationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListIngestionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartIngestionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartUserAccessTasksCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopIngestionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateAppAuthorizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateIngestionDestinationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/AppFabricServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +551 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAppAuthorizationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAppBundlesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIngestionDestinationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIngestionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +317 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +85 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
- package/package.json +101 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateIngestionDestinationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class UpdateIngestionDestinationCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateIngestionDestinationCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "AppFabricClient";
|
|
28
|
+
const commandName = "UpdateIngestionDestinationCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_UpdateIngestionDestinationCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_UpdateIngestionDestinationCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateIngestionDestinationCommand = UpdateIngestionDestinationCommand;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./BatchGetUserAccessTasksCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ConnectAppAuthorizationCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateAppAuthorizationCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateAppBundleCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateIngestionCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateIngestionDestinationCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DeleteAppAuthorizationCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DeleteAppBundleCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DeleteIngestionCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DeleteIngestionDestinationCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./GetAppAuthorizationCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetAppBundleCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./GetIngestionCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./GetIngestionDestinationCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./ListAppAuthorizationsCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./ListAppBundlesCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ListIngestionDestinationsCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./ListIngestionsCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./StartIngestionCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./StartUserAccessTasksCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./StopIngestionCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./UpdateAppAuthorizationCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./UpdateIngestionDestinationCommand"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
return {
|
|
6
|
+
...options,
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
9
|
+
defaultSigningName: "appfabric",
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const ruleset_1 = require("./ruleset");
|
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
|
+
endpointParams: endpointParams,
|
|
9
|
+
logger: context.logger,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleSet = void 0;
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://appfabric-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://appfabric-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://appfabric.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://appfabric.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
|
+
exports.ruleSet = _data;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppFabricServiceException = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./AppFabricClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./AppFabric"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
10
|
+
var AppFabricServiceException_1 = require("./models/AppFabricServiceException");
|
|
11
|
+
Object.defineProperty(exports, "AppFabricServiceException", { enumerable: true, get: function () { return AppFabricServiceException_1.AppFabricServiceException; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppFabricServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class AppFabricServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, AppFabricServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.AppFabricServiceException = AppFabricServiceException;
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateAppAuthorizationRequestFilterSensitiveLog = exports.StartUserAccessTasksRequestFilterSensitiveLog = exports.CreateAppAuthorizationRequestFilterSensitiveLog = exports.CredentialFilterSensitiveLog = exports.Oauth2CredentialFilterSensitiveLog = exports.ConnectAppAuthorizationRequestFilterSensitiveLog = exports.BatchGetUserAccessTasksResponseFilterSensitiveLog = exports.UserAccessResultItemFilterSensitiveLog = exports.AuthRequestFilterSensitiveLog = exports.ApiKeyCredentialFilterSensitiveLog = exports.IngestionDestinationStatus = exports.ProcessingConfiguration = exports.DestinationConfiguration = exports.IngestionState = exports.IngestionType = exports.ServiceQuotaExceededException = exports.Credential = exports.ConflictException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ResultStatus = exports.Schema = exports.Format = exports.Destination = exports.AppAuthorizationStatus = exports.Persona = exports.AuthType = exports.AccessDeniedException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
const AppFabricServiceException_1 = require("./AppFabricServiceException");
|
|
6
|
+
class AccessDeniedException extends AppFabricServiceException_1.AppFabricServiceException {
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
this.name = "AccessDeniedException";
|
|
14
|
+
this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
+
exports.AuthType = {
|
|
20
|
+
API_KEY: "apiKey",
|
|
21
|
+
OAUTH2: "oauth2",
|
|
22
|
+
};
|
|
23
|
+
exports.Persona = {
|
|
24
|
+
ADMIN: "admin",
|
|
25
|
+
ENDUSER: "endUser",
|
|
26
|
+
};
|
|
27
|
+
exports.AppAuthorizationStatus = {
|
|
28
|
+
CONNECTED: "Connected",
|
|
29
|
+
CONNECTION_VALIDATION_FAILED: "ConnectionValidationFailed",
|
|
30
|
+
PENDING_CONNECT: "PendingConnect",
|
|
31
|
+
TOKEN_AUTO_ROTATION_FAILED: "TokenAutoRotationFailed",
|
|
32
|
+
};
|
|
33
|
+
var Destination;
|
|
34
|
+
(function (Destination) {
|
|
35
|
+
Destination.visit = (value, visitor) => {
|
|
36
|
+
if (value.s3Bucket !== undefined)
|
|
37
|
+
return visitor.s3Bucket(value.s3Bucket);
|
|
38
|
+
if (value.firehoseStream !== undefined)
|
|
39
|
+
return visitor.firehoseStream(value.firehoseStream);
|
|
40
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
41
|
+
};
|
|
42
|
+
})(Destination = exports.Destination || (exports.Destination = {}));
|
|
43
|
+
exports.Format = {
|
|
44
|
+
JSON: "json",
|
|
45
|
+
PARQUET: "parquet",
|
|
46
|
+
};
|
|
47
|
+
exports.Schema = {
|
|
48
|
+
OCSF: "ocsf",
|
|
49
|
+
RAW: "raw",
|
|
50
|
+
};
|
|
51
|
+
exports.ResultStatus = {
|
|
52
|
+
COMPLETED: "COMPLETED",
|
|
53
|
+
EXPIRED: "EXPIRED",
|
|
54
|
+
FAILED: "FAILED",
|
|
55
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
56
|
+
};
|
|
57
|
+
class InternalServerException extends AppFabricServiceException_1.AppFabricServiceException {
|
|
58
|
+
constructor(opts) {
|
|
59
|
+
super({
|
|
60
|
+
name: "InternalServerException",
|
|
61
|
+
$fault: "server",
|
|
62
|
+
...opts,
|
|
63
|
+
});
|
|
64
|
+
this.name = "InternalServerException";
|
|
65
|
+
this.$fault = "server";
|
|
66
|
+
this.$retryable = {};
|
|
67
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
68
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.InternalServerException = InternalServerException;
|
|
72
|
+
class ResourceNotFoundException extends AppFabricServiceException_1.AppFabricServiceException {
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ResourceNotFoundException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
this.name = "ResourceNotFoundException";
|
|
80
|
+
this.$fault = "client";
|
|
81
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
82
|
+
this.resourceId = opts.resourceId;
|
|
83
|
+
this.resourceType = opts.resourceType;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
87
|
+
class ThrottlingException extends AppFabricServiceException_1.AppFabricServiceException {
|
|
88
|
+
constructor(opts) {
|
|
89
|
+
super({
|
|
90
|
+
name: "ThrottlingException",
|
|
91
|
+
$fault: "client",
|
|
92
|
+
...opts,
|
|
93
|
+
});
|
|
94
|
+
this.name = "ThrottlingException";
|
|
95
|
+
this.$fault = "client";
|
|
96
|
+
this.$retryable = {
|
|
97
|
+
throttling: true,
|
|
98
|
+
};
|
|
99
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
100
|
+
this.serviceCode = opts.serviceCode;
|
|
101
|
+
this.quotaCode = opts.quotaCode;
|
|
102
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.ThrottlingException = ThrottlingException;
|
|
106
|
+
exports.ValidationExceptionReason = {
|
|
107
|
+
CANNOT_PARSE: "cannotParse",
|
|
108
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
109
|
+
OTHER: "other",
|
|
110
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
111
|
+
};
|
|
112
|
+
class ValidationException extends AppFabricServiceException_1.AppFabricServiceException {
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "ValidationException",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
this.name = "ValidationException";
|
|
120
|
+
this.$fault = "client";
|
|
121
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
122
|
+
this.reason = opts.reason;
|
|
123
|
+
this.fieldList = opts.fieldList;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.ValidationException = ValidationException;
|
|
127
|
+
class ConflictException extends AppFabricServiceException_1.AppFabricServiceException {
|
|
128
|
+
constructor(opts) {
|
|
129
|
+
super({
|
|
130
|
+
name: "ConflictException",
|
|
131
|
+
$fault: "client",
|
|
132
|
+
...opts,
|
|
133
|
+
});
|
|
134
|
+
this.name = "ConflictException";
|
|
135
|
+
this.$fault = "client";
|
|
136
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
137
|
+
this.resourceId = opts.resourceId;
|
|
138
|
+
this.resourceType = opts.resourceType;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
exports.ConflictException = ConflictException;
|
|
142
|
+
var Credential;
|
|
143
|
+
(function (Credential) {
|
|
144
|
+
Credential.visit = (value, visitor) => {
|
|
145
|
+
if (value.oauth2Credential !== undefined)
|
|
146
|
+
return visitor.oauth2Credential(value.oauth2Credential);
|
|
147
|
+
if (value.apiKeyCredential !== undefined)
|
|
148
|
+
return visitor.apiKeyCredential(value.apiKeyCredential);
|
|
149
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
150
|
+
};
|
|
151
|
+
})(Credential = exports.Credential || (exports.Credential = {}));
|
|
152
|
+
class ServiceQuotaExceededException extends AppFabricServiceException_1.AppFabricServiceException {
|
|
153
|
+
constructor(opts) {
|
|
154
|
+
super({
|
|
155
|
+
name: "ServiceQuotaExceededException",
|
|
156
|
+
$fault: "client",
|
|
157
|
+
...opts,
|
|
158
|
+
});
|
|
159
|
+
this.name = "ServiceQuotaExceededException";
|
|
160
|
+
this.$fault = "client";
|
|
161
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
162
|
+
this.resourceId = opts.resourceId;
|
|
163
|
+
this.resourceType = opts.resourceType;
|
|
164
|
+
this.serviceCode = opts.serviceCode;
|
|
165
|
+
this.quotaCode = opts.quotaCode;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
169
|
+
exports.IngestionType = {
|
|
170
|
+
AUDIT_LOG: "auditLog",
|
|
171
|
+
};
|
|
172
|
+
exports.IngestionState = {
|
|
173
|
+
DISABLED: "disabled",
|
|
174
|
+
ENABLED: "enabled",
|
|
175
|
+
};
|
|
176
|
+
var DestinationConfiguration;
|
|
177
|
+
(function (DestinationConfiguration) {
|
|
178
|
+
DestinationConfiguration.visit = (value, visitor) => {
|
|
179
|
+
if (value.auditLog !== undefined)
|
|
180
|
+
return visitor.auditLog(value.auditLog);
|
|
181
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
182
|
+
};
|
|
183
|
+
})(DestinationConfiguration = exports.DestinationConfiguration || (exports.DestinationConfiguration = {}));
|
|
184
|
+
var ProcessingConfiguration;
|
|
185
|
+
(function (ProcessingConfiguration) {
|
|
186
|
+
ProcessingConfiguration.visit = (value, visitor) => {
|
|
187
|
+
if (value.auditLog !== undefined)
|
|
188
|
+
return visitor.auditLog(value.auditLog);
|
|
189
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
190
|
+
};
|
|
191
|
+
})(ProcessingConfiguration = exports.ProcessingConfiguration || (exports.ProcessingConfiguration = {}));
|
|
192
|
+
exports.IngestionDestinationStatus = {
|
|
193
|
+
ACTIVE: "Active",
|
|
194
|
+
FAILED: "Failed",
|
|
195
|
+
};
|
|
196
|
+
const ApiKeyCredentialFilterSensitiveLog = (obj) => ({
|
|
197
|
+
...obj,
|
|
198
|
+
...(obj.apiKey && { apiKey: smithy_client_1.SENSITIVE_STRING }),
|
|
199
|
+
});
|
|
200
|
+
exports.ApiKeyCredentialFilterSensitiveLog = ApiKeyCredentialFilterSensitiveLog;
|
|
201
|
+
const AuthRequestFilterSensitiveLog = (obj) => ({
|
|
202
|
+
...obj,
|
|
203
|
+
...(obj.code && { code: smithy_client_1.SENSITIVE_STRING }),
|
|
204
|
+
});
|
|
205
|
+
exports.AuthRequestFilterSensitiveLog = AuthRequestFilterSensitiveLog;
|
|
206
|
+
const UserAccessResultItemFilterSensitiveLog = (obj) => ({
|
|
207
|
+
...obj,
|
|
208
|
+
...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
|
|
209
|
+
...(obj.userId && { userId: smithy_client_1.SENSITIVE_STRING }),
|
|
210
|
+
...(obj.userFullName && { userFullName: smithy_client_1.SENSITIVE_STRING }),
|
|
211
|
+
...(obj.userFirstName && { userFirstName: smithy_client_1.SENSITIVE_STRING }),
|
|
212
|
+
...(obj.userLastName && { userLastName: smithy_client_1.SENSITIVE_STRING }),
|
|
213
|
+
});
|
|
214
|
+
exports.UserAccessResultItemFilterSensitiveLog = UserAccessResultItemFilterSensitiveLog;
|
|
215
|
+
const BatchGetUserAccessTasksResponseFilterSensitiveLog = (obj) => ({
|
|
216
|
+
...obj,
|
|
217
|
+
...(obj.userAccessResultsList && {
|
|
218
|
+
userAccessResultsList: obj.userAccessResultsList.map((item) => (0, exports.UserAccessResultItemFilterSensitiveLog)(item)),
|
|
219
|
+
}),
|
|
220
|
+
});
|
|
221
|
+
exports.BatchGetUserAccessTasksResponseFilterSensitiveLog = BatchGetUserAccessTasksResponseFilterSensitiveLog;
|
|
222
|
+
const ConnectAppAuthorizationRequestFilterSensitiveLog = (obj) => ({
|
|
223
|
+
...obj,
|
|
224
|
+
...(obj.authRequest && { authRequest: (0, exports.AuthRequestFilterSensitiveLog)(obj.authRequest) }),
|
|
225
|
+
});
|
|
226
|
+
exports.ConnectAppAuthorizationRequestFilterSensitiveLog = ConnectAppAuthorizationRequestFilterSensitiveLog;
|
|
227
|
+
const Oauth2CredentialFilterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
...(obj.clientSecret && { clientSecret: smithy_client_1.SENSITIVE_STRING }),
|
|
230
|
+
});
|
|
231
|
+
exports.Oauth2CredentialFilterSensitiveLog = Oauth2CredentialFilterSensitiveLog;
|
|
232
|
+
const CredentialFilterSensitiveLog = (obj) => {
|
|
233
|
+
if (obj.oauth2Credential !== undefined)
|
|
234
|
+
return { oauth2Credential: (0, exports.Oauth2CredentialFilterSensitiveLog)(obj.oauth2Credential) };
|
|
235
|
+
if (obj.apiKeyCredential !== undefined)
|
|
236
|
+
return { apiKeyCredential: (0, exports.ApiKeyCredentialFilterSensitiveLog)(obj.apiKeyCredential) };
|
|
237
|
+
if (obj.$unknown !== undefined)
|
|
238
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
239
|
+
};
|
|
240
|
+
exports.CredentialFilterSensitiveLog = CredentialFilterSensitiveLog;
|
|
241
|
+
const CreateAppAuthorizationRequestFilterSensitiveLog = (obj) => ({
|
|
242
|
+
...obj,
|
|
243
|
+
...(obj.credential && { credential: (0, exports.CredentialFilterSensitiveLog)(obj.credential) }),
|
|
244
|
+
});
|
|
245
|
+
exports.CreateAppAuthorizationRequestFilterSensitiveLog = CreateAppAuthorizationRequestFilterSensitiveLog;
|
|
246
|
+
const StartUserAccessTasksRequestFilterSensitiveLog = (obj) => ({
|
|
247
|
+
...obj,
|
|
248
|
+
...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
|
|
249
|
+
});
|
|
250
|
+
exports.StartUserAccessTasksRequestFilterSensitiveLog = StartUserAccessTasksRequestFilterSensitiveLog;
|
|
251
|
+
const UpdateAppAuthorizationRequestFilterSensitiveLog = (obj) => ({
|
|
252
|
+
...obj,
|
|
253
|
+
...(obj.credential && { credential: (0, exports.CredentialFilterSensitiveLog)(obj.credential) }),
|
|
254
|
+
});
|
|
255
|
+
exports.UpdateAppAuthorizationRequestFilterSensitiveLog = UpdateAppAuthorizationRequestFilterSensitiveLog;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAppAuthorizations = void 0;
|
|
4
|
+
const AppFabricClient_1 = require("../AppFabricClient");
|
|
5
|
+
const ListAppAuthorizationsCommand_1 = require("../commands/ListAppAuthorizationsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListAppAuthorizationsCommand_1.ListAppAuthorizationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListAppAuthorizations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppFabricClient_1.AppFabricClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppFabric | AppFabricClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListAppAuthorizations = paginateListAppAuthorizations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAppBundles = void 0;
|
|
4
|
+
const AppFabricClient_1 = require("../AppFabricClient");
|
|
5
|
+
const ListAppBundlesCommand_1 = require("../commands/ListAppBundlesCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListAppBundlesCommand_1.ListAppBundlesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListAppBundles(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppFabricClient_1.AppFabricClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppFabric | AppFabricClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListAppBundles = paginateListAppBundles;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListIngestionDestinations = void 0;
|
|
4
|
+
const AppFabricClient_1 = require("../AppFabricClient");
|
|
5
|
+
const ListIngestionDestinationsCommand_1 = require("../commands/ListIngestionDestinationsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListIngestionDestinationsCommand_1.ListIngestionDestinationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListIngestionDestinations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppFabricClient_1.AppFabricClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppFabric | AppFabricClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListIngestionDestinations = paginateListIngestionDestinations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListIngestions = void 0;
|
|
4
|
+
const AppFabricClient_1 = require("../AppFabricClient");
|
|
5
|
+
const ListIngestionsCommand_1 = require("../commands/ListIngestionsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListIngestionsCommand_1.ListIngestionsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListIngestions(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppFabricClient_1.AppFabricClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppFabric | AppFabricClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListIngestions = paginateListIngestions;
|
|
@@ -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("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListAppAuthorizationsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListAppBundlesPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListIngestionDestinationsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListIngestionsPaginator"), exports);
|