@aws-sdk/client-kinesis 3.1076.0 → 3.1078.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/index.js +73 -568
- package/dist-es/commandBuilder.js +32 -0
- package/dist-es/commands/AddTagsToStreamCommand.js +2 -19
- package/dist-es/commands/CreateStreamCommand.js +2 -14
- package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +2 -19
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -19
- package/dist-es/commands/DeleteStreamCommand.js +2 -19
- package/dist-es/commands/DeregisterStreamConsumerCommand.js +2 -20
- package/dist-es/commands/DescribeAccountSettingsCommand.js +2 -14
- package/dist-es/commands/DescribeLimitsCommand.js +2 -14
- package/dist-es/commands/DescribeStreamCommand.js +2 -19
- package/dist-es/commands/DescribeStreamConsumerCommand.js +2 -20
- package/dist-es/commands/DescribeStreamSummaryCommand.js +2 -19
- package/dist-es/commands/DisableEnhancedMonitoringCommand.js +2 -19
- package/dist-es/commands/EnableEnhancedMonitoringCommand.js +2 -19
- package/dist-es/commands/GetRecordsCommand.js +2 -19
- package/dist-es/commands/GetResourcePolicyCommand.js +2 -19
- package/dist-es/commands/GetShardIteratorCommand.js +2 -19
- package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +2 -19
- package/dist-es/commands/ListShardsCommand.js +2 -19
- package/dist-es/commands/ListStreamConsumersCommand.js +2 -19
- package/dist-es/commands/ListStreamsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -19
- package/dist-es/commands/ListTagsForStreamCommand.js +2 -19
- package/dist-es/commands/MergeShardsCommand.js +2 -19
- package/dist-es/commands/PutRecordCommand.js +2 -19
- package/dist-es/commands/PutRecordsCommand.js +2 -19
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -19
- package/dist-es/commands/RegisterStreamConsumerCommand.js +2 -19
- package/dist-es/commands/RemoveTagsFromStreamCommand.js +2 -19
- package/dist-es/commands/SplitShardCommand.js +2 -19
- package/dist-es/commands/StartStreamEncryptionCommand.js +2 -19
- package/dist-es/commands/StopStreamEncryptionCommand.js +2 -19
- package/dist-es/commands/SubscribeToShardCommand.js +2 -23
- package/dist-es/commands/TagResourceCommand.js +2 -19
- package/dist-es/commands/UntagResourceCommand.js +2 -19
- package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -14
- package/dist-es/commands/UpdateMaxRecordSizeCommand.js +2 -19
- package/dist-es/commands/UpdateShardCountCommand.js +2 -19
- package/dist-es/commands/UpdateStreamModeCommand.js +2 -19
- package/dist-es/commands/UpdateStreamWarmThroughputCommand.js +2 -19
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +38 -0
- package/dist-types/commands/AddTagsToStreamCommand.d.ts +3 -8
- package/dist-types/commands/CreateStreamCommand.d.ts +3 -8
- package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +3 -8
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteStreamCommand.d.ts +3 -8
- package/dist-types/commands/DeregisterStreamConsumerCommand.d.ts +3 -8
- package/dist-types/commands/DescribeAccountSettingsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeLimitsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeStreamCommand.d.ts +3 -8
- package/dist-types/commands/DescribeStreamConsumerCommand.d.ts +3 -8
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +3 -8
- package/dist-types/commands/DisableEnhancedMonitoringCommand.d.ts +3 -8
- package/dist-types/commands/EnableEnhancedMonitoringCommand.d.ts +3 -8
- package/dist-types/commands/GetRecordsCommand.d.ts +3 -8
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/GetShardIteratorCommand.d.ts +3 -8
- package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +3 -8
- package/dist-types/commands/ListShardsCommand.d.ts +3 -8
- package/dist-types/commands/ListStreamConsumersCommand.d.ts +3 -8
- package/dist-types/commands/ListStreamsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForStreamCommand.d.ts +3 -8
- package/dist-types/commands/MergeShardsCommand.d.ts +3 -8
- package/dist-types/commands/PutRecordCommand.d.ts +3 -8
- package/dist-types/commands/PutRecordsCommand.d.ts +3 -8
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/RegisterStreamConsumerCommand.d.ts +3 -8
- package/dist-types/commands/RemoveTagsFromStreamCommand.d.ts +3 -8
- package/dist-types/commands/SplitShardCommand.d.ts +3 -8
- package/dist-types/commands/StartStreamEncryptionCommand.d.ts +3 -8
- package/dist-types/commands/StopStreamEncryptionCommand.d.ts +3 -8
- package/dist-types/commands/SubscribeToShardCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +3 -8
- package/dist-types/commands/UpdateMaxRecordSizeCommand.d.ts +3 -8
- package/dist-types/commands/UpdateShardCountCommand.d.ts +3 -8
- package/dist-types/commands/UpdateStreamModeCommand.d.ts +3 -8
- package/dist-types/commands/UpdateStreamWarmThroughputCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +51 -0
- package/dist-types/ts3.4/commands/AddTagsToStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DecreaseStreamRetentionPeriodCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeregisterStreamConsumerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeStreamConsumerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeStreamSummaryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisableEnhancedMonitoringCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/EnableEnhancedMonitoringCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetRecordsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetShardIteratorCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/IncreaseStreamRetentionPeriodCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListShardsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListStreamConsumersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/MergeShardsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutRecordCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutRecordsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RegisterStreamConsumerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RemoveTagsFromStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SplitShardCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartStreamEncryptionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopStreamEncryptionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SubscribeToShardCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateMaxRecordSizeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateShardCountCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateStreamModeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateStreamWarmThroughputCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +9 -11
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep2, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutResourcePolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
ResourceARN: { type: "contextParams", name: "ResourceARN" },
|
|
12
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
13
|
-
})
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
|
-
})
|
|
17
|
-
.s("Kinesis_20131202", "PutResourcePolicy", {})
|
|
18
|
-
.n("KinesisClient", "PutResourcePolicyCommand")
|
|
19
|
-
.sc(PutResourcePolicy$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class PutResourcePolicyCommand extends command(_ep2, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
|
|
21
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RegisterStreamConsumer$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RegisterStreamConsumerCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
12
|
-
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
-
})
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
|
-
})
|
|
17
|
-
.s("Kinesis_20131202", "RegisterStreamConsumer", {})
|
|
18
|
-
.n("KinesisClient", "RegisterStreamConsumerCommand")
|
|
19
|
-
.sc(RegisterStreamConsumer$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class RegisterStreamConsumerCommand extends command(_ep0, _mw0, "RegisterStreamConsumer", RegisterStreamConsumer$) {
|
|
21
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RemoveTagsFromStream$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RemoveTagsFromStreamCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
12
|
-
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
-
})
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
|
-
})
|
|
17
|
-
.s("Kinesis_20131202", "RemoveTagsFromStream", {})
|
|
18
|
-
.n("KinesisClient", "RemoveTagsFromStreamCommand")
|
|
19
|
-
.sc(RemoveTagsFromStream$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class RemoveTagsFromStreamCommand extends command(_ep0, _mw0, "RemoveTagsFromStream", RemoveTagsFromStream$) {
|
|
21
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SplitShard$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SplitShardCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
12
|
-
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
-
})
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
|
-
})
|
|
17
|
-
.s("Kinesis_20131202", "SplitShard", {})
|
|
18
|
-
.n("KinesisClient", "SplitShardCommand")
|
|
19
|
-
.sc(SplitShard$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class SplitShardCommand extends command(_ep0, _mw0, "SplitShard", SplitShard$) {
|
|
21
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartStreamEncryption$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartStreamEncryptionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
12
|
-
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
-
})
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
|
-
})
|
|
17
|
-
.s("Kinesis_20131202", "StartStreamEncryption", {})
|
|
18
|
-
.n("KinesisClient", "StartStreamEncryptionCommand")
|
|
19
|
-
.sc(StartStreamEncryption$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class StartStreamEncryptionCommand extends command(_ep0, _mw0, "StartStreamEncryption", StartStreamEncryption$) {
|
|
21
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StopStreamEncryption$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StopStreamEncryptionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
12
|
-
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
-
})
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
|
-
})
|
|
17
|
-
.s("Kinesis_20131202", "StopStreamEncryption", {})
|
|
18
|
-
.n("KinesisClient", "StopStreamEncryptionCommand")
|
|
19
|
-
.sc(StopStreamEncryption$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class StopStreamEncryptionCommand extends command(_ep0, _mw0, "StopStreamEncryption", StopStreamEncryption$) {
|
|
21
4
|
}
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep5, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SubscribeToShard$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SubscribeToShardCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `data` },
|
|
11
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
12
|
-
ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
|
|
13
|
-
})
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
|
-
})
|
|
17
|
-
.s("Kinesis_20131202", "SubscribeToShard", {
|
|
18
|
-
eventStream: {
|
|
19
|
-
output: true,
|
|
20
|
-
},
|
|
21
|
-
})
|
|
22
|
-
.n("KinesisClient", "SubscribeToShardCommand")
|
|
23
|
-
.sc(SubscribeToShard$)
|
|
24
|
-
.build() {
|
|
3
|
+
export class SubscribeToShardCommand extends command(_ep5, _mw0, "SubscribeToShard", SubscribeToShard$) {
|
|
25
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep2, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
ResourceARN: { type: "contextParams", name: "ResourceARN" },
|
|
12
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
13
|
-
})
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
|
-
})
|
|
17
|
-
.s("Kinesis_20131202", "TagResource", {})
|
|
18
|
-
.n("KinesisClient", "TagResourceCommand")
|
|
19
|
-
.sc(TagResource$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep2, _mw0, "TagResource", TagResource$) {
|
|
21
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep2, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
ResourceARN: { type: "contextParams", name: "ResourceARN" },
|
|
12
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
13
|
-
})
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
|
-
})
|
|
17
|
-
.s("Kinesis_20131202", "UntagResource", {})
|
|
18
|
-
.n("KinesisClient", "UntagResourceCommand")
|
|
19
|
-
.sc(UntagResource$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep2, _mw0, "UntagResource", UntagResource$) {
|
|
21
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep1, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateAccountSettings$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateAccountSettingsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Kinesis_20131202", "UpdateAccountSettings", {})
|
|
13
|
-
.n("KinesisClient", "UpdateAccountSettingsCommand")
|
|
14
|
-
.sc(UpdateAccountSettings$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateAccountSettingsCommand extends command(_ep1, _mw0, "UpdateAccountSettings", UpdateAccountSettings$) {
|
|
16
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateMaxRecordSize$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateMaxRecordSizeCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
12
|
-
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
-
})
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
|
-
})
|
|
17
|
-
.s("Kinesis_20131202", "UpdateMaxRecordSize", {})
|
|
18
|
-
.n("KinesisClient", "UpdateMaxRecordSizeCommand")
|
|
19
|
-
.sc(UpdateMaxRecordSize$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class UpdateMaxRecordSizeCommand extends command(_ep0, _mw0, "UpdateMaxRecordSize", UpdateMaxRecordSize$) {
|
|
21
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateShardCount$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateShardCountCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
12
|
-
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
-
})
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
|
-
})
|
|
17
|
-
.s("Kinesis_20131202", "UpdateShardCount", {})
|
|
18
|
-
.n("KinesisClient", "UpdateShardCountCommand")
|
|
19
|
-
.sc(UpdateShardCount$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class UpdateShardCountCommand extends command(_ep0, _mw0, "UpdateShardCount", UpdateShardCount$) {
|
|
21
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateStreamMode$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateStreamModeCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
12
|
-
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
-
})
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
|
-
})
|
|
17
|
-
.s("Kinesis_20131202", "UpdateStreamMode", {})
|
|
18
|
-
.n("KinesisClient", "UpdateStreamModeCommand")
|
|
19
|
-
.sc(UpdateStreamMode$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class UpdateStreamModeCommand extends command(_ep0, _mw0, "UpdateStreamMode", UpdateStreamMode$) {
|
|
21
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateStreamWarmThroughput$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateStreamWarmThroughputCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
12
|
-
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
13
|
-
})
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
|
-
})
|
|
17
|
-
.s("Kinesis_20131202", "UpdateStreamWarmThroughput", {})
|
|
18
|
-
.n("KinesisClient", "UpdateStreamWarmThroughputCommand")
|
|
19
|
-
.sc(UpdateStreamWarmThroughput$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class UpdateStreamWarmThroughputCommand extends command(_ep0, _mw0, "UpdateStreamWarmThroughput", UpdateStreamWarmThroughput$) {
|
|
21
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -25,7 +24,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
25
24
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
26
25
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
27
26
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
28
|
-
sha256: config?.sha256 ?? Sha256,
|
|
29
27
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
30
28
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
31
29
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -6,7 +6,7 @@ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smi
|
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
|
8
8
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
9
|
-
import { calculateBodyLength
|
|
9
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
10
10
|
import { NodeHttp2Handler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
11
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
@@ -40,7 +40,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
40
40
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
41
41
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
42
42
|
}, config),
|
|
43
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
44
43
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
45
44
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
46
45
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -32,6 +33,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
32
33
|
serviceTarget: "Kinesis_20131202",
|
|
33
34
|
},
|
|
34
35
|
serviceId: config?.serviceId ?? "Kinesis",
|
|
36
|
+
sha256: config?.sha256 ?? Sha256,
|
|
35
37
|
urlParser: config?.urlParser ?? parseUrl,
|
|
36
38
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
37
39
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./KinesisClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _ep1: EndpointParameterInstructions;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export declare const _ep2: EndpointParameterInstructions;
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
export declare const _ep3: EndpointParameterInstructions;
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
export declare const _ep4: EndpointParameterInstructions;
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
export declare const _ep5: EndpointParameterInstructions;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
4
2
|
import type { AddTagsToStreamInput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AddTagsToStreamCommandInput extends AddTagsToStreamInput {
|
|
|
22
19
|
export interface AddTagsToStreamCommandOutput extends __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AddTagsToStreamCommand_base: {
|
|
25
|
-
new (input: AddTagsToStreamCommandInput): import("@smithy/core/client").CommandImpl<AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AddTagsToStreamCommandInput): import("@smithy/core/client").CommandImpl<AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AddTagsToStreamCommandInput): import("@smithy/core/client").CommandImpl<AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput, import("..").KinesisClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AddTagsToStreamCommandInput): import("@smithy/core/client").CommandImpl<AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput, import("..").KinesisClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Adds or updates tags for the specified Kinesis data stream. You can assign up to 50
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
4
2
|
import type { CreateStreamInput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateStreamCommandInput extends CreateStreamInput {
|
|
|
22
19
|
export interface CreateStreamCommandOutput extends __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateStreamCommand_base: {
|
|
25
|
-
new (input: CreateStreamCommandInput): import("@smithy/core/client").CommandImpl<CreateStreamCommandInput, CreateStreamCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateStreamCommandInput): import("@smithy/core/client").CommandImpl<CreateStreamCommandInput, CreateStreamCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateStreamCommandInput): import("@smithy/core/client").CommandImpl<CreateStreamCommandInput, CreateStreamCommandOutput, import("..").KinesisClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateStreamCommandInput): import("@smithy/core/client").CommandImpl<CreateStreamCommandInput, CreateStreamCommandOutput, import("..").KinesisClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a Kinesis data stream. A stream captures and transports data records that are
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
4
2
|
import type { DecreaseStreamRetentionPeriodInput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DecreaseStreamRetentionPeriodCommandInput extends DecreaseStrea
|
|
|
22
19
|
export interface DecreaseStreamRetentionPeriodCommandOutput extends __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DecreaseStreamRetentionPeriodCommand_base: {
|
|
25
|
-
new (input: DecreaseStreamRetentionPeriodCommandInput): import("@smithy/core/client").CommandImpl<DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DecreaseStreamRetentionPeriodCommandInput): import("@smithy/core/client").CommandImpl<DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DecreaseStreamRetentionPeriodCommandInput): import("@smithy/core/client").CommandImpl<DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput, import("..").KinesisClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DecreaseStreamRetentionPeriodCommandInput): import("@smithy/core/client").CommandImpl<DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput, import("..").KinesisClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Decreases the Kinesis data stream's retention period, which is the length of time data
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
4
2
|
import type { DeleteResourcePolicyInput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyIn
|
|
|
22
19
|
export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteResourcePolicyCommand_base: {
|
|
25
|
-
new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, import("..").KinesisClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, import("..").KinesisClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Delete a policy for the specified data stream or consumer. Request patterns can be one of the following:</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
4
2
|
import type { DeleteStreamInput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteStreamCommandInput extends DeleteStreamInput {
|
|
|
22
19
|
export interface DeleteStreamCommandOutput extends __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteStreamCommand_base: {
|
|
25
|
-
new (input: DeleteStreamCommandInput): import("@smithy/core/client").CommandImpl<DeleteStreamCommandInput, DeleteStreamCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [DeleteStreamCommandInput]): import("@smithy/core/client").CommandImpl<DeleteStreamCommandInput, DeleteStreamCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteStreamCommandInput): import("@smithy/core/client").CommandImpl<DeleteStreamCommandInput, DeleteStreamCommandOutput, import("..").KinesisClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [DeleteStreamCommandInput]): import("@smithy/core/client").CommandImpl<DeleteStreamCommandInput, DeleteStreamCommandOutput, import("..").KinesisClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Deletes a Kinesis data stream and all its shards and data. You must shut down any
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KinesisClient";
|
|
4
2
|
import type { DeregisterStreamConsumerInput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeregisterStreamConsumerCommandInput extends DeregisterStreamCo
|
|
|
22
19
|
export interface DeregisterStreamConsumerCommandOutput extends __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeregisterStreamConsumerCommand_base: {
|
|
25
|
-
new (input: DeregisterStreamConsumerCommandInput): import("@smithy/core/client").CommandImpl<DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [DeregisterStreamConsumerCommandInput]): import("@smithy/core/client").CommandImpl<DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput, KinesisClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeregisterStreamConsumerCommandInput): import("@smithy/core/client").CommandImpl<DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput, import("..").KinesisClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [DeregisterStreamConsumerCommandInput]): import("@smithy/core/client").CommandImpl<DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput, import("..").KinesisClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>To deregister a consumer, provide its ARN. Alternatively, you can provide the ARN of
|