@aws-sdk/client-kinesis 3.478.0 → 3.484.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/dist-cjs/commands/AddTagsToStreamCommand.js +20 -43
- package/dist-cjs/commands/CreateStreamCommand.js +18 -41
- package/dist-cjs/commands/DecreaseStreamRetentionPeriodCommand.js +20 -43
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +20 -43
- package/dist-cjs/commands/DeleteStreamCommand.js +20 -43
- package/dist-cjs/commands/DeregisterStreamConsumerCommand.js +21 -44
- package/dist-cjs/commands/DescribeLimitsCommand.js +18 -41
- package/dist-cjs/commands/DescribeStreamCommand.js +20 -43
- package/dist-cjs/commands/DescribeStreamConsumerCommand.js +21 -44
- package/dist-cjs/commands/DescribeStreamSummaryCommand.js +20 -43
- package/dist-cjs/commands/DisableEnhancedMonitoringCommand.js +20 -43
- package/dist-cjs/commands/EnableEnhancedMonitoringCommand.js +20 -43
- package/dist-cjs/commands/GetRecordsCommand.js +20 -43
- package/dist-cjs/commands/GetResourcePolicyCommand.js +20 -43
- package/dist-cjs/commands/GetShardIteratorCommand.js +20 -43
- package/dist-cjs/commands/IncreaseStreamRetentionPeriodCommand.js +20 -43
- package/dist-cjs/commands/ListShardsCommand.js +20 -43
- package/dist-cjs/commands/ListStreamConsumersCommand.js +20 -43
- package/dist-cjs/commands/ListStreamsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForStreamCommand.js +20 -43
- package/dist-cjs/commands/MergeShardsCommand.js +20 -43
- package/dist-cjs/commands/PutRecordCommand.js +20 -43
- package/dist-cjs/commands/PutRecordsCommand.js +20 -43
- package/dist-cjs/commands/PutResourcePolicyCommand.js +20 -43
- package/dist-cjs/commands/RegisterStreamConsumerCommand.js +20 -43
- package/dist-cjs/commands/RemoveTagsFromStreamCommand.js +20 -43
- package/dist-cjs/commands/SplitShardCommand.js +20 -43
- package/dist-cjs/commands/StartStreamEncryptionCommand.js +20 -43
- package/dist-cjs/commands/StopStreamEncryptionCommand.js +20 -43
- package/dist-cjs/commands/SubscribeToShardCommand.js +24 -46
- package/dist-cjs/commands/UpdateShardCountCommand.js +20 -43
- package/dist-cjs/commands/UpdateStreamModeCommand.js +20 -43
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/AddTagsToStreamCommand.js +20 -43
- package/dist-es/commands/CreateStreamCommand.js +18 -41
- package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +20 -43
- package/dist-es/commands/DeleteResourcePolicyCommand.js +20 -43
- package/dist-es/commands/DeleteStreamCommand.js +20 -43
- package/dist-es/commands/DeregisterStreamConsumerCommand.js +21 -44
- package/dist-es/commands/DescribeLimitsCommand.js +18 -41
- package/dist-es/commands/DescribeStreamCommand.js +20 -43
- package/dist-es/commands/DescribeStreamConsumerCommand.js +21 -44
- package/dist-es/commands/DescribeStreamSummaryCommand.js +20 -43
- package/dist-es/commands/DisableEnhancedMonitoringCommand.js +20 -43
- package/dist-es/commands/EnableEnhancedMonitoringCommand.js +20 -43
- package/dist-es/commands/GetRecordsCommand.js +20 -43
- package/dist-es/commands/GetResourcePolicyCommand.js +20 -43
- package/dist-es/commands/GetShardIteratorCommand.js +20 -43
- package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +20 -43
- package/dist-es/commands/ListShardsCommand.js +20 -43
- package/dist-es/commands/ListStreamConsumersCommand.js +20 -43
- package/dist-es/commands/ListStreamsCommand.js +18 -41
- package/dist-es/commands/ListTagsForStreamCommand.js +20 -43
- package/dist-es/commands/MergeShardsCommand.js +20 -43
- package/dist-es/commands/PutRecordCommand.js +20 -43
- package/dist-es/commands/PutRecordsCommand.js +20 -43
- package/dist-es/commands/PutResourcePolicyCommand.js +20 -43
- package/dist-es/commands/RegisterStreamConsumerCommand.js +20 -43
- package/dist-es/commands/RemoveTagsFromStreamCommand.js +20 -43
- package/dist-es/commands/SplitShardCommand.js +20 -43
- package/dist-es/commands/StartStreamEncryptionCommand.js +20 -43
- package/dist-es/commands/StopStreamEncryptionCommand.js +20 -43
- package/dist-es/commands/SubscribeToShardCommand.js +24 -46
- package/dist-es/commands/UpdateShardCountCommand.js +20 -43
- package/dist-es/commands/UpdateStreamModeCommand.js +20 -43
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/AddTagsToStreamCommand.d.ts +6 -21
- package/dist-types/commands/CreateStreamCommand.d.ts +6 -21
- package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteStreamCommand.d.ts +6 -21
- package/dist-types/commands/DeregisterStreamConsumerCommand.d.ts +6 -21
- package/dist-types/commands/DescribeLimitsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeStreamCommand.d.ts +6 -21
- package/dist-types/commands/DescribeStreamConsumerCommand.d.ts +6 -21
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +6 -21
- package/dist-types/commands/DisableEnhancedMonitoringCommand.d.ts +6 -21
- package/dist-types/commands/EnableEnhancedMonitoringCommand.d.ts +6 -21
- package/dist-types/commands/GetRecordsCommand.d.ts +6 -21
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetShardIteratorCommand.d.ts +6 -21
- package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +6 -21
- package/dist-types/commands/ListShardsCommand.d.ts +6 -21
- package/dist-types/commands/ListStreamConsumersCommand.d.ts +6 -21
- package/dist-types/commands/ListStreamsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForStreamCommand.d.ts +6 -21
- package/dist-types/commands/MergeShardsCommand.d.ts +6 -21
- package/dist-types/commands/PutRecordCommand.d.ts +6 -21
- package/dist-types/commands/PutRecordsCommand.d.ts +6 -21
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/RegisterStreamConsumerCommand.d.ts +6 -21
- package/dist-types/commands/RemoveTagsFromStreamCommand.d.ts +6 -21
- package/dist-types/commands/SplitShardCommand.d.ts +6 -21
- package/dist-types/commands/StartStreamEncryptionCommand.d.ts +6 -21
- package/dist-types/commands/StopStreamEncryptionCommand.d.ts +6 -21
- package/dist-types/commands/SubscribeToShardCommand.d.ts +6 -21
- package/dist-types/commands/UpdateShardCountCommand.d.ts +6 -21
- package/dist-types/commands/UpdateStreamModeCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/AddTagsToStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DecreaseStreamRetentionPeriodCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeregisterStreamConsumerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeStreamConsumerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeStreamSummaryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisableEnhancedMonitoringCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/EnableEnhancedMonitoringCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetRecordsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetShardIteratorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/IncreaseStreamRetentionPeriodCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListShardsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListStreamConsumersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForStreamCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/MergeShardsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutRecordCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutRecordsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RegisterStreamConsumerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RemoveTagsFromStreamCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SplitShardCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartStreamEncryptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopStreamEncryptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SubscribeToShardCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateShardCountCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateStreamModeCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +11 -11
|
@@ -5,49 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class AddTagsToStreamCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const { logger } = configuration;
|
|
30
|
-
const clientName = "KinesisClient";
|
|
31
|
-
const commandName = "AddTagsToStreamCommand";
|
|
32
|
-
const handlerExecutionContext = {
|
|
33
|
-
logger,
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: (_) => _,
|
|
37
|
-
outputFilterSensitiveLog: (_) => _,
|
|
38
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "Kinesis_20131202",
|
|
40
|
-
operation: "AddTagsToStream",
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
const { requestHandler } = configuration;
|
|
44
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
-
}
|
|
46
|
-
serialize(input, context) {
|
|
47
|
-
return (0, Aws_json1_1_1.se_AddTagsToStreamCommand)(input, context);
|
|
48
|
-
}
|
|
49
|
-
deserialize(output, context) {
|
|
50
|
-
return (0, Aws_json1_1_1.de_AddTagsToStreamCommand)(output, context);
|
|
51
|
-
}
|
|
10
|
+
class AddTagsToStreamCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
15
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
16
|
+
})
|
|
17
|
+
.m(function (Command, cs, config, o) {
|
|
18
|
+
return [
|
|
19
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("Kinesis_20131202", "AddTagsToStream", {})
|
|
24
|
+
.n("KinesisClient", "AddTagsToStreamCommand")
|
|
25
|
+
.f(void 0, void 0)
|
|
26
|
+
.ser(Aws_json1_1_1.se_AddTagsToStreamCommand)
|
|
27
|
+
.de(Aws_json1_1_1.de_AddTagsToStreamCommand)
|
|
28
|
+
.build() {
|
|
52
29
|
}
|
|
53
30
|
exports.AddTagsToStreamCommand = AddTagsToStreamCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class CreateStreamCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "KinesisClient";
|
|
29
|
-
const commandName = "CreateStreamCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Kinesis_20131202",
|
|
38
|
-
operation: "CreateStream",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_CreateStreamCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_CreateStreamCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class CreateStreamCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Kinesis_20131202", "CreateStream", {})
|
|
22
|
+
.n("KinesisClient", "CreateStreamCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_CreateStreamCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_CreateStreamCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.CreateStreamCommand = CreateStreamCommand;
|
|
@@ -5,49 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DecreaseStreamRetentionPeriodCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const { logger } = configuration;
|
|
30
|
-
const clientName = "KinesisClient";
|
|
31
|
-
const commandName = "DecreaseStreamRetentionPeriodCommand";
|
|
32
|
-
const handlerExecutionContext = {
|
|
33
|
-
logger,
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: (_) => _,
|
|
37
|
-
outputFilterSensitiveLog: (_) => _,
|
|
38
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "Kinesis_20131202",
|
|
40
|
-
operation: "DecreaseStreamRetentionPeriod",
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
const { requestHandler } = configuration;
|
|
44
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
-
}
|
|
46
|
-
serialize(input, context) {
|
|
47
|
-
return (0, Aws_json1_1_1.se_DecreaseStreamRetentionPeriodCommand)(input, context);
|
|
48
|
-
}
|
|
49
|
-
deserialize(output, context) {
|
|
50
|
-
return (0, Aws_json1_1_1.de_DecreaseStreamRetentionPeriodCommand)(output, context);
|
|
51
|
-
}
|
|
10
|
+
class DecreaseStreamRetentionPeriodCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
15
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
16
|
+
})
|
|
17
|
+
.m(function (Command, cs, config, o) {
|
|
18
|
+
return [
|
|
19
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("Kinesis_20131202", "DecreaseStreamRetentionPeriod", {})
|
|
24
|
+
.n("KinesisClient", "DecreaseStreamRetentionPeriodCommand")
|
|
25
|
+
.f(void 0, void 0)
|
|
26
|
+
.ser(Aws_json1_1_1.se_DecreaseStreamRetentionPeriodCommand)
|
|
27
|
+
.de(Aws_json1_1_1.de_DecreaseStreamRetentionPeriodCommand)
|
|
28
|
+
.build() {
|
|
52
29
|
}
|
|
53
30
|
exports.DecreaseStreamRetentionPeriodCommand = DecreaseStreamRetentionPeriodCommand;
|
|
@@ -5,49 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DeleteResourcePolicyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const { logger } = configuration;
|
|
30
|
-
const clientName = "KinesisClient";
|
|
31
|
-
const commandName = "DeleteResourcePolicyCommand";
|
|
32
|
-
const handlerExecutionContext = {
|
|
33
|
-
logger,
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: (_) => _,
|
|
37
|
-
outputFilterSensitiveLog: (_) => _,
|
|
38
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "Kinesis_20131202",
|
|
40
|
-
operation: "DeleteResourcePolicy",
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
const { requestHandler } = configuration;
|
|
44
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
-
}
|
|
46
|
-
serialize(input, context) {
|
|
47
|
-
return (0, Aws_json1_1_1.se_DeleteResourcePolicyCommand)(input, context);
|
|
48
|
-
}
|
|
49
|
-
deserialize(output, context) {
|
|
50
|
-
return (0, Aws_json1_1_1.de_DeleteResourcePolicyCommand)(output, context);
|
|
51
|
-
}
|
|
10
|
+
class DeleteResourcePolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
15
|
+
ResourceARN: { type: "contextParams", name: "ResourceARN" },
|
|
16
|
+
})
|
|
17
|
+
.m(function (Command, cs, config, o) {
|
|
18
|
+
return [
|
|
19
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("Kinesis_20131202", "DeleteResourcePolicy", {})
|
|
24
|
+
.n("KinesisClient", "DeleteResourcePolicyCommand")
|
|
25
|
+
.f(void 0, void 0)
|
|
26
|
+
.ser(Aws_json1_1_1.se_DeleteResourcePolicyCommand)
|
|
27
|
+
.de(Aws_json1_1_1.de_DeleteResourcePolicyCommand)
|
|
28
|
+
.build() {
|
|
52
29
|
}
|
|
53
30
|
exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
|
|
@@ -5,49 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DeleteStreamCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const { logger } = configuration;
|
|
30
|
-
const clientName = "KinesisClient";
|
|
31
|
-
const commandName = "DeleteStreamCommand";
|
|
32
|
-
const handlerExecutionContext = {
|
|
33
|
-
logger,
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: (_) => _,
|
|
37
|
-
outputFilterSensitiveLog: (_) => _,
|
|
38
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "Kinesis_20131202",
|
|
40
|
-
operation: "DeleteStream",
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
const { requestHandler } = configuration;
|
|
44
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
-
}
|
|
46
|
-
serialize(input, context) {
|
|
47
|
-
return (0, Aws_json1_1_1.se_DeleteStreamCommand)(input, context);
|
|
48
|
-
}
|
|
49
|
-
deserialize(output, context) {
|
|
50
|
-
return (0, Aws_json1_1_1.de_DeleteStreamCommand)(output, context);
|
|
51
|
-
}
|
|
10
|
+
class DeleteStreamCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
15
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
16
|
+
})
|
|
17
|
+
.m(function (Command, cs, config, o) {
|
|
18
|
+
return [
|
|
19
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("Kinesis_20131202", "DeleteStream", {})
|
|
24
|
+
.n("KinesisClient", "DeleteStreamCommand")
|
|
25
|
+
.f(void 0, void 0)
|
|
26
|
+
.ser(Aws_json1_1_1.se_DeleteStreamCommand)
|
|
27
|
+
.de(Aws_json1_1_1.de_DeleteStreamCommand)
|
|
28
|
+
.build() {
|
|
52
29
|
}
|
|
53
30
|
exports.DeleteStreamCommand = DeleteStreamCommand;
|
|
@@ -5,50 +5,27 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DeregisterStreamConsumerCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
const { logger } = configuration;
|
|
31
|
-
const clientName = "KinesisClient";
|
|
32
|
-
const commandName = "DeregisterStreamConsumerCommand";
|
|
33
|
-
const handlerExecutionContext = {
|
|
34
|
-
logger,
|
|
35
|
-
clientName,
|
|
36
|
-
commandName,
|
|
37
|
-
inputFilterSensitiveLog: (_) => _,
|
|
38
|
-
outputFilterSensitiveLog: (_) => _,
|
|
39
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
40
|
-
service: "Kinesis_20131202",
|
|
41
|
-
operation: "DeregisterStreamConsumer",
|
|
42
|
-
},
|
|
43
|
-
};
|
|
44
|
-
const { requestHandler } = configuration;
|
|
45
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
46
|
-
}
|
|
47
|
-
serialize(input, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.se_DeregisterStreamConsumerCommand)(input, context);
|
|
49
|
-
}
|
|
50
|
-
deserialize(output, context) {
|
|
51
|
-
return (0, Aws_json1_1_1.de_DeregisterStreamConsumerCommand)(output, context);
|
|
52
|
-
}
|
|
10
|
+
class DeregisterStreamConsumerCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
15
|
+
ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
|
|
16
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
17
|
+
})
|
|
18
|
+
.m(function (Command, cs, config, o) {
|
|
19
|
+
return [
|
|
20
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
22
|
+
];
|
|
23
|
+
})
|
|
24
|
+
.s("Kinesis_20131202", "DeregisterStreamConsumer", {})
|
|
25
|
+
.n("KinesisClient", "DeregisterStreamConsumerCommand")
|
|
26
|
+
.f(void 0, void 0)
|
|
27
|
+
.ser(Aws_json1_1_1.se_DeregisterStreamConsumerCommand)
|
|
28
|
+
.de(Aws_json1_1_1.de_DeregisterStreamConsumerCommand)
|
|
29
|
+
.build() {
|
|
53
30
|
}
|
|
54
31
|
exports.DeregisterStreamConsumerCommand = DeregisterStreamConsumerCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DescribeLimitsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "KinesisClient";
|
|
29
|
-
const commandName = "DescribeLimitsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Kinesis_20131202",
|
|
38
|
-
operation: "DescribeLimits",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_DescribeLimitsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_DescribeLimitsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class DescribeLimitsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Kinesis_20131202", "DescribeLimits", {})
|
|
22
|
+
.n("KinesisClient", "DescribeLimitsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_DescribeLimitsCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_DescribeLimitsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.DescribeLimitsCommand = DescribeLimitsCommand;
|
|
@@ -5,49 +5,26 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class DescribeStreamCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const { logger } = configuration;
|
|
30
|
-
const clientName = "KinesisClient";
|
|
31
|
-
const commandName = "DescribeStreamCommand";
|
|
32
|
-
const handlerExecutionContext = {
|
|
33
|
-
logger,
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: (_) => _,
|
|
37
|
-
outputFilterSensitiveLog: (_) => _,
|
|
38
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "Kinesis_20131202",
|
|
40
|
-
operation: "DescribeStream",
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
const { requestHandler } = configuration;
|
|
44
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
-
}
|
|
46
|
-
serialize(input, context) {
|
|
47
|
-
return (0, Aws_json1_1_1.se_DescribeStreamCommand)(input, context);
|
|
48
|
-
}
|
|
49
|
-
deserialize(output, context) {
|
|
50
|
-
return (0, Aws_json1_1_1.de_DescribeStreamCommand)(output, context);
|
|
51
|
-
}
|
|
10
|
+
class DescribeStreamCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
15
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
16
|
+
})
|
|
17
|
+
.m(function (Command, cs, config, o) {
|
|
18
|
+
return [
|
|
19
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
20
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("Kinesis_20131202", "DescribeStream", {})
|
|
24
|
+
.n("KinesisClient", "DescribeStreamCommand")
|
|
25
|
+
.f(void 0, void 0)
|
|
26
|
+
.ser(Aws_json1_1_1.se_DescribeStreamCommand)
|
|
27
|
+
.de(Aws_json1_1_1.de_DescribeStreamCommand)
|
|
28
|
+
.build() {
|
|
52
29
|
}
|
|
53
30
|
exports.DescribeStreamCommand = DescribeStreamCommand;
|