@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.
Files changed (191) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +421 -0
  3. package/dist-cjs/AppFabric.js +63 -0
  4. package/dist-cjs/AppFabricClient.js +41 -0
  5. package/dist-cjs/commands/BatchGetUserAccessTasksCommand.js +47 -0
  6. package/dist-cjs/commands/ConnectAppAuthorizationCommand.js +47 -0
  7. package/dist-cjs/commands/CreateAppAuthorizationCommand.js +47 -0
  8. package/dist-cjs/commands/CreateAppBundleCommand.js +46 -0
  9. package/dist-cjs/commands/CreateIngestionCommand.js +46 -0
  10. package/dist-cjs/commands/CreateIngestionDestinationCommand.js +46 -0
  11. package/dist-cjs/commands/DeleteAppAuthorizationCommand.js +46 -0
  12. package/dist-cjs/commands/DeleteAppBundleCommand.js +46 -0
  13. package/dist-cjs/commands/DeleteIngestionCommand.js +46 -0
  14. package/dist-cjs/commands/DeleteIngestionDestinationCommand.js +46 -0
  15. package/dist-cjs/commands/GetAppAuthorizationCommand.js +46 -0
  16. package/dist-cjs/commands/GetAppBundleCommand.js +46 -0
  17. package/dist-cjs/commands/GetIngestionCommand.js +46 -0
  18. package/dist-cjs/commands/GetIngestionDestinationCommand.js +46 -0
  19. package/dist-cjs/commands/ListAppAuthorizationsCommand.js +46 -0
  20. package/dist-cjs/commands/ListAppBundlesCommand.js +46 -0
  21. package/dist-cjs/commands/ListIngestionDestinationsCommand.js +46 -0
  22. package/dist-cjs/commands/ListIngestionsCommand.js +46 -0
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  24. package/dist-cjs/commands/StartIngestionCommand.js +46 -0
  25. package/dist-cjs/commands/StartUserAccessTasksCommand.js +47 -0
  26. package/dist-cjs/commands/StopIngestionCommand.js +46 -0
  27. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  28. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  29. package/dist-cjs/commands/UpdateAppAuthorizationCommand.js +47 -0
  30. package/dist-cjs/commands/UpdateIngestionDestinationCommand.js +46 -0
  31. package/dist-cjs/commands/index.js +29 -0
  32. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  33. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  34. package/dist-cjs/endpoint/ruleset.js +7 -0
  35. package/dist-cjs/index.js +11 -0
  36. package/dist-cjs/models/AppFabricServiceException.js +12 -0
  37. package/dist-cjs/models/index.js +4 -0
  38. package/dist-cjs/models/models_0.js +255 -0
  39. package/dist-cjs/pagination/Interfaces.js +2 -0
  40. package/dist-cjs/pagination/ListAppAuthorizationsPaginator.js +29 -0
  41. package/dist-cjs/pagination/ListAppBundlesPaginator.js +29 -0
  42. package/dist-cjs/pagination/ListIngestionDestinationsPaginator.js +29 -0
  43. package/dist-cjs/pagination/ListIngestionsPaginator.js +29 -0
  44. package/dist-cjs/pagination/index.js +8 -0
  45. package/dist-cjs/protocols/Aws_restJson1.js +1988 -0
  46. package/dist-cjs/runtimeConfig.browser.js +39 -0
  47. package/dist-cjs/runtimeConfig.js +48 -0
  48. package/dist-cjs/runtimeConfig.native.js +15 -0
  49. package/dist-cjs/runtimeConfig.shared.js +21 -0
  50. package/dist-es/AppFabric.js +59 -0
  51. package/dist-es/AppFabricClient.js +37 -0
  52. package/dist-es/commands/BatchGetUserAccessTasksCommand.js +43 -0
  53. package/dist-es/commands/ConnectAppAuthorizationCommand.js +43 -0
  54. package/dist-es/commands/CreateAppAuthorizationCommand.js +43 -0
  55. package/dist-es/commands/CreateAppBundleCommand.js +42 -0
  56. package/dist-es/commands/CreateIngestionCommand.js +42 -0
  57. package/dist-es/commands/CreateIngestionDestinationCommand.js +42 -0
  58. package/dist-es/commands/DeleteAppAuthorizationCommand.js +42 -0
  59. package/dist-es/commands/DeleteAppBundleCommand.js +42 -0
  60. package/dist-es/commands/DeleteIngestionCommand.js +42 -0
  61. package/dist-es/commands/DeleteIngestionDestinationCommand.js +42 -0
  62. package/dist-es/commands/GetAppAuthorizationCommand.js +42 -0
  63. package/dist-es/commands/GetAppBundleCommand.js +42 -0
  64. package/dist-es/commands/GetIngestionCommand.js +42 -0
  65. package/dist-es/commands/GetIngestionDestinationCommand.js +42 -0
  66. package/dist-es/commands/ListAppAuthorizationsCommand.js +42 -0
  67. package/dist-es/commands/ListAppBundlesCommand.js +42 -0
  68. package/dist-es/commands/ListIngestionDestinationsCommand.js +42 -0
  69. package/dist-es/commands/ListIngestionsCommand.js +42 -0
  70. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  71. package/dist-es/commands/StartIngestionCommand.js +42 -0
  72. package/dist-es/commands/StartUserAccessTasksCommand.js +43 -0
  73. package/dist-es/commands/StopIngestionCommand.js +42 -0
  74. package/dist-es/commands/TagResourceCommand.js +42 -0
  75. package/dist-es/commands/UntagResourceCommand.js +42 -0
  76. package/dist-es/commands/UpdateAppAuthorizationCommand.js +43 -0
  77. package/dist-es/commands/UpdateIngestionDestinationCommand.js +42 -0
  78. package/dist-es/commands/index.js +26 -0
  79. package/dist-es/endpoint/EndpointParameters.js +8 -0
  80. package/dist-es/endpoint/endpointResolver.js +8 -0
  81. package/dist-es/endpoint/ruleset.js +4 -0
  82. package/dist-es/index.js +6 -0
  83. package/dist-es/models/AppFabricServiceException.js +8 -0
  84. package/dist-es/models/index.js +1 -0
  85. package/dist-es/models/models_0.js +235 -0
  86. package/dist-es/pagination/Interfaces.js +1 -0
  87. package/dist-es/pagination/ListAppAuthorizationsPaginator.js +25 -0
  88. package/dist-es/pagination/ListAppBundlesPaginator.js +25 -0
  89. package/dist-es/pagination/ListIngestionDestinationsPaginator.js +25 -0
  90. package/dist-es/pagination/ListIngestionsPaginator.js +25 -0
  91. package/dist-es/pagination/index.js +5 -0
  92. package/dist-es/protocols/Aws_restJson1.js +1932 -0
  93. package/dist-es/runtimeConfig.browser.js +34 -0
  94. package/dist-es/runtimeConfig.js +43 -0
  95. package/dist-es/runtimeConfig.native.js +11 -0
  96. package/dist-es/runtimeConfig.shared.js +17 -0
  97. package/dist-types/AppFabric.d.ts +200 -0
  98. package/dist-types/AppFabricClient.d.ts +196 -0
  99. package/dist-types/commands/BatchGetUserAccessTasksCommand.d.ts +112 -0
  100. package/dist-types/commands/ConnectAppAuthorizationCommand.d.ts +105 -0
  101. package/dist-types/commands/CreateAppAuthorizationCommand.d.ts +132 -0
  102. package/dist-types/commands/CreateAppBundleCommand.d.ts +102 -0
  103. package/dist-types/commands/CreateIngestionCommand.d.ts +111 -0
  104. package/dist-types/commands/CreateIngestionDestinationCommand.d.ts +146 -0
  105. package/dist-types/commands/DeleteAppAuthorizationCommand.d.ts +89 -0
  106. package/dist-types/commands/DeleteAppBundleCommand.d.ts +88 -0
  107. package/dist-types/commands/DeleteIngestionCommand.d.ts +89 -0
  108. package/dist-types/commands/DeleteIngestionDestinationCommand.d.ts +93 -0
  109. package/dist-types/commands/GetAppAuthorizationCommand.d.ts +104 -0
  110. package/dist-types/commands/GetAppBundleCommand.d.ts +92 -0
  111. package/dist-types/commands/GetIngestionCommand.d.ts +99 -0
  112. package/dist-types/commands/GetIngestionDestinationCommand.d.ts +117 -0
  113. package/dist-types/commands/ListAppAuthorizationsCommand.d.ts +104 -0
  114. package/dist-types/commands/ListAppBundlesCommand.d.ts +92 -0
  115. package/dist-types/commands/ListIngestionDestinationsCommand.d.ts +97 -0
  116. package/dist-types/commands/ListIngestionsCommand.d.ts +99 -0
  117. package/dist-types/commands/ListTagsForResourceCommand.d.ts +94 -0
  118. package/dist-types/commands/StartIngestionCommand.d.ts +91 -0
  119. package/dist-types/commands/StartUserAccessTasksCommand.d.ts +102 -0
  120. package/dist-types/commands/StopIngestionCommand.d.ts +91 -0
  121. package/dist-types/commands/TagResourceCommand.d.ts +93 -0
  122. package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
  123. package/dist-types/commands/UpdateAppAuthorizationCommand.d.ts +120 -0
  124. package/dist-types/commands/UpdateIngestionDestinationCommand.d.ts +137 -0
  125. package/dist-types/commands/index.d.ts +26 -0
  126. package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
  127. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  128. package/dist-types/endpoint/ruleset.d.ts +2 -0
  129. package/dist-types/index.d.ts +19 -0
  130. package/dist-types/models/AppFabricServiceException.d.ts +13 -0
  131. package/dist-types/models/index.d.ts +1 -0
  132. package/dist-types/models/models_0.d.ts +1860 -0
  133. package/dist-types/pagination/Interfaces.d.ts +8 -0
  134. package/dist-types/pagination/ListAppAuthorizationsPaginator.d.ts +7 -0
  135. package/dist-types/pagination/ListAppBundlesPaginator.d.ts +7 -0
  136. package/dist-types/pagination/ListIngestionDestinationsPaginator.d.ts +7 -0
  137. package/dist-types/pagination/ListIngestionsPaginator.d.ts +7 -0
  138. package/dist-types/pagination/index.d.ts +5 -0
  139. package/dist-types/protocols/Aws_restJson1.d.ts +236 -0
  140. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  141. package/dist-types/runtimeConfig.d.ts +42 -0
  142. package/dist-types/runtimeConfig.native.d.ts +41 -0
  143. package/dist-types/runtimeConfig.shared.d.ts +18 -0
  144. package/dist-types/ts3.4/AppFabric.d.ts +447 -0
  145. package/dist-types/ts3.4/AppFabricClient.d.ts +270 -0
  146. package/dist-types/ts3.4/commands/BatchGetUserAccessTasksCommand.d.ts +42 -0
  147. package/dist-types/ts3.4/commands/ConnectAppAuthorizationCommand.d.ts +42 -0
  148. package/dist-types/ts3.4/commands/CreateAppAuthorizationCommand.d.ts +42 -0
  149. package/dist-types/ts3.4/commands/CreateAppBundleCommand.d.ts +38 -0
  150. package/dist-types/ts3.4/commands/CreateIngestionCommand.d.ts +38 -0
  151. package/dist-types/ts3.4/commands/CreateIngestionDestinationCommand.d.ts +42 -0
  152. package/dist-types/ts3.4/commands/DeleteAppAuthorizationCommand.d.ts +42 -0
  153. package/dist-types/ts3.4/commands/DeleteAppBundleCommand.d.ts +38 -0
  154. package/dist-types/ts3.4/commands/DeleteIngestionCommand.d.ts +38 -0
  155. package/dist-types/ts3.4/commands/DeleteIngestionDestinationCommand.d.ts +42 -0
  156. package/dist-types/ts3.4/commands/GetAppAuthorizationCommand.d.ts +39 -0
  157. package/dist-types/ts3.4/commands/GetAppBundleCommand.d.ts +35 -0
  158. package/dist-types/ts3.4/commands/GetIngestionCommand.d.ts +35 -0
  159. package/dist-types/ts3.4/commands/GetIngestionDestinationCommand.d.ts +42 -0
  160. package/dist-types/ts3.4/commands/ListAppAuthorizationsCommand.d.ts +42 -0
  161. package/dist-types/ts3.4/commands/ListAppBundlesCommand.d.ts +38 -0
  162. package/dist-types/ts3.4/commands/ListIngestionDestinationsCommand.d.ts +42 -0
  163. package/dist-types/ts3.4/commands/ListIngestionsCommand.d.ts +38 -0
  164. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  165. package/dist-types/ts3.4/commands/StartIngestionCommand.d.ts +38 -0
  166. package/dist-types/ts3.4/commands/StartUserAccessTasksCommand.d.ts +42 -0
  167. package/dist-types/ts3.4/commands/StopIngestionCommand.d.ts +38 -0
  168. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  169. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  170. package/dist-types/ts3.4/commands/UpdateAppAuthorizationCommand.d.ts +42 -0
  171. package/dist-types/ts3.4/commands/UpdateIngestionDestinationCommand.d.ts +42 -0
  172. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  173. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
  174. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  175. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  176. package/dist-types/ts3.4/index.d.ts +6 -0
  177. package/dist-types/ts3.4/models/AppFabricServiceException.d.ts +8 -0
  178. package/dist-types/ts3.4/models/index.d.ts +1 -0
  179. package/dist-types/ts3.4/models/models_0.d.ts +551 -0
  180. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  181. package/dist-types/ts3.4/pagination/ListAppAuthorizationsPaginator.d.ts +11 -0
  182. package/dist-types/ts3.4/pagination/ListAppBundlesPaginator.d.ts +11 -0
  183. package/dist-types/ts3.4/pagination/ListIngestionDestinationsPaginator.d.ts +11 -0
  184. package/dist-types/ts3.4/pagination/ListIngestionsPaginator.d.ts +11 -0
  185. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  186. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +317 -0
  187. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +94 -0
  188. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  189. package/dist-types/ts3.4/runtimeConfig.native.d.ts +85 -0
  190. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
  191. 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,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./models_0"), exports);
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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);