@aws-sdk/client-kinesis-analytics-v2 3.43.0 → 3.47.1
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/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +4 -83
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +0 -52
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/KinesisAnalyticsV2Client.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -78
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/KinesisAnalyticsV2Client.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -52
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis-analytics-v2
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
36
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
54
|
|
|
8
55
|
**Note:** Version bump only for package @aws-sdk/client-kinesis-analytics-v2
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.S3ReferenceDataSourceDescription = exports.AddApplicationReferenceDataSourceRequest = exports.ReferenceDataSource = exports.S3ReferenceDataSource = exports.AddApplicationOutputResponse = exports.OutputDescription = exports.LambdaOutputDescription = exports.KinesisStreamsOutputDescription = exports.KinesisFirehoseOutputDescription = exports.AddApplicationOutputRequest = exports.Output = exports.LambdaOutput = exports.KinesisStreamsOutput = exports.KinesisFirehoseOutput = exports.DestinationSchema = exports.AddApplicationInputProcessingConfigurationResponse = exports.AddApplicationInputProcessingConfigurationRequest = exports.
|
|
4
|
-
exports.CatalogConfigurationDescription = exports.GlueDataCatalogConfigurationDescription = exports.SqlApplicationConfigurationDescription = exports.RunConfigurationDescription = exports.FlinkRunConfiguration = exports.ApplicationRestoreConfiguration = exports.ApplicationRestoreType = exports.FlinkApplicationConfigurationDescription = exports.ParallelismConfigurationDescription = exports.MonitoringConfigurationDescription = exports.CheckpointConfigurationDescription = exports.EnvironmentPropertyDescriptions = exports.ApplicationSnapshotConfigurationDescription = exports.ApplicationConfiguration = exports.ZeppelinApplicationConfiguration = exports.ZeppelinMonitoringConfiguration = exports.DeployAsApplicationConfiguration = exports.S3ContentBaseLocation = exports.CustomArtifactConfiguration = exports.MavenReference = exports.ArtifactType = exports.CatalogConfiguration = exports.GlueDataCatalogConfiguration = exports.SqlApplicationConfiguration = exports.FlinkApplicationConfiguration = exports.ParallelismConfiguration = exports.MonitoringConfiguration = exports.MetricsLevel = exports.LogLevel = exports.CheckpointConfiguration = exports.ConfigurationType = exports.EnvironmentProperties = exports.PropertyGroup = exports.ApplicationSnapshotConfiguration = exports.ApplicationCodeConfigurationUpdate = exports.CodeContentUpdate = exports.S3ContentLocationUpdate = exports.ApplicationCodeConfigurationDescription = exports.CodeContentDescription = exports.S3ApplicationCodeLocationDescription = exports.ApplicationCodeConfiguration = exports.CodeContentType = exports.CodeContent =
|
|
5
|
-
exports.
|
|
6
|
-
exports.TagResourceResponse = exports.TagResourceRequest = exports.StopApplicationResponse = exports.StopApplicationRequest = exports.StartApplicationResponse = exports.StartApplicationRequest = exports.RunConfiguration = exports.SqlRunConfiguration = exports.RollbackApplicationResponse = exports.RollbackApplicationRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListApplicationVersionsResponse = exports.ListApplicationVersionsRequest = exports.ListApplicationSnapshotsResponse = exports.ListApplicationSnapshotsRequest = exports.ListApplicationsResponse = exports.ListApplicationsRequest = exports.
|
|
7
|
-
exports.UpdateApplicationMaintenanceConfigurationResponse = exports.UpdateApplicationMaintenanceConfigurationRequest = exports.UpdateApplicationResponse = exports.UpdateApplicationRequest = exports.RunConfigurationUpdate = exports.UntagResourceResponse = exports.UntagResourceRequest = void 0;
|
|
3
|
+
exports.S3ContentLocation = exports.AddApplicationVpcConfigurationResponse = exports.VpcConfigurationDescription = exports.AddApplicationVpcConfigurationRequest = exports.VpcConfiguration = exports.AddApplicationReferenceDataSourceResponse = exports.ReferenceDataSourceDescription = exports.S3ReferenceDataSourceDescription = exports.AddApplicationReferenceDataSourceRequest = exports.ReferenceDataSource = exports.S3ReferenceDataSource = exports.AddApplicationOutputResponse = exports.OutputDescription = exports.LambdaOutputDescription = exports.KinesisStreamsOutputDescription = exports.KinesisFirehoseOutputDescription = exports.AddApplicationOutputRequest = exports.Output = exports.LambdaOutput = exports.KinesisStreamsOutput = exports.KinesisFirehoseOutput = exports.DestinationSchema = exports.AddApplicationInputProcessingConfigurationResponse = exports.AddApplicationInputProcessingConfigurationRequest = exports.AddApplicationInputResponse = exports.InputDescription = exports.KinesisStreamsInputDescription = exports.KinesisFirehoseInputDescription = exports.InputStartingPositionConfiguration = exports.InputStartingPosition = exports.InputProcessingConfigurationDescription = exports.InputLambdaProcessorDescription = exports.AddApplicationInputRequest = exports.Input = exports.KinesisStreamsInput = exports.KinesisFirehoseInput = exports.SourceSchema = exports.RecordFormat = exports.RecordFormatType = exports.MappingParameters = exports.JSONMappingParameters = exports.CSVMappingParameters = exports.RecordColumn = exports.InputProcessingConfiguration = exports.InputLambdaProcessor = exports.InputParallelism = exports.AddApplicationCloudWatchLoggingOptionResponse = exports.CloudWatchLoggingOptionDescription = exports.AddApplicationCloudWatchLoggingOptionRequest = exports.CloudWatchLoggingOption = void 0;
|
|
4
|
+
exports.ApplicationSnapshotConfigurationUpdate = exports.ApplicationConfigurationDescription = exports.ZeppelinApplicationConfigurationDescription = exports.ZeppelinMonitoringConfigurationDescription = exports.DeployAsApplicationConfigurationDescription = exports.S3ContentBaseLocationDescription = exports.CustomArtifactConfigurationDescription = exports.CatalogConfigurationDescription = exports.GlueDataCatalogConfigurationDescription = exports.SqlApplicationConfigurationDescription = exports.RunConfigurationDescription = exports.FlinkRunConfiguration = exports.ApplicationRestoreConfiguration = exports.ApplicationRestoreType = exports.FlinkApplicationConfigurationDescription = exports.ParallelismConfigurationDescription = exports.MonitoringConfigurationDescription = exports.CheckpointConfigurationDescription = exports.EnvironmentPropertyDescriptions = exports.ApplicationSnapshotConfigurationDescription = exports.ApplicationConfiguration = exports.ZeppelinApplicationConfiguration = exports.ZeppelinMonitoringConfiguration = exports.DeployAsApplicationConfiguration = exports.S3ContentBaseLocation = exports.CustomArtifactConfiguration = exports.MavenReference = exports.ArtifactType = exports.CatalogConfiguration = exports.GlueDataCatalogConfiguration = exports.SqlApplicationConfiguration = exports.FlinkApplicationConfiguration = exports.ParallelismConfiguration = exports.MonitoringConfiguration = exports.MetricsLevel = exports.LogLevel = exports.CheckpointConfiguration = exports.ConfigurationType = exports.EnvironmentProperties = exports.PropertyGroup = exports.ApplicationSnapshotConfiguration = exports.ApplicationCodeConfigurationUpdate = exports.CodeContentUpdate = exports.S3ContentLocationUpdate = exports.ApplicationCodeConfigurationDescription = exports.CodeContentDescription = exports.S3ApplicationCodeLocationDescription = exports.ApplicationCodeConfiguration = exports.CodeContentType = exports.CodeContent = void 0;
|
|
5
|
+
exports.DeleteApplicationInputProcessingConfigurationResponse = exports.DeleteApplicationInputProcessingConfigurationRequest = exports.DeleteApplicationCloudWatchLoggingOptionResponse = exports.DeleteApplicationCloudWatchLoggingOptionRequest = exports.DeleteApplicationResponse = exports.DeleteApplicationRequest = exports.CreateApplicationSnapshotResponse = exports.CreateApplicationSnapshotRequest = exports.CreateApplicationPresignedUrlResponse = exports.CreateApplicationPresignedUrlRequest = exports.UrlType = exports.CreateApplicationResponse = exports.CreateApplicationRequest = exports.Tag = exports.CloudWatchLoggingOptionUpdate = exports.ApplicationVersionSummary = exports.ApplicationSummary = exports.ApplicationMaintenanceConfigurationUpdate = exports.ApplicationDetail = exports.RuntimeEnvironment = exports.ApplicationStatus = exports.ApplicationMode = exports.ApplicationMaintenanceConfigurationDescription = exports.ApplicationConfigurationUpdate = exports.ZeppelinApplicationConfigurationUpdate = exports.ZeppelinMonitoringConfigurationUpdate = exports.DeployAsApplicationConfigurationUpdate = exports.S3ContentBaseLocationUpdate = exports.CatalogConfigurationUpdate = exports.GlueDataCatalogConfigurationUpdate = exports.VpcConfigurationUpdate = exports.SqlApplicationConfigurationUpdate = exports.ReferenceDataSourceUpdate = exports.S3ReferenceDataSourceUpdate = exports.OutputUpdate = exports.LambdaOutputUpdate = exports.KinesisStreamsOutputUpdate = exports.KinesisFirehoseOutputUpdate = exports.InputUpdate = exports.KinesisStreamsInputUpdate = exports.KinesisFirehoseInputUpdate = exports.InputSchemaUpdate = exports.InputProcessingConfigurationUpdate = exports.InputLambdaProcessorUpdate = exports.InputParallelismUpdate = exports.FlinkApplicationConfigurationUpdate = exports.ParallelismConfigurationUpdate = exports.MonitoringConfigurationUpdate = exports.CheckpointConfigurationUpdate = exports.EnvironmentPropertyUpdates = void 0;
|
|
6
|
+
exports.UpdateApplicationMaintenanceConfigurationResponse = exports.UpdateApplicationMaintenanceConfigurationRequest = exports.UpdateApplicationResponse = exports.UpdateApplicationRequest = exports.RunConfigurationUpdate = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopApplicationResponse = exports.StopApplicationRequest = exports.StartApplicationResponse = exports.StartApplicationRequest = exports.RunConfiguration = exports.SqlRunConfiguration = exports.RollbackApplicationResponse = exports.RollbackApplicationRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListApplicationVersionsResponse = exports.ListApplicationVersionsRequest = exports.ListApplicationSnapshotsResponse = exports.ListApplicationSnapshotsRequest = exports.ListApplicationsResponse = exports.ListApplicationsRequest = exports.DiscoverInputSchemaResponse = exports.DiscoverInputSchemaRequest = exports.S3Configuration = exports.DescribeApplicationVersionResponse = exports.DescribeApplicationVersionRequest = exports.DescribeApplicationSnapshotResponse = exports.SnapshotDetails = exports.SnapshotStatus = exports.DescribeApplicationSnapshotRequest = exports.DescribeApplicationResponse = exports.DescribeApplicationRequest = exports.DeleteApplicationVpcConfigurationResponse = exports.DeleteApplicationVpcConfigurationRequest = exports.DeleteApplicationSnapshotResponse = exports.DeleteApplicationSnapshotRequest = exports.DeleteApplicationReferenceDataSourceResponse = exports.DeleteApplicationReferenceDataSourceRequest = exports.DeleteApplicationOutputResponse = exports.DeleteApplicationOutputRequest = void 0;
|
|
8
7
|
var CloudWatchLoggingOption;
|
|
9
8
|
(function (CloudWatchLoggingOption) {
|
|
10
9
|
CloudWatchLoggingOption.filterSensitiveLog = (obj) => ({
|
|
@@ -29,42 +28,6 @@ var AddApplicationCloudWatchLoggingOptionResponse;
|
|
|
29
28
|
...obj,
|
|
30
29
|
});
|
|
31
30
|
})(AddApplicationCloudWatchLoggingOptionResponse = exports.AddApplicationCloudWatchLoggingOptionResponse || (exports.AddApplicationCloudWatchLoggingOptionResponse = {}));
|
|
32
|
-
var ConcurrentModificationException;
|
|
33
|
-
(function (ConcurrentModificationException) {
|
|
34
|
-
ConcurrentModificationException.filterSensitiveLog = (obj) => ({
|
|
35
|
-
...obj,
|
|
36
|
-
});
|
|
37
|
-
})(ConcurrentModificationException = exports.ConcurrentModificationException || (exports.ConcurrentModificationException = {}));
|
|
38
|
-
var InvalidApplicationConfigurationException;
|
|
39
|
-
(function (InvalidApplicationConfigurationException) {
|
|
40
|
-
InvalidApplicationConfigurationException.filterSensitiveLog = (obj) => ({
|
|
41
|
-
...obj,
|
|
42
|
-
});
|
|
43
|
-
})(InvalidApplicationConfigurationException = exports.InvalidApplicationConfigurationException || (exports.InvalidApplicationConfigurationException = {}));
|
|
44
|
-
var InvalidArgumentException;
|
|
45
|
-
(function (InvalidArgumentException) {
|
|
46
|
-
InvalidArgumentException.filterSensitiveLog = (obj) => ({
|
|
47
|
-
...obj,
|
|
48
|
-
});
|
|
49
|
-
})(InvalidArgumentException = exports.InvalidArgumentException || (exports.InvalidArgumentException = {}));
|
|
50
|
-
var InvalidRequestException;
|
|
51
|
-
(function (InvalidRequestException) {
|
|
52
|
-
InvalidRequestException.filterSensitiveLog = (obj) => ({
|
|
53
|
-
...obj,
|
|
54
|
-
});
|
|
55
|
-
})(InvalidRequestException = exports.InvalidRequestException || (exports.InvalidRequestException = {}));
|
|
56
|
-
var ResourceInUseException;
|
|
57
|
-
(function (ResourceInUseException) {
|
|
58
|
-
ResourceInUseException.filterSensitiveLog = (obj) => ({
|
|
59
|
-
...obj,
|
|
60
|
-
});
|
|
61
|
-
})(ResourceInUseException = exports.ResourceInUseException || (exports.ResourceInUseException = {}));
|
|
62
|
-
var ResourceNotFoundException;
|
|
63
|
-
(function (ResourceNotFoundException) {
|
|
64
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
65
|
-
...obj,
|
|
66
|
-
});
|
|
67
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
68
31
|
var InputParallelism;
|
|
69
32
|
(function (InputParallelism) {
|
|
70
33
|
InputParallelism.filterSensitiveLog = (obj) => ({
|
|
@@ -196,12 +159,6 @@ var AddApplicationInputResponse;
|
|
|
196
159
|
...obj,
|
|
197
160
|
});
|
|
198
161
|
})(AddApplicationInputResponse = exports.AddApplicationInputResponse || (exports.AddApplicationInputResponse = {}));
|
|
199
|
-
var CodeValidationException;
|
|
200
|
-
(function (CodeValidationException) {
|
|
201
|
-
CodeValidationException.filterSensitiveLog = (obj) => ({
|
|
202
|
-
...obj,
|
|
203
|
-
});
|
|
204
|
-
})(CodeValidationException = exports.CodeValidationException || (exports.CodeValidationException = {}));
|
|
205
162
|
var AddApplicationInputProcessingConfigurationRequest;
|
|
206
163
|
(function (AddApplicationInputProcessingConfigurationRequest) {
|
|
207
164
|
AddApplicationInputProcessingConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -890,24 +847,6 @@ var CreateApplicationResponse;
|
|
|
890
847
|
...obj,
|
|
891
848
|
});
|
|
892
849
|
})(CreateApplicationResponse = exports.CreateApplicationResponse || (exports.CreateApplicationResponse = {}));
|
|
893
|
-
var LimitExceededException;
|
|
894
|
-
(function (LimitExceededException) {
|
|
895
|
-
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
896
|
-
...obj,
|
|
897
|
-
});
|
|
898
|
-
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
899
|
-
var TooManyTagsException;
|
|
900
|
-
(function (TooManyTagsException) {
|
|
901
|
-
TooManyTagsException.filterSensitiveLog = (obj) => ({
|
|
902
|
-
...obj,
|
|
903
|
-
});
|
|
904
|
-
})(TooManyTagsException = exports.TooManyTagsException || (exports.TooManyTagsException = {}));
|
|
905
|
-
var UnsupportedOperationException;
|
|
906
|
-
(function (UnsupportedOperationException) {
|
|
907
|
-
UnsupportedOperationException.filterSensitiveLog = (obj) => ({
|
|
908
|
-
...obj,
|
|
909
|
-
});
|
|
910
|
-
})(UnsupportedOperationException = exports.UnsupportedOperationException || (exports.UnsupportedOperationException = {}));
|
|
911
850
|
var UrlType;
|
|
912
851
|
(function (UrlType) {
|
|
913
852
|
UrlType["FLINK_DASHBOARD_URL"] = "FLINK_DASHBOARD_URL";
|
|
@@ -1088,24 +1027,6 @@ var DiscoverInputSchemaResponse;
|
|
|
1088
1027
|
...obj,
|
|
1089
1028
|
});
|
|
1090
1029
|
})(DiscoverInputSchemaResponse = exports.DiscoverInputSchemaResponse || (exports.DiscoverInputSchemaResponse = {}));
|
|
1091
|
-
var ResourceProvisionedThroughputExceededException;
|
|
1092
|
-
(function (ResourceProvisionedThroughputExceededException) {
|
|
1093
|
-
ResourceProvisionedThroughputExceededException.filterSensitiveLog = (obj) => ({
|
|
1094
|
-
...obj,
|
|
1095
|
-
});
|
|
1096
|
-
})(ResourceProvisionedThroughputExceededException = exports.ResourceProvisionedThroughputExceededException || (exports.ResourceProvisionedThroughputExceededException = {}));
|
|
1097
|
-
var ServiceUnavailableException;
|
|
1098
|
-
(function (ServiceUnavailableException) {
|
|
1099
|
-
ServiceUnavailableException.filterSensitiveLog = (obj) => ({
|
|
1100
|
-
...obj,
|
|
1101
|
-
});
|
|
1102
|
-
})(ServiceUnavailableException = exports.ServiceUnavailableException || (exports.ServiceUnavailableException = {}));
|
|
1103
|
-
var UnableToDetectSchemaException;
|
|
1104
|
-
(function (UnableToDetectSchemaException) {
|
|
1105
|
-
UnableToDetectSchemaException.filterSensitiveLog = (obj) => ({
|
|
1106
|
-
...obj,
|
|
1107
|
-
});
|
|
1108
|
-
})(UnableToDetectSchemaException = exports.UnableToDetectSchemaException || (exports.UnableToDetectSchemaException = {}));
|
|
1109
1030
|
var ListApplicationsRequest;
|
|
1110
1031
|
(function (ListApplicationsRequest) {
|
|
1111
1032
|
ListApplicationsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -15,30 +15,6 @@ export var AddApplicationCloudWatchLoggingOptionResponse;
|
|
|
15
15
|
(function (AddApplicationCloudWatchLoggingOptionResponse) {
|
|
16
16
|
AddApplicationCloudWatchLoggingOptionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
17
|
})(AddApplicationCloudWatchLoggingOptionResponse || (AddApplicationCloudWatchLoggingOptionResponse = {}));
|
|
18
|
-
export var ConcurrentModificationException;
|
|
19
|
-
(function (ConcurrentModificationException) {
|
|
20
|
-
ConcurrentModificationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
-
})(ConcurrentModificationException || (ConcurrentModificationException = {}));
|
|
22
|
-
export var InvalidApplicationConfigurationException;
|
|
23
|
-
(function (InvalidApplicationConfigurationException) {
|
|
24
|
-
InvalidApplicationConfigurationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
25
|
-
})(InvalidApplicationConfigurationException || (InvalidApplicationConfigurationException = {}));
|
|
26
|
-
export var InvalidArgumentException;
|
|
27
|
-
(function (InvalidArgumentException) {
|
|
28
|
-
InvalidArgumentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
|
-
})(InvalidArgumentException || (InvalidArgumentException = {}));
|
|
30
|
-
export var InvalidRequestException;
|
|
31
|
-
(function (InvalidRequestException) {
|
|
32
|
-
InvalidRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
|
-
})(InvalidRequestException || (InvalidRequestException = {}));
|
|
34
|
-
export var ResourceInUseException;
|
|
35
|
-
(function (ResourceInUseException) {
|
|
36
|
-
ResourceInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
-
})(ResourceInUseException || (ResourceInUseException = {}));
|
|
38
|
-
export var ResourceNotFoundException;
|
|
39
|
-
(function (ResourceNotFoundException) {
|
|
40
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
42
18
|
export var InputParallelism;
|
|
43
19
|
(function (InputParallelism) {
|
|
44
20
|
InputParallelism.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -130,10 +106,6 @@ export var AddApplicationInputResponse;
|
|
|
130
106
|
(function (AddApplicationInputResponse) {
|
|
131
107
|
AddApplicationInputResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
132
108
|
})(AddApplicationInputResponse || (AddApplicationInputResponse = {}));
|
|
133
|
-
export var CodeValidationException;
|
|
134
|
-
(function (CodeValidationException) {
|
|
135
|
-
CodeValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
136
|
-
})(CodeValidationException || (CodeValidationException = {}));
|
|
137
109
|
export var AddApplicationInputProcessingConfigurationRequest;
|
|
138
110
|
(function (AddApplicationInputProcessingConfigurationRequest) {
|
|
139
111
|
AddApplicationInputProcessingConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -614,18 +586,6 @@ export var CreateApplicationResponse;
|
|
|
614
586
|
(function (CreateApplicationResponse) {
|
|
615
587
|
CreateApplicationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
616
588
|
})(CreateApplicationResponse || (CreateApplicationResponse = {}));
|
|
617
|
-
export var LimitExceededException;
|
|
618
|
-
(function (LimitExceededException) {
|
|
619
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
620
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
621
|
-
export var TooManyTagsException;
|
|
622
|
-
(function (TooManyTagsException) {
|
|
623
|
-
TooManyTagsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
624
|
-
})(TooManyTagsException || (TooManyTagsException = {}));
|
|
625
|
-
export var UnsupportedOperationException;
|
|
626
|
-
(function (UnsupportedOperationException) {
|
|
627
|
-
UnsupportedOperationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
628
|
-
})(UnsupportedOperationException || (UnsupportedOperationException = {}));
|
|
629
589
|
export var UrlType;
|
|
630
590
|
(function (UrlType) {
|
|
631
591
|
UrlType["FLINK_DASHBOARD_URL"] = "FLINK_DASHBOARD_URL";
|
|
@@ -750,18 +710,6 @@ export var DiscoverInputSchemaResponse;
|
|
|
750
710
|
(function (DiscoverInputSchemaResponse) {
|
|
751
711
|
DiscoverInputSchemaResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
752
712
|
})(DiscoverInputSchemaResponse || (DiscoverInputSchemaResponse = {}));
|
|
753
|
-
export var ResourceProvisionedThroughputExceededException;
|
|
754
|
-
(function (ResourceProvisionedThroughputExceededException) {
|
|
755
|
-
ResourceProvisionedThroughputExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
756
|
-
})(ResourceProvisionedThroughputExceededException || (ResourceProvisionedThroughputExceededException = {}));
|
|
757
|
-
export var ServiceUnavailableException;
|
|
758
|
-
(function (ServiceUnavailableException) {
|
|
759
|
-
ServiceUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
760
|
-
})(ServiceUnavailableException || (ServiceUnavailableException = {}));
|
|
761
|
-
export var UnableToDetectSchemaException;
|
|
762
|
-
(function (UnableToDetectSchemaException) {
|
|
763
|
-
UnableToDetectSchemaException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
764
|
-
})(UnableToDetectSchemaException || (UnableToDetectSchemaException = {}));
|
|
765
713
|
export var ListApplicationsRequest;
|
|
766
714
|
(function (ListApplicationsRequest) {
|
|
767
715
|
ListApplicationsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AddApplicationCloudWatchLoggingOptionCommandInput, AddApplicationCloudWatchLoggingOptionCommandOutput } from "./commands/AddApplicationCloudWatchLoggingOptionCommand";
|
|
10
10
|
import { AddApplicationInputCommandInput, AddApplicationInputCommandOutput } from "./commands/AddApplicationInputCommand";
|
|
@@ -139,6 +139,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
139
139
|
* @internal
|
|
140
140
|
*/
|
|
141
141
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
142
|
+
/**
|
|
143
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
144
|
+
*/
|
|
145
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
142
146
|
}
|
|
143
147
|
declare type KinesisAnalyticsV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
144
148
|
/**
|
|
@@ -107,12 +107,6 @@ export interface ConcurrentModificationException extends __SmithyException, $Met
|
|
|
107
107
|
$fault: "client";
|
|
108
108
|
Message?: string;
|
|
109
109
|
}
|
|
110
|
-
export declare namespace ConcurrentModificationException {
|
|
111
|
-
/**
|
|
112
|
-
* @internal
|
|
113
|
-
*/
|
|
114
|
-
const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
|
|
115
|
-
}
|
|
116
110
|
/**
|
|
117
111
|
* <p>The user-provided application configuration is not valid.</p>
|
|
118
112
|
*/
|
|
@@ -121,12 +115,6 @@ export interface InvalidApplicationConfigurationException extends __SmithyExcept
|
|
|
121
115
|
$fault: "client";
|
|
122
116
|
Message?: string;
|
|
123
117
|
}
|
|
124
|
-
export declare namespace InvalidApplicationConfigurationException {
|
|
125
|
-
/**
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
128
|
-
const filterSensitiveLog: (obj: InvalidApplicationConfigurationException) => any;
|
|
129
|
-
}
|
|
130
118
|
/**
|
|
131
119
|
* <p>The specified input parameter value is not valid.</p>
|
|
132
120
|
*/
|
|
@@ -135,12 +123,6 @@ export interface InvalidArgumentException extends __SmithyException, $MetadataBe
|
|
|
135
123
|
$fault: "client";
|
|
136
124
|
Message?: string;
|
|
137
125
|
}
|
|
138
|
-
export declare namespace InvalidArgumentException {
|
|
139
|
-
/**
|
|
140
|
-
* @internal
|
|
141
|
-
*/
|
|
142
|
-
const filterSensitiveLog: (obj: InvalidArgumentException) => any;
|
|
143
|
-
}
|
|
144
126
|
/**
|
|
145
127
|
* <p>The request JSON is not valid for the operation.</p>
|
|
146
128
|
*/
|
|
@@ -149,12 +131,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
|
|
|
149
131
|
$fault: "client";
|
|
150
132
|
Message?: string;
|
|
151
133
|
}
|
|
152
|
-
export declare namespace InvalidRequestException {
|
|
153
|
-
/**
|
|
154
|
-
* @internal
|
|
155
|
-
*/
|
|
156
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
157
|
-
}
|
|
158
134
|
/**
|
|
159
135
|
* <p>The application is not available for this operation.</p>
|
|
160
136
|
*/
|
|
@@ -163,12 +139,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
163
139
|
$fault: "client";
|
|
164
140
|
Message?: string;
|
|
165
141
|
}
|
|
166
|
-
export declare namespace ResourceInUseException {
|
|
167
|
-
/**
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
170
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
171
|
-
}
|
|
172
142
|
/**
|
|
173
143
|
* <p>Specified application can't be found.</p>
|
|
174
144
|
*/
|
|
@@ -177,12 +147,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
177
147
|
$fault: "client";
|
|
178
148
|
Message?: string;
|
|
179
149
|
}
|
|
180
|
-
export declare namespace ResourceNotFoundException {
|
|
181
|
-
/**
|
|
182
|
-
* @internal
|
|
183
|
-
*/
|
|
184
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
185
|
-
}
|
|
186
150
|
/**
|
|
187
151
|
* <p>For a SQL-based Kinesis Data Analytics application, describes the number of
|
|
188
152
|
* in-application streams to create for a given streaming source. </p>
|
|
@@ -708,12 +672,6 @@ export interface CodeValidationException extends __SmithyException, $MetadataBea
|
|
|
708
672
|
$fault: "client";
|
|
709
673
|
Message?: string;
|
|
710
674
|
}
|
|
711
|
-
export declare namespace CodeValidationException {
|
|
712
|
-
/**
|
|
713
|
-
* @internal
|
|
714
|
-
*/
|
|
715
|
-
const filterSensitiveLog: (obj: CodeValidationException) => any;
|
|
716
|
-
}
|
|
717
675
|
export interface AddApplicationInputProcessingConfigurationRequest {
|
|
718
676
|
/**
|
|
719
677
|
* <p>The name of the application to which you want to add the input processing
|
|
@@ -3435,12 +3393,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
3435
3393
|
$fault: "client";
|
|
3436
3394
|
Message?: string;
|
|
3437
3395
|
}
|
|
3438
|
-
export declare namespace LimitExceededException {
|
|
3439
|
-
/**
|
|
3440
|
-
* @internal
|
|
3441
|
-
*/
|
|
3442
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
3443
|
-
}
|
|
3444
3396
|
/**
|
|
3445
3397
|
* <p>Application created with too many tags, or too many tags added to an application. Note that the maximum
|
|
3446
3398
|
* number of application tags includes system tags. The maximum number of user-defined application tags is 50.</p>
|
|
@@ -3450,12 +3402,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
|
|
|
3450
3402
|
$fault: "client";
|
|
3451
3403
|
message?: string;
|
|
3452
3404
|
}
|
|
3453
|
-
export declare namespace TooManyTagsException {
|
|
3454
|
-
/**
|
|
3455
|
-
* @internal
|
|
3456
|
-
*/
|
|
3457
|
-
const filterSensitiveLog: (obj: TooManyTagsException) => any;
|
|
3458
|
-
}
|
|
3459
3405
|
/**
|
|
3460
3406
|
* <p>The request was rejected because a specified parameter is not supported or a specified resource is not valid for this
|
|
3461
3407
|
* operation. </p>
|
|
@@ -3465,12 +3411,6 @@ export interface UnsupportedOperationException extends __SmithyException, $Metad
|
|
|
3465
3411
|
$fault: "client";
|
|
3466
3412
|
Message?: string;
|
|
3467
3413
|
}
|
|
3468
|
-
export declare namespace UnsupportedOperationException {
|
|
3469
|
-
/**
|
|
3470
|
-
* @internal
|
|
3471
|
-
*/
|
|
3472
|
-
const filterSensitiveLog: (obj: UnsupportedOperationException) => any;
|
|
3473
|
-
}
|
|
3474
3414
|
export declare enum UrlType {
|
|
3475
3415
|
FLINK_DASHBOARD_URL = "FLINK_DASHBOARD_URL",
|
|
3476
3416
|
ZEPPELIN_UI_URL = "ZEPPELIN_UI_URL"
|
|
@@ -4023,12 +3963,6 @@ export interface ResourceProvisionedThroughputExceededException extends __Smithy
|
|
|
4023
3963
|
$fault: "client";
|
|
4024
3964
|
Message?: string;
|
|
4025
3965
|
}
|
|
4026
|
-
export declare namespace ResourceProvisionedThroughputExceededException {
|
|
4027
|
-
/**
|
|
4028
|
-
* @internal
|
|
4029
|
-
*/
|
|
4030
|
-
const filterSensitiveLog: (obj: ResourceProvisionedThroughputExceededException) => any;
|
|
4031
|
-
}
|
|
4032
3966
|
/**
|
|
4033
3967
|
* <p>The service cannot complete the request.</p>
|
|
4034
3968
|
*/
|
|
@@ -4037,12 +3971,6 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
|
|
|
4037
3971
|
$fault: "server";
|
|
4038
3972
|
Message?: string;
|
|
4039
3973
|
}
|
|
4040
|
-
export declare namespace ServiceUnavailableException {
|
|
4041
|
-
/**
|
|
4042
|
-
* @internal
|
|
4043
|
-
*/
|
|
4044
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
4045
|
-
}
|
|
4046
3974
|
/**
|
|
4047
3975
|
* <p>The data format is not valid. Kinesis Data Analytics cannot detect the schema for
|
|
4048
3976
|
* the given streaming source.</p>
|
|
@@ -4060,12 +3988,6 @@ export interface UnableToDetectSchemaException extends __SmithyException, $Metad
|
|
|
4060
3988
|
*/
|
|
4061
3989
|
ProcessedInputRecords?: string[];
|
|
4062
3990
|
}
|
|
4063
|
-
export declare namespace UnableToDetectSchemaException {
|
|
4064
|
-
/**
|
|
4065
|
-
* @internal
|
|
4066
|
-
*/
|
|
4067
|
-
const filterSensitiveLog: (obj: UnableToDetectSchemaException) => any;
|
|
4068
|
-
}
|
|
4069
3991
|
export interface ListApplicationsRequest {
|
|
4070
3992
|
/**
|
|
4071
3993
|
* <p>The maximum number of applications to list.</p>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { KinesisAnalyticsV2ClientConfig } from "./KinesisAnalyticsV2Client";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig)
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { KinesisAnalyticsV2ClientConfig } from "./KinesisAnalyticsV2Client";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig)
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AddApplicationCloudWatchLoggingOptionCommandInput, AddApplicationCloudWatchLoggingOptionCommandOutput } from "./commands/AddApplicationCloudWatchLoggingOptionCommand";
|
|
10
10
|
import { AddApplicationInputCommandInput, AddApplicationInputCommandOutput } from "./commands/AddApplicationInputCommand";
|
|
@@ -82,6 +82,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
82
82
|
regionInfoProvider?: RegionInfoProvider;
|
|
83
83
|
|
|
84
84
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
85
|
+
|
|
86
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
85
87
|
}
|
|
86
88
|
declare type KinesisAnalyticsV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
87
89
|
|
|
@@ -53,60 +53,36 @@ export interface ConcurrentModificationException extends __SmithyException, $Met
|
|
|
53
53
|
$fault: "client";
|
|
54
54
|
Message?: string;
|
|
55
55
|
}
|
|
56
|
-
export declare namespace ConcurrentModificationException {
|
|
57
|
-
|
|
58
|
-
const filterSensitiveLog: (obj: ConcurrentModificationException) => any;
|
|
59
|
-
}
|
|
60
56
|
|
|
61
57
|
export interface InvalidApplicationConfigurationException extends __SmithyException, $MetadataBearer {
|
|
62
58
|
name: "InvalidApplicationConfigurationException";
|
|
63
59
|
$fault: "client";
|
|
64
60
|
Message?: string;
|
|
65
61
|
}
|
|
66
|
-
export declare namespace InvalidApplicationConfigurationException {
|
|
67
|
-
|
|
68
|
-
const filterSensitiveLog: (obj: InvalidApplicationConfigurationException) => any;
|
|
69
|
-
}
|
|
70
62
|
|
|
71
63
|
export interface InvalidArgumentException extends __SmithyException, $MetadataBearer {
|
|
72
64
|
name: "InvalidArgumentException";
|
|
73
65
|
$fault: "client";
|
|
74
66
|
Message?: string;
|
|
75
67
|
}
|
|
76
|
-
export declare namespace InvalidArgumentException {
|
|
77
|
-
|
|
78
|
-
const filterSensitiveLog: (obj: InvalidArgumentException) => any;
|
|
79
|
-
}
|
|
80
68
|
|
|
81
69
|
export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
|
|
82
70
|
name: "InvalidRequestException";
|
|
83
71
|
$fault: "client";
|
|
84
72
|
Message?: string;
|
|
85
73
|
}
|
|
86
|
-
export declare namespace InvalidRequestException {
|
|
87
|
-
|
|
88
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
89
|
-
}
|
|
90
74
|
|
|
91
75
|
export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
|
|
92
76
|
name: "ResourceInUseException";
|
|
93
77
|
$fault: "client";
|
|
94
78
|
Message?: string;
|
|
95
79
|
}
|
|
96
|
-
export declare namespace ResourceInUseException {
|
|
97
|
-
|
|
98
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
99
|
-
}
|
|
100
80
|
|
|
101
81
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
102
82
|
name: "ResourceNotFoundException";
|
|
103
83
|
$fault: "client";
|
|
104
84
|
Message?: string;
|
|
105
85
|
}
|
|
106
|
-
export declare namespace ResourceNotFoundException {
|
|
107
|
-
|
|
108
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
109
|
-
}
|
|
110
86
|
|
|
111
87
|
export interface InputParallelism {
|
|
112
88
|
|
|
@@ -354,10 +330,6 @@ export interface CodeValidationException extends __SmithyException, $MetadataBea
|
|
|
354
330
|
$fault: "client";
|
|
355
331
|
Message?: string;
|
|
356
332
|
}
|
|
357
|
-
export declare namespace CodeValidationException {
|
|
358
|
-
|
|
359
|
-
const filterSensitiveLog: (obj: CodeValidationException) => any;
|
|
360
|
-
}
|
|
361
333
|
export interface AddApplicationInputProcessingConfigurationRequest {
|
|
362
334
|
|
|
363
335
|
ApplicationName: string | undefined;
|
|
@@ -1723,30 +1695,18 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
1723
1695
|
$fault: "client";
|
|
1724
1696
|
Message?: string;
|
|
1725
1697
|
}
|
|
1726
|
-
export declare namespace LimitExceededException {
|
|
1727
|
-
|
|
1728
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
1729
|
-
}
|
|
1730
1698
|
|
|
1731
1699
|
export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
|
|
1732
1700
|
name: "TooManyTagsException";
|
|
1733
1701
|
$fault: "client";
|
|
1734
1702
|
message?: string;
|
|
1735
1703
|
}
|
|
1736
|
-
export declare namespace TooManyTagsException {
|
|
1737
|
-
|
|
1738
|
-
const filterSensitiveLog: (obj: TooManyTagsException) => any;
|
|
1739
|
-
}
|
|
1740
1704
|
|
|
1741
1705
|
export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer {
|
|
1742
1706
|
name: "UnsupportedOperationException";
|
|
1743
1707
|
$fault: "client";
|
|
1744
1708
|
Message?: string;
|
|
1745
1709
|
}
|
|
1746
|
-
export declare namespace UnsupportedOperationException {
|
|
1747
|
-
|
|
1748
|
-
const filterSensitiveLog: (obj: UnsupportedOperationException) => any;
|
|
1749
|
-
}
|
|
1750
1710
|
export declare enum UrlType {
|
|
1751
1711
|
FLINK_DASHBOARD_URL = "FLINK_DASHBOARD_URL",
|
|
1752
1712
|
ZEPPELIN_UI_URL = "ZEPPELIN_UI_URL"
|
|
@@ -2059,20 +2019,12 @@ export interface ResourceProvisionedThroughputExceededException extends __Smithy
|
|
|
2059
2019
|
$fault: "client";
|
|
2060
2020
|
Message?: string;
|
|
2061
2021
|
}
|
|
2062
|
-
export declare namespace ResourceProvisionedThroughputExceededException {
|
|
2063
|
-
|
|
2064
|
-
const filterSensitiveLog: (obj: ResourceProvisionedThroughputExceededException) => any;
|
|
2065
|
-
}
|
|
2066
2022
|
|
|
2067
2023
|
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
2068
2024
|
name: "ServiceUnavailableException";
|
|
2069
2025
|
$fault: "server";
|
|
2070
2026
|
Message?: string;
|
|
2071
2027
|
}
|
|
2072
|
-
export declare namespace ServiceUnavailableException {
|
|
2073
|
-
|
|
2074
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
2075
|
-
}
|
|
2076
2028
|
|
|
2077
2029
|
export interface UnableToDetectSchemaException extends __SmithyException, $MetadataBearer {
|
|
2078
2030
|
name: "UnableToDetectSchemaException";
|
|
@@ -2083,10 +2035,6 @@ export interface UnableToDetectSchemaException extends __SmithyException, $Metad
|
|
|
2083
2035
|
|
|
2084
2036
|
ProcessedInputRecords?: string[];
|
|
2085
2037
|
}
|
|
2086
|
-
export declare namespace UnableToDetectSchemaException {
|
|
2087
|
-
|
|
2088
|
-
const filterSensitiveLog: (obj: UnableToDetectSchemaException) => any;
|
|
2089
|
-
}
|
|
2090
2038
|
export interface ListApplicationsRequest {
|
|
2091
2039
|
|
|
2092
2040
|
Limit?: number;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { KinesisAnalyticsV2ClientConfig } from "./KinesisAnalyticsV2Client";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig)
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { KinesisAnalyticsV2ClientConfig } from "./KinesisAnalyticsV2Client";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: KinesisAnalyticsV2ClientConfig)
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis-analytics-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Analytics V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.47.1",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
16
13
|
},
|
|
17
14
|
"main": "./dist-cjs/index.js",
|
|
18
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,48 +18,44 @@
|
|
|
21
18
|
"dependencies": {
|
|
22
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.1",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.1",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.1",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.1",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.1",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.1",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.1",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.1",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.1",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.1",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.1",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.1",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.1",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.1",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.1",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.1",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.1",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.1",
|
|
39
|
+
"@aws-sdk/types": "3.47.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.1",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.1",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.1",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.1",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.1",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.1",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.1",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.1",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.1",
|
|
52
51
|
"tslib": "^2.3.0"
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
-
"@types/node": "^12.7.5"
|
|
57
|
-
"downlevel-dts": "0.7.0",
|
|
58
|
-
"jest": "^26.1.0",
|
|
59
|
-
"rimraf": "^3.0.0",
|
|
60
|
-
"ts-jest": "^26.4.1",
|
|
61
|
-
"typedoc": "^0.19.2",
|
|
62
|
-
"typescript": "~4.3.5"
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
55
|
+
"@types/node": "^12.7.5"
|
|
63
56
|
},
|
|
64
57
|
"engines": {
|
|
65
|
-
"node": ">=
|
|
58
|
+
"node": ">=12.0.0"
|
|
66
59
|
},
|
|
67
60
|
"typesVersions": {
|
|
68
61
|
"<4.0": {
|