@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.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/KinesisAnalytics.js +0 -13
- package/dist-cjs/KinesisAnalyticsClient.js +0 -18
- package/dist-cjs/commands/AddApplicationCloudWatchLoggingOptionCommand.js +0 -31
- package/dist-cjs/commands/AddApplicationInputCommand.js +0 -41
- package/dist-cjs/commands/AddApplicationInputProcessingConfigurationCommand.js +0 -30
- package/dist-cjs/commands/AddApplicationOutputCommand.js +0 -44
- package/dist-cjs/commands/AddApplicationReferenceDataSourceCommand.js +0 -38
- package/dist-cjs/commands/CreateApplicationCommand.js +0 -51
- package/dist-cjs/commands/DeleteApplicationCloudWatchLoggingOptionCommand.js +0 -30
- package/dist-cjs/commands/DeleteApplicationCommand.js +0 -30
- package/dist-cjs/commands/DeleteApplicationInputProcessingConfigurationCommand.js +0 -28
- package/dist-cjs/commands/DeleteApplicationOutputCommand.js +0 -30
- package/dist-cjs/commands/DeleteApplicationReferenceDataSourceCommand.js +0 -33
- package/dist-cjs/commands/DescribeApplicationCommand.js +0 -34
- package/dist-cjs/commands/DiscoverInputSchemaCommand.js +0 -39
- package/dist-cjs/commands/ListApplicationsCommand.js +0 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/StartApplicationCommand.js +0 -36
- package/dist-cjs/commands/StopApplicationCommand.js +0 -35
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateApplicationCommand.js +0 -34
- package/dist-cjs/commands/index.js +23 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +3 -23
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -316
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/KinesisAnalytics.js +0 -1
- package/dist-es/KinesisAnalyticsClient.js +0 -1
- package/dist-es/commands/AddApplicationCloudWatchLoggingOptionCommand.js +0 -1
- package/dist-es/commands/AddApplicationInputCommand.js +0 -1
- package/dist-es/commands/AddApplicationInputProcessingConfigurationCommand.js +0 -1
- package/dist-es/commands/AddApplicationOutputCommand.js +0 -1
- package/dist-es/commands/AddApplicationReferenceDataSourceCommand.js +0 -1
- package/dist-es/commands/CreateApplicationCommand.js +0 -1
- package/dist-es/commands/DeleteApplicationCloudWatchLoggingOptionCommand.js +0 -1
- package/dist-es/commands/DeleteApplicationCommand.js +0 -1
- package/dist-es/commands/DeleteApplicationInputProcessingConfigurationCommand.js +0 -1
- package/dist-es/commands/DeleteApplicationOutputCommand.js +0 -1
- package/dist-es/commands/DeleteApplicationReferenceDataSourceCommand.js +0 -1
- package/dist-es/commands/DescribeApplicationCommand.js +0 -1
- package/dist-es/commands/DiscoverInputSchemaCommand.js +0 -1
- package/dist-es/commands/ListApplicationsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/StartApplicationCommand.js +0 -1
- package/dist-es/commands/StopApplicationCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateApplicationCommand.js +0 -1
- package/dist-es/commands/index.js +20 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +3 -23
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +20 -0
- package/dist-types/index.d.ts +3 -22
- package/dist-types/ts3.4/KinesisAnalytics.d.ts +21 -253
- package/dist-types/ts3.4/KinesisAnalyticsClient.d.ts +24 -98
- package/dist-types/ts3.4/commands/AddApplicationCloudWatchLoggingOptionCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/AddApplicationInputCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/AddApplicationInputProcessingConfigurationCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/AddApplicationOutputCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/AddApplicationReferenceDataSourceCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/DeleteApplicationCloudWatchLoggingOptionCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteApplicationInputProcessingConfigurationCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteApplicationOutputCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteApplicationReferenceDataSourceCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DescribeApplicationCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DiscoverInputSchemaCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartApplicationCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/StopApplicationCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/index.d.ts +20 -0
- package/dist-types/ts3.4/index.d.ts +3 -22
- package/dist-types/ts3.4/models/models_0.d.ts +416 -1552
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/KinesisAnalytics.js.map +0 -1
- package/dist-cjs/KinesisAnalyticsClient.js.map +0 -1
- package/dist-cjs/commands/AddApplicationCloudWatchLoggingOptionCommand.js.map +0 -1
- package/dist-cjs/commands/AddApplicationInputCommand.js.map +0 -1
- package/dist-cjs/commands/AddApplicationInputProcessingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/AddApplicationOutputCommand.js.map +0 -1
- package/dist-cjs/commands/AddApplicationReferenceDataSourceCommand.js.map +0 -1
- package/dist-cjs/commands/CreateApplicationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteApplicationCloudWatchLoggingOptionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteApplicationInputProcessingConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteApplicationOutputCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteApplicationReferenceDataSourceCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeApplicationCommand.js.map +0 -1
- package/dist-cjs/commands/DiscoverInputSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/ListApplicationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/StartApplicationCommand.js.map +0 -1
- package/dist-cjs/commands/StopApplicationCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateApplicationCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/KinesisAnalytics.js.map +0 -1
- package/dist-es/KinesisAnalyticsClient.js.map +0 -1
- package/dist-es/commands/AddApplicationCloudWatchLoggingOptionCommand.js.map +0 -1
- package/dist-es/commands/AddApplicationInputCommand.js.map +0 -1
- package/dist-es/commands/AddApplicationInputProcessingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/AddApplicationOutputCommand.js.map +0 -1
- package/dist-es/commands/AddApplicationReferenceDataSourceCommand.js.map +0 -1
- package/dist-es/commands/CreateApplicationCommand.js.map +0 -1
- package/dist-es/commands/DeleteApplicationCloudWatchLoggingOptionCommand.js.map +0 -1
- package/dist-es/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist-es/commands/DeleteApplicationInputProcessingConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeleteApplicationOutputCommand.js.map +0 -1
- package/dist-es/commands/DeleteApplicationReferenceDataSourceCommand.js.map +0 -1
- package/dist-es/commands/DescribeApplicationCommand.js.map +0 -1
- package/dist-es/commands/DiscoverInputSchemaCommand.js.map +0 -1
- package/dist-es/commands/ListApplicationsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/StartApplicationCommand.js.map +0 -1
- package/dist-es/commands/StopApplicationCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateApplicationCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/KinesisAnalytics.ts +0 -936
- package/src/KinesisAnalyticsClient.ts +0 -341
- package/src/commands/AddApplicationCloudWatchLoggingOptionCommand.ts +0 -113
- package/src/commands/AddApplicationInputCommand.ts +0 -111
- package/src/commands/AddApplicationInputProcessingConfigurationCommand.ts +0 -115
- package/src/commands/AddApplicationOutputCommand.ts +0 -114
- package/src/commands/AddApplicationReferenceDataSourceCommand.ts +0 -119
- package/src/commands/CreateApplicationCommand.ts +0 -121
- package/src/commands/DeleteApplicationCloudWatchLoggingOptionCommand.ts +0 -115
- package/src/commands/DeleteApplicationCommand.ts +0 -100
- package/src/commands/DeleteApplicationInputProcessingConfigurationCommand.ts +0 -113
- package/src/commands/DeleteApplicationOutputCommand.ts +0 -100
- package/src/commands/DeleteApplicationReferenceDataSourceCommand.ts +0 -114
- package/src/commands/DescribeApplicationCommand.ts +0 -104
- package/src/commands/DiscoverInputSchemaCommand.ts +0 -109
- package/src/commands/ListApplicationsCommand.ts +0 -111
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/StartApplicationCommand.ts +0 -106
- package/src/commands/StopApplicationCommand.ts +0 -105
- package/src/commands/TagResourceCommand.ts +0 -96
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateApplicationCommand.ts +0 -104
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -23
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2899
- package/src/protocols/Aws_json1_1.ts +0 -3943
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,341 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import {
|
|
53
|
-
AddApplicationCloudWatchLoggingOptionCommandInput,
|
|
54
|
-
AddApplicationCloudWatchLoggingOptionCommandOutput,
|
|
55
|
-
} from "./commands/AddApplicationCloudWatchLoggingOptionCommand";
|
|
56
|
-
import {
|
|
57
|
-
AddApplicationInputCommandInput,
|
|
58
|
-
AddApplicationInputCommandOutput,
|
|
59
|
-
} from "./commands/AddApplicationInputCommand";
|
|
60
|
-
import {
|
|
61
|
-
AddApplicationInputProcessingConfigurationCommandInput,
|
|
62
|
-
AddApplicationInputProcessingConfigurationCommandOutput,
|
|
63
|
-
} from "./commands/AddApplicationInputProcessingConfigurationCommand";
|
|
64
|
-
import {
|
|
65
|
-
AddApplicationOutputCommandInput,
|
|
66
|
-
AddApplicationOutputCommandOutput,
|
|
67
|
-
} from "./commands/AddApplicationOutputCommand";
|
|
68
|
-
import {
|
|
69
|
-
AddApplicationReferenceDataSourceCommandInput,
|
|
70
|
-
AddApplicationReferenceDataSourceCommandOutput,
|
|
71
|
-
} from "./commands/AddApplicationReferenceDataSourceCommand";
|
|
72
|
-
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
73
|
-
import {
|
|
74
|
-
DeleteApplicationCloudWatchLoggingOptionCommandInput,
|
|
75
|
-
DeleteApplicationCloudWatchLoggingOptionCommandOutput,
|
|
76
|
-
} from "./commands/DeleteApplicationCloudWatchLoggingOptionCommand";
|
|
77
|
-
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
78
|
-
import {
|
|
79
|
-
DeleteApplicationInputProcessingConfigurationCommandInput,
|
|
80
|
-
DeleteApplicationInputProcessingConfigurationCommandOutput,
|
|
81
|
-
} from "./commands/DeleteApplicationInputProcessingConfigurationCommand";
|
|
82
|
-
import {
|
|
83
|
-
DeleteApplicationOutputCommandInput,
|
|
84
|
-
DeleteApplicationOutputCommandOutput,
|
|
85
|
-
} from "./commands/DeleteApplicationOutputCommand";
|
|
86
|
-
import {
|
|
87
|
-
DeleteApplicationReferenceDataSourceCommandInput,
|
|
88
|
-
DeleteApplicationReferenceDataSourceCommandOutput,
|
|
89
|
-
} from "./commands/DeleteApplicationReferenceDataSourceCommand";
|
|
90
|
-
import {
|
|
91
|
-
DescribeApplicationCommandInput,
|
|
92
|
-
DescribeApplicationCommandOutput,
|
|
93
|
-
} from "./commands/DescribeApplicationCommand";
|
|
94
|
-
import {
|
|
95
|
-
DiscoverInputSchemaCommandInput,
|
|
96
|
-
DiscoverInputSchemaCommandOutput,
|
|
97
|
-
} from "./commands/DiscoverInputSchemaCommand";
|
|
98
|
-
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
99
|
-
import {
|
|
100
|
-
ListTagsForResourceCommandInput,
|
|
101
|
-
ListTagsForResourceCommandOutput,
|
|
102
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
103
|
-
import { StartApplicationCommandInput, StartApplicationCommandOutput } from "./commands/StartApplicationCommand";
|
|
104
|
-
import { StopApplicationCommandInput, StopApplicationCommandOutput } from "./commands/StopApplicationCommand";
|
|
105
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
106
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
107
|
-
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
108
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
109
|
-
|
|
110
|
-
export type ServiceInputTypes =
|
|
111
|
-
| AddApplicationCloudWatchLoggingOptionCommandInput
|
|
112
|
-
| AddApplicationInputCommandInput
|
|
113
|
-
| AddApplicationInputProcessingConfigurationCommandInput
|
|
114
|
-
| AddApplicationOutputCommandInput
|
|
115
|
-
| AddApplicationReferenceDataSourceCommandInput
|
|
116
|
-
| CreateApplicationCommandInput
|
|
117
|
-
| DeleteApplicationCloudWatchLoggingOptionCommandInput
|
|
118
|
-
| DeleteApplicationCommandInput
|
|
119
|
-
| DeleteApplicationInputProcessingConfigurationCommandInput
|
|
120
|
-
| DeleteApplicationOutputCommandInput
|
|
121
|
-
| DeleteApplicationReferenceDataSourceCommandInput
|
|
122
|
-
| DescribeApplicationCommandInput
|
|
123
|
-
| DiscoverInputSchemaCommandInput
|
|
124
|
-
| ListApplicationsCommandInput
|
|
125
|
-
| ListTagsForResourceCommandInput
|
|
126
|
-
| StartApplicationCommandInput
|
|
127
|
-
| StopApplicationCommandInput
|
|
128
|
-
| TagResourceCommandInput
|
|
129
|
-
| UntagResourceCommandInput
|
|
130
|
-
| UpdateApplicationCommandInput;
|
|
131
|
-
|
|
132
|
-
export type ServiceOutputTypes =
|
|
133
|
-
| AddApplicationCloudWatchLoggingOptionCommandOutput
|
|
134
|
-
| AddApplicationInputCommandOutput
|
|
135
|
-
| AddApplicationInputProcessingConfigurationCommandOutput
|
|
136
|
-
| AddApplicationOutputCommandOutput
|
|
137
|
-
| AddApplicationReferenceDataSourceCommandOutput
|
|
138
|
-
| CreateApplicationCommandOutput
|
|
139
|
-
| DeleteApplicationCloudWatchLoggingOptionCommandOutput
|
|
140
|
-
| DeleteApplicationCommandOutput
|
|
141
|
-
| DeleteApplicationInputProcessingConfigurationCommandOutput
|
|
142
|
-
| DeleteApplicationOutputCommandOutput
|
|
143
|
-
| DeleteApplicationReferenceDataSourceCommandOutput
|
|
144
|
-
| DescribeApplicationCommandOutput
|
|
145
|
-
| DiscoverInputSchemaCommandOutput
|
|
146
|
-
| ListApplicationsCommandOutput
|
|
147
|
-
| ListTagsForResourceCommandOutput
|
|
148
|
-
| StartApplicationCommandOutput
|
|
149
|
-
| StopApplicationCommandOutput
|
|
150
|
-
| TagResourceCommandOutput
|
|
151
|
-
| UntagResourceCommandOutput
|
|
152
|
-
| UpdateApplicationCommandOutput;
|
|
153
|
-
|
|
154
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
155
|
-
/**
|
|
156
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
157
|
-
*/
|
|
158
|
-
requestHandler?: __HttpHandler;
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
162
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
163
|
-
* @internal
|
|
164
|
-
*/
|
|
165
|
-
sha256?: __HashConstructor;
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
|
-
urlParser?: __UrlParser;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* A function that can calculate the length of a request body.
|
|
175
|
-
* @internal
|
|
176
|
-
*/
|
|
177
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* A function that converts a stream into an array of bytes.
|
|
181
|
-
* @internal
|
|
182
|
-
*/
|
|
183
|
-
streamCollector?: __StreamCollector;
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
187
|
-
* @internal
|
|
188
|
-
*/
|
|
189
|
-
base64Decoder?: __Decoder;
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
193
|
-
* @internal
|
|
194
|
-
*/
|
|
195
|
-
base64Encoder?: __Encoder;
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
199
|
-
* @internal
|
|
200
|
-
*/
|
|
201
|
-
utf8Decoder?: __Decoder;
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
205
|
-
* @internal
|
|
206
|
-
*/
|
|
207
|
-
utf8Encoder?: __Encoder;
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* The runtime environment.
|
|
211
|
-
* @internal
|
|
212
|
-
*/
|
|
213
|
-
runtime?: string;
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
217
|
-
* trait of an operation.
|
|
218
|
-
*/
|
|
219
|
-
disableHostPrefix?: boolean;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
223
|
-
*/
|
|
224
|
-
maxAttempts?: number | __Provider<number>;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Specifies which retry algorithm to use.
|
|
228
|
-
*/
|
|
229
|
-
retryMode?: string | __Provider<string>;
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Optional logger for logging debug/info/warn/error.
|
|
233
|
-
*/
|
|
234
|
-
logger?: __Logger;
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Unique service identifier.
|
|
238
|
-
* @internal
|
|
239
|
-
*/
|
|
240
|
-
serviceId?: string;
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* The AWS region to which this client will send requests
|
|
244
|
-
*/
|
|
245
|
-
region?: string | __Provider<string>;
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Default credentials provider; Not available in browser runtime.
|
|
249
|
-
* @internal
|
|
250
|
-
*/
|
|
251
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
255
|
-
* @internal
|
|
256
|
-
*/
|
|
257
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
261
|
-
* @internal
|
|
262
|
-
*/
|
|
263
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
type KinesisAnalyticsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
267
|
-
ClientDefaults &
|
|
268
|
-
RegionInputConfig &
|
|
269
|
-
EndpointsInputConfig &
|
|
270
|
-
RetryInputConfig &
|
|
271
|
-
HostHeaderInputConfig &
|
|
272
|
-
AwsAuthInputConfig &
|
|
273
|
-
UserAgentInputConfig;
|
|
274
|
-
/**
|
|
275
|
-
* The configuration interface of KinesisAnalyticsClient class constructor that set the region, credentials and other options.
|
|
276
|
-
*/
|
|
277
|
-
export interface KinesisAnalyticsClientConfig extends KinesisAnalyticsClientConfigType {}
|
|
278
|
-
|
|
279
|
-
type KinesisAnalyticsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
280
|
-
Required<ClientDefaults> &
|
|
281
|
-
RegionResolvedConfig &
|
|
282
|
-
EndpointsResolvedConfig &
|
|
283
|
-
RetryResolvedConfig &
|
|
284
|
-
HostHeaderResolvedConfig &
|
|
285
|
-
AwsAuthResolvedConfig &
|
|
286
|
-
UserAgentResolvedConfig;
|
|
287
|
-
/**
|
|
288
|
-
* The resolved configuration interface of KinesisAnalyticsClient class. This is resolved and normalized from the {@link KinesisAnalyticsClientConfig | constructor configuration interface}.
|
|
289
|
-
*/
|
|
290
|
-
export interface KinesisAnalyticsClientResolvedConfig extends KinesisAnalyticsClientResolvedConfigType {}
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* <fullname>Amazon Kinesis Analytics</fullname>
|
|
294
|
-
* <p>
|
|
295
|
-
* <b>Overview</b>
|
|
296
|
-
* </p>
|
|
297
|
-
* <note>
|
|
298
|
-
* <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>
|
|
299
|
-
* </note>
|
|
300
|
-
* <p>This is the <i>Amazon Kinesis Analytics v1 API Reference</i>.
|
|
301
|
-
* The Amazon Kinesis Analytics Developer Guide provides additional information.
|
|
302
|
-
* </p>
|
|
303
|
-
*/
|
|
304
|
-
export class KinesisAnalyticsClient extends __Client<
|
|
305
|
-
__HttpHandlerOptions,
|
|
306
|
-
ServiceInputTypes,
|
|
307
|
-
ServiceOutputTypes,
|
|
308
|
-
KinesisAnalyticsClientResolvedConfig
|
|
309
|
-
> {
|
|
310
|
-
/**
|
|
311
|
-
* The resolved configuration of KinesisAnalyticsClient class. This is resolved and normalized from the {@link KinesisAnalyticsClientConfig | constructor configuration interface}.
|
|
312
|
-
*/
|
|
313
|
-
readonly config: KinesisAnalyticsClientResolvedConfig;
|
|
314
|
-
|
|
315
|
-
constructor(configuration: KinesisAnalyticsClientConfig) {
|
|
316
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
317
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
318
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
319
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
320
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
321
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
322
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
323
|
-
super(_config_6);
|
|
324
|
-
this.config = _config_6;
|
|
325
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
326
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
327
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
328
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
329
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
330
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
335
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
336
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
337
|
-
*/
|
|
338
|
-
destroy(): void {
|
|
339
|
-
super.destroy();
|
|
340
|
-
}
|
|
341
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { KinesisAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisAnalyticsClient";
|
|
15
|
-
import {
|
|
16
|
-
AddApplicationCloudWatchLoggingOptionRequest,
|
|
17
|
-
AddApplicationCloudWatchLoggingOptionResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand,
|
|
21
|
-
serializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand,
|
|
22
|
-
} from "../protocols/Aws_json1_1";
|
|
23
|
-
|
|
24
|
-
export interface AddApplicationCloudWatchLoggingOptionCommandInput
|
|
25
|
-
extends AddApplicationCloudWatchLoggingOptionRequest {}
|
|
26
|
-
export interface AddApplicationCloudWatchLoggingOptionCommandOutput
|
|
27
|
-
extends AddApplicationCloudWatchLoggingOptionResponse,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <note>
|
|
32
|
-
* <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>
|
|
33
|
-
* </note>
|
|
34
|
-
* <p>Adds a CloudWatch log stream to monitor application configuration errors. For more
|
|
35
|
-
* information about using CloudWatch log streams with Amazon Kinesis Analytics
|
|
36
|
-
* applications, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working with Amazon
|
|
37
|
-
* CloudWatch Logs</a>.</p>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { KinesisAnalyticsClient, AddApplicationCloudWatchLoggingOptionCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
42
|
-
* // const { KinesisAnalyticsClient, AddApplicationCloudWatchLoggingOptionCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
43
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
44
|
-
* const command = new AddApplicationCloudWatchLoggingOptionCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link AddApplicationCloudWatchLoggingOptionCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link AddApplicationCloudWatchLoggingOptionCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
export class AddApplicationCloudWatchLoggingOptionCommand extends $Command<
|
|
54
|
-
AddApplicationCloudWatchLoggingOptionCommandInput,
|
|
55
|
-
AddApplicationCloudWatchLoggingOptionCommandOutput,
|
|
56
|
-
KinesisAnalyticsClientResolvedConfig
|
|
57
|
-
> {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
|
|
61
|
-
constructor(readonly input: AddApplicationCloudWatchLoggingOptionCommandInput) {
|
|
62
|
-
// Start section: command_constructor
|
|
63
|
-
super();
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
resolveMiddleware(
|
|
71
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
72
|
-
configuration: KinesisAnalyticsClientResolvedConfig,
|
|
73
|
-
options?: __HttpHandlerOptions
|
|
74
|
-
): Handler<AddApplicationCloudWatchLoggingOptionCommandInput, AddApplicationCloudWatchLoggingOptionCommandOutput> {
|
|
75
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
76
|
-
|
|
77
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
78
|
-
|
|
79
|
-
const { logger } = configuration;
|
|
80
|
-
const clientName = "KinesisAnalyticsClient";
|
|
81
|
-
const commandName = "AddApplicationCloudWatchLoggingOptionCommand";
|
|
82
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
83
|
-
logger,
|
|
84
|
-
clientName,
|
|
85
|
-
commandName,
|
|
86
|
-
inputFilterSensitiveLog: AddApplicationCloudWatchLoggingOptionRequest.filterSensitiveLog,
|
|
87
|
-
outputFilterSensitiveLog: AddApplicationCloudWatchLoggingOptionResponse.filterSensitiveLog,
|
|
88
|
-
};
|
|
89
|
-
const { requestHandler } = configuration;
|
|
90
|
-
return stack.resolve(
|
|
91
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
92
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
93
|
-
handlerExecutionContext
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private serialize(
|
|
98
|
-
input: AddApplicationCloudWatchLoggingOptionCommandInput,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<__HttpRequest> {
|
|
101
|
-
return serializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand(input, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
private deserialize(
|
|
105
|
-
output: __HttpResponse,
|
|
106
|
-
context: __SerdeContext
|
|
107
|
-
): Promise<AddApplicationCloudWatchLoggingOptionCommandOutput> {
|
|
108
|
-
return deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand(output, context);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// Start section: command_body_extra
|
|
112
|
-
// End section: command_body_extra
|
|
113
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { KinesisAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisAnalyticsClient";
|
|
15
|
-
import { AddApplicationInputRequest, AddApplicationInputResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1AddApplicationInputCommand,
|
|
18
|
-
serializeAws_json1_1AddApplicationInputCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface AddApplicationInputCommandInput extends AddApplicationInputRequest {}
|
|
22
|
-
export interface AddApplicationInputCommandOutput extends AddApplicationInputResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <note>
|
|
26
|
-
* <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>
|
|
27
|
-
* </note>
|
|
28
|
-
* <p>
|
|
29
|
-
* Adds a streaming source to your Amazon Kinesis application.
|
|
30
|
-
* For conceptual information,
|
|
31
|
-
* see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring Application Input</a>.
|
|
32
|
-
* </p>
|
|
33
|
-
* <p>You can add a streaming source either when you create an application or you can use
|
|
34
|
-
* this operation to add a streaming source after you create an application. For more information, see
|
|
35
|
-
* <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_CreateApplication.html">CreateApplication</a>.</p>
|
|
36
|
-
* <p>Any configuration update, including adding a streaming source using this operation,
|
|
37
|
-
* 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
|
|
38
|
-
* to find the current application version.
|
|
39
|
-
* </p>
|
|
40
|
-
* <p>This operation requires permissions to perform the
|
|
41
|
-
* <code>kinesisanalytics:AddApplicationInput</code> action.</p>
|
|
42
|
-
* @example
|
|
43
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
44
|
-
* ```javascript
|
|
45
|
-
* import { KinesisAnalyticsClient, AddApplicationInputCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
46
|
-
* // const { KinesisAnalyticsClient, AddApplicationInputCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
47
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
48
|
-
* const command = new AddApplicationInputCommand(input);
|
|
49
|
-
* const response = await client.send(command);
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @see {@link AddApplicationInputCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link AddApplicationInputCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
export class AddApplicationInputCommand extends $Command<
|
|
58
|
-
AddApplicationInputCommandInput,
|
|
59
|
-
AddApplicationInputCommandOutput,
|
|
60
|
-
KinesisAnalyticsClientResolvedConfig
|
|
61
|
-
> {
|
|
62
|
-
// Start section: command_properties
|
|
63
|
-
// End section: command_properties
|
|
64
|
-
|
|
65
|
-
constructor(readonly input: AddApplicationInputCommandInput) {
|
|
66
|
-
// Start section: command_constructor
|
|
67
|
-
super();
|
|
68
|
-
// End section: command_constructor
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
|
-
resolveMiddleware(
|
|
75
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
76
|
-
configuration: KinesisAnalyticsClientResolvedConfig,
|
|
77
|
-
options?: __HttpHandlerOptions
|
|
78
|
-
): Handler<AddApplicationInputCommandInput, AddApplicationInputCommandOutput> {
|
|
79
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
80
|
-
|
|
81
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
82
|
-
|
|
83
|
-
const { logger } = configuration;
|
|
84
|
-
const clientName = "KinesisAnalyticsClient";
|
|
85
|
-
const commandName = "AddApplicationInputCommand";
|
|
86
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
87
|
-
logger,
|
|
88
|
-
clientName,
|
|
89
|
-
commandName,
|
|
90
|
-
inputFilterSensitiveLog: AddApplicationInputRequest.filterSensitiveLog,
|
|
91
|
-
outputFilterSensitiveLog: AddApplicationInputResponse.filterSensitiveLog,
|
|
92
|
-
};
|
|
93
|
-
const { requestHandler } = configuration;
|
|
94
|
-
return stack.resolve(
|
|
95
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
96
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
97
|
-
handlerExecutionContext
|
|
98
|
-
);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private serialize(input: AddApplicationInputCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
102
|
-
return serializeAws_json1_1AddApplicationInputCommand(input, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddApplicationInputCommandOutput> {
|
|
106
|
-
return deserializeAws_json1_1AddApplicationInputCommand(output, context);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// Start section: command_body_extra
|
|
110
|
-
// End section: command_body_extra
|
|
111
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { KinesisAnalyticsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisAnalyticsClient";
|
|
15
|
-
import {
|
|
16
|
-
AddApplicationInputProcessingConfigurationRequest,
|
|
17
|
-
AddApplicationInputProcessingConfigurationResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommand,
|
|
21
|
-
serializeAws_json1_1AddApplicationInputProcessingConfigurationCommand,
|
|
22
|
-
} from "../protocols/Aws_json1_1";
|
|
23
|
-
|
|
24
|
-
export interface AddApplicationInputProcessingConfigurationCommandInput
|
|
25
|
-
extends AddApplicationInputProcessingConfigurationRequest {}
|
|
26
|
-
export interface AddApplicationInputProcessingConfigurationCommandOutput
|
|
27
|
-
extends AddApplicationInputProcessingConfigurationResponse,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <note>
|
|
32
|
-
* <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>
|
|
33
|
-
* </note>
|
|
34
|
-
* <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
|
|
35
|
-
* before the application's SQL code executes. Currently, the only input processor available is
|
|
36
|
-
* <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>.</p>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { KinesisAnalyticsClient, AddApplicationInputProcessingConfigurationCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
41
|
-
* // const { KinesisAnalyticsClient, AddApplicationInputProcessingConfigurationCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
42
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
43
|
-
* const command = new AddApplicationInputProcessingConfigurationCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link AddApplicationInputProcessingConfigurationCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link AddApplicationInputProcessingConfigurationCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
|
-
export class AddApplicationInputProcessingConfigurationCommand extends $Command<
|
|
53
|
-
AddApplicationInputProcessingConfigurationCommandInput,
|
|
54
|
-
AddApplicationInputProcessingConfigurationCommandOutput,
|
|
55
|
-
KinesisAnalyticsClientResolvedConfig
|
|
56
|
-
> {
|
|
57
|
-
// Start section: command_properties
|
|
58
|
-
// End section: command_properties
|
|
59
|
-
|
|
60
|
-
constructor(readonly input: AddApplicationInputProcessingConfigurationCommandInput) {
|
|
61
|
-
// Start section: command_constructor
|
|
62
|
-
super();
|
|
63
|
-
// End section: command_constructor
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
resolveMiddleware(
|
|
70
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
71
|
-
configuration: KinesisAnalyticsClientResolvedConfig,
|
|
72
|
-
options?: __HttpHandlerOptions
|
|
73
|
-
): Handler<
|
|
74
|
-
AddApplicationInputProcessingConfigurationCommandInput,
|
|
75
|
-
AddApplicationInputProcessingConfigurationCommandOutput
|
|
76
|
-
> {
|
|
77
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
78
|
-
|
|
79
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
80
|
-
|
|
81
|
-
const { logger } = configuration;
|
|
82
|
-
const clientName = "KinesisAnalyticsClient";
|
|
83
|
-
const commandName = "AddApplicationInputProcessingConfigurationCommand";
|
|
84
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
85
|
-
logger,
|
|
86
|
-
clientName,
|
|
87
|
-
commandName,
|
|
88
|
-
inputFilterSensitiveLog: AddApplicationInputProcessingConfigurationRequest.filterSensitiveLog,
|
|
89
|
-
outputFilterSensitiveLog: AddApplicationInputProcessingConfigurationResponse.filterSensitiveLog,
|
|
90
|
-
};
|
|
91
|
-
const { requestHandler } = configuration;
|
|
92
|
-
return stack.resolve(
|
|
93
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
94
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
95
|
-
handlerExecutionContext
|
|
96
|
-
);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private serialize(
|
|
100
|
-
input: AddApplicationInputProcessingConfigurationCommandInput,
|
|
101
|
-
context: __SerdeContext
|
|
102
|
-
): Promise<__HttpRequest> {
|
|
103
|
-
return serializeAws_json1_1AddApplicationInputProcessingConfigurationCommand(input, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
private deserialize(
|
|
107
|
-
output: __HttpResponse,
|
|
108
|
-
context: __SerdeContext
|
|
109
|
-
): Promise<AddApplicationInputProcessingConfigurationCommandOutput> {
|
|
110
|
-
return deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommand(output, context);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// Start section: command_body_extra
|
|
114
|
-
// End section: command_body_extra
|
|
115
|
-
}
|