@aws-sdk/client-kinesis-analytics 3.35.0 → 3.38.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 (194) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/KinesisAnalytics.js +0 -13
  3. package/dist-cjs/KinesisAnalyticsClient.js +0 -18
  4. package/dist-cjs/commands/AddApplicationCloudWatchLoggingOptionCommand.js +0 -31
  5. package/dist-cjs/commands/AddApplicationInputCommand.js +0 -41
  6. package/dist-cjs/commands/AddApplicationInputProcessingConfigurationCommand.js +0 -30
  7. package/dist-cjs/commands/AddApplicationOutputCommand.js +0 -44
  8. package/dist-cjs/commands/AddApplicationReferenceDataSourceCommand.js +0 -38
  9. package/dist-cjs/commands/CreateApplicationCommand.js +0 -51
  10. package/dist-cjs/commands/DeleteApplicationCloudWatchLoggingOptionCommand.js +0 -30
  11. package/dist-cjs/commands/DeleteApplicationCommand.js +0 -30
  12. package/dist-cjs/commands/DeleteApplicationInputProcessingConfigurationCommand.js +0 -28
  13. package/dist-cjs/commands/DeleteApplicationOutputCommand.js +0 -30
  14. package/dist-cjs/commands/DeleteApplicationReferenceDataSourceCommand.js +0 -33
  15. package/dist-cjs/commands/DescribeApplicationCommand.js +0 -34
  16. package/dist-cjs/commands/DiscoverInputSchemaCommand.js +0 -39
  17. package/dist-cjs/commands/ListApplicationsCommand.js +0 -41
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  19. package/dist-cjs/commands/StartApplicationCommand.js +0 -36
  20. package/dist-cjs/commands/StopApplicationCommand.js +0 -35
  21. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  22. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  23. package/dist-cjs/commands/UpdateApplicationCommand.js +0 -34
  24. package/dist-cjs/commands/index.js +23 -0
  25. package/dist-cjs/endpoints.js +1 -2
  26. package/dist-cjs/index.js +3 -23
  27. package/dist-cjs/models/index.js +0 -1
  28. package/dist-cjs/models/models_0.js +0 -316
  29. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  30. package/dist-cjs/runtimeConfig.browser.js +1 -6
  31. package/dist-cjs/runtimeConfig.js +2 -7
  32. package/dist-cjs/runtimeConfig.native.js +0 -4
  33. package/dist-cjs/runtimeConfig.shared.js +0 -4
  34. package/dist-es/KinesisAnalytics.js +0 -1
  35. package/dist-es/KinesisAnalyticsClient.js +0 -1
  36. package/dist-es/commands/AddApplicationCloudWatchLoggingOptionCommand.js +0 -1
  37. package/dist-es/commands/AddApplicationInputCommand.js +0 -1
  38. package/dist-es/commands/AddApplicationInputProcessingConfigurationCommand.js +0 -1
  39. package/dist-es/commands/AddApplicationOutputCommand.js +0 -1
  40. package/dist-es/commands/AddApplicationReferenceDataSourceCommand.js +0 -1
  41. package/dist-es/commands/CreateApplicationCommand.js +0 -1
  42. package/dist-es/commands/DeleteApplicationCloudWatchLoggingOptionCommand.js +0 -1
  43. package/dist-es/commands/DeleteApplicationCommand.js +0 -1
  44. package/dist-es/commands/DeleteApplicationInputProcessingConfigurationCommand.js +0 -1
  45. package/dist-es/commands/DeleteApplicationOutputCommand.js +0 -1
  46. package/dist-es/commands/DeleteApplicationReferenceDataSourceCommand.js +0 -1
  47. package/dist-es/commands/DescribeApplicationCommand.js +0 -1
  48. package/dist-es/commands/DiscoverInputSchemaCommand.js +0 -1
  49. package/dist-es/commands/ListApplicationsCommand.js +0 -1
  50. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  51. package/dist-es/commands/StartApplicationCommand.js +0 -1
  52. package/dist-es/commands/StopApplicationCommand.js +0 -1
  53. package/dist-es/commands/TagResourceCommand.js +0 -1
  54. package/dist-es/commands/UntagResourceCommand.js +0 -1
  55. package/dist-es/commands/UpdateApplicationCommand.js +0 -1
  56. package/dist-es/commands/index.js +20 -0
  57. package/dist-es/endpoints.js +1 -2
  58. package/dist-es/index.js +3 -23
  59. package/dist-es/models/index.js +0 -1
  60. package/dist-es/models/models_0.js +0 -1
  61. package/dist-es/protocols/Aws_json1_1.js +0 -1
  62. package/dist-es/runtimeConfig.browser.js +1 -2
  63. package/dist-es/runtimeConfig.js +2 -3
  64. package/dist-es/runtimeConfig.native.js +0 -1
  65. package/dist-es/runtimeConfig.shared.js +0 -1
  66. package/dist-types/commands/index.d.ts +20 -0
  67. package/dist-types/index.d.ts +3 -22
  68. package/dist-types/ts3.4/KinesisAnalytics.d.ts +21 -253
  69. package/dist-types/ts3.4/KinesisAnalyticsClient.d.ts +24 -98
  70. package/dist-types/ts3.4/commands/AddApplicationCloudWatchLoggingOptionCommand.d.ts +2 -26
  71. package/dist-types/ts3.4/commands/AddApplicationInputCommand.d.ts +2 -36
  72. package/dist-types/ts3.4/commands/AddApplicationInputProcessingConfigurationCommand.d.ts +2 -25
  73. package/dist-types/ts3.4/commands/AddApplicationOutputCommand.d.ts +2 -39
  74. package/dist-types/ts3.4/commands/AddApplicationReferenceDataSourceCommand.d.ts +2 -33
  75. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -46
  76. package/dist-types/ts3.4/commands/DeleteApplicationCloudWatchLoggingOptionCommand.d.ts +2 -25
  77. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -25
  78. package/dist-types/ts3.4/commands/DeleteApplicationInputProcessingConfigurationCommand.d.ts +2 -23
  79. package/dist-types/ts3.4/commands/DeleteApplicationOutputCommand.d.ts +2 -25
  80. package/dist-types/ts3.4/commands/DeleteApplicationReferenceDataSourceCommand.d.ts +2 -28
  81. package/dist-types/ts3.4/commands/DescribeApplicationCommand.d.ts +2 -29
  82. package/dist-types/ts3.4/commands/DiscoverInputSchemaCommand.d.ts +2 -34
  83. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -36
  84. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +2 -31
  86. package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +2 -30
  87. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
  88. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  89. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -29
  90. package/dist-types/ts3.4/commands/index.d.ts +20 -0
  91. package/dist-types/ts3.4/index.d.ts +3 -22
  92. package/dist-types/ts3.4/models/models_0.d.ts +416 -1552
  93. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  94. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  95. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  96. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  97. package/package.json +33 -30
  98. package/dist-cjs/KinesisAnalytics.js.map +0 -1
  99. package/dist-cjs/KinesisAnalyticsClient.js.map +0 -1
  100. package/dist-cjs/commands/AddApplicationCloudWatchLoggingOptionCommand.js.map +0 -1
  101. package/dist-cjs/commands/AddApplicationInputCommand.js.map +0 -1
  102. package/dist-cjs/commands/AddApplicationInputProcessingConfigurationCommand.js.map +0 -1
  103. package/dist-cjs/commands/AddApplicationOutputCommand.js.map +0 -1
  104. package/dist-cjs/commands/AddApplicationReferenceDataSourceCommand.js.map +0 -1
  105. package/dist-cjs/commands/CreateApplicationCommand.js.map +0 -1
  106. package/dist-cjs/commands/DeleteApplicationCloudWatchLoggingOptionCommand.js.map +0 -1
  107. package/dist-cjs/commands/DeleteApplicationCommand.js.map +0 -1
  108. package/dist-cjs/commands/DeleteApplicationInputProcessingConfigurationCommand.js.map +0 -1
  109. package/dist-cjs/commands/DeleteApplicationOutputCommand.js.map +0 -1
  110. package/dist-cjs/commands/DeleteApplicationReferenceDataSourceCommand.js.map +0 -1
  111. package/dist-cjs/commands/DescribeApplicationCommand.js.map +0 -1
  112. package/dist-cjs/commands/DiscoverInputSchemaCommand.js.map +0 -1
  113. package/dist-cjs/commands/ListApplicationsCommand.js.map +0 -1
  114. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  115. package/dist-cjs/commands/StartApplicationCommand.js.map +0 -1
  116. package/dist-cjs/commands/StopApplicationCommand.js.map +0 -1
  117. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  118. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  119. package/dist-cjs/commands/UpdateApplicationCommand.js.map +0 -1
  120. package/dist-cjs/endpoints.js.map +0 -1
  121. package/dist-cjs/index.js.map +0 -1
  122. package/dist-cjs/models/index.js.map +0 -1
  123. package/dist-cjs/models/models_0.js.map +0 -1
  124. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  125. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  126. package/dist-cjs/runtimeConfig.js.map +0 -1
  127. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  128. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  129. package/dist-es/KinesisAnalytics.js.map +0 -1
  130. package/dist-es/KinesisAnalyticsClient.js.map +0 -1
  131. package/dist-es/commands/AddApplicationCloudWatchLoggingOptionCommand.js.map +0 -1
  132. package/dist-es/commands/AddApplicationInputCommand.js.map +0 -1
  133. package/dist-es/commands/AddApplicationInputProcessingConfigurationCommand.js.map +0 -1
  134. package/dist-es/commands/AddApplicationOutputCommand.js.map +0 -1
  135. package/dist-es/commands/AddApplicationReferenceDataSourceCommand.js.map +0 -1
  136. package/dist-es/commands/CreateApplicationCommand.js.map +0 -1
  137. package/dist-es/commands/DeleteApplicationCloudWatchLoggingOptionCommand.js.map +0 -1
  138. package/dist-es/commands/DeleteApplicationCommand.js.map +0 -1
  139. package/dist-es/commands/DeleteApplicationInputProcessingConfigurationCommand.js.map +0 -1
  140. package/dist-es/commands/DeleteApplicationOutputCommand.js.map +0 -1
  141. package/dist-es/commands/DeleteApplicationReferenceDataSourceCommand.js.map +0 -1
  142. package/dist-es/commands/DescribeApplicationCommand.js.map +0 -1
  143. package/dist-es/commands/DiscoverInputSchemaCommand.js.map +0 -1
  144. package/dist-es/commands/ListApplicationsCommand.js.map +0 -1
  145. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  146. package/dist-es/commands/StartApplicationCommand.js.map +0 -1
  147. package/dist-es/commands/StopApplicationCommand.js.map +0 -1
  148. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  149. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  150. package/dist-es/commands/UpdateApplicationCommand.js.map +0 -1
  151. package/dist-es/endpoints.js.map +0 -1
  152. package/dist-es/index.js.map +0 -1
  153. package/dist-es/models/index.js.map +0 -1
  154. package/dist-es/models/models_0.js.map +0 -1
  155. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  156. package/dist-es/runtimeConfig.browser.js.map +0 -1
  157. package/dist-es/runtimeConfig.js.map +0 -1
  158. package/dist-es/runtimeConfig.native.js.map +0 -1
  159. package/dist-es/runtimeConfig.shared.js.map +0 -1
  160. package/jest.config.js +0 -4
  161. package/src/KinesisAnalytics.ts +0 -936
  162. package/src/KinesisAnalyticsClient.ts +0 -341
  163. package/src/commands/AddApplicationCloudWatchLoggingOptionCommand.ts +0 -113
  164. package/src/commands/AddApplicationInputCommand.ts +0 -111
  165. package/src/commands/AddApplicationInputProcessingConfigurationCommand.ts +0 -115
  166. package/src/commands/AddApplicationOutputCommand.ts +0 -114
  167. package/src/commands/AddApplicationReferenceDataSourceCommand.ts +0 -119
  168. package/src/commands/CreateApplicationCommand.ts +0 -121
  169. package/src/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts +0 -115
  170. package/src/commands/DeleteApplicationCommand.ts +0 -100
  171. package/src/commands/DeleteApplicationInputProcessingConfigurationCommand.ts +0 -113
  172. package/src/commands/DeleteApplicationOutputCommand.ts +0 -100
  173. package/src/commands/DeleteApplicationReferenceDataSourceCommand.ts +0 -114
  174. package/src/commands/DescribeApplicationCommand.ts +0 -104
  175. package/src/commands/DiscoverInputSchemaCommand.ts +0 -109
  176. package/src/commands/ListApplicationsCommand.ts +0 -111
  177. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  178. package/src/commands/StartApplicationCommand.ts +0 -106
  179. package/src/commands/StopApplicationCommand.ts +0 -105
  180. package/src/commands/TagResourceCommand.ts +0 -96
  181. package/src/commands/UntagResourceCommand.ts +0 -95
  182. package/src/commands/UpdateApplicationCommand.ts +0 -104
  183. package/src/endpoints.ts +0 -57
  184. package/src/index.ts +0 -23
  185. package/src/models/index.ts +0 -1
  186. package/src/models/models_0.ts +0 -2899
  187. package/src/protocols/Aws_json1_1.ts +0 -3943
  188. package/src/runtimeConfig.browser.ts +0 -41
  189. package/src/runtimeConfig.native.ts +0 -17
  190. package/src/runtimeConfig.shared.ts +0 -17
  191. package/src/runtimeConfig.ts +0 -46
  192. package/tsconfig.es.json +0 -10
  193. package/tsconfig.json +0 -33
  194. package/tsconfig.types.json +0 -9
@@ -1,936 +0,0 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
-
3
- import {
4
- AddApplicationCloudWatchLoggingOptionCommand,
5
- AddApplicationCloudWatchLoggingOptionCommandInput,
6
- AddApplicationCloudWatchLoggingOptionCommandOutput,
7
- } from "./commands/AddApplicationCloudWatchLoggingOptionCommand";
8
- import {
9
- AddApplicationInputCommand,
10
- AddApplicationInputCommandInput,
11
- AddApplicationInputCommandOutput,
12
- } from "./commands/AddApplicationInputCommand";
13
- import {
14
- AddApplicationInputProcessingConfigurationCommand,
15
- AddApplicationInputProcessingConfigurationCommandInput,
16
- AddApplicationInputProcessingConfigurationCommandOutput,
17
- } from "./commands/AddApplicationInputProcessingConfigurationCommand";
18
- import {
19
- AddApplicationOutputCommand,
20
- AddApplicationOutputCommandInput,
21
- AddApplicationOutputCommandOutput,
22
- } from "./commands/AddApplicationOutputCommand";
23
- import {
24
- AddApplicationReferenceDataSourceCommand,
25
- AddApplicationReferenceDataSourceCommandInput,
26
- AddApplicationReferenceDataSourceCommandOutput,
27
- } from "./commands/AddApplicationReferenceDataSourceCommand";
28
- import {
29
- CreateApplicationCommand,
30
- CreateApplicationCommandInput,
31
- CreateApplicationCommandOutput,
32
- } from "./commands/CreateApplicationCommand";
33
- import {
34
- DeleteApplicationCloudWatchLoggingOptionCommand,
35
- DeleteApplicationCloudWatchLoggingOptionCommandInput,
36
- DeleteApplicationCloudWatchLoggingOptionCommandOutput,
37
- } from "./commands/DeleteApplicationCloudWatchLoggingOptionCommand";
38
- import {
39
- DeleteApplicationCommand,
40
- DeleteApplicationCommandInput,
41
- DeleteApplicationCommandOutput,
42
- } from "./commands/DeleteApplicationCommand";
43
- import {
44
- DeleteApplicationInputProcessingConfigurationCommand,
45
- DeleteApplicationInputProcessingConfigurationCommandInput,
46
- DeleteApplicationInputProcessingConfigurationCommandOutput,
47
- } from "./commands/DeleteApplicationInputProcessingConfigurationCommand";
48
- import {
49
- DeleteApplicationOutputCommand,
50
- DeleteApplicationOutputCommandInput,
51
- DeleteApplicationOutputCommandOutput,
52
- } from "./commands/DeleteApplicationOutputCommand";
53
- import {
54
- DeleteApplicationReferenceDataSourceCommand,
55
- DeleteApplicationReferenceDataSourceCommandInput,
56
- DeleteApplicationReferenceDataSourceCommandOutput,
57
- } from "./commands/DeleteApplicationReferenceDataSourceCommand";
58
- import {
59
- DescribeApplicationCommand,
60
- DescribeApplicationCommandInput,
61
- DescribeApplicationCommandOutput,
62
- } from "./commands/DescribeApplicationCommand";
63
- import {
64
- DiscoverInputSchemaCommand,
65
- DiscoverInputSchemaCommandInput,
66
- DiscoverInputSchemaCommandOutput,
67
- } from "./commands/DiscoverInputSchemaCommand";
68
- import {
69
- ListApplicationsCommand,
70
- ListApplicationsCommandInput,
71
- ListApplicationsCommandOutput,
72
- } from "./commands/ListApplicationsCommand";
73
- import {
74
- ListTagsForResourceCommand,
75
- ListTagsForResourceCommandInput,
76
- ListTagsForResourceCommandOutput,
77
- } from "./commands/ListTagsForResourceCommand";
78
- import {
79
- StartApplicationCommand,
80
- StartApplicationCommandInput,
81
- StartApplicationCommandOutput,
82
- } from "./commands/StartApplicationCommand";
83
- import {
84
- StopApplicationCommand,
85
- StopApplicationCommandInput,
86
- StopApplicationCommandOutput,
87
- } from "./commands/StopApplicationCommand";
88
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
89
- import {
90
- UntagResourceCommand,
91
- UntagResourceCommandInput,
92
- UntagResourceCommandOutput,
93
- } from "./commands/UntagResourceCommand";
94
- import {
95
- UpdateApplicationCommand,
96
- UpdateApplicationCommandInput,
97
- UpdateApplicationCommandOutput,
98
- } from "./commands/UpdateApplicationCommand";
99
- import { KinesisAnalyticsClient } from "./KinesisAnalyticsClient";
100
-
101
- /**
102
- * <fullname>Amazon Kinesis Analytics</fullname>
103
- * <p>
104
- * <b>Overview</b>
105
- * </p>
106
- * <note>
107
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
108
- * </note>
109
- * <p>This is the <i>Amazon Kinesis Analytics v1 API Reference</i>.
110
- * The Amazon Kinesis Analytics Developer Guide provides additional information.
111
- * </p>
112
- */
113
- export class KinesisAnalytics extends KinesisAnalyticsClient {
114
- /**
115
- * <note>
116
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
117
- * </note>
118
- * <p>Adds a CloudWatch log stream to monitor application configuration errors. For more
119
- * information about using CloudWatch log streams with Amazon Kinesis Analytics
120
- * applications, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working with Amazon
121
- * CloudWatch Logs</a>.</p>
122
- */
123
- public addApplicationCloudWatchLoggingOption(
124
- args: AddApplicationCloudWatchLoggingOptionCommandInput,
125
- options?: __HttpHandlerOptions
126
- ): Promise<AddApplicationCloudWatchLoggingOptionCommandOutput>;
127
- public addApplicationCloudWatchLoggingOption(
128
- args: AddApplicationCloudWatchLoggingOptionCommandInput,
129
- cb: (err: any, data?: AddApplicationCloudWatchLoggingOptionCommandOutput) => void
130
- ): void;
131
- public addApplicationCloudWatchLoggingOption(
132
- args: AddApplicationCloudWatchLoggingOptionCommandInput,
133
- options: __HttpHandlerOptions,
134
- cb: (err: any, data?: AddApplicationCloudWatchLoggingOptionCommandOutput) => void
135
- ): void;
136
- public addApplicationCloudWatchLoggingOption(
137
- args: AddApplicationCloudWatchLoggingOptionCommandInput,
138
- optionsOrCb?:
139
- | __HttpHandlerOptions
140
- | ((err: any, data?: AddApplicationCloudWatchLoggingOptionCommandOutput) => void),
141
- cb?: (err: any, data?: AddApplicationCloudWatchLoggingOptionCommandOutput) => void
142
- ): Promise<AddApplicationCloudWatchLoggingOptionCommandOutput> | void {
143
- const command = new AddApplicationCloudWatchLoggingOptionCommand(args);
144
- if (typeof optionsOrCb === "function") {
145
- this.send(command, optionsOrCb);
146
- } else if (typeof cb === "function") {
147
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
148
- this.send(command, optionsOrCb || {}, cb);
149
- } else {
150
- return this.send(command, optionsOrCb);
151
- }
152
- }
153
-
154
- /**
155
- * <note>
156
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
157
- * </note>
158
- * <p>
159
- * Adds a streaming source to your Amazon Kinesis application.
160
- * For conceptual information,
161
- * see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring Application Input</a>.
162
- * </p>
163
- * <p>You can add a streaming source either when you create an application or you can use
164
- * this operation to add a streaming source after you create an application. For more information, see
165
- * <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_CreateApplication.html">CreateApplication</a>.</p>
166
- * <p>Any configuration update, including adding a streaming source using this operation,
167
- * results in a new version of the application. You can use the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a> operation
168
- * to find the current application version.
169
- * </p>
170
- * <p>This operation requires permissions to perform the
171
- * <code>kinesisanalytics:AddApplicationInput</code> action.</p>
172
- */
173
- public addApplicationInput(
174
- args: AddApplicationInputCommandInput,
175
- options?: __HttpHandlerOptions
176
- ): Promise<AddApplicationInputCommandOutput>;
177
- public addApplicationInput(
178
- args: AddApplicationInputCommandInput,
179
- cb: (err: any, data?: AddApplicationInputCommandOutput) => void
180
- ): void;
181
- public addApplicationInput(
182
- args: AddApplicationInputCommandInput,
183
- options: __HttpHandlerOptions,
184
- cb: (err: any, data?: AddApplicationInputCommandOutput) => void
185
- ): void;
186
- public addApplicationInput(
187
- args: AddApplicationInputCommandInput,
188
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddApplicationInputCommandOutput) => void),
189
- cb?: (err: any, data?: AddApplicationInputCommandOutput) => void
190
- ): Promise<AddApplicationInputCommandOutput> | void {
191
- const command = new AddApplicationInputCommand(args);
192
- if (typeof optionsOrCb === "function") {
193
- this.send(command, optionsOrCb);
194
- } else if (typeof cb === "function") {
195
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
196
- this.send(command, optionsOrCb || {}, cb);
197
- } else {
198
- return this.send(command, optionsOrCb);
199
- }
200
- }
201
-
202
- /**
203
- * <note>
204
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
205
- * </note>
206
- * <p>Adds an <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a> to an application. An input processor preprocesses records on the input stream
207
- * before the application's SQL code executes. Currently, the only input processor available is
208
- * <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>.</p>
209
- */
210
- public addApplicationInputProcessingConfiguration(
211
- args: AddApplicationInputProcessingConfigurationCommandInput,
212
- options?: __HttpHandlerOptions
213
- ): Promise<AddApplicationInputProcessingConfigurationCommandOutput>;
214
- public addApplicationInputProcessingConfiguration(
215
- args: AddApplicationInputProcessingConfigurationCommandInput,
216
- cb: (err: any, data?: AddApplicationInputProcessingConfigurationCommandOutput) => void
217
- ): void;
218
- public addApplicationInputProcessingConfiguration(
219
- args: AddApplicationInputProcessingConfigurationCommandInput,
220
- options: __HttpHandlerOptions,
221
- cb: (err: any, data?: AddApplicationInputProcessingConfigurationCommandOutput) => void
222
- ): void;
223
- public addApplicationInputProcessingConfiguration(
224
- args: AddApplicationInputProcessingConfigurationCommandInput,
225
- optionsOrCb?:
226
- | __HttpHandlerOptions
227
- | ((err: any, data?: AddApplicationInputProcessingConfigurationCommandOutput) => void),
228
- cb?: (err: any, data?: AddApplicationInputProcessingConfigurationCommandOutput) => void
229
- ): Promise<AddApplicationInputProcessingConfigurationCommandOutput> | void {
230
- const command = new AddApplicationInputProcessingConfigurationCommand(args);
231
- if (typeof optionsOrCb === "function") {
232
- this.send(command, optionsOrCb);
233
- } else if (typeof cb === "function") {
234
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
235
- this.send(command, optionsOrCb || {}, cb);
236
- } else {
237
- return this.send(command, optionsOrCb);
238
- }
239
- }
240
-
241
- /**
242
- * <note>
243
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
244
- * </note>
245
- * <p>Adds an external destination to your Amazon Kinesis Analytics application.</p>
246
- * <p>If you want Amazon Kinesis Analytics to deliver data from an in-application stream
247
- * within your application to an external destination (such as an Amazon Kinesis stream, an
248
- * Amazon Kinesis Firehose delivery stream, or an AWS Lambda function), you add the
249
- * relevant configuration to your application using this operation. You can configure one
250
- * or more outputs for your application. Each output configuration maps an in-application
251
- * stream and an external destination.</p>
252
- * <p> You can use one of the output configurations to deliver data from your
253
- * in-application error stream to an external destination so that you can analyze the
254
- * errors. For more information, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Understanding Application
255
- * Output (Destination)</a>. </p>
256
- * <p> Any configuration update, including adding a streaming source using this
257
- * operation, results in a new version of the application. You can use the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a> operation to find the current application
258
- * version.</p>
259
- * <p>For the limits on the number of application inputs and outputs
260
- * you can configure, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html">Limits</a>.</p>
261
- * <p>This operation requires permissions to perform the <code>kinesisanalytics:AddApplicationOutput</code> action.</p>
262
- */
263
- public addApplicationOutput(
264
- args: AddApplicationOutputCommandInput,
265
- options?: __HttpHandlerOptions
266
- ): Promise<AddApplicationOutputCommandOutput>;
267
- public addApplicationOutput(
268
- args: AddApplicationOutputCommandInput,
269
- cb: (err: any, data?: AddApplicationOutputCommandOutput) => void
270
- ): void;
271
- public addApplicationOutput(
272
- args: AddApplicationOutputCommandInput,
273
- options: __HttpHandlerOptions,
274
- cb: (err: any, data?: AddApplicationOutputCommandOutput) => void
275
- ): void;
276
- public addApplicationOutput(
277
- args: AddApplicationOutputCommandInput,
278
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddApplicationOutputCommandOutput) => void),
279
- cb?: (err: any, data?: AddApplicationOutputCommandOutput) => void
280
- ): Promise<AddApplicationOutputCommandOutput> | void {
281
- const command = new AddApplicationOutputCommand(args);
282
- if (typeof optionsOrCb === "function") {
283
- this.send(command, optionsOrCb);
284
- } else if (typeof cb === "function") {
285
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
286
- this.send(command, optionsOrCb || {}, cb);
287
- } else {
288
- return this.send(command, optionsOrCb);
289
- }
290
- }
291
-
292
- /**
293
- * <note>
294
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
295
- * </note>
296
- * <p>Adds a reference data source to an existing application.</p>
297
- * <p>Amazon Kinesis Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in Amazon S3 object maps to columns in the resulting in-application table.</p>
298
- * <p>
299
- * For conceptual information,
300
- * see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring Application Input</a>.
301
- * For the limits on data sources you can add to your application, see
302
- * <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html">Limits</a>.
303
- * </p>
304
- * <p>
305
- * This operation requires permissions to perform the <code>kinesisanalytics:AddApplicationOutput</code> action.
306
- * </p>
307
- */
308
- public addApplicationReferenceDataSource(
309
- args: AddApplicationReferenceDataSourceCommandInput,
310
- options?: __HttpHandlerOptions
311
- ): Promise<AddApplicationReferenceDataSourceCommandOutput>;
312
- public addApplicationReferenceDataSource(
313
- args: AddApplicationReferenceDataSourceCommandInput,
314
- cb: (err: any, data?: AddApplicationReferenceDataSourceCommandOutput) => void
315
- ): void;
316
- public addApplicationReferenceDataSource(
317
- args: AddApplicationReferenceDataSourceCommandInput,
318
- options: __HttpHandlerOptions,
319
- cb: (err: any, data?: AddApplicationReferenceDataSourceCommandOutput) => void
320
- ): void;
321
- public addApplicationReferenceDataSource(
322
- args: AddApplicationReferenceDataSourceCommandInput,
323
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddApplicationReferenceDataSourceCommandOutput) => void),
324
- cb?: (err: any, data?: AddApplicationReferenceDataSourceCommandOutput) => void
325
- ): Promise<AddApplicationReferenceDataSourceCommandOutput> | void {
326
- const command = new AddApplicationReferenceDataSourceCommand(args);
327
- if (typeof optionsOrCb === "function") {
328
- this.send(command, optionsOrCb);
329
- } else if (typeof cb === "function") {
330
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
331
- this.send(command, optionsOrCb || {}, cb);
332
- } else {
333
- return this.send(command, optionsOrCb);
334
- }
335
- }
336
-
337
- /**
338
- * <note>
339
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
340
- * </note>
341
- *
342
- * <p>
343
- * Creates an Amazon Kinesis Analytics application.
344
- * You can configure each application with one streaming source as input,
345
- * application code to process the input, and up to
346
- * three destinations where
347
- * you want Amazon Kinesis Analytics to write the output data from your application.
348
- * For an overview, see
349
- * <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works.html">How it Works</a>.
350
- * </p>
351
- * <p>In the input configuration, you map the streaming source to an in-application stream, which you can think of as a constantly updating table. In the mapping, you must provide a schema for the in-application stream and map each data column in the in-application stream to a
352
- * data element in the streaming source.</p>
353
- *
354
- * <p>Your application code is one or more SQL statements that read input data, transform it, and generate output. Your application code can create one or more SQL artifacts like SQL streams or pumps.</p>
355
- * <p>In the output configuration, you can configure the application to write data from in-application streams created in your applications to up to three destinations.</p>
356
- * <p>
357
- * To read data from your source stream or write data to destination streams, Amazon Kinesis Analytics
358
- * needs your permissions. You grant these permissions by creating IAM roles. This operation requires permissions to perform the
359
- * <code>kinesisanalytics:CreateApplication</code> action.
360
- * </p>
361
- * <p>
362
- * For introductory exercises to create an Amazon Kinesis Analytics application, see
363
- * <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/getting-started.html">Getting Started</a>.
364
- * </p>
365
- */
366
- public createApplication(
367
- args: CreateApplicationCommandInput,
368
- options?: __HttpHandlerOptions
369
- ): Promise<CreateApplicationCommandOutput>;
370
- public createApplication(
371
- args: CreateApplicationCommandInput,
372
- cb: (err: any, data?: CreateApplicationCommandOutput) => void
373
- ): void;
374
- public createApplication(
375
- args: CreateApplicationCommandInput,
376
- options: __HttpHandlerOptions,
377
- cb: (err: any, data?: CreateApplicationCommandOutput) => void
378
- ): void;
379
- public createApplication(
380
- args: CreateApplicationCommandInput,
381
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateApplicationCommandOutput) => void),
382
- cb?: (err: any, data?: CreateApplicationCommandOutput) => void
383
- ): Promise<CreateApplicationCommandOutput> | void {
384
- const command = new CreateApplicationCommand(args);
385
- if (typeof optionsOrCb === "function") {
386
- this.send(command, optionsOrCb);
387
- } else if (typeof cb === "function") {
388
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
389
- this.send(command, optionsOrCb || {}, cb);
390
- } else {
391
- return this.send(command, optionsOrCb);
392
- }
393
- }
394
-
395
- /**
396
- * <note>
397
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
398
- * </note>
399
- * <p>Deletes the specified application. Amazon Kinesis Analytics halts application execution and deletes the application, including any application artifacts (such as in-application streams, reference table, and application code).</p>
400
- *
401
- * <p>This operation requires permissions to perform the <code>kinesisanalytics:DeleteApplication</code> action.</p>
402
- */
403
- public deleteApplication(
404
- args: DeleteApplicationCommandInput,
405
- options?: __HttpHandlerOptions
406
- ): Promise<DeleteApplicationCommandOutput>;
407
- public deleteApplication(
408
- args: DeleteApplicationCommandInput,
409
- cb: (err: any, data?: DeleteApplicationCommandOutput) => void
410
- ): void;
411
- public deleteApplication(
412
- args: DeleteApplicationCommandInput,
413
- options: __HttpHandlerOptions,
414
- cb: (err: any, data?: DeleteApplicationCommandOutput) => void
415
- ): void;
416
- public deleteApplication(
417
- args: DeleteApplicationCommandInput,
418
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteApplicationCommandOutput) => void),
419
- cb?: (err: any, data?: DeleteApplicationCommandOutput) => void
420
- ): Promise<DeleteApplicationCommandOutput> | void {
421
- const command = new DeleteApplicationCommand(args);
422
- if (typeof optionsOrCb === "function") {
423
- this.send(command, optionsOrCb);
424
- } else if (typeof cb === "function") {
425
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
426
- this.send(command, optionsOrCb || {}, cb);
427
- } else {
428
- return this.send(command, optionsOrCb);
429
- }
430
- }
431
-
432
- /**
433
- * <note>
434
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
435
- * </note>
436
- * <p>Deletes a CloudWatch log stream from an application. For more information about
437
- * using CloudWatch log streams with Amazon Kinesis Analytics applications, see
438
- * <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working with Amazon CloudWatch Logs</a>.</p>
439
- */
440
- public deleteApplicationCloudWatchLoggingOption(
441
- args: DeleteApplicationCloudWatchLoggingOptionCommandInput,
442
- options?: __HttpHandlerOptions
443
- ): Promise<DeleteApplicationCloudWatchLoggingOptionCommandOutput>;
444
- public deleteApplicationCloudWatchLoggingOption(
445
- args: DeleteApplicationCloudWatchLoggingOptionCommandInput,
446
- cb: (err: any, data?: DeleteApplicationCloudWatchLoggingOptionCommandOutput) => void
447
- ): void;
448
- public deleteApplicationCloudWatchLoggingOption(
449
- args: DeleteApplicationCloudWatchLoggingOptionCommandInput,
450
- options: __HttpHandlerOptions,
451
- cb: (err: any, data?: DeleteApplicationCloudWatchLoggingOptionCommandOutput) => void
452
- ): void;
453
- public deleteApplicationCloudWatchLoggingOption(
454
- args: DeleteApplicationCloudWatchLoggingOptionCommandInput,
455
- optionsOrCb?:
456
- | __HttpHandlerOptions
457
- | ((err: any, data?: DeleteApplicationCloudWatchLoggingOptionCommandOutput) => void),
458
- cb?: (err: any, data?: DeleteApplicationCloudWatchLoggingOptionCommandOutput) => void
459
- ): Promise<DeleteApplicationCloudWatchLoggingOptionCommandOutput> | void {
460
- const command = new DeleteApplicationCloudWatchLoggingOptionCommand(args);
461
- if (typeof optionsOrCb === "function") {
462
- this.send(command, optionsOrCb);
463
- } else if (typeof cb === "function") {
464
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
465
- this.send(command, optionsOrCb || {}, cb);
466
- } else {
467
- return this.send(command, optionsOrCb);
468
- }
469
- }
470
-
471
- /**
472
- * <note>
473
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
474
- * </note>
475
- * <p>Deletes an <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a> from an input.</p>
476
- */
477
- public deleteApplicationInputProcessingConfiguration(
478
- args: DeleteApplicationInputProcessingConfigurationCommandInput,
479
- options?: __HttpHandlerOptions
480
- ): Promise<DeleteApplicationInputProcessingConfigurationCommandOutput>;
481
- public deleteApplicationInputProcessingConfiguration(
482
- args: DeleteApplicationInputProcessingConfigurationCommandInput,
483
- cb: (err: any, data?: DeleteApplicationInputProcessingConfigurationCommandOutput) => void
484
- ): void;
485
- public deleteApplicationInputProcessingConfiguration(
486
- args: DeleteApplicationInputProcessingConfigurationCommandInput,
487
- options: __HttpHandlerOptions,
488
- cb: (err: any, data?: DeleteApplicationInputProcessingConfigurationCommandOutput) => void
489
- ): void;
490
- public deleteApplicationInputProcessingConfiguration(
491
- args: DeleteApplicationInputProcessingConfigurationCommandInput,
492
- optionsOrCb?:
493
- | __HttpHandlerOptions
494
- | ((err: any, data?: DeleteApplicationInputProcessingConfigurationCommandOutput) => void),
495
- cb?: (err: any, data?: DeleteApplicationInputProcessingConfigurationCommandOutput) => void
496
- ): Promise<DeleteApplicationInputProcessingConfigurationCommandOutput> | void {
497
- const command = new DeleteApplicationInputProcessingConfigurationCommand(args);
498
- if (typeof optionsOrCb === "function") {
499
- this.send(command, optionsOrCb);
500
- } else if (typeof cb === "function") {
501
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
502
- this.send(command, optionsOrCb || {}, cb);
503
- } else {
504
- return this.send(command, optionsOrCb);
505
- }
506
- }
507
-
508
- /**
509
- * <note>
510
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
511
- * </note>
512
- * <p>Deletes output destination configuration from your application configuration. Amazon Kinesis Analytics will no longer write data from the corresponding in-application stream to the external output destination.</p>
513
- * <p>This operation requires permissions to perform the
514
- * <code>kinesisanalytics:DeleteApplicationOutput</code> action.</p>
515
- */
516
- public deleteApplicationOutput(
517
- args: DeleteApplicationOutputCommandInput,
518
- options?: __HttpHandlerOptions
519
- ): Promise<DeleteApplicationOutputCommandOutput>;
520
- public deleteApplicationOutput(
521
- args: DeleteApplicationOutputCommandInput,
522
- cb: (err: any, data?: DeleteApplicationOutputCommandOutput) => void
523
- ): void;
524
- public deleteApplicationOutput(
525
- args: DeleteApplicationOutputCommandInput,
526
- options: __HttpHandlerOptions,
527
- cb: (err: any, data?: DeleteApplicationOutputCommandOutput) => void
528
- ): void;
529
- public deleteApplicationOutput(
530
- args: DeleteApplicationOutputCommandInput,
531
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteApplicationOutputCommandOutput) => void),
532
- cb?: (err: any, data?: DeleteApplicationOutputCommandOutput) => void
533
- ): Promise<DeleteApplicationOutputCommandOutput> | void {
534
- const command = new DeleteApplicationOutputCommand(args);
535
- if (typeof optionsOrCb === "function") {
536
- this.send(command, optionsOrCb);
537
- } else if (typeof cb === "function") {
538
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
539
- this.send(command, optionsOrCb || {}, cb);
540
- } else {
541
- return this.send(command, optionsOrCb);
542
- }
543
- }
544
-
545
- /**
546
- * <note>
547
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
548
- * </note>
549
- * <p>Deletes a reference data source configuration from the specified application configuration.</p>
550
- * <p>If the application is running, Amazon Kinesis Analytics immediately removes the in-application table
551
- * that you created using the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a> operation. </p>
552
- *
553
- * <p>This operation requires permissions to perform the <code>kinesisanalytics.DeleteApplicationReferenceDataSource</code>
554
- * action.</p>
555
- */
556
- public deleteApplicationReferenceDataSource(
557
- args: DeleteApplicationReferenceDataSourceCommandInput,
558
- options?: __HttpHandlerOptions
559
- ): Promise<DeleteApplicationReferenceDataSourceCommandOutput>;
560
- public deleteApplicationReferenceDataSource(
561
- args: DeleteApplicationReferenceDataSourceCommandInput,
562
- cb: (err: any, data?: DeleteApplicationReferenceDataSourceCommandOutput) => void
563
- ): void;
564
- public deleteApplicationReferenceDataSource(
565
- args: DeleteApplicationReferenceDataSourceCommandInput,
566
- options: __HttpHandlerOptions,
567
- cb: (err: any, data?: DeleteApplicationReferenceDataSourceCommandOutput) => void
568
- ): void;
569
- public deleteApplicationReferenceDataSource(
570
- args: DeleteApplicationReferenceDataSourceCommandInput,
571
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteApplicationReferenceDataSourceCommandOutput) => void),
572
- cb?: (err: any, data?: DeleteApplicationReferenceDataSourceCommandOutput) => void
573
- ): Promise<DeleteApplicationReferenceDataSourceCommandOutput> | void {
574
- const command = new DeleteApplicationReferenceDataSourceCommand(args);
575
- if (typeof optionsOrCb === "function") {
576
- this.send(command, optionsOrCb);
577
- } else if (typeof cb === "function") {
578
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
579
- this.send(command, optionsOrCb || {}, cb);
580
- } else {
581
- return this.send(command, optionsOrCb);
582
- }
583
- }
584
-
585
- /**
586
- * <note>
587
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
588
- * </note>
589
- * <p>Returns information about a specific Amazon Kinesis Analytics application.</p>
590
- * <p>If you want to retrieve a list of all applications in your account,
591
- * use the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_ListApplications.html">ListApplications</a> operation.</p>
592
- * <p>This operation requires permissions to perform the <code>kinesisanalytics:DescribeApplication</code>
593
- * action. You can use <code>DescribeApplication</code> to get the current application versionId, which you need to call other
594
- * operations such as <code>Update</code>.
595
- * </p>
596
- */
597
- public describeApplication(
598
- args: DescribeApplicationCommandInput,
599
- options?: __HttpHandlerOptions
600
- ): Promise<DescribeApplicationCommandOutput>;
601
- public describeApplication(
602
- args: DescribeApplicationCommandInput,
603
- cb: (err: any, data?: DescribeApplicationCommandOutput) => void
604
- ): void;
605
- public describeApplication(
606
- args: DescribeApplicationCommandInput,
607
- options: __HttpHandlerOptions,
608
- cb: (err: any, data?: DescribeApplicationCommandOutput) => void
609
- ): void;
610
- public describeApplication(
611
- args: DescribeApplicationCommandInput,
612
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeApplicationCommandOutput) => void),
613
- cb?: (err: any, data?: DescribeApplicationCommandOutput) => void
614
- ): Promise<DescribeApplicationCommandOutput> | void {
615
- const command = new DescribeApplicationCommand(args);
616
- if (typeof optionsOrCb === "function") {
617
- this.send(command, optionsOrCb);
618
- } else if (typeof cb === "function") {
619
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
620
- this.send(command, optionsOrCb || {}, cb);
621
- } else {
622
- return this.send(command, optionsOrCb);
623
- }
624
- }
625
-
626
- /**
627
- * <note>
628
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
629
- * </note>
630
- * <p>Infers a schema by evaluating sample records on the specified streaming source (Amazon Kinesis stream or Amazon Kinesis Firehose delivery stream) or S3 object. In the response, the operation returns the inferred schema and also the sample records that the operation used to infer the schema.</p>
631
- * <p>
632
- * You can use the inferred schema when configuring a streaming source
633
- * for your application. For conceptual information,
634
- * see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring Application Input</a>.
635
- * Note that when you create an application using the Amazon Kinesis Analytics console,
636
- * the console uses this operation to infer a schema and show it in the console user interface.
637
- * </p>
638
- * <p>
639
- * This operation requires permissions to perform the
640
- * <code>kinesisanalytics:DiscoverInputSchema</code> action.
641
- * </p>
642
- */
643
- public discoverInputSchema(
644
- args: DiscoverInputSchemaCommandInput,
645
- options?: __HttpHandlerOptions
646
- ): Promise<DiscoverInputSchemaCommandOutput>;
647
- public discoverInputSchema(
648
- args: DiscoverInputSchemaCommandInput,
649
- cb: (err: any, data?: DiscoverInputSchemaCommandOutput) => void
650
- ): void;
651
- public discoverInputSchema(
652
- args: DiscoverInputSchemaCommandInput,
653
- options: __HttpHandlerOptions,
654
- cb: (err: any, data?: DiscoverInputSchemaCommandOutput) => void
655
- ): void;
656
- public discoverInputSchema(
657
- args: DiscoverInputSchemaCommandInput,
658
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DiscoverInputSchemaCommandOutput) => void),
659
- cb?: (err: any, data?: DiscoverInputSchemaCommandOutput) => void
660
- ): Promise<DiscoverInputSchemaCommandOutput> | void {
661
- const command = new DiscoverInputSchemaCommand(args);
662
- if (typeof optionsOrCb === "function") {
663
- this.send(command, optionsOrCb);
664
- } else if (typeof cb === "function") {
665
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
666
- this.send(command, optionsOrCb || {}, cb);
667
- } else {
668
- return this.send(command, optionsOrCb);
669
- }
670
- }
671
-
672
- /**
673
- * <note>
674
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
675
- * </note>
676
- * <p>Returns a list of Amazon Kinesis Analytics applications in your account.
677
- * For each application, the response includes the application name,
678
- * Amazon Resource Name (ARN), and status.
679
- *
680
- * If the response returns the <code>HasMoreApplications</code> value as true,
681
- * you can send another request by adding the
682
- * <code>ExclusiveStartApplicationName</code> in the request body, and
683
- * set the value of this to the last application name from
684
- * the previous response.
685
- * </p>
686
- * <p>If you want detailed information about a specific application, use
687
- * <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>.</p>
688
- * <p>This operation requires permissions to perform the
689
- * <code>kinesisanalytics:ListApplications</code> action.</p>
690
- */
691
- public listApplications(
692
- args: ListApplicationsCommandInput,
693
- options?: __HttpHandlerOptions
694
- ): Promise<ListApplicationsCommandOutput>;
695
- public listApplications(
696
- args: ListApplicationsCommandInput,
697
- cb: (err: any, data?: ListApplicationsCommandOutput) => void
698
- ): void;
699
- public listApplications(
700
- args: ListApplicationsCommandInput,
701
- options: __HttpHandlerOptions,
702
- cb: (err: any, data?: ListApplicationsCommandOutput) => void
703
- ): void;
704
- public listApplications(
705
- args: ListApplicationsCommandInput,
706
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApplicationsCommandOutput) => void),
707
- cb?: (err: any, data?: ListApplicationsCommandOutput) => void
708
- ): Promise<ListApplicationsCommandOutput> | void {
709
- const command = new ListApplicationsCommand(args);
710
- if (typeof optionsOrCb === "function") {
711
- this.send(command, optionsOrCb);
712
- } else if (typeof cb === "function") {
713
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
714
- this.send(command, optionsOrCb || {}, cb);
715
- } else {
716
- return this.send(command, optionsOrCb);
717
- }
718
- }
719
-
720
- /**
721
- * <p>Retrieves the list of key-value tags assigned to the application. For more information, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using Tagging</a>.</p>
722
- */
723
- public listTagsForResource(
724
- args: ListTagsForResourceCommandInput,
725
- options?: __HttpHandlerOptions
726
- ): Promise<ListTagsForResourceCommandOutput>;
727
- public listTagsForResource(
728
- args: ListTagsForResourceCommandInput,
729
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
730
- ): void;
731
- public listTagsForResource(
732
- args: ListTagsForResourceCommandInput,
733
- options: __HttpHandlerOptions,
734
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
735
- ): void;
736
- public listTagsForResource(
737
- args: ListTagsForResourceCommandInput,
738
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
739
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
740
- ): Promise<ListTagsForResourceCommandOutput> | void {
741
- const command = new ListTagsForResourceCommand(args);
742
- if (typeof optionsOrCb === "function") {
743
- this.send(command, optionsOrCb);
744
- } else if (typeof cb === "function") {
745
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
746
- this.send(command, optionsOrCb || {}, cb);
747
- } else {
748
- return this.send(command, optionsOrCb);
749
- }
750
- }
751
-
752
- /**
753
- * <note>
754
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
755
- * </note>
756
- * <p>Starts the specified Amazon Kinesis Analytics application. After creating an application, you must exclusively call this operation to start your application.</p>
757
- * <p>After the application starts, it begins consuming the input data, processes it, and writes the output to the configured destination.</p>
758
- * <p>
759
- * The application status must be <code>READY</code> for you to start an application. You can
760
- * get the application status in the console or using the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a> operation.</p>
761
- * <p>After you start the application, you can stop the application from processing
762
- * the input by calling the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_StopApplication.html">StopApplication</a> operation.</p>
763
- * <p>This operation requires permissions to perform the
764
- * <code>kinesisanalytics:StartApplication</code> action.</p>
765
- */
766
- public startApplication(
767
- args: StartApplicationCommandInput,
768
- options?: __HttpHandlerOptions
769
- ): Promise<StartApplicationCommandOutput>;
770
- public startApplication(
771
- args: StartApplicationCommandInput,
772
- cb: (err: any, data?: StartApplicationCommandOutput) => void
773
- ): void;
774
- public startApplication(
775
- args: StartApplicationCommandInput,
776
- options: __HttpHandlerOptions,
777
- cb: (err: any, data?: StartApplicationCommandOutput) => void
778
- ): void;
779
- public startApplication(
780
- args: StartApplicationCommandInput,
781
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartApplicationCommandOutput) => void),
782
- cb?: (err: any, data?: StartApplicationCommandOutput) => void
783
- ): Promise<StartApplicationCommandOutput> | void {
784
- const command = new StartApplicationCommand(args);
785
- if (typeof optionsOrCb === "function") {
786
- this.send(command, optionsOrCb);
787
- } else if (typeof cb === "function") {
788
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
789
- this.send(command, optionsOrCb || {}, cb);
790
- } else {
791
- return this.send(command, optionsOrCb);
792
- }
793
- }
794
-
795
- /**
796
- * <note>
797
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
798
- * </note>
799
- * <p>Stops the application from processing input data. You can stop
800
- * an application only if it is in the running state.
801
- * You can use the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a> operation to find the application state.
802
- * After the application is stopped,
803
- * Amazon Kinesis Analytics stops reading data from the input, the
804
- * application stops processing data, and there is no output written to the destination. </p>
805
- * <p>This operation requires permissions to perform the
806
- * <code>kinesisanalytics:StopApplication</code> action.</p>
807
- */
808
- public stopApplication(
809
- args: StopApplicationCommandInput,
810
- options?: __HttpHandlerOptions
811
- ): Promise<StopApplicationCommandOutput>;
812
- public stopApplication(
813
- args: StopApplicationCommandInput,
814
- cb: (err: any, data?: StopApplicationCommandOutput) => void
815
- ): void;
816
- public stopApplication(
817
- args: StopApplicationCommandInput,
818
- options: __HttpHandlerOptions,
819
- cb: (err: any, data?: StopApplicationCommandOutput) => void
820
- ): void;
821
- public stopApplication(
822
- args: StopApplicationCommandInput,
823
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopApplicationCommandOutput) => void),
824
- cb?: (err: any, data?: StopApplicationCommandOutput) => void
825
- ): Promise<StopApplicationCommandOutput> | void {
826
- const command = new StopApplicationCommand(args);
827
- if (typeof optionsOrCb === "function") {
828
- this.send(command, optionsOrCb);
829
- } else if (typeof cb === "function") {
830
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
831
- this.send(command, optionsOrCb || {}, cb);
832
- } else {
833
- return this.send(command, optionsOrCb);
834
- }
835
- }
836
-
837
- /**
838
- * <p>Adds one or more key-value tags to a Kinesis Analytics application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50.
839
- * For more information, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using Tagging</a>.</p>
840
- */
841
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
842
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
843
- public tagResource(
844
- args: TagResourceCommandInput,
845
- options: __HttpHandlerOptions,
846
- cb: (err: any, data?: TagResourceCommandOutput) => void
847
- ): void;
848
- public tagResource(
849
- args: TagResourceCommandInput,
850
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
851
- cb?: (err: any, data?: TagResourceCommandOutput) => void
852
- ): Promise<TagResourceCommandOutput> | void {
853
- const command = new TagResourceCommand(args);
854
- if (typeof optionsOrCb === "function") {
855
- this.send(command, optionsOrCb);
856
- } else if (typeof cb === "function") {
857
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
858
- this.send(command, optionsOrCb || {}, cb);
859
- } else {
860
- return this.send(command, optionsOrCb);
861
- }
862
- }
863
-
864
- /**
865
- * <p>Removes one or more tags from a Kinesis Analytics application. For more information, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using Tagging</a>.</p>
866
- */
867
- public untagResource(
868
- args: UntagResourceCommandInput,
869
- options?: __HttpHandlerOptions
870
- ): Promise<UntagResourceCommandOutput>;
871
- public untagResource(
872
- args: UntagResourceCommandInput,
873
- cb: (err: any, data?: UntagResourceCommandOutput) => void
874
- ): void;
875
- public untagResource(
876
- args: UntagResourceCommandInput,
877
- options: __HttpHandlerOptions,
878
- cb: (err: any, data?: UntagResourceCommandOutput) => void
879
- ): void;
880
- public untagResource(
881
- args: UntagResourceCommandInput,
882
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
883
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
884
- ): Promise<UntagResourceCommandOutput> | void {
885
- const command = new UntagResourceCommand(args);
886
- if (typeof optionsOrCb === "function") {
887
- this.send(command, optionsOrCb);
888
- } else if (typeof cb === "function") {
889
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
890
- this.send(command, optionsOrCb || {}, cb);
891
- } else {
892
- return this.send(command, optionsOrCb);
893
- }
894
- }
895
-
896
- /**
897
- * <note>
898
- * <p>This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see <a href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics API V2 Documentation</a>.</p>
899
- * </note>
900
- * <p>Updates an existing Amazon Kinesis Analytics application. Using this API,
901
- * you can update application code, input configuration, and
902
- * output configuration. </p>
903
- * <p>Note that Amazon Kinesis Analytics updates the <code>CurrentApplicationVersionId</code>
904
- * each time you update your application. </p>
905
- * <p>This operation requires permission for the
906
- * <code>kinesisanalytics:UpdateApplication</code> action.</p>
907
- */
908
- public updateApplication(
909
- args: UpdateApplicationCommandInput,
910
- options?: __HttpHandlerOptions
911
- ): Promise<UpdateApplicationCommandOutput>;
912
- public updateApplication(
913
- args: UpdateApplicationCommandInput,
914
- cb: (err: any, data?: UpdateApplicationCommandOutput) => void
915
- ): void;
916
- public updateApplication(
917
- args: UpdateApplicationCommandInput,
918
- options: __HttpHandlerOptions,
919
- cb: (err: any, data?: UpdateApplicationCommandOutput) => void
920
- ): void;
921
- public updateApplication(
922
- args: UpdateApplicationCommandInput,
923
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateApplicationCommandOutput) => void),
924
- cb?: (err: any, data?: UpdateApplicationCommandOutput) => void
925
- ): Promise<UpdateApplicationCommandOutput> | void {
926
- const command = new UpdateApplicationCommand(args);
927
- if (typeof optionsOrCb === "function") {
928
- this.send(command, optionsOrCb);
929
- } else if (typeof cb === "function") {
930
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
931
- this.send(command, optionsOrCb || {}, cb);
932
- } else {
933
- return this.send(command, optionsOrCb);
934
- }
935
- }
936
- }