@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,43 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateAppAuthorizationRequestFilterSensitiveLog, } from "../models/models_0";
5
+ import { de_UpdateAppAuthorizationCommand, se_UpdateAppAuthorizationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateAppAuthorizationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAppAuthorizationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "AppFabricClient";
26
+ const commandName = "UpdateAppAuthorizationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: UpdateAppAuthorizationRequestFilterSensitiveLog,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ };
34
+ const { requestHandler } = configuration;
35
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
36
+ }
37
+ serialize(input, context) {
38
+ return se_UpdateAppAuthorizationCommand(input, context);
39
+ }
40
+ deserialize(output, context) {
41
+ return de_UpdateAppAuthorizationCommand(output, context);
42
+ }
43
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { de_UpdateIngestionDestinationCommand, se_UpdateIngestionDestinationCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
6
+ export class UpdateIngestionDestinationCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateIngestionDestinationCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "AppFabricClient";
25
+ const commandName = "UpdateIngestionDestinationCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_UpdateIngestionDestinationCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_UpdateIngestionDestinationCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,26 @@
1
+ export * from "./BatchGetUserAccessTasksCommand";
2
+ export * from "./ConnectAppAuthorizationCommand";
3
+ export * from "./CreateAppAuthorizationCommand";
4
+ export * from "./CreateAppBundleCommand";
5
+ export * from "./CreateIngestionCommand";
6
+ export * from "./CreateIngestionDestinationCommand";
7
+ export * from "./DeleteAppAuthorizationCommand";
8
+ export * from "./DeleteAppBundleCommand";
9
+ export * from "./DeleteIngestionCommand";
10
+ export * from "./DeleteIngestionDestinationCommand";
11
+ export * from "./GetAppAuthorizationCommand";
12
+ export * from "./GetAppBundleCommand";
13
+ export * from "./GetIngestionCommand";
14
+ export * from "./GetIngestionDestinationCommand";
15
+ export * from "./ListAppAuthorizationsCommand";
16
+ export * from "./ListAppBundlesCommand";
17
+ export * from "./ListIngestionDestinationsCommand";
18
+ export * from "./ListIngestionsCommand";
19
+ export * from "./ListTagsForResourceCommand";
20
+ export * from "./StartIngestionCommand";
21
+ export * from "./StartUserAccessTasksCommand";
22
+ export * from "./StopIngestionCommand";
23
+ export * from "./TagResourceCommand";
24
+ export * from "./UntagResourceCommand";
25
+ export * from "./UpdateAppAuthorizationCommand";
26
+ export * from "./UpdateIngestionDestinationCommand";
@@ -0,0 +1,8 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
6
+ defaultSigningName: "appfabric",
7
+ };
8
+ };
@@ -0,0 +1,8 @@
1
+ import { resolveEndpoint } from "@aws-sdk/util-endpoints";
2
+ import { ruleSet } from "./ruleset";
3
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
+ return resolveEndpoint(ruleSet, {
5
+ endpointParams: endpointParams,
6
+ logger: context.logger,
7
+ });
8
+ };
@@ -0,0 +1,4 @@
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ 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" }];
3
+ 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 }] }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1,6 @@
1
+ export * from "./AppFabricClient";
2
+ export * from "./AppFabric";
3
+ export * from "./commands";
4
+ export * from "./pagination";
5
+ export * from "./models";
6
+ export { AppFabricServiceException } from "./models/AppFabricServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException };
3
+ export class AppFabricServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, AppFabricServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,235 @@
1
+ import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
+ import { AppFabricServiceException as __BaseException } from "./AppFabricServiceException";
3
+ export class AccessDeniedException extends __BaseException {
4
+ constructor(opts) {
5
+ super({
6
+ name: "AccessDeniedException",
7
+ $fault: "client",
8
+ ...opts,
9
+ });
10
+ this.name = "AccessDeniedException";
11
+ this.$fault = "client";
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ }
14
+ }
15
+ export const AuthType = {
16
+ API_KEY: "apiKey",
17
+ OAUTH2: "oauth2",
18
+ };
19
+ export const Persona = {
20
+ ADMIN: "admin",
21
+ ENDUSER: "endUser",
22
+ };
23
+ export const AppAuthorizationStatus = {
24
+ CONNECTED: "Connected",
25
+ CONNECTION_VALIDATION_FAILED: "ConnectionValidationFailed",
26
+ PENDING_CONNECT: "PendingConnect",
27
+ TOKEN_AUTO_ROTATION_FAILED: "TokenAutoRotationFailed",
28
+ };
29
+ export var Destination;
30
+ (function (Destination) {
31
+ Destination.visit = (value, visitor) => {
32
+ if (value.s3Bucket !== undefined)
33
+ return visitor.s3Bucket(value.s3Bucket);
34
+ if (value.firehoseStream !== undefined)
35
+ return visitor.firehoseStream(value.firehoseStream);
36
+ return visitor._(value.$unknown[0], value.$unknown[1]);
37
+ };
38
+ })(Destination || (Destination = {}));
39
+ export const Format = {
40
+ JSON: "json",
41
+ PARQUET: "parquet",
42
+ };
43
+ export const Schema = {
44
+ OCSF: "ocsf",
45
+ RAW: "raw",
46
+ };
47
+ export const ResultStatus = {
48
+ COMPLETED: "COMPLETED",
49
+ EXPIRED: "EXPIRED",
50
+ FAILED: "FAILED",
51
+ IN_PROGRESS: "IN_PROGRESS",
52
+ };
53
+ export class InternalServerException extends __BaseException {
54
+ constructor(opts) {
55
+ super({
56
+ name: "InternalServerException",
57
+ $fault: "server",
58
+ ...opts,
59
+ });
60
+ this.name = "InternalServerException";
61
+ this.$fault = "server";
62
+ this.$retryable = {};
63
+ Object.setPrototypeOf(this, InternalServerException.prototype);
64
+ this.retryAfterSeconds = opts.retryAfterSeconds;
65
+ }
66
+ }
67
+ export class ResourceNotFoundException extends __BaseException {
68
+ constructor(opts) {
69
+ super({
70
+ name: "ResourceNotFoundException",
71
+ $fault: "client",
72
+ ...opts,
73
+ });
74
+ this.name = "ResourceNotFoundException";
75
+ this.$fault = "client";
76
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
77
+ this.resourceId = opts.resourceId;
78
+ this.resourceType = opts.resourceType;
79
+ }
80
+ }
81
+ export class ThrottlingException extends __BaseException {
82
+ constructor(opts) {
83
+ super({
84
+ name: "ThrottlingException",
85
+ $fault: "client",
86
+ ...opts,
87
+ });
88
+ this.name = "ThrottlingException";
89
+ this.$fault = "client";
90
+ this.$retryable = {
91
+ throttling: true,
92
+ };
93
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
94
+ this.serviceCode = opts.serviceCode;
95
+ this.quotaCode = opts.quotaCode;
96
+ this.retryAfterSeconds = opts.retryAfterSeconds;
97
+ }
98
+ }
99
+ export const ValidationExceptionReason = {
100
+ CANNOT_PARSE: "cannotParse",
101
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
102
+ OTHER: "other",
103
+ UNKNOWN_OPERATION: "unknownOperation",
104
+ };
105
+ export class ValidationException extends __BaseException {
106
+ constructor(opts) {
107
+ super({
108
+ name: "ValidationException",
109
+ $fault: "client",
110
+ ...opts,
111
+ });
112
+ this.name = "ValidationException";
113
+ this.$fault = "client";
114
+ Object.setPrototypeOf(this, ValidationException.prototype);
115
+ this.reason = opts.reason;
116
+ this.fieldList = opts.fieldList;
117
+ }
118
+ }
119
+ export class ConflictException extends __BaseException {
120
+ constructor(opts) {
121
+ super({
122
+ name: "ConflictException",
123
+ $fault: "client",
124
+ ...opts,
125
+ });
126
+ this.name = "ConflictException";
127
+ this.$fault = "client";
128
+ Object.setPrototypeOf(this, ConflictException.prototype);
129
+ this.resourceId = opts.resourceId;
130
+ this.resourceType = opts.resourceType;
131
+ }
132
+ }
133
+ export var Credential;
134
+ (function (Credential) {
135
+ Credential.visit = (value, visitor) => {
136
+ if (value.oauth2Credential !== undefined)
137
+ return visitor.oauth2Credential(value.oauth2Credential);
138
+ if (value.apiKeyCredential !== undefined)
139
+ return visitor.apiKeyCredential(value.apiKeyCredential);
140
+ return visitor._(value.$unknown[0], value.$unknown[1]);
141
+ };
142
+ })(Credential || (Credential = {}));
143
+ export class ServiceQuotaExceededException extends __BaseException {
144
+ constructor(opts) {
145
+ super({
146
+ name: "ServiceQuotaExceededException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ this.name = "ServiceQuotaExceededException";
151
+ this.$fault = "client";
152
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
153
+ this.resourceId = opts.resourceId;
154
+ this.resourceType = opts.resourceType;
155
+ this.serviceCode = opts.serviceCode;
156
+ this.quotaCode = opts.quotaCode;
157
+ }
158
+ }
159
+ export const IngestionType = {
160
+ AUDIT_LOG: "auditLog",
161
+ };
162
+ export const IngestionState = {
163
+ DISABLED: "disabled",
164
+ ENABLED: "enabled",
165
+ };
166
+ export var DestinationConfiguration;
167
+ (function (DestinationConfiguration) {
168
+ DestinationConfiguration.visit = (value, visitor) => {
169
+ if (value.auditLog !== undefined)
170
+ return visitor.auditLog(value.auditLog);
171
+ return visitor._(value.$unknown[0], value.$unknown[1]);
172
+ };
173
+ })(DestinationConfiguration || (DestinationConfiguration = {}));
174
+ export var ProcessingConfiguration;
175
+ (function (ProcessingConfiguration) {
176
+ ProcessingConfiguration.visit = (value, visitor) => {
177
+ if (value.auditLog !== undefined)
178
+ return visitor.auditLog(value.auditLog);
179
+ return visitor._(value.$unknown[0], value.$unknown[1]);
180
+ };
181
+ })(ProcessingConfiguration || (ProcessingConfiguration = {}));
182
+ export const IngestionDestinationStatus = {
183
+ ACTIVE: "Active",
184
+ FAILED: "Failed",
185
+ };
186
+ export const ApiKeyCredentialFilterSensitiveLog = (obj) => ({
187
+ ...obj,
188
+ ...(obj.apiKey && { apiKey: SENSITIVE_STRING }),
189
+ });
190
+ export const AuthRequestFilterSensitiveLog = (obj) => ({
191
+ ...obj,
192
+ ...(obj.code && { code: SENSITIVE_STRING }),
193
+ });
194
+ export const UserAccessResultItemFilterSensitiveLog = (obj) => ({
195
+ ...obj,
196
+ ...(obj.email && { email: SENSITIVE_STRING }),
197
+ ...(obj.userId && { userId: SENSITIVE_STRING }),
198
+ ...(obj.userFullName && { userFullName: SENSITIVE_STRING }),
199
+ ...(obj.userFirstName && { userFirstName: SENSITIVE_STRING }),
200
+ ...(obj.userLastName && { userLastName: SENSITIVE_STRING }),
201
+ });
202
+ export const BatchGetUserAccessTasksResponseFilterSensitiveLog = (obj) => ({
203
+ ...obj,
204
+ ...(obj.userAccessResultsList && {
205
+ userAccessResultsList: obj.userAccessResultsList.map((item) => UserAccessResultItemFilterSensitiveLog(item)),
206
+ }),
207
+ });
208
+ export const ConnectAppAuthorizationRequestFilterSensitiveLog = (obj) => ({
209
+ ...obj,
210
+ ...(obj.authRequest && { authRequest: AuthRequestFilterSensitiveLog(obj.authRequest) }),
211
+ });
212
+ export const Oauth2CredentialFilterSensitiveLog = (obj) => ({
213
+ ...obj,
214
+ ...(obj.clientSecret && { clientSecret: SENSITIVE_STRING }),
215
+ });
216
+ export const CredentialFilterSensitiveLog = (obj) => {
217
+ if (obj.oauth2Credential !== undefined)
218
+ return { oauth2Credential: Oauth2CredentialFilterSensitiveLog(obj.oauth2Credential) };
219
+ if (obj.apiKeyCredential !== undefined)
220
+ return { apiKeyCredential: ApiKeyCredentialFilterSensitiveLog(obj.apiKeyCredential) };
221
+ if (obj.$unknown !== undefined)
222
+ return { [obj.$unknown[0]]: "UNKNOWN" };
223
+ };
224
+ export const CreateAppAuthorizationRequestFilterSensitiveLog = (obj) => ({
225
+ ...obj,
226
+ ...(obj.credential && { credential: CredentialFilterSensitiveLog(obj.credential) }),
227
+ });
228
+ export const StartUserAccessTasksRequestFilterSensitiveLog = (obj) => ({
229
+ ...obj,
230
+ ...(obj.email && { email: SENSITIVE_STRING }),
231
+ });
232
+ export const UpdateAppAuthorizationRequestFilterSensitiveLog = (obj) => ({
233
+ ...obj,
234
+ ...(obj.credential && { credential: CredentialFilterSensitiveLog(obj.credential) }),
235
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,25 @@
1
+ import { AppFabricClient } from "../AppFabricClient";
2
+ import { ListAppAuthorizationsCommand, } from "../commands/ListAppAuthorizationsCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListAppAuthorizationsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListAppAuthorizations(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof AppFabricClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected AppFabric | AppFabricClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { AppFabricClient } from "../AppFabricClient";
2
+ import { ListAppBundlesCommand, } from "../commands/ListAppBundlesCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListAppBundlesCommand(input), ...args);
5
+ };
6
+ export async function* paginateListAppBundles(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof AppFabricClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected AppFabric | AppFabricClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { AppFabricClient } from "../AppFabricClient";
2
+ import { ListIngestionDestinationsCommand, } from "../commands/ListIngestionDestinationsCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListIngestionDestinationsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListIngestionDestinations(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof AppFabricClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected AppFabric | AppFabricClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { AppFabricClient } from "../AppFabricClient";
2
+ import { ListIngestionsCommand, } from "../commands/ListIngestionsCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListIngestionsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListIngestions(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof AppFabricClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected AppFabric | AppFabricClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAppAuthorizationsPaginator";
3
+ export * from "./ListAppBundlesPaginator";
4
+ export * from "./ListIngestionDestinationsPaginator";
5
+ export * from "./ListIngestionsPaginator";