@aws-sdk/client-kinesis 3.300.0 → 3.301.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-types/commands/AddTagsToStreamCommand.d.ts +2 -2
- package/dist-types/commands/CreateStreamCommand.d.ts +2 -2
- package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStreamCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterStreamConsumerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStreamCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStreamConsumerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +1 -1
- package/dist-types/commands/DisableEnhancedMonitoringCommand.d.ts +2 -2
- package/dist-types/commands/EnableEnhancedMonitoringCommand.d.ts +2 -2
- package/dist-types/commands/GetRecordsCommand.d.ts +1 -1
- package/dist-types/commands/GetShardIteratorCommand.d.ts +1 -1
- package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +1 -1
- package/dist-types/commands/ListShardsCommand.d.ts +2 -2
- package/dist-types/commands/ListStreamConsumersCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForStreamCommand.d.ts +1 -1
- package/dist-types/commands/MergeShardsCommand.d.ts +1 -1
- package/dist-types/commands/PutRecordCommand.d.ts +1 -1
- package/dist-types/commands/PutRecordsCommand.d.ts +3 -3
- package/dist-types/commands/RegisterStreamConsumerCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTagsFromStreamCommand.d.ts +2 -2
- package/dist-types/commands/SplitShardCommand.d.ts +1 -1
- package/dist-types/commands/StartStreamEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/StopStreamEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/SubscribeToShardCommand.d.ts +2 -2
- package/dist-types/commands/UpdateShardCountCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStreamModeCommand.d.ts +2 -2
- package/package.json +3 -3
|
@@ -36,9 +36,9 @@ export interface AddTagsToStreamCommandOutput extends __MetadataBearer {
|
|
|
36
36
|
* import { KinesisClient, AddTagsToStreamCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
37
37
|
* // const { KinesisClient, AddTagsToStreamCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
38
38
|
* const client = new KinesisClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // AddTagsToStreamInput
|
|
40
40
|
* StreamName: "STRING_VALUE",
|
|
41
|
-
* Tags: { // required
|
|
41
|
+
* Tags: { // TagMap // required
|
|
42
42
|
* "<keys>": "STRING_VALUE",
|
|
43
43
|
* },
|
|
44
44
|
* StreamARN: "STRING_VALUE",
|
|
@@ -69,10 +69,10 @@ export interface CreateStreamCommandOutput extends __MetadataBearer {
|
|
|
69
69
|
* import { KinesisClient, CreateStreamCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
70
70
|
* // const { KinesisClient, CreateStreamCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
71
71
|
* const client = new KinesisClient(config);
|
|
72
|
-
* const input = {
|
|
72
|
+
* const input = { // CreateStreamInput
|
|
73
73
|
* StreamName: "STRING_VALUE", // required
|
|
74
74
|
* ShardCount: Number("int"),
|
|
75
|
-
* StreamModeDetails: {
|
|
75
|
+
* StreamModeDetails: { // StreamModeDetails
|
|
76
76
|
* StreamMode: "PROVISIONED" || "ON_DEMAND", // required
|
|
77
77
|
* },
|
|
78
78
|
* };
|
|
@@ -35,7 +35,7 @@ export interface DecreaseStreamRetentionPeriodCommandOutput extends __MetadataBe
|
|
|
35
35
|
* import { KinesisClient, DecreaseStreamRetentionPeriodCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
36
36
|
* // const { KinesisClient, DecreaseStreamRetentionPeriodCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
37
37
|
* const client = new KinesisClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // DecreaseStreamRetentionPeriodInput
|
|
39
39
|
* StreamName: "STRING_VALUE",
|
|
40
40
|
* RetentionPeriodHours: Number("int"), // required
|
|
41
41
|
* StreamARN: "STRING_VALUE",
|
|
@@ -48,7 +48,7 @@ export interface DeleteStreamCommandOutput extends __MetadataBearer {
|
|
|
48
48
|
* import { KinesisClient, DeleteStreamCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
49
49
|
* // const { KinesisClient, DeleteStreamCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
50
50
|
* const client = new KinesisClient(config);
|
|
51
|
-
* const input = {
|
|
51
|
+
* const input = { // DeleteStreamInput
|
|
52
52
|
* StreamName: "STRING_VALUE",
|
|
53
53
|
* EnforceConsumerDeletion: true || false,
|
|
54
54
|
* StreamARN: "STRING_VALUE",
|
|
@@ -33,7 +33,7 @@ export interface DeregisterStreamConsumerCommandOutput extends __MetadataBearer
|
|
|
33
33
|
* import { KinesisClient, DeregisterStreamConsumerCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
34
34
|
* // const { KinesisClient, DeregisterStreamConsumerCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
35
35
|
* const client = new KinesisClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // DeregisterStreamConsumerInput
|
|
37
37
|
* StreamARN: "STRING_VALUE",
|
|
38
38
|
* ConsumerName: "STRING_VALUE",
|
|
39
39
|
* ConsumerARN: "STRING_VALUE",
|
|
@@ -49,7 +49,7 @@ export interface DescribeStreamCommandOutput extends DescribeStreamOutput, __Met
|
|
|
49
49
|
* import { KinesisClient, DescribeStreamCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
50
50
|
* // const { KinesisClient, DescribeStreamCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
51
51
|
* const client = new KinesisClient(config);
|
|
52
|
-
* const input = {
|
|
52
|
+
* const input = { // DescribeStreamInput
|
|
53
53
|
* StreamName: "STRING_VALUE",
|
|
54
54
|
* Limit: Number("int"),
|
|
55
55
|
* ExclusiveStartShardId: "STRING_VALUE",
|
|
@@ -33,7 +33,7 @@ export interface DescribeStreamConsumerCommandOutput extends DescribeStreamConsu
|
|
|
33
33
|
* import { KinesisClient, DescribeStreamConsumerCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
34
34
|
* // const { KinesisClient, DescribeStreamConsumerCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
35
35
|
* const client = new KinesisClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // DescribeStreamConsumerInput
|
|
37
37
|
* StreamARN: "STRING_VALUE",
|
|
38
38
|
* ConsumerName: "STRING_VALUE",
|
|
39
39
|
* ConsumerARN: "STRING_VALUE",
|
|
@@ -37,7 +37,7 @@ export interface DescribeStreamSummaryCommandOutput extends DescribeStreamSummar
|
|
|
37
37
|
* import { KinesisClient, DescribeStreamSummaryCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
38
38
|
* // const { KinesisClient, DescribeStreamSummaryCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
39
39
|
* const client = new KinesisClient(config);
|
|
40
|
-
* const input = {
|
|
40
|
+
* const input = { // DescribeStreamSummaryInput
|
|
41
41
|
* StreamName: "STRING_VALUE",
|
|
42
42
|
* StreamARN: "STRING_VALUE",
|
|
43
43
|
* };
|
|
@@ -30,9 +30,9 @@ export interface DisableEnhancedMonitoringCommandOutput extends EnhancedMonitori
|
|
|
30
30
|
* import { KinesisClient, DisableEnhancedMonitoringCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
31
31
|
* // const { KinesisClient, DisableEnhancedMonitoringCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
32
32
|
* const client = new KinesisClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // DisableEnhancedMonitoringInput
|
|
34
34
|
* StreamName: "STRING_VALUE",
|
|
35
|
-
* ShardLevelMetrics: [ // required
|
|
35
|
+
* ShardLevelMetrics: [ // MetricsNameList // required
|
|
36
36
|
* "IncomingBytes" || "IncomingRecords" || "OutgoingBytes" || "OutgoingRecords" || "WriteProvisionedThroughputExceeded" || "ReadProvisionedThroughputExceeded" || "IteratorAgeMilliseconds" || "ALL",
|
|
37
37
|
* ],
|
|
38
38
|
* StreamARN: "STRING_VALUE",
|
|
@@ -30,9 +30,9 @@ export interface EnableEnhancedMonitoringCommandOutput extends EnhancedMonitorin
|
|
|
30
30
|
* import { KinesisClient, EnableEnhancedMonitoringCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
31
31
|
* // const { KinesisClient, EnableEnhancedMonitoringCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
32
32
|
* const client = new KinesisClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // EnableEnhancedMonitoringInput
|
|
34
34
|
* StreamName: "STRING_VALUE",
|
|
35
|
-
* ShardLevelMetrics: [ // required
|
|
35
|
+
* ShardLevelMetrics: [ // MetricsNameList // required
|
|
36
36
|
* "IncomingBytes" || "IncomingRecords" || "OutgoingBytes" || "OutgoingRecords" || "WriteProvisionedThroughputExceeded" || "ReadProvisionedThroughputExceeded" || "IteratorAgeMilliseconds" || "ALL",
|
|
37
37
|
* ],
|
|
38
38
|
* StreamARN: "STRING_VALUE",
|
|
@@ -77,7 +77,7 @@ export interface GetRecordsCommandOutput extends GetRecordsOutput, __MetadataBea
|
|
|
77
77
|
* import { KinesisClient, GetRecordsCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
78
78
|
* // const { KinesisClient, GetRecordsCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
79
79
|
* const client = new KinesisClient(config);
|
|
80
|
-
* const input = {
|
|
80
|
+
* const input = { // GetRecordsInput
|
|
81
81
|
* ShardIterator: "STRING_VALUE", // required
|
|
82
82
|
* Limit: Number("int"),
|
|
83
83
|
* StreamARN: "STRING_VALUE",
|
|
@@ -63,7 +63,7 @@ export interface GetShardIteratorCommandOutput extends GetShardIteratorOutput, _
|
|
|
63
63
|
* import { KinesisClient, GetShardIteratorCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
64
64
|
* // const { KinesisClient, GetShardIteratorCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
65
65
|
* const client = new KinesisClient(config);
|
|
66
|
-
* const input = {
|
|
66
|
+
* const input = { // GetShardIteratorInput
|
|
67
67
|
* StreamName: "STRING_VALUE",
|
|
68
68
|
* ShardId: "STRING_VALUE", // required
|
|
69
69
|
* ShardIteratorType: "AT_SEQUENCE_NUMBER" || "AFTER_SEQUENCE_NUMBER" || "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP", // required
|
|
@@ -38,7 +38,7 @@ export interface IncreaseStreamRetentionPeriodCommandOutput extends __MetadataBe
|
|
|
38
38
|
* import { KinesisClient, IncreaseStreamRetentionPeriodCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
39
39
|
* // const { KinesisClient, IncreaseStreamRetentionPeriodCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
40
40
|
* const client = new KinesisClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // IncreaseStreamRetentionPeriodInput
|
|
42
42
|
* StreamName: "STRING_VALUE",
|
|
43
43
|
* RetentionPeriodHours: Number("int"), // required
|
|
44
44
|
* StreamARN: "STRING_VALUE",
|
|
@@ -40,13 +40,13 @@ export interface ListShardsCommandOutput extends ListShardsOutput, __MetadataBea
|
|
|
40
40
|
* import { KinesisClient, ListShardsCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
41
41
|
* // const { KinesisClient, ListShardsCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
42
42
|
* const client = new KinesisClient(config);
|
|
43
|
-
* const input = {
|
|
43
|
+
* const input = { // ListShardsInput
|
|
44
44
|
* StreamName: "STRING_VALUE",
|
|
45
45
|
* NextToken: "STRING_VALUE",
|
|
46
46
|
* ExclusiveStartShardId: "STRING_VALUE",
|
|
47
47
|
* MaxResults: Number("int"),
|
|
48
48
|
* StreamCreationTimestamp: new Date("TIMESTAMP"),
|
|
49
|
-
* ShardFilter: {
|
|
49
|
+
* ShardFilter: { // ShardFilter
|
|
50
50
|
* Type: "AFTER_SHARD_ID" || "AT_TRIM_HORIZON" || "FROM_TRIM_HORIZON" || "AT_LATEST" || "AT_TIMESTAMP" || "FROM_TIMESTAMP", // required
|
|
51
51
|
* ShardId: "STRING_VALUE",
|
|
52
52
|
* Timestamp: new Date("TIMESTAMP"),
|
|
@@ -28,7 +28,7 @@ export interface ListStreamConsumersCommandOutput extends ListStreamConsumersOut
|
|
|
28
28
|
* import { KinesisClient, ListStreamConsumersCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
29
29
|
* // const { KinesisClient, ListStreamConsumersCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
30
30
|
* const client = new KinesisClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // ListStreamConsumersInput
|
|
32
32
|
* StreamARN: "STRING_VALUE", // required
|
|
33
33
|
* NextToken: "STRING_VALUE",
|
|
34
34
|
* MaxResults: Number("int"),
|
|
@@ -41,7 +41,7 @@ export interface ListStreamsCommandOutput extends ListStreamsOutput, __MetadataB
|
|
|
41
41
|
* import { KinesisClient, ListStreamsCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
42
42
|
* // const { KinesisClient, ListStreamsCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
43
43
|
* const client = new KinesisClient(config);
|
|
44
|
-
* const input = {
|
|
44
|
+
* const input = { // ListStreamsInput
|
|
45
45
|
* Limit: Number("int"),
|
|
46
46
|
* ExclusiveStartStreamName: "STRING_VALUE",
|
|
47
47
|
* NextToken: "STRING_VALUE",
|
|
@@ -31,7 +31,7 @@ export interface ListTagsForStreamCommandOutput extends ListTagsForStreamOutput,
|
|
|
31
31
|
* import { KinesisClient, ListTagsForStreamCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
32
32
|
* // const { KinesisClient, ListTagsForStreamCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
33
33
|
* const client = new KinesisClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // ListTagsForStreamInput
|
|
35
35
|
* StreamName: "STRING_VALUE",
|
|
36
36
|
* ExclusiveStartTagKey: "STRING_VALUE",
|
|
37
37
|
* Limit: Number("int"),
|
|
@@ -66,7 +66,7 @@ export interface MergeShardsCommandOutput extends __MetadataBearer {
|
|
|
66
66
|
* import { KinesisClient, MergeShardsCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
67
67
|
* // const { KinesisClient, MergeShardsCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
68
68
|
* const client = new KinesisClient(config);
|
|
69
|
-
* const input = {
|
|
69
|
+
* const input = { // MergeShardsInput
|
|
70
70
|
* StreamName: "STRING_VALUE",
|
|
71
71
|
* ShardToMerge: "STRING_VALUE", // required
|
|
72
72
|
* AdjacentShardToMerge: "STRING_VALUE", // required
|
|
@@ -65,7 +65,7 @@ export interface PutRecordCommandOutput extends PutRecordOutput, __MetadataBeare
|
|
|
65
65
|
* import { KinesisClient, PutRecordCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
66
66
|
* // const { KinesisClient, PutRecordCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
67
67
|
* const client = new KinesisClient(config);
|
|
68
|
-
* const input = {
|
|
68
|
+
* const input = { // PutRecordInput
|
|
69
69
|
* StreamName: "STRING_VALUE",
|
|
70
70
|
* Data: "BLOB_VALUE", // required
|
|
71
71
|
* PartitionKey: "STRING_VALUE", // required
|
|
@@ -85,9 +85,9 @@ export interface PutRecordsCommandOutput extends PutRecordsOutput, __MetadataBea
|
|
|
85
85
|
* import { KinesisClient, PutRecordsCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
86
86
|
* // const { KinesisClient, PutRecordsCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
87
87
|
* const client = new KinesisClient(config);
|
|
88
|
-
* const input = {
|
|
89
|
-
* Records: [ // required
|
|
90
|
-
* {
|
|
88
|
+
* const input = { // PutRecordsInput
|
|
89
|
+
* Records: [ // PutRecordsRequestEntryList // required
|
|
90
|
+
* { // PutRecordsRequestEntry
|
|
91
91
|
* Data: "BLOB_VALUE", // required
|
|
92
92
|
* ExplicitHashKey: "STRING_VALUE",
|
|
93
93
|
* PartitionKey: "STRING_VALUE", // required
|
|
@@ -39,7 +39,7 @@ export interface RegisterStreamConsumerCommandOutput extends RegisterStreamConsu
|
|
|
39
39
|
* import { KinesisClient, RegisterStreamConsumerCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
40
40
|
* // const { KinesisClient, RegisterStreamConsumerCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
41
41
|
* const client = new KinesisClient(config);
|
|
42
|
-
* const input = {
|
|
42
|
+
* const input = { // RegisterStreamConsumerInput
|
|
43
43
|
* StreamARN: "STRING_VALUE", // required
|
|
44
44
|
* ConsumerName: "STRING_VALUE", // required
|
|
45
45
|
* };
|
|
@@ -35,9 +35,9 @@ export interface RemoveTagsFromStreamCommandOutput extends __MetadataBearer {
|
|
|
35
35
|
* import { KinesisClient, RemoveTagsFromStreamCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
36
36
|
* // const { KinesisClient, RemoveTagsFromStreamCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
37
37
|
* const client = new KinesisClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // RemoveTagsFromStreamInput
|
|
39
39
|
* StreamName: "STRING_VALUE",
|
|
40
|
-
* TagKeys: [ // required
|
|
40
|
+
* TagKeys: [ // TagKeyList // required
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* StreamARN: "STRING_VALUE",
|
|
@@ -70,7 +70,7 @@ export interface SplitShardCommandOutput extends __MetadataBearer {
|
|
|
70
70
|
* import { KinesisClient, SplitShardCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
71
71
|
* // const { KinesisClient, SplitShardCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
72
72
|
* const client = new KinesisClient(config);
|
|
73
|
-
* const input = {
|
|
73
|
+
* const input = { // SplitShardInput
|
|
74
74
|
* StreamName: "STRING_VALUE",
|
|
75
75
|
* ShardToSplit: "STRING_VALUE", // required
|
|
76
76
|
* NewStartingHashKey: "STRING_VALUE", // required
|
|
@@ -45,7 +45,7 @@ export interface StartStreamEncryptionCommandOutput extends __MetadataBearer {
|
|
|
45
45
|
* import { KinesisClient, StartStreamEncryptionCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
46
46
|
* // const { KinesisClient, StartStreamEncryptionCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
47
47
|
* const client = new KinesisClient(config);
|
|
48
|
-
* const input = {
|
|
48
|
+
* const input = { // StartStreamEncryptionInput
|
|
49
49
|
* StreamName: "STRING_VALUE",
|
|
50
50
|
* EncryptionType: "NONE" || "KMS", // required
|
|
51
51
|
* KeyId: "STRING_VALUE", // required
|
|
@@ -44,7 +44,7 @@ export interface StopStreamEncryptionCommandOutput extends __MetadataBearer {
|
|
|
44
44
|
* import { KinesisClient, StopStreamEncryptionCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
45
45
|
* // const { KinesisClient, StopStreamEncryptionCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
46
46
|
* const client = new KinesisClient(config);
|
|
47
|
-
* const input = {
|
|
47
|
+
* const input = { // StopStreamEncryptionInput
|
|
48
48
|
* StreamName: "STRING_VALUE",
|
|
49
49
|
* EncryptionType: "NONE" || "KMS", // required
|
|
50
50
|
* KeyId: "STRING_VALUE", // required
|
|
@@ -48,10 +48,10 @@ export interface SubscribeToShardCommandOutput extends SubscribeToShardOutput, _
|
|
|
48
48
|
* import { KinesisClient, SubscribeToShardCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
49
49
|
* // const { KinesisClient, SubscribeToShardCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
50
50
|
* const client = new KinesisClient(config);
|
|
51
|
-
* const input = {
|
|
51
|
+
* const input = { // SubscribeToShardInput
|
|
52
52
|
* ConsumerARN: "STRING_VALUE", // required
|
|
53
53
|
* ShardId: "STRING_VALUE", // required
|
|
54
|
-
* StartingPosition: {
|
|
54
|
+
* StartingPosition: { // StartingPosition
|
|
55
55
|
* Type: "AT_SEQUENCE_NUMBER" || "AFTER_SEQUENCE_NUMBER" || "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP", // required
|
|
56
56
|
* SequenceNumber: "STRING_VALUE",
|
|
57
57
|
* Timestamp: new Date("TIMESTAMP"),
|
|
@@ -73,7 +73,7 @@ export interface UpdateShardCountCommandOutput extends UpdateShardCountOutput, _
|
|
|
73
73
|
* import { KinesisClient, UpdateShardCountCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
74
74
|
* // const { KinesisClient, UpdateShardCountCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
75
75
|
* const client = new KinesisClient(config);
|
|
76
|
-
* const input = {
|
|
76
|
+
* const input = { // UpdateShardCountInput
|
|
77
77
|
* StreamName: "STRING_VALUE",
|
|
78
78
|
* TargetShardCount: Number("int"), // required
|
|
79
79
|
* ScalingType: "UNIFORM_SCALING", // required
|
|
@@ -29,9 +29,9 @@ export interface UpdateStreamModeCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { KinesisClient, UpdateStreamModeCommand } from "@aws-sdk/client-kinesis"; // ES Modules import
|
|
30
30
|
* // const { KinesisClient, UpdateStreamModeCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import
|
|
31
31
|
* const client = new KinesisClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // UpdateStreamModeInput
|
|
33
33
|
* StreamARN: "STRING_VALUE", // required
|
|
34
|
-
* StreamModeDetails: {
|
|
34
|
+
* StreamModeDetails: { // StreamModeDetails
|
|
35
35
|
* StreamMode: "PROVISIONED" || "ON_DEMAND", // required
|
|
36
36
|
* },
|
|
37
37
|
* };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/eventstream-serde-browser": "3.296.0",
|
|
28
28
|
"@aws-sdk/eventstream-serde-config-resolver": "3.296.0",
|
|
29
29
|
"@aws-sdk/eventstream-serde-node": "3.299.0",
|