@aws-sdk/client-kinesis 3.1123.0 → 3.1125.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 +33 -11
- package/dist-es/models/errors.js +12 -0
- package/dist-es/schemas/schemas_0.js +19 -11
- package/dist-types/commands/CreateChannelCommand.d.ts +2 -1
- package/dist-types/commands/DeleteChannelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetRecordsCommand.d.ts +4 -0
- package/dist-types/commands/GetShardIteratorCommand.d.ts +4 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +1 -1
- package/dist-types/commands/PutRecordCommand.d.ts +4 -0
- package/dist-types/commands/PutRecordsCommand.d.ts +4 -0
- package/dist-types/commands/SubscribeToShardCommand.d.ts +4 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +1 -1
- package/dist-types/models/errors.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +42 -22
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -73,7 +73,7 @@ const commonParams = {
|
|
|
73
73
|
AccountIdEndpointMode: { type: "builtInParams", name: "accountIdEndpointMode" },
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
var version = "3.
|
|
76
|
+
var version = "3.1124.0";
|
|
77
77
|
var packageInfo = {
|
|
78
78
|
version: version};
|
|
79
79
|
|
|
@@ -565,6 +565,18 @@ class ValidationException extends KinesisServiceException {
|
|
|
565
565
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
+
class DryRunOperationException extends KinesisServiceException {
|
|
569
|
+
name = "DryRunOperationException";
|
|
570
|
+
$fault = "client";
|
|
571
|
+
constructor(opts) {
|
|
572
|
+
super({
|
|
573
|
+
name: "DryRunOperationException",
|
|
574
|
+
$fault: "client",
|
|
575
|
+
...opts,
|
|
576
|
+
});
|
|
577
|
+
Object.setPrototypeOf(this, DryRunOperationException.prototype);
|
|
578
|
+
}
|
|
579
|
+
}
|
|
568
580
|
class ExpiredIteratorException extends KinesisServiceException {
|
|
569
581
|
name = "ExpiredIteratorException";
|
|
570
582
|
$fault = "client";
|
|
@@ -683,6 +695,8 @@ const _DL = "DescribeLimits";
|
|
|
683
695
|
const _DLI = "DescribeLimitsInput";
|
|
684
696
|
const _DLO = "DescribeLimitsOutput";
|
|
685
697
|
const _DLQSC = "DeadLetterQueueS3Configuration";
|
|
698
|
+
const _DR = "DryRun";
|
|
699
|
+
const _DROE = "DryRunOperationException";
|
|
686
700
|
const _DRP = "DeleteResourcePolicy";
|
|
687
701
|
const _DRPI = "DeleteResourcePolicyInput";
|
|
688
702
|
const _DS = "DeleteStream";
|
|
@@ -942,6 +956,12 @@ var AccessDeniedException$ = [-3, n0, _ADE,
|
|
|
942
956
|
[0]
|
|
943
957
|
];
|
|
944
958
|
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
959
|
+
var DryRunOperationException$ = [-3, n0, _DROE,
|
|
960
|
+
{ [_e]: _c },
|
|
961
|
+
[_m],
|
|
962
|
+
[0]
|
|
963
|
+
];
|
|
964
|
+
n0_registry.registerError(DryRunOperationException$, DryRunOperationException);
|
|
945
965
|
var ExpiredIteratorException$ = [-3, n0, _EIE,
|
|
946
966
|
{ [_e]: _c },
|
|
947
967
|
[_m],
|
|
@@ -1233,8 +1253,8 @@ var EnhancedMonitoringOutput$ = [3, n0, _EMO,
|
|
|
1233
1253
|
];
|
|
1234
1254
|
var GetRecordsInput$ = [3, n0, _GRI,
|
|
1235
1255
|
0,
|
|
1236
|
-
[_SIha, _L, _SARN, _SI],
|
|
1237
|
-
[0, 1, 0, 0], 1
|
|
1256
|
+
[_SIha, _L, _SARN, _SI, _DR],
|
|
1257
|
+
[0, 1, 0, 0, 2], 1
|
|
1238
1258
|
];
|
|
1239
1259
|
var GetRecordsOutput$ = [3, n0, _GRO,
|
|
1240
1260
|
0,
|
|
@@ -1253,8 +1273,8 @@ var GetResourcePolicyOutput$ = [3, n0, _GRPO,
|
|
|
1253
1273
|
];
|
|
1254
1274
|
var GetShardIteratorInput$ = [3, n0, _GSII,
|
|
1255
1275
|
0,
|
|
1256
|
-
[_SIh, _SIT, _SN, _SSN, _Ti, _SARN, _SI],
|
|
1257
|
-
[0, 0, 0, 0, 4, 0, 0], 2
|
|
1276
|
+
[_SIh, _SIT, _SN, _SSN, _Ti, _SARN, _SI, _DR],
|
|
1277
|
+
[0, 0, 0, 0, 4, 0, 0, 2], 2
|
|
1258
1278
|
];
|
|
1259
1279
|
var GetShardIteratorOutput$ = [3, n0, _GSIO,
|
|
1260
1280
|
0,
|
|
@@ -1358,8 +1378,8 @@ var PartitionSpec$ = [3, n0, _PSa,
|
|
|
1358
1378
|
];
|
|
1359
1379
|
var PutRecordInput$ = [3, n0, _PRI,
|
|
1360
1380
|
0,
|
|
1361
|
-
[_D, _PK, _SN, _EHKx, _SNFO, _SARN, _SI],
|
|
1362
|
-
[21, 0, 0, 0, 0, 0, 0], 2
|
|
1381
|
+
[_D, _PK, _SN, _EHKx, _SNFO, _SARN, _SI, _DR],
|
|
1382
|
+
[21, 0, 0, 0, 0, 0, 0, 2], 2
|
|
1363
1383
|
];
|
|
1364
1384
|
var PutRecordOutput$ = [3, n0, _PRO,
|
|
1365
1385
|
0,
|
|
@@ -1368,8 +1388,8 @@ var PutRecordOutput$ = [3, n0, _PRO,
|
|
|
1368
1388
|
];
|
|
1369
1389
|
var PutRecordsInput$ = [3, n0, _PRIu,
|
|
1370
1390
|
0,
|
|
1371
|
-
[_R, _SN, _SARN, _SI],
|
|
1372
|
-
[() => PutRecordsRequestEntryList, 0, 0, 0], 1
|
|
1391
|
+
[_R, _SN, _SARN, _SI, _DR],
|
|
1392
|
+
[() => PutRecordsRequestEntryList, 0, 0, 0, 2], 1
|
|
1373
1393
|
];
|
|
1374
1394
|
var PutRecordsOutput$ = [3, n0, _PROu,
|
|
1375
1395
|
0,
|
|
@@ -1523,8 +1543,8 @@ var SubscribeToShardEvent$ = [3, n0, _STSE,
|
|
|
1523
1543
|
];
|
|
1524
1544
|
var SubscribeToShardInput$ = [3, n0, _STSI,
|
|
1525
1545
|
0,
|
|
1526
|
-
[_CARNo, _SIh, _SP, _SI],
|
|
1527
|
-
[0, 0, () => StartingPosition$, 0], 3
|
|
1546
|
+
[_CARNo, _SIh, _SP, _SI, _DR],
|
|
1547
|
+
[0, 0, () => StartingPosition$, 0, 2], 3
|
|
1528
1548
|
];
|
|
1529
1549
|
var SubscribeToShardOutput$ = [3, n0, _STSO,
|
|
1530
1550
|
0,
|
|
@@ -2463,6 +2483,8 @@ exports.DescribeStreamSummaryOutput$ = DescribeStreamSummaryOutput$;
|
|
|
2463
2483
|
exports.DisableEnhancedMonitoring$ = DisableEnhancedMonitoring$;
|
|
2464
2484
|
exports.DisableEnhancedMonitoringCommand = DisableEnhancedMonitoringCommand;
|
|
2465
2485
|
exports.DisableEnhancedMonitoringInput$ = DisableEnhancedMonitoringInput$;
|
|
2486
|
+
exports.DryRunOperationException = DryRunOperationException;
|
|
2487
|
+
exports.DryRunOperationException$ = DryRunOperationException$;
|
|
2466
2488
|
exports.EnableEnhancedMonitoring$ = EnableEnhancedMonitoring$;
|
|
2467
2489
|
exports.EnableEnhancedMonitoringCommand = EnableEnhancedMonitoringCommand;
|
|
2468
2490
|
exports.EnableEnhancedMonitoringInput$ = EnableEnhancedMonitoringInput$;
|
package/dist-es/models/errors.js
CHANGED
|
@@ -143,6 +143,18 @@ export class ValidationException extends __BaseException {
|
|
|
143
143
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
+
export class DryRunOperationException extends __BaseException {
|
|
147
|
+
name = "DryRunOperationException";
|
|
148
|
+
$fault = "client";
|
|
149
|
+
constructor(opts) {
|
|
150
|
+
super({
|
|
151
|
+
name: "DryRunOperationException",
|
|
152
|
+
$fault: "client",
|
|
153
|
+
...opts,
|
|
154
|
+
});
|
|
155
|
+
Object.setPrototypeOf(this, DryRunOperationException.prototype);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
146
158
|
export class ExpiredIteratorException extends __BaseException {
|
|
147
159
|
name = "ExpiredIteratorException";
|
|
148
160
|
$fault = "client";
|
|
@@ -67,6 +67,8 @@ const _DL = "DescribeLimits";
|
|
|
67
67
|
const _DLI = "DescribeLimitsInput";
|
|
68
68
|
const _DLO = "DescribeLimitsOutput";
|
|
69
69
|
const _DLQSC = "DeadLetterQueueS3Configuration";
|
|
70
|
+
const _DR = "DryRun";
|
|
71
|
+
const _DROE = "DryRunOperationException";
|
|
70
72
|
const _DRP = "DeleteResourcePolicy";
|
|
71
73
|
const _DRPI = "DeleteResourcePolicyInput";
|
|
72
74
|
const _DS = "DeleteStream";
|
|
@@ -317,7 +319,7 @@ const _se = "server";
|
|
|
317
319
|
const _st = "streaming";
|
|
318
320
|
const n0 = "com.amazonaws.kinesis";
|
|
319
321
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
320
|
-
import { AccessDeniedException, ExpiredIteratorException, ExpiredNextTokenException, InternalFailureException, InvalidArgumentException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, KMSOptInRequired, KMSThrottlingException, LimitExceededException, ProvisionedThroughputExceededException, ResourceInUseException, ResourceNotFoundException, ValidationException, } from "../models/errors";
|
|
322
|
+
import { AccessDeniedException, DryRunOperationException, ExpiredIteratorException, ExpiredNextTokenException, InternalFailureException, InvalidArgumentException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, KMSOptInRequired, KMSThrottlingException, LimitExceededException, ProvisionedThroughputExceededException, ResourceInUseException, ResourceNotFoundException, ValidationException, } from "../models/errors";
|
|
321
323
|
import { KinesisServiceException } from "../models/KinesisServiceException";
|
|
322
324
|
const _s_registry = TypeRegistry.for(_s);
|
|
323
325
|
export var KinesisServiceException$ = [-3, _s, "KinesisServiceException", 0, [], []];
|
|
@@ -329,6 +331,12 @@ export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
|
329
331
|
[0]
|
|
330
332
|
];
|
|
331
333
|
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
334
|
+
export var DryRunOperationException$ = [-3, n0, _DROE,
|
|
335
|
+
{ [_e]: _c },
|
|
336
|
+
[_m],
|
|
337
|
+
[0]
|
|
338
|
+
];
|
|
339
|
+
n0_registry.registerError(DryRunOperationException$, DryRunOperationException);
|
|
332
340
|
export var ExpiredIteratorException$ = [-3, n0, _EIE,
|
|
333
341
|
{ [_e]: _c },
|
|
334
342
|
[_m],
|
|
@@ -620,8 +628,8 @@ export var EnhancedMonitoringOutput$ = [3, n0, _EMO,
|
|
|
620
628
|
];
|
|
621
629
|
export var GetRecordsInput$ = [3, n0, _GRI,
|
|
622
630
|
0,
|
|
623
|
-
[_SIha, _L, _SARN, _SI],
|
|
624
|
-
[0, 1, 0, 0], 1
|
|
631
|
+
[_SIha, _L, _SARN, _SI, _DR],
|
|
632
|
+
[0, 1, 0, 0, 2], 1
|
|
625
633
|
];
|
|
626
634
|
export var GetRecordsOutput$ = [3, n0, _GRO,
|
|
627
635
|
0,
|
|
@@ -640,8 +648,8 @@ export var GetResourcePolicyOutput$ = [3, n0, _GRPO,
|
|
|
640
648
|
];
|
|
641
649
|
export var GetShardIteratorInput$ = [3, n0, _GSII,
|
|
642
650
|
0,
|
|
643
|
-
[_SIh, _SIT, _SN, _SSN, _Ti, _SARN, _SI],
|
|
644
|
-
[0, 0, 0, 0, 4, 0, 0], 2
|
|
651
|
+
[_SIh, _SIT, _SN, _SSN, _Ti, _SARN, _SI, _DR],
|
|
652
|
+
[0, 0, 0, 0, 4, 0, 0, 2], 2
|
|
645
653
|
];
|
|
646
654
|
export var GetShardIteratorOutput$ = [3, n0, _GSIO,
|
|
647
655
|
0,
|
|
@@ -745,8 +753,8 @@ export var PartitionSpec$ = [3, n0, _PSa,
|
|
|
745
753
|
];
|
|
746
754
|
export var PutRecordInput$ = [3, n0, _PRI,
|
|
747
755
|
0,
|
|
748
|
-
[_D, _PK, _SN, _EHKx, _SNFO, _SARN, _SI],
|
|
749
|
-
[21, 0, 0, 0, 0, 0, 0], 2
|
|
756
|
+
[_D, _PK, _SN, _EHKx, _SNFO, _SARN, _SI, _DR],
|
|
757
|
+
[21, 0, 0, 0, 0, 0, 0, 2], 2
|
|
750
758
|
];
|
|
751
759
|
export var PutRecordOutput$ = [3, n0, _PRO,
|
|
752
760
|
0,
|
|
@@ -755,8 +763,8 @@ export var PutRecordOutput$ = [3, n0, _PRO,
|
|
|
755
763
|
];
|
|
756
764
|
export var PutRecordsInput$ = [3, n0, _PRIu,
|
|
757
765
|
0,
|
|
758
|
-
[_R, _SN, _SARN, _SI],
|
|
759
|
-
[() => PutRecordsRequestEntryList, 0, 0, 0], 1
|
|
766
|
+
[_R, _SN, _SARN, _SI, _DR],
|
|
767
|
+
[() => PutRecordsRequestEntryList, 0, 0, 0, 2], 1
|
|
760
768
|
];
|
|
761
769
|
export var PutRecordsOutput$ = [3, n0, _PROu,
|
|
762
770
|
0,
|
|
@@ -910,8 +918,8 @@ export var SubscribeToShardEvent$ = [3, n0, _STSE,
|
|
|
910
918
|
];
|
|
911
919
|
export var SubscribeToShardInput$ = [3, n0, _STSI,
|
|
912
920
|
0,
|
|
913
|
-
[_CARNo, _SIh, _SP, _SI],
|
|
914
|
-
[0, 0, () => StartingPosition$, 0], 3
|
|
921
|
+
[_CARNo, _SIh, _SP, _SI, _DR],
|
|
922
|
+
[0, 0, () => StartingPosition$, 0, 2], 3
|
|
915
923
|
];
|
|
916
924
|
export var SubscribeToShardOutput$ = [3, n0, _STSO,
|
|
917
925
|
0,
|
|
@@ -26,9 +26,10 @@ declare const CreateChannelCommand_base: {
|
|
|
26
26
|
/**
|
|
27
27
|
* <p>Creates a channel that delivers records from a Kinesis data stream to a destination. A channel reads records from the specified stream and writes them to streaming tables on Apache Iceberg (Amazon S3 Tables) or to a general purpose Amazon S3 bucket.</p>
|
|
28
28
|
* <p>You must specify either <code>S3DestinationConfiguration</code> or <code>S3TablesDestinationConfiguration</code>, but not both.</p>
|
|
29
|
+
* <p>To use this operation, you must have permission to pass the specified service execution IAM role to Amazon Kinesis Data Streams (the <code>iam:PassRole</code> permission on that role).</p>
|
|
29
30
|
* <p>Creating a channel is an asynchronous operation. Upon receiving the request, Amazon Kinesis Data Streams returns immediately with the channel in the <code>CREATING</code> state. After provisioning is complete, Amazon Kinesis Data Streams sets the state to <code>ACTIVE</code>. You can use <a>DescribeChannel</a> to check the current state.</p>
|
|
30
31
|
* <p>This operation is only supported for data streams with the on-demand capacity mode.</p>
|
|
31
|
-
* <p>This
|
|
32
|
+
* <p>This operation has a call limit of 5 transactions per second (TPS) for each Amazon Web Services account. Exceeding 5 TPS results in a <code>LimitExceededException</code>.</p>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
35
|
* ```javascript
|
|
@@ -26,7 +26,7 @@ declare const DeleteChannelCommand_base: {
|
|
|
26
26
|
/**
|
|
27
27
|
* <p>Deletes the specified channel. Deleting a channel stops delivery from the source stream to the destination. Data already delivered to the destination is not deleted.</p>
|
|
28
28
|
* <p>A stream cannot be deleted while it has active channels. To delete the stream, first delete all channels attached to it. To find them, use <a>ListChannels</a> with a stream filter.</p>
|
|
29
|
-
* <p>This
|
|
29
|
+
* <p>This operation has a call limit of 5 transactions per second (TPS) for each Amazon Web Services account. Exceeding 5 TPS results in a <code>LimitExceededException</code>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -26,7 +26,7 @@ declare const DescribeChannelCommand_base: {
|
|
|
26
26
|
/**
|
|
27
27
|
* <p>Describes the specified channel, including its configuration and current status.</p>
|
|
28
28
|
* <p>Use this operation to verify that a channel reached the <code>ACTIVE</code> state after creation, or to diagnose a channel in the <code>FAILED</code> state by reading the <code>ChannelStatusReason</code>.</p>
|
|
29
|
-
* <p>This
|
|
29
|
+
* <p>This operation has a call limit of 5 transactions per second (TPS) for each Amazon Web Services account. Exceeding 5 TPS results in a <code>LimitExceededException</code>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -93,6 +93,7 @@ declare const GetRecordsCommand_base: {
|
|
|
93
93
|
* Limit: Number("int"),
|
|
94
94
|
* StreamARN: "STRING_VALUE",
|
|
95
95
|
* StreamId: "STRING_VALUE",
|
|
96
|
+
* DryRun: true || false,
|
|
96
97
|
* };
|
|
97
98
|
* const command = new GetRecordsCommand(input);
|
|
98
99
|
* const response = await client.send(command);
|
|
@@ -134,6 +135,9 @@ declare const GetRecordsCommand_base: {
|
|
|
134
135
|
* <p>Specifies that you do not have the permissions required to perform this
|
|
135
136
|
* operation.</p>
|
|
136
137
|
*
|
|
138
|
+
* @throws {@link DryRunOperationException} (client fault)
|
|
139
|
+
* <p>The request was rejected because the DryRun parameter was specified.</p>
|
|
140
|
+
*
|
|
137
141
|
* @throws {@link ExpiredIteratorException} (client fault)
|
|
138
142
|
* <p>The provided iterator exceeds the maximum age allowed.</p>
|
|
139
143
|
*
|
|
@@ -79,6 +79,7 @@ declare const GetShardIteratorCommand_base: {
|
|
|
79
79
|
* Timestamp: new Date("TIMESTAMP"),
|
|
80
80
|
* StreamARN: "STRING_VALUE",
|
|
81
81
|
* StreamId: "STRING_VALUE",
|
|
82
|
+
* DryRun: true || false,
|
|
82
83
|
* };
|
|
83
84
|
* const command = new GetShardIteratorCommand(input);
|
|
84
85
|
* const response = await client.send(command);
|
|
@@ -98,6 +99,9 @@ declare const GetShardIteratorCommand_base: {
|
|
|
98
99
|
* <p>Specifies that you do not have the permissions required to perform this
|
|
99
100
|
* operation.</p>
|
|
100
101
|
*
|
|
102
|
+
* @throws {@link DryRunOperationException} (client fault)
|
|
103
|
+
* <p>The request was rejected because the DryRun parameter was specified.</p>
|
|
104
|
+
*
|
|
101
105
|
* @throws {@link InternalFailureException} (server fault)
|
|
102
106
|
* <p>The processing of the request failed because of an unknown error, exception, or
|
|
103
107
|
* failure.</p>
|
|
@@ -26,7 +26,7 @@ declare const ListChannelsCommand_base: {
|
|
|
26
26
|
/**
|
|
27
27
|
* <p>Lists the channels in your account. You can filter the results by source stream. The results are paginated. Use the <code>NextToken</code> value returned in the response to retrieve additional results.</p>
|
|
28
28
|
* <p>Use this operation to find channels before deleting a stream, or to audit the channels configured in an Amazon Web Services Region.</p>
|
|
29
|
-
* <p>This
|
|
29
|
+
* <p>This operation has a call limit of 5 transactions per second (TPS) for each Amazon Web Services account. Exceeding 5 TPS results in a <code>LimitExceededException</code>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -81,6 +81,7 @@ declare const PutRecordCommand_base: {
|
|
|
81
81
|
* SequenceNumberForOrdering: "STRING_VALUE",
|
|
82
82
|
* StreamARN: "STRING_VALUE",
|
|
83
83
|
* StreamId: "STRING_VALUE",
|
|
84
|
+
* DryRun: true || false,
|
|
84
85
|
* };
|
|
85
86
|
* const command = new PutRecordCommand(input);
|
|
86
87
|
* const response = await client.send(command);
|
|
@@ -102,6 +103,9 @@ declare const PutRecordCommand_base: {
|
|
|
102
103
|
* <p>Specifies that you do not have the permissions required to perform this
|
|
103
104
|
* operation.</p>
|
|
104
105
|
*
|
|
106
|
+
* @throws {@link DryRunOperationException} (client fault)
|
|
107
|
+
* <p>The request was rejected because the DryRun parameter was specified.</p>
|
|
108
|
+
*
|
|
105
109
|
* @throws {@link InternalFailureException} (server fault)
|
|
106
110
|
* <p>The processing of the request failed because of an unknown error, exception, or
|
|
107
111
|
* failure.</p>
|
|
@@ -104,6 +104,7 @@ declare const PutRecordsCommand_base: {
|
|
|
104
104
|
* StreamName: "STRING_VALUE",
|
|
105
105
|
* StreamARN: "STRING_VALUE",
|
|
106
106
|
* StreamId: "STRING_VALUE",
|
|
107
|
+
* DryRun: true || false,
|
|
107
108
|
* };
|
|
108
109
|
* const command = new PutRecordsCommand(input);
|
|
109
110
|
* const response = await client.send(command);
|
|
@@ -132,6 +133,9 @@ declare const PutRecordsCommand_base: {
|
|
|
132
133
|
* <p>Specifies that you do not have the permissions required to perform this
|
|
133
134
|
* operation.</p>
|
|
134
135
|
*
|
|
136
|
+
* @throws {@link DryRunOperationException} (client fault)
|
|
137
|
+
* <p>The request was rejected because the DryRun parameter was specified.</p>
|
|
138
|
+
*
|
|
135
139
|
* @throws {@link InternalFailureException} (server fault)
|
|
136
140
|
* <p>The processing of the request failed because of an unknown error, exception, or
|
|
137
141
|
* failure.</p>
|
|
@@ -64,6 +64,7 @@ declare const SubscribeToShardCommand_base: {
|
|
|
64
64
|
* SequenceNumber: "STRING_VALUE",
|
|
65
65
|
* Timestamp: new Date("TIMESTAMP"),
|
|
66
66
|
* },
|
|
67
|
+
* DryRun: true || false,
|
|
67
68
|
* };
|
|
68
69
|
* const command = new SubscribeToShardCommand(input);
|
|
69
70
|
* const response = await client.send(command);
|
|
@@ -136,6 +137,9 @@ declare const SubscribeToShardCommand_base: {
|
|
|
136
137
|
* <p>Specifies that you do not have the permissions required to perform this
|
|
137
138
|
* operation.</p>
|
|
138
139
|
*
|
|
140
|
+
* @throws {@link DryRunOperationException} (client fault)
|
|
141
|
+
* <p>The request was rejected because the DryRun parameter was specified.</p>
|
|
142
|
+
*
|
|
139
143
|
* @throws {@link InvalidArgumentException} (client fault)
|
|
140
144
|
* <p>A specified parameter exceeds its restrictions, is not supported, or can't be used.
|
|
141
145
|
* For more information, see the returned message.</p>
|
|
@@ -26,7 +26,7 @@ declare const UpdateChannelCommand_base: {
|
|
|
26
26
|
/**
|
|
27
27
|
* <p>Updates the data freshness interval or the Amazon CloudWatch Logs configuration of an existing channel. You cannot change the destination, source stream, record format, schema, encryption configuration, or service execution role of an existing channel. To change any other setting, delete the channel and create a new one.</p>
|
|
28
28
|
* <p>Updating a channel is an asynchronous operation. Upon receiving the request, Amazon Kinesis Data Streams sets the channel to the <code>UPDATING</code> state and returns immediately. After the change is applied, Amazon Kinesis Data Streams sets the channel back to the <code>ACTIVE</code> state.</p>
|
|
29
|
-
* <p>This
|
|
29
|
+
* <p>This operation has a call limit of 5 transactions per second (TPS) for each Amazon Web Services account. Exceeding 5 TPS results in a <code>LimitExceededException</code>.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -160,6 +160,18 @@ export declare class ValidationException extends __BaseException {
|
|
|
160
160
|
*/
|
|
161
161
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
162
162
|
}
|
|
163
|
+
/**
|
|
164
|
+
* <p>The request was rejected because the DryRun parameter was specified.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export declare class DryRunOperationException extends __BaseException {
|
|
168
|
+
readonly name: "DryRunOperationException";
|
|
169
|
+
readonly $fault: "client";
|
|
170
|
+
/**
|
|
171
|
+
* @internal
|
|
172
|
+
*/
|
|
173
|
+
constructor(opts: __ExceptionOptionType<DryRunOperationException, __BaseException>);
|
|
174
|
+
}
|
|
163
175
|
/**
|
|
164
176
|
* <p>The provided iterator exceeds the maximum age allowed.</p>
|
|
165
177
|
* @public
|
|
@@ -27,7 +27,7 @@ export interface AddTagsToStreamInput {
|
|
|
27
27
|
StreamId?: string | undefined;
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Specifies the Amazon Web Services KMS key that Amazon Kinesis Data Streams uses to encrypt data delivered to the channel's destination.</p>
|
|
31
31
|
* @public
|
|
32
32
|
*/
|
|
33
33
|
export interface ChannelEncryptionConfiguration {
|
|
@@ -120,17 +120,15 @@ export interface S3StorageConfiguration {
|
|
|
120
120
|
* <ul>
|
|
121
121
|
* <li>
|
|
122
122
|
* <p>
|
|
123
|
-
* <code>STANDARD</code> (default)</p>
|
|
123
|
+
* <code>STANDARD</code> - Default storage class for frequently accessed data. (default)</p>
|
|
124
124
|
* </li>
|
|
125
125
|
* <li>
|
|
126
126
|
* <p>
|
|
127
|
-
* <code>INTELLIGENT_TIERING</code>
|
|
128
|
-
* </p>
|
|
127
|
+
* <code>INTELLIGENT_TIERING</code> - Automatically moves objects to the most cost-effective access tier based on usage patterns.</p>
|
|
129
128
|
* </li>
|
|
130
129
|
* <li>
|
|
131
130
|
* <p>
|
|
132
|
-
* <code>GLACIER_IR</code>
|
|
133
|
-
* </p>
|
|
131
|
+
* <code>GLACIER_IR</code> - Low-cost storage for rarely accessed data that requires millisecond retrieval.</p>
|
|
134
132
|
* </li>
|
|
135
133
|
* </ul>
|
|
136
134
|
* @public
|
|
@@ -350,23 +348,19 @@ export interface ChannelDescription {
|
|
|
350
348
|
* <ul>
|
|
351
349
|
* <li>
|
|
352
350
|
* <p>
|
|
353
|
-
* <code>CREATING</code>
|
|
354
|
-
* </p>
|
|
351
|
+
* <code>CREATING</code> - The channel is being created.</p>
|
|
355
352
|
* </li>
|
|
356
353
|
* <li>
|
|
357
354
|
* <p>
|
|
358
|
-
* <code>ACTIVE</code>
|
|
359
|
-
* </p>
|
|
355
|
+
* <code>ACTIVE</code> - The channel is ready to deliver records.</p>
|
|
360
356
|
* </li>
|
|
361
357
|
* <li>
|
|
362
358
|
* <p>
|
|
363
|
-
* <code>UPDATING</code>
|
|
364
|
-
* </p>
|
|
359
|
+
* <code>UPDATING</code> - The channel configuration is being updated.</p>
|
|
365
360
|
* </li>
|
|
366
361
|
* <li>
|
|
367
362
|
* <p>
|
|
368
|
-
* <code>DELETING</code>
|
|
369
|
-
* </p>
|
|
363
|
+
* <code>DELETING</code> - The channel is being deleted.</p>
|
|
370
364
|
* </li>
|
|
371
365
|
* <li>
|
|
372
366
|
* <p>
|
|
@@ -506,23 +500,19 @@ export interface ChannelSummary {
|
|
|
506
500
|
* <ul>
|
|
507
501
|
* <li>
|
|
508
502
|
* <p>
|
|
509
|
-
* <code>CREATING</code>
|
|
510
|
-
* </p>
|
|
503
|
+
* <code>CREATING</code> - The channel is being created.</p>
|
|
511
504
|
* </li>
|
|
512
505
|
* <li>
|
|
513
506
|
* <p>
|
|
514
|
-
* <code>ACTIVE</code>
|
|
515
|
-
* </p>
|
|
507
|
+
* <code>ACTIVE</code> - The channel is ready to deliver records.</p>
|
|
516
508
|
* </li>
|
|
517
509
|
* <li>
|
|
518
510
|
* <p>
|
|
519
|
-
* <code>UPDATING</code>
|
|
520
|
-
* </p>
|
|
511
|
+
* <code>UPDATING</code> - The channel configuration is being updated.</p>
|
|
521
512
|
* </li>
|
|
522
513
|
* <li>
|
|
523
514
|
* <p>
|
|
524
|
-
* <code>DELETING</code>
|
|
525
|
-
* </p>
|
|
515
|
+
* <code>DELETING</code> - The channel is being deleted.</p>
|
|
526
516
|
* </li>
|
|
527
517
|
* <li>
|
|
528
518
|
* <p>
|
|
@@ -1767,6 +1757,12 @@ export interface GetRecordsInput {
|
|
|
1767
1757
|
* @public
|
|
1768
1758
|
*/
|
|
1769
1759
|
StreamId?: string | undefined;
|
|
1760
|
+
/**
|
|
1761
|
+
* <p>Checks if your request will succeed. <code>DryRun</code> is an optional
|
|
1762
|
+
* parameter.</p>
|
|
1763
|
+
* @public
|
|
1764
|
+
*/
|
|
1765
|
+
DryRun?: boolean | undefined;
|
|
1770
1766
|
}
|
|
1771
1767
|
/**
|
|
1772
1768
|
* <p>The unit of data of the Kinesis data stream, which is composed of a sequence number, a
|
|
@@ -1945,6 +1941,12 @@ export interface GetShardIteratorInput {
|
|
|
1945
1941
|
* @public
|
|
1946
1942
|
*/
|
|
1947
1943
|
StreamId?: string | undefined;
|
|
1944
|
+
/**
|
|
1945
|
+
* <p>Checks if your request will succeed. <code>DryRun</code> is an optional
|
|
1946
|
+
* parameter.</p>
|
|
1947
|
+
* @public
|
|
1948
|
+
*/
|
|
1949
|
+
DryRun?: boolean | undefined;
|
|
1948
1950
|
}
|
|
1949
1951
|
/**
|
|
1950
1952
|
* <p>Represents the output for <code>GetShardIterator</code>.</p>
|
|
@@ -2588,6 +2590,12 @@ export interface PutRecordInput {
|
|
|
2588
2590
|
* @public
|
|
2589
2591
|
*/
|
|
2590
2592
|
StreamId?: string | undefined;
|
|
2593
|
+
/**
|
|
2594
|
+
* <p>Checks if your request will succeed. <code>DryRun</code> is an optional
|
|
2595
|
+
* parameter.</p>
|
|
2596
|
+
* @public
|
|
2597
|
+
*/
|
|
2598
|
+
DryRun?: boolean | undefined;
|
|
2591
2599
|
}
|
|
2592
2600
|
/**
|
|
2593
2601
|
* <p>Represents the output for <code>PutRecord</code>.</p>
|
|
@@ -2680,6 +2688,12 @@ export interface PutRecordsInput {
|
|
|
2680
2688
|
* @public
|
|
2681
2689
|
*/
|
|
2682
2690
|
StreamId?: string | undefined;
|
|
2691
|
+
/**
|
|
2692
|
+
* <p>Checks if your request will succeed. <code>DryRun</code> is an optional
|
|
2693
|
+
* parameter.</p>
|
|
2694
|
+
* @public
|
|
2695
|
+
*/
|
|
2696
|
+
DryRun?: boolean | undefined;
|
|
2683
2697
|
}
|
|
2684
2698
|
/**
|
|
2685
2699
|
* <p>Represents the result of an individual record from a <code>PutRecords</code> request.
|
|
@@ -3065,6 +3079,12 @@ export interface SubscribeToShardInput {
|
|
|
3065
3079
|
* @public
|
|
3066
3080
|
*/
|
|
3067
3081
|
StartingPosition: StartingPosition | undefined;
|
|
3082
|
+
/**
|
|
3083
|
+
* <p>Checks if your request will succeed. <code>DryRun</code> is an optional
|
|
3084
|
+
* parameter.</p>
|
|
3085
|
+
* @public
|
|
3086
|
+
*/
|
|
3087
|
+
DryRun?: boolean | undefined;
|
|
3068
3088
|
}
|
|
3069
3089
|
/**
|
|
3070
3090
|
* <p>After you call <a>SubscribeToShard</a>, Kinesis Data Streams sends events
|
|
@@ -2,6 +2,7 @@ import { TypeRegistry } from "@smithy/core/schema";
|
|
|
2
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
|
|
3
3
|
export declare var KinesisServiceException$: StaticErrorSchema;
|
|
4
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var DryRunOperationException$: StaticErrorSchema;
|
|
5
6
|
export declare var ExpiredIteratorException$: StaticErrorSchema;
|
|
6
7
|
export declare var ExpiredNextTokenException$: StaticErrorSchema;
|
|
7
8
|
export declare var InternalFailureException$: StaticErrorSchema;
|
|
@@ -60,6 +60,11 @@ export declare class ValidationException extends __BaseException {
|
|
|
60
60
|
readonly $fault: "client";
|
|
61
61
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
62
62
|
}
|
|
63
|
+
export declare class DryRunOperationException extends __BaseException {
|
|
64
|
+
readonly name: "DryRunOperationException";
|
|
65
|
+
readonly $fault: "client";
|
|
66
|
+
constructor(opts: __ExceptionOptionType<DryRunOperationException, __BaseException>);
|
|
67
|
+
}
|
|
63
68
|
export declare class ExpiredIteratorException extends __BaseException {
|
|
64
69
|
readonly name: "ExpiredIteratorException";
|
|
65
70
|
readonly $fault: "client";
|
|
@@ -336,6 +336,7 @@ export interface GetRecordsInput {
|
|
|
336
336
|
Limit?: number | undefined;
|
|
337
337
|
StreamARN?: string | undefined;
|
|
338
338
|
StreamId?: string | undefined;
|
|
339
|
+
DryRun?: boolean | undefined;
|
|
339
340
|
}
|
|
340
341
|
export interface _Record {
|
|
341
342
|
SequenceNumber: string | undefined;
|
|
@@ -365,6 +366,7 @@ export interface GetShardIteratorInput {
|
|
|
365
366
|
Timestamp?: Date | undefined;
|
|
366
367
|
StreamARN?: string | undefined;
|
|
367
368
|
StreamId?: string | undefined;
|
|
369
|
+
DryRun?: boolean | undefined;
|
|
368
370
|
}
|
|
369
371
|
export interface GetShardIteratorOutput {
|
|
370
372
|
ShardIterator?: string | undefined;
|
|
@@ -473,6 +475,7 @@ export interface PutRecordInput {
|
|
|
473
475
|
SequenceNumberForOrdering?: string | undefined;
|
|
474
476
|
StreamARN?: string | undefined;
|
|
475
477
|
StreamId?: string | undefined;
|
|
478
|
+
DryRun?: boolean | undefined;
|
|
476
479
|
}
|
|
477
480
|
export interface PutRecordOutput {
|
|
478
481
|
ShardId: string | undefined;
|
|
@@ -489,6 +492,7 @@ export interface PutRecordsInput {
|
|
|
489
492
|
StreamName?: string | undefined;
|
|
490
493
|
StreamARN?: string | undefined;
|
|
491
494
|
StreamId?: string | undefined;
|
|
495
|
+
DryRun?: boolean | undefined;
|
|
492
496
|
}
|
|
493
497
|
export interface PutRecordsResultEntry {
|
|
494
498
|
SequenceNumber?: string | undefined;
|
|
@@ -552,6 +556,7 @@ export interface SubscribeToShardInput {
|
|
|
552
556
|
StreamId?: string | undefined;
|
|
553
557
|
ShardId: string | undefined;
|
|
554
558
|
StartingPosition: StartingPosition | undefined;
|
|
559
|
+
DryRun?: boolean | undefined;
|
|
555
560
|
}
|
|
556
561
|
export interface SubscribeToShardEvent {
|
|
557
562
|
Records: _Record[] | undefined;
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
} from "@smithy/types";
|
|
8
8
|
export declare var KinesisServiceException$: StaticErrorSchema;
|
|
9
9
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
10
|
+
export declare var DryRunOperationException$: StaticErrorSchema;
|
|
10
11
|
export declare var ExpiredIteratorException$: StaticErrorSchema;
|
|
11
12
|
export declare var ExpiredNextTokenException$: StaticErrorSchema;
|
|
12
13
|
export declare var InternalFailureException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1125.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kinesis",
|
|
6
6
|
"license": "Apache-2.0",
|