@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,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
|
-
DeleteApplicationInputProcessingConfigurationRequest,
|
|
17
|
-
DeleteApplicationInputProcessingConfigurationResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand,
|
|
21
|
-
serializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand,
|
|
22
|
-
} from "../protocols/Aws_json1_1";
|
|
23
|
-
|
|
24
|
-
export interface DeleteApplicationInputProcessingConfigurationCommandInput
|
|
25
|
-
extends DeleteApplicationInputProcessingConfigurationRequest {}
|
|
26
|
-
export interface DeleteApplicationInputProcessingConfigurationCommandOutput
|
|
27
|
-
extends DeleteApplicationInputProcessingConfigurationResponse,
|
|
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>Deletes an <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a> from an input.</p>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { KinesisAnalyticsClient, DeleteApplicationInputProcessingConfigurationCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
39
|
-
* // const { KinesisAnalyticsClient, DeleteApplicationInputProcessingConfigurationCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
40
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
41
|
-
* const command = new DeleteApplicationInputProcessingConfigurationCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link DeleteApplicationInputProcessingConfigurationCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link DeleteApplicationInputProcessingConfigurationCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export class DeleteApplicationInputProcessingConfigurationCommand extends $Command<
|
|
51
|
-
DeleteApplicationInputProcessingConfigurationCommandInput,
|
|
52
|
-
DeleteApplicationInputProcessingConfigurationCommandOutput,
|
|
53
|
-
KinesisAnalyticsClientResolvedConfig
|
|
54
|
-
> {
|
|
55
|
-
// Start section: command_properties
|
|
56
|
-
// End section: command_properties
|
|
57
|
-
|
|
58
|
-
constructor(readonly input: DeleteApplicationInputProcessingConfigurationCommandInput) {
|
|
59
|
-
// Start section: command_constructor
|
|
60
|
-
super();
|
|
61
|
-
// End section: command_constructor
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
resolveMiddleware(
|
|
68
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
69
|
-
configuration: KinesisAnalyticsClientResolvedConfig,
|
|
70
|
-
options?: __HttpHandlerOptions
|
|
71
|
-
): Handler<
|
|
72
|
-
DeleteApplicationInputProcessingConfigurationCommandInput,
|
|
73
|
-
DeleteApplicationInputProcessingConfigurationCommandOutput
|
|
74
|
-
> {
|
|
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 = "DeleteApplicationInputProcessingConfigurationCommand";
|
|
82
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
83
|
-
logger,
|
|
84
|
-
clientName,
|
|
85
|
-
commandName,
|
|
86
|
-
inputFilterSensitiveLog: DeleteApplicationInputProcessingConfigurationRequest.filterSensitiveLog,
|
|
87
|
-
outputFilterSensitiveLog: DeleteApplicationInputProcessingConfigurationResponse.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: DeleteApplicationInputProcessingConfigurationCommandInput,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<__HttpRequest> {
|
|
101
|
-
return serializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand(input, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
private deserialize(
|
|
105
|
-
output: __HttpResponse,
|
|
106
|
-
context: __SerdeContext
|
|
107
|
-
): Promise<DeleteApplicationInputProcessingConfigurationCommandOutput> {
|
|
108
|
-
return deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand(output, context);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
// Start section: command_body_extra
|
|
112
|
-
// End section: command_body_extra
|
|
113
|
-
}
|
|
@@ -1,100 +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 { DeleteApplicationOutputRequest, DeleteApplicationOutputResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DeleteApplicationOutputCommand,
|
|
18
|
-
serializeAws_json1_1DeleteApplicationOutputCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteApplicationOutputCommandInput extends DeleteApplicationOutputRequest {}
|
|
22
|
-
export interface DeleteApplicationOutputCommandOutput extends DeleteApplicationOutputResponse, __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>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>
|
|
29
|
-
* <p>This operation requires permissions to perform the
|
|
30
|
-
* <code>kinesisanalytics:DeleteApplicationOutput</code> action.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { KinesisAnalyticsClient, DeleteApplicationOutputCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
35
|
-
* // const { KinesisAnalyticsClient, DeleteApplicationOutputCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
36
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
37
|
-
* const command = new DeleteApplicationOutputCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link DeleteApplicationOutputCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link DeleteApplicationOutputCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class DeleteApplicationOutputCommand extends $Command<
|
|
47
|
-
DeleteApplicationOutputCommandInput,
|
|
48
|
-
DeleteApplicationOutputCommandOutput,
|
|
49
|
-
KinesisAnalyticsClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: DeleteApplicationOutputCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: KinesisAnalyticsClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<DeleteApplicationOutputCommandInput, DeleteApplicationOutputCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "KinesisAnalyticsClient";
|
|
74
|
-
const commandName = "DeleteApplicationOutputCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: DeleteApplicationOutputRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: DeleteApplicationOutputResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: DeleteApplicationOutputCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1DeleteApplicationOutputCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteApplicationOutputCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1DeleteApplicationOutputCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,114 +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
|
-
DeleteApplicationReferenceDataSourceRequest,
|
|
17
|
-
DeleteApplicationReferenceDataSourceResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommand,
|
|
21
|
-
serializeAws_json1_1DeleteApplicationReferenceDataSourceCommand,
|
|
22
|
-
} from "../protocols/Aws_json1_1";
|
|
23
|
-
|
|
24
|
-
export interface DeleteApplicationReferenceDataSourceCommandInput extends DeleteApplicationReferenceDataSourceRequest {}
|
|
25
|
-
export interface DeleteApplicationReferenceDataSourceCommandOutput
|
|
26
|
-
extends DeleteApplicationReferenceDataSourceResponse,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <note>
|
|
31
|
-
* <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>
|
|
32
|
-
* </note>
|
|
33
|
-
* <p>Deletes a reference data source configuration from the specified application configuration.</p>
|
|
34
|
-
* <p>If the application is running, Amazon Kinesis Analytics immediately removes the in-application table
|
|
35
|
-
* that you created using the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a> operation. </p>
|
|
36
|
-
*
|
|
37
|
-
* <p>This operation requires permissions to perform the <code>kinesisanalytics.DeleteApplicationReferenceDataSource</code>
|
|
38
|
-
* action.</p>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { KinesisAnalyticsClient, DeleteApplicationReferenceDataSourceCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
43
|
-
* // const { KinesisAnalyticsClient, DeleteApplicationReferenceDataSourceCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
44
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
45
|
-
* const command = new DeleteApplicationReferenceDataSourceCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link DeleteApplicationReferenceDataSourceCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link DeleteApplicationReferenceDataSourceCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
export class DeleteApplicationReferenceDataSourceCommand extends $Command<
|
|
55
|
-
DeleteApplicationReferenceDataSourceCommandInput,
|
|
56
|
-
DeleteApplicationReferenceDataSourceCommandOutput,
|
|
57
|
-
KinesisAnalyticsClientResolvedConfig
|
|
58
|
-
> {
|
|
59
|
-
// Start section: command_properties
|
|
60
|
-
// End section: command_properties
|
|
61
|
-
|
|
62
|
-
constructor(readonly input: DeleteApplicationReferenceDataSourceCommandInput) {
|
|
63
|
-
// Start section: command_constructor
|
|
64
|
-
super();
|
|
65
|
-
// End section: command_constructor
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
resolveMiddleware(
|
|
72
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
73
|
-
configuration: KinesisAnalyticsClientResolvedConfig,
|
|
74
|
-
options?: __HttpHandlerOptions
|
|
75
|
-
): Handler<DeleteApplicationReferenceDataSourceCommandInput, DeleteApplicationReferenceDataSourceCommandOutput> {
|
|
76
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
77
|
-
|
|
78
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
79
|
-
|
|
80
|
-
const { logger } = configuration;
|
|
81
|
-
const clientName = "KinesisAnalyticsClient";
|
|
82
|
-
const commandName = "DeleteApplicationReferenceDataSourceCommand";
|
|
83
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
84
|
-
logger,
|
|
85
|
-
clientName,
|
|
86
|
-
commandName,
|
|
87
|
-
inputFilterSensitiveLog: DeleteApplicationReferenceDataSourceRequest.filterSensitiveLog,
|
|
88
|
-
outputFilterSensitiveLog: DeleteApplicationReferenceDataSourceResponse.filterSensitiveLog,
|
|
89
|
-
};
|
|
90
|
-
const { requestHandler } = configuration;
|
|
91
|
-
return stack.resolve(
|
|
92
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
93
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
94
|
-
handlerExecutionContext
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private serialize(
|
|
99
|
-
input: DeleteApplicationReferenceDataSourceCommandInput,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
): Promise<__HttpRequest> {
|
|
102
|
-
return serializeAws_json1_1DeleteApplicationReferenceDataSourceCommand(input, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
private deserialize(
|
|
106
|
-
output: __HttpResponse,
|
|
107
|
-
context: __SerdeContext
|
|
108
|
-
): Promise<DeleteApplicationReferenceDataSourceCommandOutput> {
|
|
109
|
-
return deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommand(output, context);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// Start section: command_body_extra
|
|
113
|
-
// End section: command_body_extra
|
|
114
|
-
}
|
|
@@ -1,104 +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 { DescribeApplicationRequest, DescribeApplicationResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeApplicationCommand,
|
|
18
|
-
serializeAws_json1_1DescribeApplicationCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeApplicationCommandInput extends DescribeApplicationRequest {}
|
|
22
|
-
export interface DescribeApplicationCommandOutput extends DescribeApplicationResponse, __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>Returns information about a specific Amazon Kinesis Analytics application.</p>
|
|
29
|
-
* <p>If you want to retrieve a list of all applications in your account,
|
|
30
|
-
* use the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_ListApplications.html">ListApplications</a> operation.</p>
|
|
31
|
-
* <p>This operation requires permissions to perform the <code>kinesisanalytics:DescribeApplication</code>
|
|
32
|
-
* action. You can use <code>DescribeApplication</code> to get the current application versionId, which you need to call other
|
|
33
|
-
* operations such as <code>Update</code>.
|
|
34
|
-
* </p>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { KinesisAnalyticsClient, DescribeApplicationCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
39
|
-
* // const { KinesisAnalyticsClient, DescribeApplicationCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
40
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
41
|
-
* const command = new DescribeApplicationCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link DescribeApplicationCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link DescribeApplicationCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export class DescribeApplicationCommand extends $Command<
|
|
51
|
-
DescribeApplicationCommandInput,
|
|
52
|
-
DescribeApplicationCommandOutput,
|
|
53
|
-
KinesisAnalyticsClientResolvedConfig
|
|
54
|
-
> {
|
|
55
|
-
// Start section: command_properties
|
|
56
|
-
// End section: command_properties
|
|
57
|
-
|
|
58
|
-
constructor(readonly input: DescribeApplicationCommandInput) {
|
|
59
|
-
// Start section: command_constructor
|
|
60
|
-
super();
|
|
61
|
-
// End section: command_constructor
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
resolveMiddleware(
|
|
68
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
69
|
-
configuration: KinesisAnalyticsClientResolvedConfig,
|
|
70
|
-
options?: __HttpHandlerOptions
|
|
71
|
-
): Handler<DescribeApplicationCommandInput, DescribeApplicationCommandOutput> {
|
|
72
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
73
|
-
|
|
74
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
75
|
-
|
|
76
|
-
const { logger } = configuration;
|
|
77
|
-
const clientName = "KinesisAnalyticsClient";
|
|
78
|
-
const commandName = "DescribeApplicationCommand";
|
|
79
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
80
|
-
logger,
|
|
81
|
-
clientName,
|
|
82
|
-
commandName,
|
|
83
|
-
inputFilterSensitiveLog: DescribeApplicationRequest.filterSensitiveLog,
|
|
84
|
-
outputFilterSensitiveLog: DescribeApplicationResponse.filterSensitiveLog,
|
|
85
|
-
};
|
|
86
|
-
const { requestHandler } = configuration;
|
|
87
|
-
return stack.resolve(
|
|
88
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
89
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
90
|
-
handlerExecutionContext
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private serialize(input: DescribeApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
95
|
-
return serializeAws_json1_1DescribeApplicationCommand(input, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeApplicationCommandOutput> {
|
|
99
|
-
return deserializeAws_json1_1DescribeApplicationCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,109 +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 { DiscoverInputSchemaRequest, DiscoverInputSchemaResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DiscoverInputSchemaCommand,
|
|
18
|
-
serializeAws_json1_1DiscoverInputSchemaCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DiscoverInputSchemaCommandInput extends DiscoverInputSchemaRequest {}
|
|
22
|
-
export interface DiscoverInputSchemaCommandOutput extends DiscoverInputSchemaResponse, __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>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>
|
|
29
|
-
* <p>
|
|
30
|
-
* You can use the inferred schema when configuring a streaming source
|
|
31
|
-
* for your application. For conceptual information,
|
|
32
|
-
* see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring Application Input</a>.
|
|
33
|
-
* Note that when you create an application using the Amazon Kinesis Analytics console,
|
|
34
|
-
* the console uses this operation to infer a schema and show it in the console user interface.
|
|
35
|
-
* </p>
|
|
36
|
-
* <p>
|
|
37
|
-
* This operation requires permissions to perform the
|
|
38
|
-
* <code>kinesisanalytics:DiscoverInputSchema</code> action.
|
|
39
|
-
* </p>
|
|
40
|
-
* @example
|
|
41
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
-
* ```javascript
|
|
43
|
-
* import { KinesisAnalyticsClient, DiscoverInputSchemaCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
44
|
-
* // const { KinesisAnalyticsClient, DiscoverInputSchemaCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
45
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
46
|
-
* const command = new DiscoverInputSchemaCommand(input);
|
|
47
|
-
* const response = await client.send(command);
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @see {@link DiscoverInputSchemaCommandInput} for command's `input` shape.
|
|
51
|
-
* @see {@link DiscoverInputSchemaCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
55
|
-
export class DiscoverInputSchemaCommand extends $Command<
|
|
56
|
-
DiscoverInputSchemaCommandInput,
|
|
57
|
-
DiscoverInputSchemaCommandOutput,
|
|
58
|
-
KinesisAnalyticsClientResolvedConfig
|
|
59
|
-
> {
|
|
60
|
-
// Start section: command_properties
|
|
61
|
-
// End section: command_properties
|
|
62
|
-
|
|
63
|
-
constructor(readonly input: DiscoverInputSchemaCommandInput) {
|
|
64
|
-
// Start section: command_constructor
|
|
65
|
-
super();
|
|
66
|
-
// End section: command_constructor
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
resolveMiddleware(
|
|
73
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
74
|
-
configuration: KinesisAnalyticsClientResolvedConfig,
|
|
75
|
-
options?: __HttpHandlerOptions
|
|
76
|
-
): Handler<DiscoverInputSchemaCommandInput, DiscoverInputSchemaCommandOutput> {
|
|
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 = "DiscoverInputSchemaCommand";
|
|
84
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
85
|
-
logger,
|
|
86
|
-
clientName,
|
|
87
|
-
commandName,
|
|
88
|
-
inputFilterSensitiveLog: DiscoverInputSchemaRequest.filterSensitiveLog,
|
|
89
|
-
outputFilterSensitiveLog: DiscoverInputSchemaResponse.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(input: DiscoverInputSchemaCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
100
|
-
return serializeAws_json1_1DiscoverInputSchemaCommand(input, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DiscoverInputSchemaCommandOutput> {
|
|
104
|
-
return deserializeAws_json1_1DiscoverInputSchemaCommand(output, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Start section: command_body_extra
|
|
108
|
-
// End section: command_body_extra
|
|
109
|
-
}
|
|
@@ -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 { ListApplicationsRequest, ListApplicationsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1ListApplicationsCommand,
|
|
18
|
-
serializeAws_json1_1ListApplicationsCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface ListApplicationsCommandInput extends ListApplicationsRequest {}
|
|
22
|
-
export interface ListApplicationsCommandOutput extends ListApplicationsResponse, __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>Returns a list of Amazon Kinesis Analytics applications in your account.
|
|
29
|
-
* For each application, the response includes the application name,
|
|
30
|
-
* Amazon Resource Name (ARN), and status.
|
|
31
|
-
*
|
|
32
|
-
* If the response returns the <code>HasMoreApplications</code> value as true,
|
|
33
|
-
* you can send another request by adding the
|
|
34
|
-
* <code>ExclusiveStartApplicationName</code> in the request body, and
|
|
35
|
-
* set the value of this to the last application name from
|
|
36
|
-
* the previous response.
|
|
37
|
-
* </p>
|
|
38
|
-
* <p>If you want detailed information about a specific application, use
|
|
39
|
-
* <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>.</p>
|
|
40
|
-
* <p>This operation requires permissions to perform the
|
|
41
|
-
* <code>kinesisanalytics:ListApplications</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, ListApplicationsCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
46
|
-
* // const { KinesisAnalyticsClient, ListApplicationsCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
47
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
48
|
-
* const command = new ListApplicationsCommand(input);
|
|
49
|
-
* const response = await client.send(command);
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @see {@link ListApplicationsCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link ListApplicationsCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
export class ListApplicationsCommand extends $Command<
|
|
58
|
-
ListApplicationsCommandInput,
|
|
59
|
-
ListApplicationsCommandOutput,
|
|
60
|
-
KinesisAnalyticsClientResolvedConfig
|
|
61
|
-
> {
|
|
62
|
-
// Start section: command_properties
|
|
63
|
-
// End section: command_properties
|
|
64
|
-
|
|
65
|
-
constructor(readonly input: ListApplicationsCommandInput) {
|
|
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<ListApplicationsCommandInput, ListApplicationsCommandOutput> {
|
|
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 = "ListApplicationsCommand";
|
|
86
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
87
|
-
logger,
|
|
88
|
-
clientName,
|
|
89
|
-
commandName,
|
|
90
|
-
inputFilterSensitiveLog: ListApplicationsRequest.filterSensitiveLog,
|
|
91
|
-
outputFilterSensitiveLog: ListApplicationsResponse.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: ListApplicationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
102
|
-
return serializeAws_json1_1ListApplicationsCommand(input, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListApplicationsCommandOutput> {
|
|
106
|
-
return deserializeAws_json1_1ListApplicationsCommand(output, context);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// Start section: command_body_extra
|
|
110
|
-
// End section: command_body_extra
|
|
111
|
-
}
|