@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,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 { AddApplicationOutputRequest, AddApplicationOutputResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1AddApplicationOutputCommand,
|
|
18
|
-
serializeAws_json1_1AddApplicationOutputCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface AddApplicationOutputCommandInput extends AddApplicationOutputRequest {}
|
|
22
|
-
export interface AddApplicationOutputCommandOutput extends AddApplicationOutputResponse, __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>Adds an external destination to your Amazon Kinesis Analytics application.</p>
|
|
29
|
-
* <p>If you want Amazon Kinesis Analytics to deliver data from an in-application stream
|
|
30
|
-
* within your application to an external destination (such as an Amazon Kinesis stream, an
|
|
31
|
-
* Amazon Kinesis Firehose delivery stream, or an AWS Lambda function), you add the
|
|
32
|
-
* relevant configuration to your application using this operation. You can configure one
|
|
33
|
-
* or more outputs for your application. Each output configuration maps an in-application
|
|
34
|
-
* stream and an external destination.</p>
|
|
35
|
-
* <p> You can use one of the output configurations to deliver data from your
|
|
36
|
-
* in-application error stream to an external destination so that you can analyze the
|
|
37
|
-
* errors. For more information, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Understanding Application
|
|
38
|
-
* Output (Destination)</a>. </p>
|
|
39
|
-
* <p> Any configuration update, including adding a streaming source using this
|
|
40
|
-
* operation, results in a new version of the application. You can use the <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a> operation to find the current application
|
|
41
|
-
* version.</p>
|
|
42
|
-
* <p>For the limits on the number of application inputs and outputs
|
|
43
|
-
* you can configure, see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html">Limits</a>.</p>
|
|
44
|
-
* <p>This operation requires permissions to perform the <code>kinesisanalytics:AddApplicationOutput</code> action.</p>
|
|
45
|
-
* @example
|
|
46
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
47
|
-
* ```javascript
|
|
48
|
-
* import { KinesisAnalyticsClient, AddApplicationOutputCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
49
|
-
* // const { KinesisAnalyticsClient, AddApplicationOutputCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
50
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
51
|
-
* const command = new AddApplicationOutputCommand(input);
|
|
52
|
-
* const response = await client.send(command);
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* @see {@link AddApplicationOutputCommandInput} for command's `input` shape.
|
|
56
|
-
* @see {@link AddApplicationOutputCommandOutput} for command's `response` shape.
|
|
57
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
58
|
-
*
|
|
59
|
-
*/
|
|
60
|
-
export class AddApplicationOutputCommand extends $Command<
|
|
61
|
-
AddApplicationOutputCommandInput,
|
|
62
|
-
AddApplicationOutputCommandOutput,
|
|
63
|
-
KinesisAnalyticsClientResolvedConfig
|
|
64
|
-
> {
|
|
65
|
-
// Start section: command_properties
|
|
66
|
-
// End section: command_properties
|
|
67
|
-
|
|
68
|
-
constructor(readonly input: AddApplicationOutputCommandInput) {
|
|
69
|
-
// Start section: command_constructor
|
|
70
|
-
super();
|
|
71
|
-
// End section: command_constructor
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
resolveMiddleware(
|
|
78
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
79
|
-
configuration: KinesisAnalyticsClientResolvedConfig,
|
|
80
|
-
options?: __HttpHandlerOptions
|
|
81
|
-
): Handler<AddApplicationOutputCommandInput, AddApplicationOutputCommandOutput> {
|
|
82
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
83
|
-
|
|
84
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
85
|
-
|
|
86
|
-
const { logger } = configuration;
|
|
87
|
-
const clientName = "KinesisAnalyticsClient";
|
|
88
|
-
const commandName = "AddApplicationOutputCommand";
|
|
89
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
90
|
-
logger,
|
|
91
|
-
clientName,
|
|
92
|
-
commandName,
|
|
93
|
-
inputFilterSensitiveLog: AddApplicationOutputRequest.filterSensitiveLog,
|
|
94
|
-
outputFilterSensitiveLog: AddApplicationOutputResponse.filterSensitiveLog,
|
|
95
|
-
};
|
|
96
|
-
const { requestHandler } = configuration;
|
|
97
|
-
return stack.resolve(
|
|
98
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
99
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
100
|
-
handlerExecutionContext
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
private serialize(input: AddApplicationOutputCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
105
|
-
return serializeAws_json1_1AddApplicationOutputCommand(input, context);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddApplicationOutputCommandOutput> {
|
|
109
|
-
return deserializeAws_json1_1AddApplicationOutputCommand(output, context);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// Start section: command_body_extra
|
|
113
|
-
// End section: command_body_extra
|
|
114
|
-
}
|
|
@@ -1,119 +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
|
-
AddApplicationReferenceDataSourceRequest,
|
|
17
|
-
AddApplicationReferenceDataSourceResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_json1_1AddApplicationReferenceDataSourceCommand,
|
|
21
|
-
serializeAws_json1_1AddApplicationReferenceDataSourceCommand,
|
|
22
|
-
} from "../protocols/Aws_json1_1";
|
|
23
|
-
|
|
24
|
-
export interface AddApplicationReferenceDataSourceCommandInput extends AddApplicationReferenceDataSourceRequest {}
|
|
25
|
-
export interface AddApplicationReferenceDataSourceCommandOutput
|
|
26
|
-
extends AddApplicationReferenceDataSourceResponse,
|
|
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>Adds a reference data source to an existing application.</p>
|
|
34
|
-
* <p>Amazon Kinesis Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in Amazon S3 object maps to columns in the resulting in-application table.</p>
|
|
35
|
-
* <p>
|
|
36
|
-
* For conceptual information,
|
|
37
|
-
* see <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring Application Input</a>.
|
|
38
|
-
* For the limits on data sources you can add to your application, see
|
|
39
|
-
* <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html">Limits</a>.
|
|
40
|
-
* </p>
|
|
41
|
-
* <p>
|
|
42
|
-
* This operation requires permissions to perform the <code>kinesisanalytics:AddApplicationOutput</code> action.
|
|
43
|
-
* </p>
|
|
44
|
-
* @example
|
|
45
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
46
|
-
* ```javascript
|
|
47
|
-
* import { KinesisAnalyticsClient, AddApplicationReferenceDataSourceCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
48
|
-
* // const { KinesisAnalyticsClient, AddApplicationReferenceDataSourceCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
49
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
50
|
-
* const command = new AddApplicationReferenceDataSourceCommand(input);
|
|
51
|
-
* const response = await client.send(command);
|
|
52
|
-
* ```
|
|
53
|
-
*
|
|
54
|
-
* @see {@link AddApplicationReferenceDataSourceCommandInput} for command's `input` shape.
|
|
55
|
-
* @see {@link AddApplicationReferenceDataSourceCommandOutput} for command's `response` shape.
|
|
56
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
export class AddApplicationReferenceDataSourceCommand extends $Command<
|
|
60
|
-
AddApplicationReferenceDataSourceCommandInput,
|
|
61
|
-
AddApplicationReferenceDataSourceCommandOutput,
|
|
62
|
-
KinesisAnalyticsClientResolvedConfig
|
|
63
|
-
> {
|
|
64
|
-
// Start section: command_properties
|
|
65
|
-
// End section: command_properties
|
|
66
|
-
|
|
67
|
-
constructor(readonly input: AddApplicationReferenceDataSourceCommandInput) {
|
|
68
|
-
// Start section: command_constructor
|
|
69
|
-
super();
|
|
70
|
-
// End section: command_constructor
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
|
-
resolveMiddleware(
|
|
77
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
78
|
-
configuration: KinesisAnalyticsClientResolvedConfig,
|
|
79
|
-
options?: __HttpHandlerOptions
|
|
80
|
-
): Handler<AddApplicationReferenceDataSourceCommandInput, AddApplicationReferenceDataSourceCommandOutput> {
|
|
81
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
82
|
-
|
|
83
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
84
|
-
|
|
85
|
-
const { logger } = configuration;
|
|
86
|
-
const clientName = "KinesisAnalyticsClient";
|
|
87
|
-
const commandName = "AddApplicationReferenceDataSourceCommand";
|
|
88
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
89
|
-
logger,
|
|
90
|
-
clientName,
|
|
91
|
-
commandName,
|
|
92
|
-
inputFilterSensitiveLog: AddApplicationReferenceDataSourceRequest.filterSensitiveLog,
|
|
93
|
-
outputFilterSensitiveLog: AddApplicationReferenceDataSourceResponse.filterSensitiveLog,
|
|
94
|
-
};
|
|
95
|
-
const { requestHandler } = configuration;
|
|
96
|
-
return stack.resolve(
|
|
97
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
98
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
99
|
-
handlerExecutionContext
|
|
100
|
-
);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
private serialize(
|
|
104
|
-
input: AddApplicationReferenceDataSourceCommandInput,
|
|
105
|
-
context: __SerdeContext
|
|
106
|
-
): Promise<__HttpRequest> {
|
|
107
|
-
return serializeAws_json1_1AddApplicationReferenceDataSourceCommand(input, context);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
private deserialize(
|
|
111
|
-
output: __HttpResponse,
|
|
112
|
-
context: __SerdeContext
|
|
113
|
-
): Promise<AddApplicationReferenceDataSourceCommandOutput> {
|
|
114
|
-
return deserializeAws_json1_1AddApplicationReferenceDataSourceCommand(output, context);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// Start section: command_body_extra
|
|
118
|
-
// End section: command_body_extra
|
|
119
|
-
}
|
|
@@ -1,121 +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 { CreateApplicationRequest, CreateApplicationResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1CreateApplicationCommand,
|
|
18
|
-
serializeAws_json1_1CreateApplicationCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface CreateApplicationCommandInput extends CreateApplicationRequest {}
|
|
22
|
-
export interface CreateApplicationCommandOutput extends CreateApplicationResponse, __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
|
-
*
|
|
29
|
-
* <p>
|
|
30
|
-
* Creates an Amazon Kinesis Analytics application.
|
|
31
|
-
* You can configure each application with one streaming source as input,
|
|
32
|
-
* application code to process the input, and up to
|
|
33
|
-
* three destinations where
|
|
34
|
-
* you want Amazon Kinesis Analytics to write the output data from your application.
|
|
35
|
-
* For an overview, see
|
|
36
|
-
* <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works.html">How it Works</a>.
|
|
37
|
-
* </p>
|
|
38
|
-
* <p>In the input configuration, you map the streaming source to an in-application stream, which you can think of as a constantly updating table. In the mapping, you must provide a schema for the in-application stream and map each data column in the in-application stream to a
|
|
39
|
-
* data element in the streaming source.</p>
|
|
40
|
-
*
|
|
41
|
-
* <p>Your application code is one or more SQL statements that read input data, transform it, and generate output. Your application code can create one or more SQL artifacts like SQL streams or pumps.</p>
|
|
42
|
-
* <p>In the output configuration, you can configure the application to write data from in-application streams created in your applications to up to three destinations.</p>
|
|
43
|
-
* <p>
|
|
44
|
-
* To read data from your source stream or write data to destination streams, Amazon Kinesis Analytics
|
|
45
|
-
* needs your permissions. You grant these permissions by creating IAM roles. This operation requires permissions to perform the
|
|
46
|
-
* <code>kinesisanalytics:CreateApplication</code> action.
|
|
47
|
-
* </p>
|
|
48
|
-
* <p>
|
|
49
|
-
* For introductory exercises to create an Amazon Kinesis Analytics application, see
|
|
50
|
-
* <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/getting-started.html">Getting Started</a>.
|
|
51
|
-
* </p>
|
|
52
|
-
* @example
|
|
53
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
54
|
-
* ```javascript
|
|
55
|
-
* import { KinesisAnalyticsClient, CreateApplicationCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
56
|
-
* // const { KinesisAnalyticsClient, CreateApplicationCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
57
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
58
|
-
* const command = new CreateApplicationCommand(input);
|
|
59
|
-
* const response = await client.send(command);
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* @see {@link CreateApplicationCommandInput} for command's `input` shape.
|
|
63
|
-
* @see {@link CreateApplicationCommandOutput} for command's `response` shape.
|
|
64
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
65
|
-
*
|
|
66
|
-
*/
|
|
67
|
-
export class CreateApplicationCommand extends $Command<
|
|
68
|
-
CreateApplicationCommandInput,
|
|
69
|
-
CreateApplicationCommandOutput,
|
|
70
|
-
KinesisAnalyticsClientResolvedConfig
|
|
71
|
-
> {
|
|
72
|
-
// Start section: command_properties
|
|
73
|
-
// End section: command_properties
|
|
74
|
-
|
|
75
|
-
constructor(readonly input: CreateApplicationCommandInput) {
|
|
76
|
-
// Start section: command_constructor
|
|
77
|
-
super();
|
|
78
|
-
// End section: command_constructor
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
resolveMiddleware(
|
|
85
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
86
|
-
configuration: KinesisAnalyticsClientResolvedConfig,
|
|
87
|
-
options?: __HttpHandlerOptions
|
|
88
|
-
): Handler<CreateApplicationCommandInput, CreateApplicationCommandOutput> {
|
|
89
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
90
|
-
|
|
91
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
92
|
-
|
|
93
|
-
const { logger } = configuration;
|
|
94
|
-
const clientName = "KinesisAnalyticsClient";
|
|
95
|
-
const commandName = "CreateApplicationCommand";
|
|
96
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
97
|
-
logger,
|
|
98
|
-
clientName,
|
|
99
|
-
commandName,
|
|
100
|
-
inputFilterSensitiveLog: CreateApplicationRequest.filterSensitiveLog,
|
|
101
|
-
outputFilterSensitiveLog: CreateApplicationResponse.filterSensitiveLog,
|
|
102
|
-
};
|
|
103
|
-
const { requestHandler } = configuration;
|
|
104
|
-
return stack.resolve(
|
|
105
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
106
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
107
|
-
handlerExecutionContext
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
private serialize(input: CreateApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
112
|
-
return serializeAws_json1_1CreateApplicationCommand(input, context);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateApplicationCommandOutput> {
|
|
116
|
-
return deserializeAws_json1_1CreateApplicationCommand(output, context);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
// Start section: command_body_extra
|
|
120
|
-
// End section: command_body_extra
|
|
121
|
-
}
|
|
@@ -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
|
-
DeleteApplicationCloudWatchLoggingOptionRequest,
|
|
17
|
-
DeleteApplicationCloudWatchLoggingOptionResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand,
|
|
21
|
-
serializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand,
|
|
22
|
-
} from "../protocols/Aws_json1_1";
|
|
23
|
-
|
|
24
|
-
export interface DeleteApplicationCloudWatchLoggingOptionCommandInput
|
|
25
|
-
extends DeleteApplicationCloudWatchLoggingOptionRequest {}
|
|
26
|
-
export interface DeleteApplicationCloudWatchLoggingOptionCommandOutput
|
|
27
|
-
extends DeleteApplicationCloudWatchLoggingOptionResponse,
|
|
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 a CloudWatch log stream from an application. For more information about
|
|
35
|
-
* using CloudWatch log streams with Amazon Kinesis Analytics applications, see
|
|
36
|
-
* <a href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working with Amazon CloudWatch Logs</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, DeleteApplicationCloudWatchLoggingOptionCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
41
|
-
* // const { KinesisAnalyticsClient, DeleteApplicationCloudWatchLoggingOptionCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
42
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
43
|
-
* const command = new DeleteApplicationCloudWatchLoggingOptionCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link DeleteApplicationCloudWatchLoggingOptionCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link DeleteApplicationCloudWatchLoggingOptionCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
|
-
export class DeleteApplicationCloudWatchLoggingOptionCommand extends $Command<
|
|
53
|
-
DeleteApplicationCloudWatchLoggingOptionCommandInput,
|
|
54
|
-
DeleteApplicationCloudWatchLoggingOptionCommandOutput,
|
|
55
|
-
KinesisAnalyticsClientResolvedConfig
|
|
56
|
-
> {
|
|
57
|
-
// Start section: command_properties
|
|
58
|
-
// End section: command_properties
|
|
59
|
-
|
|
60
|
-
constructor(readonly input: DeleteApplicationCloudWatchLoggingOptionCommandInput) {
|
|
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
|
-
DeleteApplicationCloudWatchLoggingOptionCommandInput,
|
|
75
|
-
DeleteApplicationCloudWatchLoggingOptionCommandOutput
|
|
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 = "DeleteApplicationCloudWatchLoggingOptionCommand";
|
|
84
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
85
|
-
logger,
|
|
86
|
-
clientName,
|
|
87
|
-
commandName,
|
|
88
|
-
inputFilterSensitiveLog: DeleteApplicationCloudWatchLoggingOptionRequest.filterSensitiveLog,
|
|
89
|
-
outputFilterSensitiveLog: DeleteApplicationCloudWatchLoggingOptionResponse.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: DeleteApplicationCloudWatchLoggingOptionCommandInput,
|
|
101
|
-
context: __SerdeContext
|
|
102
|
-
): Promise<__HttpRequest> {
|
|
103
|
-
return serializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand(input, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
private deserialize(
|
|
107
|
-
output: __HttpResponse,
|
|
108
|
-
context: __SerdeContext
|
|
109
|
-
): Promise<DeleteApplicationCloudWatchLoggingOptionCommandOutput> {
|
|
110
|
-
return deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand(output, context);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// Start section: command_body_extra
|
|
114
|
-
// End section: command_body_extra
|
|
115
|
-
}
|
|
@@ -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 { DeleteApplicationRequest, DeleteApplicationResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DeleteApplicationCommand,
|
|
18
|
-
serializeAws_json1_1DeleteApplicationCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteApplicationCommandInput extends DeleteApplicationRequest {}
|
|
22
|
-
export interface DeleteApplicationCommandOutput extends DeleteApplicationResponse, __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 the specified application. Amazon Kinesis Analytics halts application execution and deletes the application, including any application artifacts (such as in-application streams, reference table, and application code).</p>
|
|
29
|
-
*
|
|
30
|
-
* <p>This operation requires permissions to perform the <code>kinesisanalytics:DeleteApplication</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, DeleteApplicationCommand } from "@aws-sdk/client-kinesis-analytics"; // ES Modules import
|
|
35
|
-
* // const { KinesisAnalyticsClient, DeleteApplicationCommand } = require("@aws-sdk/client-kinesis-analytics"); // CommonJS import
|
|
36
|
-
* const client = new KinesisAnalyticsClient(config);
|
|
37
|
-
* const command = new DeleteApplicationCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link DeleteApplicationCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link KinesisAnalyticsClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class DeleteApplicationCommand extends $Command<
|
|
47
|
-
DeleteApplicationCommandInput,
|
|
48
|
-
DeleteApplicationCommandOutput,
|
|
49
|
-
KinesisAnalyticsClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: DeleteApplicationCommandInput) {
|
|
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<DeleteApplicationCommandInput, DeleteApplicationCommandOutput> {
|
|
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 = "DeleteApplicationCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: DeleteApplicationRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: DeleteApplicationResponse.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: DeleteApplicationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1DeleteApplicationCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteApplicationCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1DeleteApplicationCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|