@aws-sdk/client-kinesis 3.43.0 → 3.47.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 +50 -0
- package/README.md +2 -2
- package/dist-cjs/Kinesis.js +15 -0
- package/dist-cjs/commands/UpdateStreamModeCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoints.js +1 -16
- package/dist-cjs/models/models_0.js +28 -95
- package/dist-cjs/protocols/Aws_json1_1.js +151 -2
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/Kinesis.js +15 -0
- package/dist-es/commands/UpdateStreamModeCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoints.js +1 -16
- package/dist-es/models/models_0.js +22 -65
- package/dist-es/protocols/Aws_json1_1.js +189 -35
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Kinesis.d.ts +165 -143
- package/dist-types/KinesisClient.d.ts +10 -5
- package/dist-types/commands/AddTagsToStreamCommand.d.ts +2 -4
- package/dist-types/commands/CreateStreamCommand.d.ts +19 -19
- package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +5 -5
- package/dist-types/commands/DeleteStreamCommand.d.ts +5 -4
- package/dist-types/commands/DescribeStreamCommand.d.ts +5 -1
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +5 -5
- package/dist-types/commands/GetRecordsCommand.d.ts +29 -19
- package/dist-types/commands/GetShardIteratorCommand.d.ts +7 -7
- package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +3 -3
- package/dist-types/commands/ListShardsCommand.d.ts +4 -2
- package/dist-types/commands/ListStreamsCommand.d.ts +1 -1
- package/dist-types/commands/MergeShardsCommand.d.ts +5 -5
- package/dist-types/commands/PutRecordCommand.d.ts +8 -8
- package/dist-types/commands/PutRecordsCommand.d.ts +7 -7
- package/dist-types/commands/SplitShardCommand.d.ts +17 -19
- package/dist-types/commands/StartStreamEncryptionCommand.d.ts +10 -10
- package/dist-types/commands/StopStreamEncryptionCommand.d.ts +8 -9
- package/dist-types/commands/SubscribeToShardCommand.d.ts +3 -2
- package/dist-types/commands/UpdateShardCountCommand.d.ts +10 -11
- package/dist-types/commands/UpdateStreamModeCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +327 -236
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- 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/Kinesis.d.ts +5 -0
- package/dist-types/ts3.4/KinesisClient.d.ts +6 -3
- package/dist-types/ts3.4/commands/UpdateStreamModeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -57
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
- 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 +42 -49
|
@@ -14,13 +14,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
14
14
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
15
15
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
16
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
18
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
17
19
|
const getRuntimeConfig = (config) => {
|
|
18
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
21
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
19
23
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
20
24
|
return {
|
|
21
25
|
...clientSharedValues,
|
|
22
26
|
...config,
|
|
23
27
|
runtime: "browser",
|
|
28
|
+
defaultsMode,
|
|
24
29
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
25
30
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
26
31
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -29,8 +34,8 @@ const getRuntimeConfig = (config) => {
|
|
|
29
34
|
eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventstream_serde_browser_1.eventStreamSerdeProvider,
|
|
30
35
|
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
31
36
|
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
32
|
-
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(),
|
|
33
|
-
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (() =>
|
|
37
|
+
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
34
39
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : sha256_browser_1.Sha256,
|
|
35
40
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : fetch_http_handler_1.streamCollector,
|
|
36
41
|
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -17,14 +17,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
17
17
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
19
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
21
|
const getRuntimeConfig = (config) => {
|
|
21
22
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
22
|
-
|
|
23
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
24
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
23
25
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
26
|
return {
|
|
25
27
|
...clientSharedValues,
|
|
26
28
|
...config,
|
|
27
29
|
runtime: "node",
|
|
30
|
+
defaultsMode,
|
|
28
31
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
29
32
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
30
33
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -33,8 +36,11 @@ const getRuntimeConfig = (config) => {
|
|
|
33
36
|
eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventstream_serde_node_1.eventStreamSerdeProvider,
|
|
34
37
|
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
35
38
|
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
36
|
-
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(),
|
|
37
|
-
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig(
|
|
39
|
+
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
+
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig({
|
|
41
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
42
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
43
|
+
}),
|
|
38
44
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : hash_node_1.Hash.bind(null, "sha256"),
|
|
39
45
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : node_http_handler_1.streamCollector,
|
|
40
46
|
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/Kinesis.js
CHANGED
|
@@ -27,6 +27,7 @@ import { StartStreamEncryptionCommand, } from "./commands/StartStreamEncryptionC
|
|
|
27
27
|
import { StopStreamEncryptionCommand, } from "./commands/StopStreamEncryptionCommand";
|
|
28
28
|
import { SubscribeToShardCommand, } from "./commands/SubscribeToShardCommand";
|
|
29
29
|
import { UpdateShardCountCommand, } from "./commands/UpdateShardCountCommand";
|
|
30
|
+
import { UpdateStreamModeCommand, } from "./commands/UpdateStreamModeCommand";
|
|
30
31
|
import { KinesisClient } from "./KinesisClient";
|
|
31
32
|
var Kinesis = (function (_super) {
|
|
32
33
|
__extends(Kinesis, _super);
|
|
@@ -425,6 +426,20 @@ var Kinesis = (function (_super) {
|
|
|
425
426
|
return this.send(command, optionsOrCb);
|
|
426
427
|
}
|
|
427
428
|
};
|
|
429
|
+
Kinesis.prototype.updateStreamMode = function (args, optionsOrCb, cb) {
|
|
430
|
+
var command = new UpdateStreamModeCommand(args);
|
|
431
|
+
if (typeof optionsOrCb === "function") {
|
|
432
|
+
this.send(command, optionsOrCb);
|
|
433
|
+
}
|
|
434
|
+
else if (typeof cb === "function") {
|
|
435
|
+
if (typeof optionsOrCb !== "object")
|
|
436
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
437
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
438
|
+
}
|
|
439
|
+
else {
|
|
440
|
+
return this.send(command, optionsOrCb);
|
|
441
|
+
}
|
|
442
|
+
};
|
|
428
443
|
return Kinesis;
|
|
429
444
|
}(KinesisClient));
|
|
430
445
|
export { Kinesis };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateStreamModeInput } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateStreamModeCommand, serializeAws_json1_1UpdateStreamModeCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateStreamModeCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateStreamModeCommand, _super);
|
|
8
|
+
function UpdateStreamModeCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateStreamModeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KinesisClient";
|
|
18
|
+
var commandName = "UpdateStreamModeCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateStreamModeInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateStreamModeCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1UpdateStreamModeCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateStreamModeCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1UpdateStreamModeCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateStreamModeCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateStreamModeCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"us-east-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "kinesis.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "kinesis-fips.us-east-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-2": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "kinesis.us-east-2.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "kinesis-fips.us-east-2.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -45,10 +37,6 @@ var regionHash = {
|
|
|
45
37
|
},
|
|
46
38
|
"us-west-1": {
|
|
47
39
|
variants: [
|
|
48
|
-
{
|
|
49
|
-
hostname: "kinesis.us-west-1.amazonaws.com",
|
|
50
|
-
tags: [],
|
|
51
|
-
},
|
|
52
40
|
{
|
|
53
41
|
hostname: "kinesis-fips.us-west-1.amazonaws.com",
|
|
54
42
|
tags: ["fips"],
|
|
@@ -57,10 +45,6 @@ var regionHash = {
|
|
|
57
45
|
},
|
|
58
46
|
"us-west-2": {
|
|
59
47
|
variants: [
|
|
60
|
-
{
|
|
61
|
-
hostname: "kinesis.us-west-2.amazonaws.com",
|
|
62
|
-
tags: [],
|
|
63
|
-
},
|
|
64
48
|
{
|
|
65
49
|
hostname: "kinesis-fips.us-west-2.amazonaws.com",
|
|
66
50
|
tags: ["fips"],
|
|
@@ -79,6 +63,7 @@ var partitionHash = {
|
|
|
79
63
|
"ap-south-1",
|
|
80
64
|
"ap-southeast-1",
|
|
81
65
|
"ap-southeast-2",
|
|
66
|
+
"ap-southeast-3",
|
|
82
67
|
"ca-central-1",
|
|
83
68
|
"eu-central-1",
|
|
84
69
|
"eu-north-1",
|
|
@@ -3,22 +3,6 @@ export var AddTagsToStreamInput;
|
|
|
3
3
|
(function (AddTagsToStreamInput) {
|
|
4
4
|
AddTagsToStreamInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
5
|
})(AddTagsToStreamInput || (AddTagsToStreamInput = {}));
|
|
6
|
-
export var InvalidArgumentException;
|
|
7
|
-
(function (InvalidArgumentException) {
|
|
8
|
-
InvalidArgumentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
-
})(InvalidArgumentException || (InvalidArgumentException = {}));
|
|
10
|
-
export var LimitExceededException;
|
|
11
|
-
(function (LimitExceededException) {
|
|
12
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
14
|
-
export var ResourceInUseException;
|
|
15
|
-
(function (ResourceInUseException) {
|
|
16
|
-
ResourceInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
|
-
})(ResourceInUseException || (ResourceInUseException = {}));
|
|
18
|
-
export var ResourceNotFoundException;
|
|
19
|
-
(function (ResourceNotFoundException) {
|
|
20
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
22
6
|
export var HashKeyRange;
|
|
23
7
|
(function (HashKeyRange) {
|
|
24
8
|
HashKeyRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -41,6 +25,15 @@ export var ConsumerDescription;
|
|
|
41
25
|
(function (ConsumerDescription) {
|
|
42
26
|
ConsumerDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
43
27
|
})(ConsumerDescription || (ConsumerDescription = {}));
|
|
28
|
+
export var StreamMode;
|
|
29
|
+
(function (StreamMode) {
|
|
30
|
+
StreamMode["ON_DEMAND"] = "ON_DEMAND";
|
|
31
|
+
StreamMode["PROVISIONED"] = "PROVISIONED";
|
|
32
|
+
})(StreamMode || (StreamMode = {}));
|
|
33
|
+
export var StreamModeDetails;
|
|
34
|
+
(function (StreamModeDetails) {
|
|
35
|
+
StreamModeDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
36
|
+
})(StreamModeDetails || (StreamModeDetails = {}));
|
|
44
37
|
export var CreateStreamInput;
|
|
45
38
|
(function (CreateStreamInput) {
|
|
46
39
|
CreateStreamInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -144,14 +137,6 @@ export var EnableEnhancedMonitoringInput;
|
|
|
144
137
|
(function (EnableEnhancedMonitoringInput) {
|
|
145
138
|
EnableEnhancedMonitoringInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
146
139
|
})(EnableEnhancedMonitoringInput || (EnableEnhancedMonitoringInput = {}));
|
|
147
|
-
export var ExpiredIteratorException;
|
|
148
|
-
(function (ExpiredIteratorException) {
|
|
149
|
-
ExpiredIteratorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
150
|
-
})(ExpiredIteratorException || (ExpiredIteratorException = {}));
|
|
151
|
-
export var ExpiredNextTokenException;
|
|
152
|
-
(function (ExpiredNextTokenException) {
|
|
153
|
-
ExpiredNextTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
154
|
-
})(ExpiredNextTokenException || (ExpiredNextTokenException = {}));
|
|
155
140
|
export var GetRecordsInput;
|
|
156
141
|
(function (GetRecordsInput) {
|
|
157
142
|
GetRecordsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -164,34 +149,6 @@ export var GetRecordsOutput;
|
|
|
164
149
|
(function (GetRecordsOutput) {
|
|
165
150
|
GetRecordsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
166
151
|
})(GetRecordsOutput || (GetRecordsOutput = {}));
|
|
167
|
-
export var KMSAccessDeniedException;
|
|
168
|
-
(function (KMSAccessDeniedException) {
|
|
169
|
-
KMSAccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
170
|
-
})(KMSAccessDeniedException || (KMSAccessDeniedException = {}));
|
|
171
|
-
export var KMSDisabledException;
|
|
172
|
-
(function (KMSDisabledException) {
|
|
173
|
-
KMSDisabledException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
|
-
})(KMSDisabledException || (KMSDisabledException = {}));
|
|
175
|
-
export var KMSInvalidStateException;
|
|
176
|
-
(function (KMSInvalidStateException) {
|
|
177
|
-
KMSInvalidStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
178
|
-
})(KMSInvalidStateException || (KMSInvalidStateException = {}));
|
|
179
|
-
export var KMSNotFoundException;
|
|
180
|
-
(function (KMSNotFoundException) {
|
|
181
|
-
KMSNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
182
|
-
})(KMSNotFoundException || (KMSNotFoundException = {}));
|
|
183
|
-
export var KMSOptInRequired;
|
|
184
|
-
(function (KMSOptInRequired) {
|
|
185
|
-
KMSOptInRequired.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
186
|
-
})(KMSOptInRequired || (KMSOptInRequired = {}));
|
|
187
|
-
export var KMSThrottlingException;
|
|
188
|
-
(function (KMSThrottlingException) {
|
|
189
|
-
KMSThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
|
-
})(KMSThrottlingException || (KMSThrottlingException = {}));
|
|
191
|
-
export var ProvisionedThroughputExceededException;
|
|
192
|
-
(function (ProvisionedThroughputExceededException) {
|
|
193
|
-
ProvisionedThroughputExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
194
|
-
})(ProvisionedThroughputExceededException || (ProvisionedThroughputExceededException = {}));
|
|
195
152
|
export var ShardIteratorType;
|
|
196
153
|
(function (ShardIteratorType) {
|
|
197
154
|
ShardIteratorType["AFTER_SEQUENCE_NUMBER"] = "AFTER_SEQUENCE_NUMBER";
|
|
@@ -212,10 +169,6 @@ export var IncreaseStreamRetentionPeriodInput;
|
|
|
212
169
|
(function (IncreaseStreamRetentionPeriodInput) {
|
|
213
170
|
IncreaseStreamRetentionPeriodInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
214
171
|
})(IncreaseStreamRetentionPeriodInput || (IncreaseStreamRetentionPeriodInput = {}));
|
|
215
|
-
export var InternalFailureException;
|
|
216
|
-
(function (InternalFailureException) {
|
|
217
|
-
InternalFailureException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
218
|
-
})(InternalFailureException || (InternalFailureException = {}));
|
|
219
172
|
export var ShardFilterType;
|
|
220
173
|
(function (ShardFilterType) {
|
|
221
174
|
ShardFilterType["AFTER_SHARD_ID"] = "AFTER_SHARD_ID";
|
|
@@ -359,23 +312,23 @@ export var SubscribeToShardEventStream;
|
|
|
359
312
|
if (obj.SubscribeToShardEvent !== undefined)
|
|
360
313
|
return { SubscribeToShardEvent: SubscribeToShardEvent.filterSensitiveLog(obj.SubscribeToShardEvent) };
|
|
361
314
|
if (obj.ResourceNotFoundException !== undefined)
|
|
362
|
-
return { ResourceNotFoundException:
|
|
315
|
+
return { ResourceNotFoundException: obj.ResourceNotFoundException };
|
|
363
316
|
if (obj.ResourceInUseException !== undefined)
|
|
364
|
-
return { ResourceInUseException:
|
|
317
|
+
return { ResourceInUseException: obj.ResourceInUseException };
|
|
365
318
|
if (obj.KMSDisabledException !== undefined)
|
|
366
|
-
return { KMSDisabledException:
|
|
319
|
+
return { KMSDisabledException: obj.KMSDisabledException };
|
|
367
320
|
if (obj.KMSInvalidStateException !== undefined)
|
|
368
|
-
return { KMSInvalidStateException:
|
|
321
|
+
return { KMSInvalidStateException: obj.KMSInvalidStateException };
|
|
369
322
|
if (obj.KMSAccessDeniedException !== undefined)
|
|
370
|
-
return { KMSAccessDeniedException:
|
|
323
|
+
return { KMSAccessDeniedException: obj.KMSAccessDeniedException };
|
|
371
324
|
if (obj.KMSNotFoundException !== undefined)
|
|
372
|
-
return { KMSNotFoundException:
|
|
325
|
+
return { KMSNotFoundException: obj.KMSNotFoundException };
|
|
373
326
|
if (obj.KMSOptInRequired !== undefined)
|
|
374
|
-
return { KMSOptInRequired:
|
|
327
|
+
return { KMSOptInRequired: obj.KMSOptInRequired };
|
|
375
328
|
if (obj.KMSThrottlingException !== undefined)
|
|
376
|
-
return { KMSThrottlingException:
|
|
329
|
+
return { KMSThrottlingException: obj.KMSThrottlingException };
|
|
377
330
|
if (obj.InternalFailureException !== undefined)
|
|
378
|
-
return { InternalFailureException:
|
|
331
|
+
return { InternalFailureException: obj.InternalFailureException };
|
|
379
332
|
if (obj.$unknown !== undefined)
|
|
380
333
|
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
381
334
|
};
|
|
@@ -396,3 +349,7 @@ export var UpdateShardCountOutput;
|
|
|
396
349
|
(function (UpdateShardCountOutput) {
|
|
397
350
|
UpdateShardCountOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
398
351
|
})(UpdateShardCountOutput || (UpdateShardCountOutput = {}));
|
|
352
|
+
export var UpdateStreamModeInput;
|
|
353
|
+
(function (UpdateStreamModeInput) {
|
|
354
|
+
UpdateStreamModeInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
355
|
+
})(UpdateStreamModeInput || (UpdateStreamModeInput = {}));
|