@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,105 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AppFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppFabricClient";
5
+ import { ConnectAppAuthorizationRequest, ConnectAppAuthorizationResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ConnectAppAuthorizationCommand}.
14
+ */
15
+ export interface ConnectAppAuthorizationCommandInput extends ConnectAppAuthorizationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ConnectAppAuthorizationCommand}.
21
+ */
22
+ export interface ConnectAppAuthorizationCommandOutput extends ConnectAppAuthorizationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Establishes a connection between Amazon Web Services AppFabric and an application, which allows AppFabric to
27
+ * call the APIs of the application.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AppFabricClient, ConnectAppAuthorizationCommand } from "@aws-sdk/client-appfabric"; // ES Modules import
32
+ * // const { AppFabricClient, ConnectAppAuthorizationCommand } = require("@aws-sdk/client-appfabric"); // CommonJS import
33
+ * const client = new AppFabricClient(config);
34
+ * const input = { // ConnectAppAuthorizationRequest
35
+ * appBundleIdentifier: "STRING_VALUE", // required
36
+ * appAuthorizationIdentifier: "STRING_VALUE", // required
37
+ * authRequest: { // AuthRequest
38
+ * redirectUri: "STRING_VALUE", // required
39
+ * code: "STRING_VALUE", // required
40
+ * },
41
+ * };
42
+ * const command = new ConnectAppAuthorizationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ConnectAppAuthorizationResponse
45
+ * // appAuthorizationSummary: { // AppAuthorizationSummary
46
+ * // appAuthorizationArn: "STRING_VALUE", // required
47
+ * // appBundleArn: "STRING_VALUE", // required
48
+ * // app: "STRING_VALUE", // required
49
+ * // tenant: { // Tenant
50
+ * // tenantIdentifier: "STRING_VALUE", // required
51
+ * // tenantDisplayName: "STRING_VALUE", // required
52
+ * // },
53
+ * // status: "PendingConnect" || "Connected" || "ConnectionValidationFailed" || "TokenAutoRotationFailed", // required
54
+ * // updatedAt: new Date("TIMESTAMP"), // required
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ConnectAppAuthorizationCommandInput - {@link ConnectAppAuthorizationCommandInput}
61
+ * @returns {@link ConnectAppAuthorizationCommandOutput}
62
+ * @see {@link ConnectAppAuthorizationCommandInput} for command's `input` shape.
63
+ * @see {@link ConnectAppAuthorizationCommandOutput} for command's `response` shape.
64
+ * @see {@link AppFabricClientResolvedConfig | config} for AppFabricClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>You are not authorized to perform this operation.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>The request processing has failed because of an unknown error, exception, or failure
71
+ * with an internal server.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>The specified resource does not exist.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request rate exceeds the limit.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>The request has invalid or missing parameters.</p>
81
+ *
82
+ * @throws {@link AppFabricServiceException}
83
+ * <p>Base exception class for all service exceptions from AppFabric service.</p>
84
+ *
85
+ */
86
+ export declare class ConnectAppAuthorizationCommand extends $Command<ConnectAppAuthorizationCommandInput, ConnectAppAuthorizationCommandOutput, AppFabricClientResolvedConfig> {
87
+ readonly input: ConnectAppAuthorizationCommandInput;
88
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
+ /**
90
+ * @public
91
+ */
92
+ constructor(input: ConnectAppAuthorizationCommandInput);
93
+ /**
94
+ * @internal
95
+ */
96
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppFabricClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ConnectAppAuthorizationCommandInput, ConnectAppAuthorizationCommandOutput>;
97
+ /**
98
+ * @internal
99
+ */
100
+ private serialize;
101
+ /**
102
+ * @internal
103
+ */
104
+ private deserialize;
105
+ }
@@ -0,0 +1,132 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AppFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppFabricClient";
5
+ import { CreateAppAuthorizationRequest, CreateAppAuthorizationResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAppAuthorizationCommand}.
14
+ */
15
+ export interface CreateAppAuthorizationCommandInput extends CreateAppAuthorizationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAppAuthorizationCommand}.
21
+ */
22
+ export interface CreateAppAuthorizationCommandOutput extends CreateAppAuthorizationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates an app authorization within an app bundle, which allows AppFabric to connect to an
27
+ * application.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AppFabricClient, CreateAppAuthorizationCommand } from "@aws-sdk/client-appfabric"; // ES Modules import
32
+ * // const { AppFabricClient, CreateAppAuthorizationCommand } = require("@aws-sdk/client-appfabric"); // CommonJS import
33
+ * const client = new AppFabricClient(config);
34
+ * const input = { // CreateAppAuthorizationRequest
35
+ * appBundleIdentifier: "STRING_VALUE", // required
36
+ * app: "STRING_VALUE", // required
37
+ * credential: { // Credential Union: only one key present
38
+ * oauth2Credential: { // Oauth2Credential
39
+ * clientId: "STRING_VALUE", // required
40
+ * clientSecret: "STRING_VALUE", // required
41
+ * },
42
+ * apiKeyCredential: { // ApiKeyCredential
43
+ * apiKey: "STRING_VALUE", // required
44
+ * },
45
+ * },
46
+ * tenant: { // Tenant
47
+ * tenantIdentifier: "STRING_VALUE", // required
48
+ * tenantDisplayName: "STRING_VALUE", // required
49
+ * },
50
+ * authType: "oauth2" || "apiKey", // required
51
+ * clientToken: "STRING_VALUE",
52
+ * tags: [ // TagList
53
+ * { // Tag
54
+ * key: "STRING_VALUE", // required
55
+ * value: "STRING_VALUE", // required
56
+ * },
57
+ * ],
58
+ * };
59
+ * const command = new CreateAppAuthorizationCommand(input);
60
+ * const response = await client.send(command);
61
+ * // { // CreateAppAuthorizationResponse
62
+ * // appAuthorization: { // AppAuthorization
63
+ * // appAuthorizationArn: "STRING_VALUE", // required
64
+ * // appBundleArn: "STRING_VALUE", // required
65
+ * // app: "STRING_VALUE", // required
66
+ * // tenant: { // Tenant
67
+ * // tenantIdentifier: "STRING_VALUE", // required
68
+ * // tenantDisplayName: "STRING_VALUE", // required
69
+ * // },
70
+ * // authType: "oauth2" || "apiKey", // required
71
+ * // status: "PendingConnect" || "Connected" || "ConnectionValidationFailed" || "TokenAutoRotationFailed", // required
72
+ * // createdAt: new Date("TIMESTAMP"), // required
73
+ * // updatedAt: new Date("TIMESTAMP"), // required
74
+ * // persona: "admin" || "endUser",
75
+ * // authUrl: "STRING_VALUE",
76
+ * // },
77
+ * // };
78
+ *
79
+ * ```
80
+ *
81
+ * @param CreateAppAuthorizationCommandInput - {@link CreateAppAuthorizationCommandInput}
82
+ * @returns {@link CreateAppAuthorizationCommandOutput}
83
+ * @see {@link CreateAppAuthorizationCommandInput} for command's `input` shape.
84
+ * @see {@link CreateAppAuthorizationCommandOutput} for command's `response` shape.
85
+ * @see {@link AppFabricClientResolvedConfig | config} for AppFabricClient's `config` shape.
86
+ *
87
+ * @throws {@link AccessDeniedException} (client fault)
88
+ * <p>You are not authorized to perform this operation.</p>
89
+ *
90
+ * @throws {@link ConflictException} (client fault)
91
+ * <p>The request has created a conflict. Check the request parameters and try again.</p>
92
+ *
93
+ * @throws {@link InternalServerException} (server fault)
94
+ * <p>The request processing has failed because of an unknown error, exception, or failure
95
+ * with an internal server.</p>
96
+ *
97
+ * @throws {@link ResourceNotFoundException} (client fault)
98
+ * <p>The specified resource does not exist.</p>
99
+ *
100
+ * @throws {@link ServiceQuotaExceededException} (client fault)
101
+ * <p>The request exceeds a service quota.</p>
102
+ *
103
+ * @throws {@link ThrottlingException} (client fault)
104
+ * <p>The request rate exceeds the limit.</p>
105
+ *
106
+ * @throws {@link ValidationException} (client fault)
107
+ * <p>The request has invalid or missing parameters.</p>
108
+ *
109
+ * @throws {@link AppFabricServiceException}
110
+ * <p>Base exception class for all service exceptions from AppFabric service.</p>
111
+ *
112
+ */
113
+ export declare class CreateAppAuthorizationCommand extends $Command<CreateAppAuthorizationCommandInput, CreateAppAuthorizationCommandOutput, AppFabricClientResolvedConfig> {
114
+ readonly input: CreateAppAuthorizationCommandInput;
115
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
116
+ /**
117
+ * @public
118
+ */
119
+ constructor(input: CreateAppAuthorizationCommandInput);
120
+ /**
121
+ * @internal
122
+ */
123
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppFabricClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAppAuthorizationCommandInput, CreateAppAuthorizationCommandOutput>;
124
+ /**
125
+ * @internal
126
+ */
127
+ private serialize;
128
+ /**
129
+ * @internal
130
+ */
131
+ private deserialize;
132
+ }
@@ -0,0 +1,102 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AppFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppFabricClient";
5
+ import { CreateAppBundleRequest, CreateAppBundleResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateAppBundleCommand}.
14
+ */
15
+ export interface CreateAppBundleCommandInput extends CreateAppBundleRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateAppBundleCommand}.
21
+ */
22
+ export interface CreateAppBundleCommandOutput extends CreateAppBundleResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates an app bundle to collect data from an application using AppFabric.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { AppFabricClient, CreateAppBundleCommand } from "@aws-sdk/client-appfabric"; // ES Modules import
31
+ * // const { AppFabricClient, CreateAppBundleCommand } = require("@aws-sdk/client-appfabric"); // CommonJS import
32
+ * const client = new AppFabricClient(config);
33
+ * const input = { // CreateAppBundleRequest
34
+ * clientToken: "STRING_VALUE",
35
+ * customerManagedKeyIdentifier: "STRING_VALUE",
36
+ * tags: [ // TagList
37
+ * { // Tag
38
+ * key: "STRING_VALUE", // required
39
+ * value: "STRING_VALUE", // required
40
+ * },
41
+ * ],
42
+ * };
43
+ * const command = new CreateAppBundleCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // CreateAppBundleResponse
46
+ * // appBundle: { // AppBundle
47
+ * // arn: "STRING_VALUE", // required
48
+ * // customerManagedKeyArn: "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param CreateAppBundleCommandInput - {@link CreateAppBundleCommandInput}
55
+ * @returns {@link CreateAppBundleCommandOutput}
56
+ * @see {@link CreateAppBundleCommandInput} for command's `input` shape.
57
+ * @see {@link CreateAppBundleCommandOutput} for command's `response` shape.
58
+ * @see {@link AppFabricClientResolvedConfig | config} for AppFabricClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You are not authorized to perform this operation.</p>
62
+ *
63
+ * @throws {@link ConflictException} (client fault)
64
+ * <p>The request has created a conflict. Check the request parameters and try again.</p>
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>The request processing has failed because of an unknown error, exception, or failure
68
+ * with an internal server.</p>
69
+ *
70
+ * @throws {@link ServiceQuotaExceededException} (client fault)
71
+ * <p>The request exceeds a service quota.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request rate exceeds the limit.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>The request has invalid or missing parameters.</p>
78
+ *
79
+ * @throws {@link AppFabricServiceException}
80
+ * <p>Base exception class for all service exceptions from AppFabric service.</p>
81
+ *
82
+ */
83
+ export declare class CreateAppBundleCommand extends $Command<CreateAppBundleCommandInput, CreateAppBundleCommandOutput, AppFabricClientResolvedConfig> {
84
+ readonly input: CreateAppBundleCommandInput;
85
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
89
+ constructor(input: CreateAppBundleCommandInput);
90
+ /**
91
+ * @internal
92
+ */
93
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppFabricClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAppBundleCommandInput, CreateAppBundleCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
97
+ private serialize;
98
+ /**
99
+ * @internal
100
+ */
101
+ private deserialize;
102
+ }
@@ -0,0 +1,111 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AppFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppFabricClient";
5
+ import { CreateIngestionRequest, CreateIngestionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateIngestionCommand}.
14
+ */
15
+ export interface CreateIngestionCommandInput extends CreateIngestionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateIngestionCommand}.
21
+ */
22
+ export interface CreateIngestionCommandOutput extends CreateIngestionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates a data ingestion for an application.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { AppFabricClient, CreateIngestionCommand } from "@aws-sdk/client-appfabric"; // ES Modules import
31
+ * // const { AppFabricClient, CreateIngestionCommand } = require("@aws-sdk/client-appfabric"); // CommonJS import
32
+ * const client = new AppFabricClient(config);
33
+ * const input = { // CreateIngestionRequest
34
+ * appBundleIdentifier: "STRING_VALUE", // required
35
+ * app: "STRING_VALUE", // required
36
+ * tenantId: "STRING_VALUE", // required
37
+ * ingestionType: "auditLog", // required
38
+ * clientToken: "STRING_VALUE",
39
+ * tags: [ // TagList
40
+ * { // Tag
41
+ * key: "STRING_VALUE", // required
42
+ * value: "STRING_VALUE", // required
43
+ * },
44
+ * ],
45
+ * };
46
+ * const command = new CreateIngestionCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // CreateIngestionResponse
49
+ * // ingestion: { // Ingestion
50
+ * // arn: "STRING_VALUE", // required
51
+ * // appBundleArn: "STRING_VALUE", // required
52
+ * // app: "STRING_VALUE", // required
53
+ * // tenantId: "STRING_VALUE", // required
54
+ * // createdAt: new Date("TIMESTAMP"), // required
55
+ * // updatedAt: new Date("TIMESTAMP"), // required
56
+ * // state: "enabled" || "disabled", // required
57
+ * // ingestionType: "auditLog", // required
58
+ * // },
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param CreateIngestionCommandInput - {@link CreateIngestionCommandInput}
64
+ * @returns {@link CreateIngestionCommandOutput}
65
+ * @see {@link CreateIngestionCommandInput} for command's `input` shape.
66
+ * @see {@link CreateIngestionCommandOutput} for command's `response` shape.
67
+ * @see {@link AppFabricClientResolvedConfig | config} for AppFabricClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p>You are not authorized to perform this operation.</p>
71
+ *
72
+ * @throws {@link ConflictException} (client fault)
73
+ * <p>The request has created a conflict. Check the request parameters and try again.</p>
74
+ *
75
+ * @throws {@link InternalServerException} (server fault)
76
+ * <p>The request processing has failed because of an unknown error, exception, or failure
77
+ * with an internal server.</p>
78
+ *
79
+ * @throws {@link ServiceQuotaExceededException} (client fault)
80
+ * <p>The request exceeds a service quota.</p>
81
+ *
82
+ * @throws {@link ThrottlingException} (client fault)
83
+ * <p>The request rate exceeds the limit.</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>The request has invalid or missing parameters.</p>
87
+ *
88
+ * @throws {@link AppFabricServiceException}
89
+ * <p>Base exception class for all service exceptions from AppFabric service.</p>
90
+ *
91
+ */
92
+ export declare class CreateIngestionCommand extends $Command<CreateIngestionCommandInput, CreateIngestionCommandOutput, AppFabricClientResolvedConfig> {
93
+ readonly input: CreateIngestionCommandInput;
94
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
+ /**
96
+ * @public
97
+ */
98
+ constructor(input: CreateIngestionCommandInput);
99
+ /**
100
+ * @internal
101
+ */
102
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppFabricClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateIngestionCommandInput, CreateIngestionCommandOutput>;
103
+ /**
104
+ * @internal
105
+ */
106
+ private serialize;
107
+ /**
108
+ * @internal
109
+ */
110
+ private deserialize;
111
+ }
@@ -0,0 +1,146 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { AppFabricClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppFabricClient";
5
+ import { CreateIngestionDestinationRequest, CreateIngestionDestinationResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateIngestionDestinationCommand}.
14
+ */
15
+ export interface CreateIngestionDestinationCommandInput extends CreateIngestionDestinationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateIngestionDestinationCommand}.
21
+ */
22
+ export interface CreateIngestionDestinationCommandOutput extends CreateIngestionDestinationResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Creates an ingestion destination, which specifies how an application's ingested data is
27
+ * processed by Amazon Web Services AppFabric and where it's delivered.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { AppFabricClient, CreateIngestionDestinationCommand } from "@aws-sdk/client-appfabric"; // ES Modules import
32
+ * // const { AppFabricClient, CreateIngestionDestinationCommand } = require("@aws-sdk/client-appfabric"); // CommonJS import
33
+ * const client = new AppFabricClient(config);
34
+ * const input = { // CreateIngestionDestinationRequest
35
+ * appBundleIdentifier: "STRING_VALUE", // required
36
+ * ingestionIdentifier: "STRING_VALUE", // required
37
+ * processingConfiguration: { // ProcessingConfiguration Union: only one key present
38
+ * auditLog: { // AuditLogProcessingConfiguration
39
+ * schema: "ocsf" || "raw", // required
40
+ * format: "json" || "parquet", // required
41
+ * },
42
+ * },
43
+ * destinationConfiguration: { // DestinationConfiguration Union: only one key present
44
+ * auditLog: { // AuditLogDestinationConfiguration
45
+ * destination: { // Destination Union: only one key present
46
+ * s3Bucket: { // S3Bucket
47
+ * bucketName: "STRING_VALUE", // required
48
+ * prefix: "STRING_VALUE",
49
+ * },
50
+ * firehoseStream: { // FirehoseStream
51
+ * streamName: "STRING_VALUE", // required
52
+ * },
53
+ * },
54
+ * },
55
+ * },
56
+ * clientToken: "STRING_VALUE",
57
+ * tags: [ // TagList
58
+ * { // Tag
59
+ * key: "STRING_VALUE", // required
60
+ * value: "STRING_VALUE", // required
61
+ * },
62
+ * ],
63
+ * };
64
+ * const command = new CreateIngestionDestinationCommand(input);
65
+ * const response = await client.send(command);
66
+ * // { // CreateIngestionDestinationResponse
67
+ * // ingestionDestination: { // IngestionDestination
68
+ * // arn: "STRING_VALUE", // required
69
+ * // ingestionArn: "STRING_VALUE", // required
70
+ * // processingConfiguration: { // ProcessingConfiguration Union: only one key present
71
+ * // auditLog: { // AuditLogProcessingConfiguration
72
+ * // schema: "ocsf" || "raw", // required
73
+ * // format: "json" || "parquet", // required
74
+ * // },
75
+ * // },
76
+ * // destinationConfiguration: { // DestinationConfiguration Union: only one key present
77
+ * // auditLog: { // AuditLogDestinationConfiguration
78
+ * // destination: { // Destination Union: only one key present
79
+ * // s3Bucket: { // S3Bucket
80
+ * // bucketName: "STRING_VALUE", // required
81
+ * // prefix: "STRING_VALUE",
82
+ * // },
83
+ * // firehoseStream: { // FirehoseStream
84
+ * // streamName: "STRING_VALUE", // required
85
+ * // },
86
+ * // },
87
+ * // },
88
+ * // },
89
+ * // status: "Active" || "Failed",
90
+ * // statusReason: "STRING_VALUE",
91
+ * // createdAt: new Date("TIMESTAMP"),
92
+ * // updatedAt: new Date("TIMESTAMP"),
93
+ * // },
94
+ * // };
95
+ *
96
+ * ```
97
+ *
98
+ * @param CreateIngestionDestinationCommandInput - {@link CreateIngestionDestinationCommandInput}
99
+ * @returns {@link CreateIngestionDestinationCommandOutput}
100
+ * @see {@link CreateIngestionDestinationCommandInput} for command's `input` shape.
101
+ * @see {@link CreateIngestionDestinationCommandOutput} for command's `response` shape.
102
+ * @see {@link AppFabricClientResolvedConfig | config} for AppFabricClient's `config` shape.
103
+ *
104
+ * @throws {@link AccessDeniedException} (client fault)
105
+ * <p>You are not authorized to perform this operation.</p>
106
+ *
107
+ * @throws {@link ConflictException} (client fault)
108
+ * <p>The request has created a conflict. Check the request parameters and try again.</p>
109
+ *
110
+ * @throws {@link InternalServerException} (server fault)
111
+ * <p>The request processing has failed because of an unknown error, exception, or failure
112
+ * with an internal server.</p>
113
+ *
114
+ * @throws {@link ServiceQuotaExceededException} (client fault)
115
+ * <p>The request exceeds a service quota.</p>
116
+ *
117
+ * @throws {@link ThrottlingException} (client fault)
118
+ * <p>The request rate exceeds the limit.</p>
119
+ *
120
+ * @throws {@link ValidationException} (client fault)
121
+ * <p>The request has invalid or missing parameters.</p>
122
+ *
123
+ * @throws {@link AppFabricServiceException}
124
+ * <p>Base exception class for all service exceptions from AppFabric service.</p>
125
+ *
126
+ */
127
+ export declare class CreateIngestionDestinationCommand extends $Command<CreateIngestionDestinationCommandInput, CreateIngestionDestinationCommandOutput, AppFabricClientResolvedConfig> {
128
+ readonly input: CreateIngestionDestinationCommandInput;
129
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
130
+ /**
131
+ * @public
132
+ */
133
+ constructor(input: CreateIngestionDestinationCommandInput);
134
+ /**
135
+ * @internal
136
+ */
137
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppFabricClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateIngestionDestinationCommandInput, CreateIngestionDestinationCommandOutput>;
138
+ /**
139
+ * @internal
140
+ */
141
+ private serialize;
142
+ /**
143
+ * @internal
144
+ */
145
+ private deserialize;
146
+ }