@aws-sdk/client-kinesis 3.478.0 → 3.481.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 +9 -9
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateStreamCommand, se_CreateStreamCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateStreamCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KinesisClient";
|
|
26
|
-
const commandName = "CreateStreamCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Kinesis_20131202",
|
|
35
|
-
operation: "CreateStream",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateStreamCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateStreamCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateStreamCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Kinesis_20131202", "CreateStream", {})
|
|
19
|
+
.n("KinesisClient", "CreateStreamCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateStreamCommand)
|
|
22
|
+
.de(de_CreateStreamCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,49 +1,26 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DecreaseStreamRetentionPeriodCommand, se_DecreaseStreamRetentionPeriodCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DecreaseStreamRetentionPeriodCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "KinesisClient";
|
|
28
|
-
const commandName = "DecreaseStreamRetentionPeriodCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Kinesis_20131202",
|
|
37
|
-
operation: "DecreaseStreamRetentionPeriod",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_DecreaseStreamRetentionPeriodCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_DecreaseStreamRetentionPeriodCommand(output, context);
|
|
48
|
-
}
|
|
7
|
+
export class DecreaseStreamRetentionPeriodCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
12
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
+
})
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("Kinesis_20131202", "DecreaseStreamRetentionPeriod", {})
|
|
21
|
+
.n("KinesisClient", "DecreaseStreamRetentionPeriodCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_DecreaseStreamRetentionPeriodCommand)
|
|
24
|
+
.de(de_DecreaseStreamRetentionPeriodCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -1,49 +1,26 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteResourcePolicyCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "KinesisClient";
|
|
28
|
-
const commandName = "DeleteResourcePolicyCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Kinesis_20131202",
|
|
37
|
-
operation: "DeleteResourcePolicy",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_DeleteResourcePolicyCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_DeleteResourcePolicyCommand(output, context);
|
|
48
|
-
}
|
|
7
|
+
export class DeleteResourcePolicyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
12
|
+
ResourceARN: { type: "contextParams", name: "ResourceARN" },
|
|
13
|
+
})
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("Kinesis_20131202", "DeleteResourcePolicy", {})
|
|
21
|
+
.n("KinesisClient", "DeleteResourcePolicyCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_DeleteResourcePolicyCommand)
|
|
24
|
+
.de(de_DeleteResourcePolicyCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -1,49 +1,26 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteStreamCommand, se_DeleteStreamCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteStreamCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "KinesisClient";
|
|
28
|
-
const commandName = "DeleteStreamCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Kinesis_20131202",
|
|
37
|
-
operation: "DeleteStream",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_DeleteStreamCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_DeleteStreamCommand(output, context);
|
|
48
|
-
}
|
|
7
|
+
export class DeleteStreamCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
12
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
+
})
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("Kinesis_20131202", "DeleteStream", {})
|
|
21
|
+
.n("KinesisClient", "DeleteStreamCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_DeleteStreamCommand)
|
|
24
|
+
.de(de_DeleteStreamCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -1,50 +1,27 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeregisterStreamConsumerCommand, se_DeregisterStreamConsumerCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeregisterStreamConsumerCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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 = "DeregisterStreamConsumerCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Kinesis_20131202",
|
|
38
|
-
operation: "DeregisterStreamConsumer",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return se_DeregisterStreamConsumerCommand(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return de_DeregisterStreamConsumerCommand(output, context);
|
|
49
|
-
}
|
|
7
|
+
export class DeregisterStreamConsumerCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
12
|
+
ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
|
|
13
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Kinesis_20131202", "DeregisterStreamConsumer", {})
|
|
22
|
+
.n("KinesisClient", "DeregisterStreamConsumerCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(se_DeregisterStreamConsumerCommand)
|
|
25
|
+
.de(de_DeregisterStreamConsumerCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeLimitsCommand, se_DescribeLimitsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeLimitsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KinesisClient";
|
|
26
|
-
const commandName = "DescribeLimitsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Kinesis_20131202",
|
|
35
|
-
operation: "DescribeLimits",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DescribeLimitsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DescribeLimitsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DescribeLimitsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Kinesis_20131202", "DescribeLimits", {})
|
|
19
|
+
.n("KinesisClient", "DescribeLimitsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeLimitsCommand)
|
|
22
|
+
.de(de_DescribeLimitsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,49 +1,26 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeStreamCommand, se_DescribeStreamCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeStreamCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "KinesisClient";
|
|
28
|
-
const commandName = "DescribeStreamCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Kinesis_20131202",
|
|
37
|
-
operation: "DescribeStream",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_DescribeStreamCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_DescribeStreamCommand(output, context);
|
|
48
|
-
}
|
|
7
|
+
export class DescribeStreamCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
12
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
+
})
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("Kinesis_20131202", "DescribeStream", {})
|
|
21
|
+
.n("KinesisClient", "DescribeStreamCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_DescribeStreamCommand)
|
|
24
|
+
.de(de_DescribeStreamCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -1,50 +1,27 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeStreamConsumerCommand, se_DescribeStreamConsumerCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeStreamConsumerCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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 = "DescribeStreamConsumerCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Kinesis_20131202",
|
|
38
|
-
operation: "DescribeStreamConsumer",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return se_DescribeStreamConsumerCommand(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return de_DescribeStreamConsumerCommand(output, context);
|
|
49
|
-
}
|
|
7
|
+
export class DescribeStreamConsumerCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
12
|
+
ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
|
|
13
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Kinesis_20131202", "DescribeStreamConsumer", {})
|
|
22
|
+
.n("KinesisClient", "DescribeStreamConsumerCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(se_DescribeStreamConsumerCommand)
|
|
25
|
+
.de(de_DescribeStreamConsumerCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
@@ -1,49 +1,26 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DescribeStreamSummaryCommand, se_DescribeStreamSummaryCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DescribeStreamSummaryCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { logger } = configuration;
|
|
27
|
-
const clientName = "KinesisClient";
|
|
28
|
-
const commandName = "DescribeStreamSummaryCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Kinesis_20131202",
|
|
37
|
-
operation: "DescribeStreamSummary",
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
const { requestHandler } = configuration;
|
|
41
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
42
|
-
}
|
|
43
|
-
serialize(input, context) {
|
|
44
|
-
return se_DescribeStreamSummaryCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_DescribeStreamSummaryCommand(output, context);
|
|
48
|
-
}
|
|
7
|
+
export class DescribeStreamSummaryCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
12
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
+
})
|
|
14
|
+
.m(function (Command, cs, config, o) {
|
|
15
|
+
return [
|
|
16
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
17
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
18
|
+
];
|
|
19
|
+
})
|
|
20
|
+
.s("Kinesis_20131202", "DescribeStreamSummary", {})
|
|
21
|
+
.n("KinesisClient", "DescribeStreamSummaryCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_DescribeStreamSummaryCommand)
|
|
24
|
+
.de(de_DescribeStreamSummaryCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|