@aws-sdk/client-kinesis 3.1077.0 → 3.1079.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 +70 -566
- 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-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/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/package.json +9 -9
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "Kinesis_20131202", "KinesisClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {
|
|
6
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
7
|
+
StreamId: { type: "contextParams", name: "StreamId" },
|
|
8
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
9
|
+
};
|
|
10
|
+
export const _ep1 = {};
|
|
11
|
+
export const _ep2 = {
|
|
12
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
13
|
+
ResourceARN: { type: "contextParams", name: "ResourceARN" },
|
|
14
|
+
StreamId: { type: "contextParams", name: "StreamId" },
|
|
15
|
+
};
|
|
16
|
+
export const _ep3 = {
|
|
17
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
18
|
+
StreamId: { type: "contextParams", name: "StreamId" },
|
|
19
|
+
ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
|
|
20
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
21
|
+
};
|
|
22
|
+
export const _ep4 = {
|
|
23
|
+
OperationType: { type: "staticContextParams", value: `data` },
|
|
24
|
+
StreamId: { type: "contextParams", name: "StreamId" },
|
|
25
|
+
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
26
|
+
};
|
|
27
|
+
export const _ep5 = {
|
|
28
|
+
OperationType: { type: "staticContextParams", value: `data` },
|
|
29
|
+
StreamId: { type: "contextParams", name: "StreamId" },
|
|
30
|
+
ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
|
|
31
|
+
};
|
|
32
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -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 { AddTagsToStream$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AddTagsToStreamCommand 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", "AddTagsToStream", {})
|
|
18
|
-
.n("KinesisClient", "AddTagsToStreamCommand")
|
|
19
|
-
.sc(AddTagsToStream$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class AddTagsToStreamCommand extends command(_ep0, _mw0, "AddTagsToStream", AddTagsToStream$) {
|
|
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 { CreateStream$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateStreamCommand 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", "CreateStream", {})
|
|
13
|
-
.n("KinesisClient", "CreateStreamCommand")
|
|
14
|
-
.sc(CreateStream$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateStreamCommand extends command(_ep1, _mw0, "CreateStream", CreateStream$) {
|
|
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 { DecreaseStreamRetentionPeriod$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DecreaseStreamRetentionPeriodCommand 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", "DecreaseStreamRetentionPeriod", {})
|
|
18
|
-
.n("KinesisClient", "DecreaseStreamRetentionPeriodCommand")
|
|
19
|
-
.sc(DecreaseStreamRetentionPeriod$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class DecreaseStreamRetentionPeriodCommand extends command(_ep0, _mw0, "DecreaseStreamRetentionPeriod", DecreaseStreamRetentionPeriod$) {
|
|
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 { DeleteResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteResourcePolicyCommand 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", "DeleteResourcePolicy", {})
|
|
18
|
-
.n("KinesisClient", "DeleteResourcePolicyCommand")
|
|
19
|
-
.sc(DeleteResourcePolicy$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class DeleteResourcePolicyCommand extends command(_ep2, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
|
|
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 { DeleteStream$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteStreamCommand 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", "DeleteStream", {})
|
|
18
|
-
.n("KinesisClient", "DeleteStreamCommand")
|
|
19
|
-
.sc(DeleteStream$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class DeleteStreamCommand extends command(_ep0, _mw0, "DeleteStream", DeleteStream$) {
|
|
21
4
|
}
|
|
@@ -1,22 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep3, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeregisterStreamConsumer$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeregisterStreamConsumerCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
12
|
-
ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
|
|
13
|
-
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
17
|
-
})
|
|
18
|
-
.s("Kinesis_20131202", "DeregisterStreamConsumer", {})
|
|
19
|
-
.n("KinesisClient", "DeregisterStreamConsumerCommand")
|
|
20
|
-
.sc(DeregisterStreamConsumer$)
|
|
21
|
-
.build() {
|
|
3
|
+
export class DeregisterStreamConsumerCommand extends command(_ep3, _mw0, "DeregisterStreamConsumer", DeregisterStreamConsumer$) {
|
|
22
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 { DescribeAccountSettings$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeAccountSettingsCommand 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", "DescribeAccountSettings", {})
|
|
13
|
-
.n("KinesisClient", "DescribeAccountSettingsCommand")
|
|
14
|
-
.sc(DescribeAccountSettings$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeAccountSettingsCommand extends command(_ep1, _mw0, "DescribeAccountSettings", DescribeAccountSettings$) {
|
|
16
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 { DescribeLimits$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeLimitsCommand 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", "DescribeLimits", {})
|
|
13
|
-
.n("KinesisClient", "DescribeLimitsCommand")
|
|
14
|
-
.sc(DescribeLimits$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeLimitsCommand extends command(_ep1, _mw0, "DescribeLimits", DescribeLimits$) {
|
|
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 { DescribeStream$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeStreamCommand 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", "DescribeStream", {})
|
|
18
|
-
.n("KinesisClient", "DescribeStreamCommand")
|
|
19
|
-
.sc(DescribeStream$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class DescribeStreamCommand extends command(_ep0, _mw0, "DescribeStream", DescribeStream$) {
|
|
21
4
|
}
|
|
@@ -1,22 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep3, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeStreamConsumer$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeStreamConsumerCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `control` },
|
|
11
|
-
StreamId: { type: "contextParams", name: "StreamId" },
|
|
12
|
-
ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
|
|
13
|
-
StreamARN: { type: "contextParams", name: "StreamARN" },
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
17
|
-
})
|
|
18
|
-
.s("Kinesis_20131202", "DescribeStreamConsumer", {})
|
|
19
|
-
.n("KinesisClient", "DescribeStreamConsumerCommand")
|
|
20
|
-
.sc(DescribeStreamConsumer$)
|
|
21
|
-
.build() {
|
|
3
|
+
export class DescribeStreamConsumerCommand extends command(_ep3, _mw0, "DescribeStreamConsumer", DescribeStreamConsumer$) {
|
|
22
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 { DescribeStreamSummary$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeStreamSummaryCommand 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", "DescribeStreamSummary", {})
|
|
18
|
-
.n("KinesisClient", "DescribeStreamSummaryCommand")
|
|
19
|
-
.sc(DescribeStreamSummary$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class DescribeStreamSummaryCommand extends command(_ep0, _mw0, "DescribeStreamSummary", DescribeStreamSummary$) {
|
|
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 { DisableEnhancedMonitoring$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DisableEnhancedMonitoringCommand 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", "DisableEnhancedMonitoring", {})
|
|
18
|
-
.n("KinesisClient", "DisableEnhancedMonitoringCommand")
|
|
19
|
-
.sc(DisableEnhancedMonitoring$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class DisableEnhancedMonitoringCommand extends command(_ep0, _mw0, "DisableEnhancedMonitoring", DisableEnhancedMonitoring$) {
|
|
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 { EnableEnhancedMonitoring$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class EnableEnhancedMonitoringCommand 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", "EnableEnhancedMonitoring", {})
|
|
18
|
-
.n("KinesisClient", "EnableEnhancedMonitoringCommand")
|
|
19
|
-
.sc(EnableEnhancedMonitoring$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class EnableEnhancedMonitoringCommand extends command(_ep0, _mw0, "EnableEnhancedMonitoring", EnableEnhancedMonitoring$) {
|
|
21
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep4, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetRecords$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetRecordsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `data` },
|
|
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", "GetRecords", {})
|
|
18
|
-
.n("KinesisClient", "GetRecordsCommand")
|
|
19
|
-
.sc(GetRecords$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class GetRecordsCommand extends command(_ep4, _mw0, "GetRecords", GetRecords$) {
|
|
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 { GetResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetResourcePolicyCommand 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", "GetResourcePolicy", {})
|
|
18
|
-
.n("KinesisClient", "GetResourcePolicyCommand")
|
|
19
|
-
.sc(GetResourcePolicy$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class GetResourcePolicyCommand extends command(_ep2, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
|
|
21
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep4, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetShardIterator$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetShardIteratorCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `data` },
|
|
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", "GetShardIterator", {})
|
|
18
|
-
.n("KinesisClient", "GetShardIteratorCommand")
|
|
19
|
-
.sc(GetShardIterator$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class GetShardIteratorCommand extends command(_ep4, _mw0, "GetShardIterator", GetShardIterator$) {
|
|
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 { IncreaseStreamRetentionPeriod$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class IncreaseStreamRetentionPeriodCommand 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", "IncreaseStreamRetentionPeriod", {})
|
|
18
|
-
.n("KinesisClient", "IncreaseStreamRetentionPeriodCommand")
|
|
19
|
-
.sc(IncreaseStreamRetentionPeriod$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class IncreaseStreamRetentionPeriodCommand extends command(_ep0, _mw0, "IncreaseStreamRetentionPeriod", IncreaseStreamRetentionPeriod$) {
|
|
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 { ListShards$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListShardsCommand 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", "ListShards", {})
|
|
18
|
-
.n("KinesisClient", "ListShardsCommand")
|
|
19
|
-
.sc(ListShards$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class ListShardsCommand extends command(_ep0, _mw0, "ListShards", ListShards$) {
|
|
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 { ListStreamConsumers$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListStreamConsumersCommand 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", "ListStreamConsumers", {})
|
|
18
|
-
.n("KinesisClient", "ListStreamConsumersCommand")
|
|
19
|
-
.sc(ListStreamConsumers$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class ListStreamConsumersCommand extends command(_ep0, _mw0, "ListStreamConsumers", ListStreamConsumers$) {
|
|
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 { ListStreams$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListStreamsCommand 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", "ListStreams", {})
|
|
13
|
-
.n("KinesisClient", "ListStreamsCommand")
|
|
14
|
-
.sc(ListStreams$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListStreamsCommand extends command(_ep1, _mw0, "ListStreams", ListStreams$) {
|
|
16
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 { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
|
|
18
|
-
.n("KinesisClient", "ListTagsForResourceCommand")
|
|
19
|
-
.sc(ListTagsForResource$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep2, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
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 { ListTagsForStream$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForStreamCommand 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", "ListTagsForStream", {})
|
|
18
|
-
.n("KinesisClient", "ListTagsForStreamCommand")
|
|
19
|
-
.sc(ListTagsForStream$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class ListTagsForStreamCommand extends command(_ep0, _mw0, "ListTagsForStream", ListTagsForStream$) {
|
|
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 { MergeShards$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class MergeShardsCommand 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", "MergeShards", {})
|
|
18
|
-
.n("KinesisClient", "MergeShardsCommand")
|
|
19
|
-
.sc(MergeShards$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class MergeShardsCommand extends command(_ep0, _mw0, "MergeShards", MergeShards$) {
|
|
21
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep4, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutRecord$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutRecordCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `data` },
|
|
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", "PutRecord", {})
|
|
18
|
-
.n("KinesisClient", "PutRecordCommand")
|
|
19
|
-
.sc(PutRecord$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class PutRecordCommand extends command(_ep4, _mw0, "PutRecord", PutRecord$) {
|
|
21
4
|
}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep4, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutRecords$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutRecordsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep({
|
|
9
|
-
...commonParams,
|
|
10
|
-
OperationType: { type: "staticContextParams", value: `data` },
|
|
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", "PutRecords", {})
|
|
18
|
-
.n("KinesisClient", "PutRecordsCommand")
|
|
19
|
-
.sc(PutRecords$)
|
|
20
|
-
.build() {
|
|
3
|
+
export class PutRecordsCommand extends command(_ep4, _mw0, "PutRecords", PutRecords$) {
|
|
21
4
|
}
|