@aws-sdk/client-kinesis 3.1019.0 → 3.1020.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-es/Kinesis.js +7 -7
- package/dist-es/waiters/waitForStreamExists.js +1 -1
- package/dist-es/waiters/waitForStreamNotExists.js +1 -1
- package/dist-types/Kinesis.d.ts +39 -39
- package/dist-types/KinesisClient.d.ts +42 -42
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/pagination/ListStreamConsumersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStreamsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/KinesisClient.d.ts +2 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/waiters/waitForStreamExists.d.ts +3 -3
- package/dist-types/waiters/waitForStreamNotExists.d.ts +3 -3
- package/package.json +14 -14
package/dist-es/Kinesis.js
CHANGED
|
@@ -12,26 +12,26 @@ import { DescribeStreamConsumerCommand, } from "./commands/DescribeStreamConsume
|
|
|
12
12
|
import { DescribeStreamSummaryCommand, } from "./commands/DescribeStreamSummaryCommand";
|
|
13
13
|
import { DisableEnhancedMonitoringCommand, } from "./commands/DisableEnhancedMonitoringCommand";
|
|
14
14
|
import { EnableEnhancedMonitoringCommand, } from "./commands/EnableEnhancedMonitoringCommand";
|
|
15
|
-
import { GetRecordsCommand } from "./commands/GetRecordsCommand";
|
|
15
|
+
import { GetRecordsCommand, } from "./commands/GetRecordsCommand";
|
|
16
16
|
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
17
17
|
import { GetShardIteratorCommand, } from "./commands/GetShardIteratorCommand";
|
|
18
18
|
import { IncreaseStreamRetentionPeriodCommand, } from "./commands/IncreaseStreamRetentionPeriodCommand";
|
|
19
|
-
import { ListShardsCommand } from "./commands/ListShardsCommand";
|
|
19
|
+
import { ListShardsCommand, } from "./commands/ListShardsCommand";
|
|
20
20
|
import { ListStreamConsumersCommand, } from "./commands/ListStreamConsumersCommand";
|
|
21
|
-
import { ListStreamsCommand } from "./commands/ListStreamsCommand";
|
|
21
|
+
import { ListStreamsCommand, } from "./commands/ListStreamsCommand";
|
|
22
22
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
23
23
|
import { ListTagsForStreamCommand, } from "./commands/ListTagsForStreamCommand";
|
|
24
|
-
import { MergeShardsCommand } from "./commands/MergeShardsCommand";
|
|
24
|
+
import { MergeShardsCommand, } from "./commands/MergeShardsCommand";
|
|
25
25
|
import { PutRecordCommand } from "./commands/PutRecordCommand";
|
|
26
|
-
import { PutRecordsCommand } from "./commands/PutRecordsCommand";
|
|
26
|
+
import { PutRecordsCommand, } from "./commands/PutRecordsCommand";
|
|
27
27
|
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
28
28
|
import { RegisterStreamConsumerCommand, } from "./commands/RegisterStreamConsumerCommand";
|
|
29
29
|
import { RemoveTagsFromStreamCommand, } from "./commands/RemoveTagsFromStreamCommand";
|
|
30
|
-
import { SplitShardCommand } from "./commands/SplitShardCommand";
|
|
30
|
+
import { SplitShardCommand, } from "./commands/SplitShardCommand";
|
|
31
31
|
import { StartStreamEncryptionCommand, } from "./commands/StartStreamEncryptionCommand";
|
|
32
32
|
import { StopStreamEncryptionCommand, } from "./commands/StopStreamEncryptionCommand";
|
|
33
33
|
import { SubscribeToShardCommand, } from "./commands/SubscribeToShardCommand";
|
|
34
|
-
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
34
|
+
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
35
35
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
36
36
|
import { UpdateAccountSettingsCommand, } from "./commands/UpdateAccountSettingsCommand";
|
|
37
37
|
import { UpdateMaxRecordSizeCommand, } from "./commands/UpdateMaxRecordSizeCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
2
|
import { DescribeStreamCommand } from "../commands/DescribeStreamCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
2
|
import { DescribeStreamCommand } from "../commands/DescribeStreamCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
package/dist-types/Kinesis.d.ts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
2
|
import type { WaiterResult } from "@smithy/util-waiter";
|
|
3
|
-
import { AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput } from "./commands/AddTagsToStreamCommand";
|
|
4
|
-
import { CreateStreamCommandInput, CreateStreamCommandOutput } from "./commands/CreateStreamCommand";
|
|
5
|
-
import { DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput } from "./commands/DecreaseStreamRetentionPeriodCommand";
|
|
6
|
-
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
7
|
-
import { DeleteStreamCommandInput, DeleteStreamCommandOutput } from "./commands/DeleteStreamCommand";
|
|
8
|
-
import { DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput } from "./commands/DeregisterStreamConsumerCommand";
|
|
9
|
-
import { DescribeAccountSettingsCommandInput, DescribeAccountSettingsCommandOutput } from "./commands/DescribeAccountSettingsCommand";
|
|
10
|
-
import { DescribeLimitsCommandInput, DescribeLimitsCommandOutput } from "./commands/DescribeLimitsCommand";
|
|
11
|
-
import { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
|
|
12
|
-
import { DescribeStreamConsumerCommandInput, DescribeStreamConsumerCommandOutput } from "./commands/DescribeStreamConsumerCommand";
|
|
13
|
-
import { DescribeStreamSummaryCommandInput, DescribeStreamSummaryCommandOutput } from "./commands/DescribeStreamSummaryCommand";
|
|
14
|
-
import { DisableEnhancedMonitoringCommandInput, DisableEnhancedMonitoringCommandOutput } from "./commands/DisableEnhancedMonitoringCommand";
|
|
15
|
-
import { EnableEnhancedMonitoringCommandInput, EnableEnhancedMonitoringCommandOutput } from "./commands/EnableEnhancedMonitoringCommand";
|
|
16
|
-
import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
|
|
17
|
-
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
18
|
-
import { GetShardIteratorCommandInput, GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
|
|
19
|
-
import { IncreaseStreamRetentionPeriodCommandInput, IncreaseStreamRetentionPeriodCommandOutput } from "./commands/IncreaseStreamRetentionPeriodCommand";
|
|
20
|
-
import { ListShardsCommandInput, ListShardsCommandOutput } from "./commands/ListShardsCommand";
|
|
21
|
-
import { ListStreamConsumersCommandInput, ListStreamConsumersCommandOutput } from "./commands/ListStreamConsumersCommand";
|
|
22
|
-
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
23
|
-
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
24
|
-
import { ListTagsForStreamCommandInput, ListTagsForStreamCommandOutput } from "./commands/ListTagsForStreamCommand";
|
|
25
|
-
import { MergeShardsCommandInput, MergeShardsCommandOutput } from "./commands/MergeShardsCommand";
|
|
26
|
-
import { PutRecordCommandInput, PutRecordCommandOutput } from "./commands/PutRecordCommand";
|
|
27
|
-
import { PutRecordsCommandInput, PutRecordsCommandOutput } from "./commands/PutRecordsCommand";
|
|
28
|
-
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
29
|
-
import { RegisterStreamConsumerCommandInput, RegisterStreamConsumerCommandOutput } from "./commands/RegisterStreamConsumerCommand";
|
|
30
|
-
import { RemoveTagsFromStreamCommandInput, RemoveTagsFromStreamCommandOutput } from "./commands/RemoveTagsFromStreamCommand";
|
|
31
|
-
import { SplitShardCommandInput, SplitShardCommandOutput } from "./commands/SplitShardCommand";
|
|
32
|
-
import { StartStreamEncryptionCommandInput, StartStreamEncryptionCommandOutput } from "./commands/StartStreamEncryptionCommand";
|
|
33
|
-
import { StopStreamEncryptionCommandInput, StopStreamEncryptionCommandOutput } from "./commands/StopStreamEncryptionCommand";
|
|
34
|
-
import { SubscribeToShardCommandInput, SubscribeToShardCommandOutput } from "./commands/SubscribeToShardCommand";
|
|
35
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
36
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
37
|
-
import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
|
|
38
|
-
import { UpdateMaxRecordSizeCommandInput, UpdateMaxRecordSizeCommandOutput } from "./commands/UpdateMaxRecordSizeCommand";
|
|
39
|
-
import { UpdateShardCountCommandInput, UpdateShardCountCommandOutput } from "./commands/UpdateShardCountCommand";
|
|
40
|
-
import { UpdateStreamModeCommandInput, UpdateStreamModeCommandOutput } from "./commands/UpdateStreamModeCommand";
|
|
41
|
-
import { UpdateStreamWarmThroughputCommandInput, UpdateStreamWarmThroughputCommandOutput } from "./commands/UpdateStreamWarmThroughputCommand";
|
|
3
|
+
import { type AddTagsToStreamCommandInput, type AddTagsToStreamCommandOutput } from "./commands/AddTagsToStreamCommand";
|
|
4
|
+
import { type CreateStreamCommandInput, type CreateStreamCommandOutput } from "./commands/CreateStreamCommand";
|
|
5
|
+
import { type DecreaseStreamRetentionPeriodCommandInput, type DecreaseStreamRetentionPeriodCommandOutput } from "./commands/DecreaseStreamRetentionPeriodCommand";
|
|
6
|
+
import { type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
7
|
+
import { type DeleteStreamCommandInput, type DeleteStreamCommandOutput } from "./commands/DeleteStreamCommand";
|
|
8
|
+
import { type DeregisterStreamConsumerCommandInput, type DeregisterStreamConsumerCommandOutput } from "./commands/DeregisterStreamConsumerCommand";
|
|
9
|
+
import { type DescribeAccountSettingsCommandInput, type DescribeAccountSettingsCommandOutput } from "./commands/DescribeAccountSettingsCommand";
|
|
10
|
+
import { type DescribeLimitsCommandInput, type DescribeLimitsCommandOutput } from "./commands/DescribeLimitsCommand";
|
|
11
|
+
import { type DescribeStreamCommandInput, type DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
|
|
12
|
+
import { type DescribeStreamConsumerCommandInput, type DescribeStreamConsumerCommandOutput } from "./commands/DescribeStreamConsumerCommand";
|
|
13
|
+
import { type DescribeStreamSummaryCommandInput, type DescribeStreamSummaryCommandOutput } from "./commands/DescribeStreamSummaryCommand";
|
|
14
|
+
import { type DisableEnhancedMonitoringCommandInput, type DisableEnhancedMonitoringCommandOutput } from "./commands/DisableEnhancedMonitoringCommand";
|
|
15
|
+
import { type EnableEnhancedMonitoringCommandInput, type EnableEnhancedMonitoringCommandOutput } from "./commands/EnableEnhancedMonitoringCommand";
|
|
16
|
+
import { type GetRecordsCommandInput, type GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
|
|
17
|
+
import { type GetResourcePolicyCommandInput, type GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
18
|
+
import { type GetShardIteratorCommandInput, type GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
|
|
19
|
+
import { type IncreaseStreamRetentionPeriodCommandInput, type IncreaseStreamRetentionPeriodCommandOutput } from "./commands/IncreaseStreamRetentionPeriodCommand";
|
|
20
|
+
import { type ListShardsCommandInput, type ListShardsCommandOutput } from "./commands/ListShardsCommand";
|
|
21
|
+
import { type ListStreamConsumersCommandInput, type ListStreamConsumersCommandOutput } from "./commands/ListStreamConsumersCommand";
|
|
22
|
+
import { type ListStreamsCommandInput, type ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
23
|
+
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
24
|
+
import { type ListTagsForStreamCommandInput, type ListTagsForStreamCommandOutput } from "./commands/ListTagsForStreamCommand";
|
|
25
|
+
import { type MergeShardsCommandInput, type MergeShardsCommandOutput } from "./commands/MergeShardsCommand";
|
|
26
|
+
import { type PutRecordCommandInput, type PutRecordCommandOutput } from "./commands/PutRecordCommand";
|
|
27
|
+
import { type PutRecordsCommandInput, type PutRecordsCommandOutput } from "./commands/PutRecordsCommand";
|
|
28
|
+
import { type PutResourcePolicyCommandInput, type PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
29
|
+
import { type RegisterStreamConsumerCommandInput, type RegisterStreamConsumerCommandOutput } from "./commands/RegisterStreamConsumerCommand";
|
|
30
|
+
import { type RemoveTagsFromStreamCommandInput, type RemoveTagsFromStreamCommandOutput } from "./commands/RemoveTagsFromStreamCommand";
|
|
31
|
+
import { type SplitShardCommandInput, type SplitShardCommandOutput } from "./commands/SplitShardCommand";
|
|
32
|
+
import { type StartStreamEncryptionCommandInput, type StartStreamEncryptionCommandOutput } from "./commands/StartStreamEncryptionCommand";
|
|
33
|
+
import { type StopStreamEncryptionCommandInput, type StopStreamEncryptionCommandOutput } from "./commands/StopStreamEncryptionCommand";
|
|
34
|
+
import { type SubscribeToShardCommandInput, type SubscribeToShardCommandOutput } from "./commands/SubscribeToShardCommand";
|
|
35
|
+
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
36
|
+
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
37
|
+
import { type UpdateAccountSettingsCommandInput, type UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
|
|
38
|
+
import { type UpdateMaxRecordSizeCommandInput, type UpdateMaxRecordSizeCommandOutput } from "./commands/UpdateMaxRecordSizeCommand";
|
|
39
|
+
import { type UpdateShardCountCommandInput, type UpdateShardCountCommandOutput } from "./commands/UpdateShardCountCommand";
|
|
40
|
+
import { type UpdateStreamModeCommandInput, type UpdateStreamModeCommandOutput } from "./commands/UpdateStreamModeCommand";
|
|
41
|
+
import { type UpdateStreamWarmThroughputCommandInput, type UpdateStreamWarmThroughputCommandOutput } from "./commands/UpdateStreamWarmThroughputCommand";
|
|
42
42
|
import { KinesisClient } from "./KinesisClient";
|
|
43
43
|
export interface Kinesis {
|
|
44
44
|
/**
|
|
@@ -6,48 +6,48 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
6
6
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
7
7
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
8
8
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
9
|
-
import {
|
|
9
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
10
10
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
11
|
-
import { AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput } from "./commands/AddTagsToStreamCommand";
|
|
12
|
-
import { CreateStreamCommandInput, CreateStreamCommandOutput } from "./commands/CreateStreamCommand";
|
|
13
|
-
import { DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput } from "./commands/DecreaseStreamRetentionPeriodCommand";
|
|
14
|
-
import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
15
|
-
import { DeleteStreamCommandInput, DeleteStreamCommandOutput } from "./commands/DeleteStreamCommand";
|
|
16
|
-
import { DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput } from "./commands/DeregisterStreamConsumerCommand";
|
|
17
|
-
import { DescribeAccountSettingsCommandInput, DescribeAccountSettingsCommandOutput } from "./commands/DescribeAccountSettingsCommand";
|
|
18
|
-
import { DescribeLimitsCommandInput, DescribeLimitsCommandOutput } from "./commands/DescribeLimitsCommand";
|
|
19
|
-
import { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
|
|
20
|
-
import { DescribeStreamConsumerCommandInput, DescribeStreamConsumerCommandOutput } from "./commands/DescribeStreamConsumerCommand";
|
|
21
|
-
import { DescribeStreamSummaryCommandInput, DescribeStreamSummaryCommandOutput } from "./commands/DescribeStreamSummaryCommand";
|
|
22
|
-
import { DisableEnhancedMonitoringCommandInput, DisableEnhancedMonitoringCommandOutput } from "./commands/DisableEnhancedMonitoringCommand";
|
|
23
|
-
import { EnableEnhancedMonitoringCommandInput, EnableEnhancedMonitoringCommandOutput } from "./commands/EnableEnhancedMonitoringCommand";
|
|
24
|
-
import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
|
|
25
|
-
import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
26
|
-
import { GetShardIteratorCommandInput, GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
|
|
27
|
-
import { IncreaseStreamRetentionPeriodCommandInput, IncreaseStreamRetentionPeriodCommandOutput } from "./commands/IncreaseStreamRetentionPeriodCommand";
|
|
28
|
-
import { ListShardsCommandInput, ListShardsCommandOutput } from "./commands/ListShardsCommand";
|
|
29
|
-
import { ListStreamConsumersCommandInput, ListStreamConsumersCommandOutput } from "./commands/ListStreamConsumersCommand";
|
|
30
|
-
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
31
|
-
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
32
|
-
import { ListTagsForStreamCommandInput, ListTagsForStreamCommandOutput } from "./commands/ListTagsForStreamCommand";
|
|
33
|
-
import { MergeShardsCommandInput, MergeShardsCommandOutput } from "./commands/MergeShardsCommand";
|
|
34
|
-
import { PutRecordCommandInput, PutRecordCommandOutput } from "./commands/PutRecordCommand";
|
|
35
|
-
import { PutRecordsCommandInput, PutRecordsCommandOutput } from "./commands/PutRecordsCommand";
|
|
36
|
-
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
37
|
-
import { RegisterStreamConsumerCommandInput, RegisterStreamConsumerCommandOutput } from "./commands/RegisterStreamConsumerCommand";
|
|
38
|
-
import { RemoveTagsFromStreamCommandInput, RemoveTagsFromStreamCommandOutput } from "./commands/RemoveTagsFromStreamCommand";
|
|
39
|
-
import { SplitShardCommandInput, SplitShardCommandOutput } from "./commands/SplitShardCommand";
|
|
40
|
-
import { StartStreamEncryptionCommandInput, StartStreamEncryptionCommandOutput } from "./commands/StartStreamEncryptionCommand";
|
|
41
|
-
import { StopStreamEncryptionCommandInput, StopStreamEncryptionCommandOutput } from "./commands/StopStreamEncryptionCommand";
|
|
42
|
-
import { SubscribeToShardCommandInput, SubscribeToShardCommandOutput } from "./commands/SubscribeToShardCommand";
|
|
43
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
44
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
45
|
-
import { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
|
|
46
|
-
import { UpdateMaxRecordSizeCommandInput, UpdateMaxRecordSizeCommandOutput } from "./commands/UpdateMaxRecordSizeCommand";
|
|
47
|
-
import { UpdateShardCountCommandInput, UpdateShardCountCommandOutput } from "./commands/UpdateShardCountCommand";
|
|
48
|
-
import { UpdateStreamModeCommandInput, UpdateStreamModeCommandOutput } from "./commands/UpdateStreamModeCommand";
|
|
49
|
-
import { UpdateStreamWarmThroughputCommandInput, UpdateStreamWarmThroughputCommandOutput } from "./commands/UpdateStreamWarmThroughputCommand";
|
|
50
|
-
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
11
|
+
import type { AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput } from "./commands/AddTagsToStreamCommand";
|
|
12
|
+
import type { CreateStreamCommandInput, CreateStreamCommandOutput } from "./commands/CreateStreamCommand";
|
|
13
|
+
import type { DecreaseStreamRetentionPeriodCommandInput, DecreaseStreamRetentionPeriodCommandOutput } from "./commands/DecreaseStreamRetentionPeriodCommand";
|
|
14
|
+
import type { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
|
|
15
|
+
import type { DeleteStreamCommandInput, DeleteStreamCommandOutput } from "./commands/DeleteStreamCommand";
|
|
16
|
+
import type { DeregisterStreamConsumerCommandInput, DeregisterStreamConsumerCommandOutput } from "./commands/DeregisterStreamConsumerCommand";
|
|
17
|
+
import type { DescribeAccountSettingsCommandInput, DescribeAccountSettingsCommandOutput } from "./commands/DescribeAccountSettingsCommand";
|
|
18
|
+
import type { DescribeLimitsCommandInput, DescribeLimitsCommandOutput } from "./commands/DescribeLimitsCommand";
|
|
19
|
+
import type { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
|
|
20
|
+
import type { DescribeStreamConsumerCommandInput, DescribeStreamConsumerCommandOutput } from "./commands/DescribeStreamConsumerCommand";
|
|
21
|
+
import type { DescribeStreamSummaryCommandInput, DescribeStreamSummaryCommandOutput } from "./commands/DescribeStreamSummaryCommand";
|
|
22
|
+
import type { DisableEnhancedMonitoringCommandInput, DisableEnhancedMonitoringCommandOutput } from "./commands/DisableEnhancedMonitoringCommand";
|
|
23
|
+
import type { EnableEnhancedMonitoringCommandInput, EnableEnhancedMonitoringCommandOutput } from "./commands/EnableEnhancedMonitoringCommand";
|
|
24
|
+
import type { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
|
|
25
|
+
import type { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
26
|
+
import type { GetShardIteratorCommandInput, GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
|
|
27
|
+
import type { IncreaseStreamRetentionPeriodCommandInput, IncreaseStreamRetentionPeriodCommandOutput } from "./commands/IncreaseStreamRetentionPeriodCommand";
|
|
28
|
+
import type { ListShardsCommandInput, ListShardsCommandOutput } from "./commands/ListShardsCommand";
|
|
29
|
+
import type { ListStreamConsumersCommandInput, ListStreamConsumersCommandOutput } from "./commands/ListStreamConsumersCommand";
|
|
30
|
+
import type { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
31
|
+
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
32
|
+
import type { ListTagsForStreamCommandInput, ListTagsForStreamCommandOutput } from "./commands/ListTagsForStreamCommand";
|
|
33
|
+
import type { MergeShardsCommandInput, MergeShardsCommandOutput } from "./commands/MergeShardsCommand";
|
|
34
|
+
import type { PutRecordCommandInput, PutRecordCommandOutput } from "./commands/PutRecordCommand";
|
|
35
|
+
import type { PutRecordsCommandInput, PutRecordsCommandOutput } from "./commands/PutRecordsCommand";
|
|
36
|
+
import type { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
37
|
+
import type { RegisterStreamConsumerCommandInput, RegisterStreamConsumerCommandOutput } from "./commands/RegisterStreamConsumerCommand";
|
|
38
|
+
import type { RemoveTagsFromStreamCommandInput, RemoveTagsFromStreamCommandOutput } from "./commands/RemoveTagsFromStreamCommand";
|
|
39
|
+
import type { SplitShardCommandInput, SplitShardCommandOutput } from "./commands/SplitShardCommand";
|
|
40
|
+
import type { StartStreamEncryptionCommandInput, StartStreamEncryptionCommandOutput } from "./commands/StartStreamEncryptionCommand";
|
|
41
|
+
import type { StopStreamEncryptionCommandInput, StopStreamEncryptionCommandOutput } from "./commands/StopStreamEncryptionCommand";
|
|
42
|
+
import type { SubscribeToShardCommandInput, SubscribeToShardCommandOutput } from "./commands/SubscribeToShardCommand";
|
|
43
|
+
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
44
|
+
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
45
|
+
import type { UpdateAccountSettingsCommandInput, UpdateAccountSettingsCommandOutput } from "./commands/UpdateAccountSettingsCommand";
|
|
46
|
+
import type { UpdateMaxRecordSizeCommandInput, UpdateMaxRecordSizeCommandOutput } from "./commands/UpdateMaxRecordSizeCommand";
|
|
47
|
+
import type { UpdateShardCountCommandInput, UpdateShardCountCommandOutput } from "./commands/UpdateShardCountCommand";
|
|
48
|
+
import type { UpdateStreamModeCommandInput, UpdateStreamModeCommandOutput } from "./commands/UpdateStreamModeCommand";
|
|
49
|
+
import type { UpdateStreamWarmThroughputCommandInput, UpdateStreamWarmThroughputCommandOutput } from "./commands/UpdateStreamWarmThroughputCommand";
|
|
50
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
51
51
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
52
52
|
export { __Client };
|
|
53
53
|
/**
|
|
@@ -156,7 +156,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
156
156
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
157
157
|
* @internal
|
|
158
158
|
*/
|
|
159
|
-
defaultUserAgentProvider?:
|
|
159
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
160
160
|
/**
|
|
161
161
|
* Default credentials provider; Not available in browser runtime.
|
|
162
162
|
* @deprecated
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
2
|
import type { KinesisHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export * from "./KinesisClient";
|
|
9
9
|
export * from "./Kinesis";
|
|
10
|
-
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
10
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
11
11
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
12
12
|
export type { KinesisExtensionConfiguration } from "./extensionConfiguration";
|
|
13
13
|
export * from "./commands";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConsumerStatus, EncryptionType, MetricsName, MinimumThroughputBillingCommitmentInputStatus, MinimumThroughputBillingCommitmentOutputStatus, ScalingType, ShardFilterType, ShardIteratorType, StreamMode, StreamStatus } from "./enums";
|
|
2
|
-
import { InternalFailureException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, KMSOptInRequired, KMSThrottlingException, ResourceInUseException, ResourceNotFoundException } from "./errors";
|
|
1
|
+
import type { ConsumerStatus, EncryptionType, MetricsName, MinimumThroughputBillingCommitmentInputStatus, MinimumThroughputBillingCommitmentOutputStatus, ScalingType, ShardFilterType, ShardIteratorType, StreamMode, StreamStatus } from "./enums";
|
|
2
|
+
import type { InternalFailureException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, KMSOptInRequired, KMSThrottlingException, ResourceInUseException, ResourceNotFoundException } from "./errors";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Represents the input for <code>AddTagsToStream</code>.</p>
|
|
5
5
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListStreamConsumersCommandInput, ListStreamConsumersCommandOutput } from "../commands/ListStreamConsumersCommand";
|
|
3
|
-
import { KinesisPaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { KinesisPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "../commands/ListStreamsCommand";
|
|
3
|
-
import { KinesisPaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { KinesisPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
Client as __Client,
|
|
31
31
|
} from "@smithy/smithy-client";
|
|
32
32
|
import {
|
|
33
|
+
AwsCredentialIdentityProvider,
|
|
33
34
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
35
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
35
36
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -42,8 +43,6 @@ import {
|
|
|
42
43
|
Provider as __Provider,
|
|
43
44
|
StreamCollector as __StreamCollector,
|
|
44
45
|
UrlParser as __UrlParser,
|
|
45
|
-
AwsCredentialIdentityProvider,
|
|
46
|
-
Provider,
|
|
47
46
|
UserAgent as __UserAgent,
|
|
48
47
|
} from "@smithy/types";
|
|
49
48
|
import {
|
|
@@ -311,7 +310,7 @@ export interface ClientDefaults
|
|
|
311
310
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
312
311
|
region?: string | __Provider<string>;
|
|
313
312
|
profile?: string;
|
|
314
|
-
defaultUserAgentProvider?:
|
|
313
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
315
314
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
316
315
|
maxAttempts?: number | __Provider<number>;
|
|
317
316
|
retryMode?: string | __Provider<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { DescribeStreamCommandInput } from "../commands/DescribeStreamCommand";
|
|
3
|
-
import { KinesisClient } from "../KinesisClient";
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { type DescribeStreamCommandInput } from "../commands/DescribeStreamCommand";
|
|
3
|
+
import type { KinesisClient } from "../KinesisClient";
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
6
6
|
* @deprecated Use waitUntilStreamExists instead. waitForStreamExists does not throw error in non-success cases.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { DescribeStreamCommandInput } from "../commands/DescribeStreamCommand";
|
|
3
|
-
import { KinesisClient } from "../KinesisClient";
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { type DescribeStreamCommandInput } from "../commands/DescribeStreamCommand";
|
|
3
|
+
import type { KinesisClient } from "../KinesisClient";
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
6
6
|
* @deprecated Use waitUntilStreamNotExists instead. waitForStreamNotExists does not throw error in non-success cases.
|
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.1020.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kinesis",
|
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.973.26",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.28",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
29
29
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "^3.972.9",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.27",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "^3.972.10",
|
|
33
33
|
"@aws-sdk/types": "^3.973.6",
|
|
34
34
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.973.13",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.13",
|
|
38
|
-
"@smithy/core": "^3.23.
|
|
38
|
+
"@smithy/core": "^3.23.13",
|
|
39
39
|
"@smithy/eventstream-serde-browser": "^4.2.12",
|
|
40
40
|
"@smithy/eventstream-serde-config-resolver": "^4.3.12",
|
|
41
41
|
"@smithy/eventstream-serde-node": "^4.2.12",
|
|
@@ -43,26 +43,26 @@
|
|
|
43
43
|
"@smithy/hash-node": "^4.2.12",
|
|
44
44
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
45
45
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
46
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
47
|
-
"@smithy/middleware-retry": "^4.4.
|
|
48
|
-
"@smithy/middleware-serde": "^4.2.
|
|
46
|
+
"@smithy/middleware-endpoint": "^4.4.28",
|
|
47
|
+
"@smithy/middleware-retry": "^4.4.45",
|
|
48
|
+
"@smithy/middleware-serde": "^4.2.16",
|
|
49
49
|
"@smithy/middleware-stack": "^4.2.12",
|
|
50
50
|
"@smithy/node-config-provider": "^4.3.12",
|
|
51
|
-
"@smithy/node-http-handler": "^4.5.
|
|
51
|
+
"@smithy/node-http-handler": "^4.5.1",
|
|
52
52
|
"@smithy/protocol-http": "^5.3.12",
|
|
53
|
-
"@smithy/smithy-client": "^4.12.
|
|
53
|
+
"@smithy/smithy-client": "^4.12.8",
|
|
54
54
|
"@smithy/types": "^4.13.1",
|
|
55
55
|
"@smithy/url-parser": "^4.2.12",
|
|
56
56
|
"@smithy/util-base64": "^4.3.2",
|
|
57
57
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
58
58
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
59
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
60
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
59
|
+
"@smithy/util-defaults-mode-browser": "^4.3.44",
|
|
60
|
+
"@smithy/util-defaults-mode-node": "^4.2.48",
|
|
61
61
|
"@smithy/util-endpoints": "^3.3.3",
|
|
62
62
|
"@smithy/util-middleware": "^4.2.12",
|
|
63
63
|
"@smithy/util-retry": "^4.2.12",
|
|
64
64
|
"@smithy/util-utf8": "^4.2.2",
|
|
65
|
-
"@smithy/util-waiter": "^4.2.
|
|
65
|
+
"@smithy/util-waiter": "^4.2.14",
|
|
66
66
|
"tslib": "^2.6.2"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|