@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,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_StopStreamEncryptionCommand, se_StopStreamEncryptionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StopStreamEncryptionCommand 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 = "StopStreamEncryptionCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Kinesis_20131202",
|
|
37
|
-
operation: "StopStreamEncryption",
|
|
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_StopStreamEncryptionCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_StopStreamEncryptionCommand(output, context);
|
|
48
|
-
}
|
|
7
|
+
export class StopStreamEncryptionCommand 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", "StopStreamEncryption", {})
|
|
21
|
+
.n("KinesisClient", "StopStreamEncryptionCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_StopStreamEncryptionCommand)
|
|
24
|
+
.de(de_StopStreamEncryptionCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -1,53 +1,31 @@
|
|
|
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 { SubscribeToShardOutputFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_SubscribeToShardCommand, se_SubscribeToShardCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class SubscribeToShardCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: SubscribeToShardOutputFilterSensitiveLog,
|
|
36
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Kinesis_20131202",
|
|
38
|
-
operation: "SubscribeToShard",
|
|
39
|
-
eventStream: {
|
|
40
|
-
output: true,
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
};
|
|
44
|
-
const { requestHandler } = configuration;
|
|
45
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
46
|
-
}
|
|
47
|
-
serialize(input, context) {
|
|
48
|
-
return se_SubscribeToShardCommand(input, context);
|
|
49
|
-
}
|
|
50
|
-
deserialize(output, context) {
|
|
51
|
-
return de_SubscribeToShardCommand(output, context);
|
|
52
|
-
}
|
|
8
|
+
export class SubscribeToShardCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
OperationType: { type: "staticContextParams", value: `data` },
|
|
13
|
+
ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
|
|
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", "SubscribeToShard", {
|
|
22
|
+
eventStream: {
|
|
23
|
+
output: true,
|
|
24
|
+
},
|
|
25
|
+
})
|
|
26
|
+
.n("KinesisClient", "SubscribeToShardCommand")
|
|
27
|
+
.f(void 0, SubscribeToShardOutputFilterSensitiveLog)
|
|
28
|
+
.ser(se_SubscribeToShardCommand)
|
|
29
|
+
.de(de_SubscribeToShardCommand)
|
|
30
|
+
.build() {
|
|
53
31
|
}
|
|
@@ -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_UpdateShardCountCommand, se_UpdateShardCountCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateShardCountCommand 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 = "UpdateShardCountCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Kinesis_20131202",
|
|
37
|
-
operation: "UpdateShardCount",
|
|
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_UpdateShardCountCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_UpdateShardCountCommand(output, context);
|
|
48
|
-
}
|
|
7
|
+
export class UpdateShardCountCommand 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", "UpdateShardCount", {})
|
|
21
|
+
.n("KinesisClient", "UpdateShardCountCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_UpdateShardCountCommand)
|
|
24
|
+
.de(de_UpdateShardCountCommand)
|
|
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_UpdateStreamModeCommand, se_UpdateStreamModeCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateStreamModeCommand 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 = "UpdateStreamModeCommand";
|
|
29
|
-
const handlerExecutionContext = {
|
|
30
|
-
logger,
|
|
31
|
-
clientName,
|
|
32
|
-
commandName,
|
|
33
|
-
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog: (_) => _,
|
|
35
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
-
service: "Kinesis_20131202",
|
|
37
|
-
operation: "UpdateStreamMode",
|
|
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_UpdateStreamModeCommand(input, context);
|
|
45
|
-
}
|
|
46
|
-
deserialize(output, context) {
|
|
47
|
-
return de_UpdateStreamModeCommand(output, context);
|
|
48
|
-
}
|
|
7
|
+
export class UpdateStreamModeCommand 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", "UpdateStreamMode", {})
|
|
21
|
+
.n("KinesisClient", "UpdateStreamModeCommand")
|
|
22
|
+
.f(void 0, void 0)
|
|
23
|
+
.ser(se_UpdateStreamModeCommand)
|
|
24
|
+
.de(de_UpdateStreamModeCommand)
|
|
25
|
+
.build() {
|
|
49
26
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "kinesis",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
5
4
|
import { AddTagsToStreamInput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AddTagsToStreamCommandInput extends AddTagsToStreamInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AddTagsToStreamCommandOutput extends __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AddTagsToStreamCommand_base: {
|
|
24
|
+
new (input: AddTagsToStreamCommandInput): import("@smithy/smithy-client").CommandImpl<AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Adds or updates tags for the specified Kinesis data stream. You can assign up to 50
|
|
@@ -84,23 +87,5 @@ export interface AddTagsToStreamCommandOutput extends __MetadataBearer {
|
|
|
84
87
|
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
85
88
|
*
|
|
86
89
|
*/
|
|
87
|
-
export declare class AddTagsToStreamCommand extends
|
|
88
|
-
readonly input: AddTagsToStreamCommandInput;
|
|
89
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
-
/**
|
|
91
|
-
* @public
|
|
92
|
-
*/
|
|
93
|
-
constructor(input: AddTagsToStreamCommandInput);
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput>;
|
|
98
|
-
/**
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
private serialize;
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
|
-
private deserialize;
|
|
90
|
+
export declare class AddTagsToStreamCommand extends AddTagsToStreamCommand_base {
|
|
106
91
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
5
4
|
import { CreateStreamInput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateStreamCommandInput extends CreateStreamInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateStreamCommandOutput extends __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateStreamCommand_base: {
|
|
24
|
+
new (input: CreateStreamCommandInput): import("@smithy/smithy-client").CommandImpl<CreateStreamCommandInput, CreateStreamCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a Kinesis data stream. A stream captures and transports data records that are
|
|
@@ -108,23 +111,5 @@ export interface CreateStreamCommandOutput extends __MetadataBearer {
|
|
|
108
111
|
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
109
112
|
*
|
|
110
113
|
*/
|
|
111
|
-
export declare class CreateStreamCommand extends
|
|
112
|
-
readonly input: CreateStreamCommandInput;
|
|
113
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
114
|
-
/**
|
|
115
|
-
* @public
|
|
116
|
-
*/
|
|
117
|
-
constructor(input: CreateStreamCommandInput);
|
|
118
|
-
/**
|
|
119
|
-
* @internal
|
|
120
|
-
*/
|
|
121
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateStreamCommandInput, CreateStreamCommandOutput>;
|
|
122
|
-
/**
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
|
-
private serialize;
|
|
126
|
-
/**
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
129
|
-
private deserialize;
|
|
114
|
+
export declare class CreateStreamCommand extends CreateStreamCommand_base {
|
|
130
115
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
5
4
|
import { DecreaseStreamRetentionPeriodInput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DecreaseStreamRetentionPeriodCommandInput extends DecreaseStrea
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DecreaseStreamRetentionPeriodCommandOutput extends __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DecreaseStreamRetentionPeriodCommand_base: {
|
|
24
|
+
new (input: DecreaseStreamRetentionPeriodCommandInput): import("@smithy/smithy-client").CommandImpl<DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Decreases the Kinesis data stream's retention period, which is the length of time data
|
|
@@ -81,23 +84,5 @@ export interface DecreaseStreamRetentionPeriodCommandOutput extends __MetadataBe
|
|
|
81
84
|
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
82
85
|
*
|
|
83
86
|
*/
|
|
84
|
-
export declare class DecreaseStreamRetentionPeriodCommand extends
|
|
85
|
-
readonly input: DecreaseStreamRetentionPeriodCommandInput;
|
|
86
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
87
|
-
/**
|
|
88
|
-
* @public
|
|
89
|
-
*/
|
|
90
|
-
constructor(input: DecreaseStreamRetentionPeriodCommandInput);
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput>;
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
private serialize;
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
private deserialize;
|
|
87
|
+
export declare class DecreaseStreamRetentionPeriodCommand extends DecreaseStreamRetentionPeriodCommand_base {
|
|
103
88
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
5
4
|
import { DeleteResourcePolicyInput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyIn
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteResourcePolicyCommand_base: {
|
|
24
|
+
new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Delete a policy for the specified data stream or consumer. Request patterns can be one of the following:</p>
|
|
@@ -79,23 +82,5 @@ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
|
|
|
79
82
|
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
80
83
|
*
|
|
81
84
|
*/
|
|
82
|
-
export declare class DeleteResourcePolicyCommand extends
|
|
83
|
-
readonly input: DeleteResourcePolicyCommandInput;
|
|
84
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
-
/**
|
|
86
|
-
* @public
|
|
87
|
-
*/
|
|
88
|
-
constructor(input: DeleteResourcePolicyCommandInput);
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput>;
|
|
93
|
-
/**
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
96
|
-
private serialize;
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
private deserialize;
|
|
85
|
+
export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
|
|
101
86
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
5
4
|
import { DeleteStreamInput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteStreamCommandInput extends DeleteStreamInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteStreamCommandOutput extends __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteStreamCommand_base: {
|
|
24
|
+
new (input: DeleteStreamCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteStreamCommandInput, DeleteStreamCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes a Kinesis data stream and all its shards and data. You must shut down any
|
|
@@ -94,23 +97,5 @@ export interface DeleteStreamCommandOutput extends __MetadataBearer {
|
|
|
94
97
|
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
95
98
|
*
|
|
96
99
|
*/
|
|
97
|
-
export declare class DeleteStreamCommand extends
|
|
98
|
-
readonly input: DeleteStreamCommandInput;
|
|
99
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
100
|
-
/**
|
|
101
|
-
* @public
|
|
102
|
-
*/
|
|
103
|
-
constructor(input: DeleteStreamCommandInput);
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteStreamCommandInput, DeleteStreamCommandOutput>;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
private serialize;
|
|
112
|
-
/**
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
115
|
-
private deserialize;
|
|
100
|
+
export declare class DeleteStreamCommand extends DeleteStreamCommand_base {
|
|
116
101
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
5
4
|
import { DeregisterStreamConsumerInput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeregisterStreamConsumerCommandInput extends DeregisterStreamCo
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeregisterStreamConsumerCommandOutput extends __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeregisterStreamConsumerCommand_base: {
|
|
24
|
+
new (input: DeregisterStreamConsumerCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>To deregister a consumer, provide its ARN. Alternatively, you can provide the ARN of
|
|
@@ -70,23 +73,5 @@ export interface DeregisterStreamConsumerCommandOutput extends __MetadataBearer
|
|
|
70
73
|
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
71
74
|
*
|
|
72
75
|
*/
|
|
73
|
-
export declare class DeregisterStreamConsumerCommand extends
|
|
74
|
-
readonly input: DeregisterStreamConsumerCommandInput;
|
|
75
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
-
/**
|
|
77
|
-
* @public
|
|
78
|
-
*/
|
|
79
|
-
constructor(input: DeregisterStreamConsumerCommandInput);
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput>;
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
private serialize;
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
private deserialize;
|
|
76
|
+
export declare class DeregisterStreamConsumerCommand extends DeregisterStreamConsumerCommand_base {
|
|
92
77
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
5
4
|
import { DescribeLimitsInput, DescribeLimitsOutput } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DescribeLimitsCommandInput extends DescribeLimitsInput {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DescribeLimitsCommandOutput extends DescribeLimitsOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DescribeLimitsCommand_base: {
|
|
24
|
+
new (input: DescribeLimitsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeLimitsCommandInput, DescribeLimitsCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Describes the shard limits and usage for the account.</p>
|
|
@@ -59,23 +62,5 @@ export interface DescribeLimitsCommandOutput extends DescribeLimitsOutput, __Met
|
|
|
59
62
|
* <p>Base exception class for all service exceptions from Kinesis service.</p>
|
|
60
63
|
*
|
|
61
64
|
*/
|
|
62
|
-
export declare class DescribeLimitsCommand extends
|
|
63
|
-
readonly input: DescribeLimitsCommandInput;
|
|
64
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
-
/**
|
|
66
|
-
* @public
|
|
67
|
-
*/
|
|
68
|
-
constructor(input: DescribeLimitsCommandInput);
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KinesisClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeLimitsCommandInput, DescribeLimitsCommandOutput>;
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
|
-
private serialize;
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
private deserialize;
|
|
65
|
+
export declare class DescribeLimitsCommand extends DescribeLimitsCommand_base {
|
|
81
66
|
}
|