@aws-sdk/client-kinesis 3.1086.0 → 3.1088.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 +1 -1
- package/dist-types/ts3.4/Kinesis.d.ts +129 -159
- package/dist-types/ts3.4/KinesisClient.d.ts +24 -58
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/AddTagsToStreamCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DecreaseStreamRetentionPeriodCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeregisterStreamConsumerCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeStreamCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeStreamConsumerCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DescribeStreamSummaryCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DisableEnhancedMonitoringCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/EnableEnhancedMonitoringCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetRecordsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetShardIteratorCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/IncreaseStreamRetentionPeriodCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListShardsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListStreamConsumersCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListTagsForStreamCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/MergeShardsCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/PutRecordCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/PutRecordsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/RegisterStreamConsumerCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/RemoveTagsFromStreamCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/SplitShardCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/StartStreamEncryptionCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/StopStreamEncryptionCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/SubscribeToShardCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateMaxRecordSizeCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/UpdateShardCountCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateStreamModeCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/UpdateStreamWarmThroughputCommand.d.ts +4 -6
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +4 -8
- package/dist-types/ts3.4/models/errors.d.ts +15 -48
- package/dist-types/ts3.4/models/models_0.d.ts +3 -9
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForStreamExists.d.ts +3 -5
- package/dist-types/ts3.4/waiters/waitForStreamNotExists.d.ts +3 -5
- package/package.json +40 -40
|
@@ -3,93 +3,67 @@ import { KinesisServiceException as __BaseException } from "./KinesisServiceExce
|
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
6
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
7
|
}
|
|
10
8
|
export declare class InvalidArgumentException extends __BaseException {
|
|
11
9
|
readonly name: "InvalidArgumentException";
|
|
12
10
|
readonly $fault: "client";
|
|
13
|
-
constructor(
|
|
14
|
-
opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>
|
|
15
|
-
);
|
|
11
|
+
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
16
12
|
}
|
|
17
13
|
export declare class LimitExceededException extends __BaseException {
|
|
18
14
|
readonly name: "LimitExceededException";
|
|
19
15
|
readonly $fault: "client";
|
|
20
|
-
constructor(
|
|
21
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
22
|
-
);
|
|
16
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
23
17
|
}
|
|
24
18
|
export declare class ResourceInUseException extends __BaseException {
|
|
25
19
|
readonly name: "ResourceInUseException";
|
|
26
20
|
readonly $fault: "client";
|
|
27
|
-
constructor(
|
|
28
|
-
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
29
|
-
);
|
|
21
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
30
22
|
}
|
|
31
23
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
32
24
|
readonly name: "ResourceNotFoundException";
|
|
33
25
|
readonly $fault: "client";
|
|
34
|
-
constructor(
|
|
35
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
36
|
-
);
|
|
26
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
37
27
|
}
|
|
38
28
|
export declare class ValidationException extends __BaseException {
|
|
39
29
|
readonly name: "ValidationException";
|
|
40
30
|
readonly $fault: "client";
|
|
41
|
-
constructor(
|
|
42
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
43
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
44
32
|
}
|
|
45
33
|
export declare class ExpiredIteratorException extends __BaseException {
|
|
46
34
|
readonly name: "ExpiredIteratorException";
|
|
47
35
|
readonly $fault: "client";
|
|
48
|
-
constructor(
|
|
49
|
-
opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>
|
|
50
|
-
);
|
|
36
|
+
constructor(opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>);
|
|
51
37
|
}
|
|
52
38
|
export declare class ExpiredNextTokenException extends __BaseException {
|
|
53
39
|
readonly name: "ExpiredNextTokenException";
|
|
54
40
|
readonly $fault: "client";
|
|
55
|
-
constructor(
|
|
56
|
-
opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>
|
|
57
|
-
);
|
|
41
|
+
constructor(opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>);
|
|
58
42
|
}
|
|
59
43
|
export declare class InternalFailureException extends __BaseException {
|
|
60
44
|
readonly name: "InternalFailureException";
|
|
61
45
|
readonly $fault: "server";
|
|
62
|
-
constructor(
|
|
63
|
-
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
64
|
-
);
|
|
46
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
65
47
|
}
|
|
66
48
|
export declare class KMSAccessDeniedException extends __BaseException {
|
|
67
49
|
readonly name: "KMSAccessDeniedException";
|
|
68
50
|
readonly $fault: "client";
|
|
69
|
-
constructor(
|
|
70
|
-
opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>
|
|
71
|
-
);
|
|
51
|
+
constructor(opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>);
|
|
72
52
|
}
|
|
73
53
|
export declare class KMSDisabledException extends __BaseException {
|
|
74
54
|
readonly name: "KMSDisabledException";
|
|
75
55
|
readonly $fault: "client";
|
|
76
|
-
constructor(
|
|
77
|
-
opts: __ExceptionOptionType<KMSDisabledException, __BaseException>
|
|
78
|
-
);
|
|
56
|
+
constructor(opts: __ExceptionOptionType<KMSDisabledException, __BaseException>);
|
|
79
57
|
}
|
|
80
58
|
export declare class KMSInvalidStateException extends __BaseException {
|
|
81
59
|
readonly name: "KMSInvalidStateException";
|
|
82
60
|
readonly $fault: "client";
|
|
83
|
-
constructor(
|
|
84
|
-
opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>
|
|
85
|
-
);
|
|
61
|
+
constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
|
|
86
62
|
}
|
|
87
63
|
export declare class KMSNotFoundException extends __BaseException {
|
|
88
64
|
readonly name: "KMSNotFoundException";
|
|
89
65
|
readonly $fault: "client";
|
|
90
|
-
constructor(
|
|
91
|
-
opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>
|
|
92
|
-
);
|
|
66
|
+
constructor(opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>);
|
|
93
67
|
}
|
|
94
68
|
export declare class KMSOptInRequired extends __BaseException {
|
|
95
69
|
readonly name: "KMSOptInRequired";
|
|
@@ -99,17 +73,10 @@ export declare class KMSOptInRequired extends __BaseException {
|
|
|
99
73
|
export declare class KMSThrottlingException extends __BaseException {
|
|
100
74
|
readonly name: "KMSThrottlingException";
|
|
101
75
|
readonly $fault: "client";
|
|
102
|
-
constructor(
|
|
103
|
-
opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>
|
|
104
|
-
);
|
|
76
|
+
constructor(opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>);
|
|
105
77
|
}
|
|
106
78
|
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
107
79
|
readonly name: "ProvisionedThroughputExceededException";
|
|
108
80
|
readonly $fault: "client";
|
|
109
|
-
constructor(
|
|
110
|
-
opts: __ExceptionOptionType<
|
|
111
|
-
ProvisionedThroughputExceededException,
|
|
112
|
-
__BaseException
|
|
113
|
-
>
|
|
114
|
-
);
|
|
81
|
+
constructor(opts: __ExceptionOptionType<ProvisionedThroughputExceededException, __BaseException>);
|
|
115
82
|
}
|
|
@@ -90,9 +90,7 @@ export interface MinimumThroughputBillingCommitmentOutput {
|
|
|
90
90
|
EarliestAllowedEndAt?: Date | undefined;
|
|
91
91
|
}
|
|
92
92
|
export interface DescribeAccountSettingsOutput {
|
|
93
|
-
MinimumThroughputBillingCommitment?:
|
|
94
|
-
| MinimumThroughputBillingCommitmentOutput
|
|
95
|
-
| undefined;
|
|
93
|
+
MinimumThroughputBillingCommitment?: MinimumThroughputBillingCommitmentOutput | undefined;
|
|
96
94
|
}
|
|
97
95
|
export interface DescribeLimitsInput {}
|
|
98
96
|
export interface DescribeLimitsOutput {
|
|
@@ -595,14 +593,10 @@ export interface MinimumThroughputBillingCommitmentInput {
|
|
|
595
593
|
Status: MinimumThroughputBillingCommitmentInputStatus | undefined;
|
|
596
594
|
}
|
|
597
595
|
export interface UpdateAccountSettingsInput {
|
|
598
|
-
MinimumThroughputBillingCommitment:
|
|
599
|
-
| MinimumThroughputBillingCommitmentInput
|
|
600
|
-
| undefined;
|
|
596
|
+
MinimumThroughputBillingCommitment: MinimumThroughputBillingCommitmentInput | undefined;
|
|
601
597
|
}
|
|
602
598
|
export interface UpdateAccountSettingsOutput {
|
|
603
|
-
MinimumThroughputBillingCommitment?:
|
|
604
|
-
| MinimumThroughputBillingCommitmentOutput
|
|
605
|
-
| undefined;
|
|
599
|
+
MinimumThroughputBillingCommitment?: MinimumThroughputBillingCommitmentOutput | undefined;
|
|
606
600
|
}
|
|
607
601
|
export interface UpdateMaxRecordSizeInput {
|
|
608
602
|
StreamARN?: string | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@smithy/types";
|
|
2
2
|
import { KinesisClient } from "../KinesisClient";
|
|
3
|
-
export interface KinesisPaginationConfiguration
|
|
4
|
-
extends PaginationConfiguration {
|
|
3
|
+
export interface KinesisPaginationConfiguration extends PaginationConfiguration {
|
|
5
4
|
client: KinesisClient;
|
|
6
5
|
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Paginator } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListStreamsCommandInput,
|
|
4
|
-
ListStreamsCommandOutput,
|
|
5
|
-
} from "../commands/ListStreamsCommand";
|
|
2
|
+
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "../commands/ListStreamsCommand";
|
|
6
3
|
import { KinesisPaginationConfiguration } from "./Interfaces";
|
|
7
4
|
export declare const paginateListStreams: (
|
|
8
5
|
config: KinesisPaginationConfiguration,
|
|
@@ -8,25 +8,17 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
18
16
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
17
|
region: string | import("@smithy/types").Provider<any>;
|
|
20
|
-
requestHandler:
|
|
21
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
22
|
-
| RequestHandler;
|
|
18
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
23
19
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
20
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
21
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
22
|
) => Promise<Uint8Array>;
|
|
31
23
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
32
24
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -54,13 +46,8 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
54
46
|
logger: import("@smithy/types").Logger;
|
|
55
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
48
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
57
|
-
userAgentAppId?:
|
|
58
|
-
|
|
59
|
-
| undefined
|
|
60
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
61
|
-
retryStrategy?:
|
|
62
|
-
| import("@smithy/types").RetryStrategy
|
|
63
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
49
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
64
51
|
endpoint?:
|
|
65
52
|
| ((
|
|
66
53
|
| string
|
|
@@ -82,7 +69,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
82
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
83
70
|
context?: {
|
|
84
71
|
logger?: import("@smithy/types").Logger;
|
|
85
|
-
}
|
|
72
|
+
},
|
|
86
73
|
) => import("@smithy/types").EndpointV2;
|
|
87
74
|
tls?: boolean;
|
|
88
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -95,13 +82,13 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
95
82
|
signer?:
|
|
96
83
|
| import("@smithy/types").RequestSigner
|
|
97
84
|
| ((
|
|
98
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
85
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
99
86
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
100
87
|
signingEscapePath?: boolean;
|
|
101
88
|
systemClockOffset?: number;
|
|
102
89
|
signingRegion?: string;
|
|
103
90
|
signerConstructor?: new (
|
|
104
91
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
105
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
92
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
106
93
|
) => import("@smithy/types").RequestSigner;
|
|
107
94
|
};
|
|
@@ -10,24 +10,18 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
19
19
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
20
|
region: string | import("@smithy/types").Provider<string>;
|
|
21
|
-
requestHandler:
|
|
22
|
-
| RequestHandler
|
|
23
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
21
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
24
22
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
23
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
25
|
) => Promise<Uint8Array>;
|
|
32
26
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
33
27
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -54,9 +48,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
54
48
|
logger: import("@smithy/types").Logger;
|
|
55
49
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
50
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
57
|
-
retryStrategy?:
|
|
58
|
-
| import("@smithy/types").RetryStrategy
|
|
59
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
51
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
60
52
|
endpoint?:
|
|
61
53
|
| ((
|
|
62
54
|
| string
|
|
@@ -78,7 +70,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
78
70
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
79
71
|
context?: {
|
|
80
72
|
logger?: import("@smithy/types").Logger;
|
|
81
|
-
}
|
|
73
|
+
},
|
|
82
74
|
) => import("@smithy/types").EndpointV2;
|
|
83
75
|
tls?: boolean;
|
|
84
76
|
serviceConfiguredEndpoint?: never;
|
|
@@ -90,13 +82,13 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
90
82
|
signer?:
|
|
91
83
|
| import("@smithy/types").RequestSigner
|
|
92
84
|
| ((
|
|
93
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
85
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
94
86
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
95
87
|
signingEscapePath?: boolean;
|
|
96
88
|
systemClockOffset?: number;
|
|
97
89
|
signingRegion?: string;
|
|
98
90
|
signerConstructor?: new (
|
|
99
91
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
100
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
92
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
101
93
|
) => import("@smithy/types").RequestSigner;
|
|
102
94
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,13 +36,11 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
46
|
logger: import("@smithy/types").Logger;
|
|
@@ -54,17 +48,10 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
54
48
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
55
49
|
defaultsMode:
|
|
56
50
|
| import("@smithy/core/client").DefaultsMode
|
|
57
|
-
| import("@smithy/types").Provider<
|
|
58
|
-
import("@smithy/core/client").DefaultsMode
|
|
59
|
-
>;
|
|
51
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
60
52
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
61
|
-
userAgentAppId?:
|
|
62
|
-
|
|
63
|
-
| undefined
|
|
64
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
65
|
-
retryStrategy?:
|
|
66
|
-
| import("@smithy/types").RetryStrategy
|
|
67
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
53
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
54
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
68
55
|
endpoint?:
|
|
69
56
|
| ((
|
|
70
57
|
| string
|
|
@@ -86,7 +73,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
86
73
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
87
74
|
context?: {
|
|
88
75
|
logger?: import("@smithy/types").Logger;
|
|
89
|
-
}
|
|
76
|
+
},
|
|
90
77
|
) => import("@smithy/types").EndpointV2;
|
|
91
78
|
tls?: boolean;
|
|
92
79
|
serviceConfiguredEndpoint?: never;
|
|
@@ -99,13 +86,13 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
99
86
|
signer?:
|
|
100
87
|
| import("@smithy/types").RequestSigner
|
|
101
88
|
| ((
|
|
102
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
89
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
103
90
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
104
91
|
signingEscapePath?: boolean;
|
|
105
92
|
systemClockOffset?: number;
|
|
106
93
|
signingRegion?: string;
|
|
107
94
|
signerConstructor?: new (
|
|
108
95
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
109
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
96
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
110
97
|
) => import("@smithy/types").RequestSigner;
|
|
111
98
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KinesisHttpAuthSchemeProvider;
|
|
@@ -7,11 +7,9 @@ import { KinesisClient } from "../KinesisClient";
|
|
|
7
7
|
import { KinesisServiceException } from "../models/KinesisServiceException";
|
|
8
8
|
export declare const waitForStreamExists: (
|
|
9
9
|
params: WaiterConfiguration<KinesisClient>,
|
|
10
|
-
input: DescribeStreamCommandInput
|
|
11
|
-
) => Promise<
|
|
12
|
-
WaiterResult<DescribeStreamCommandOutput | KinesisServiceException>
|
|
13
|
-
>;
|
|
10
|
+
input: DescribeStreamCommandInput,
|
|
11
|
+
) => Promise<WaiterResult<DescribeStreamCommandOutput | KinesisServiceException>>;
|
|
14
12
|
export declare const waitUntilStreamExists: (
|
|
15
13
|
params: WaiterConfiguration<KinesisClient>,
|
|
16
|
-
input: DescribeStreamCommandInput
|
|
14
|
+
input: DescribeStreamCommandInput,
|
|
17
15
|
) => Promise<WaiterResult<DescribeStreamCommandOutput>>;
|
|
@@ -8,11 +8,9 @@ import { ResourceNotFoundException } from "../models/errors";
|
|
|
8
8
|
import { KinesisServiceException } from "../models/KinesisServiceException";
|
|
9
9
|
export declare const waitForStreamNotExists: (
|
|
10
10
|
params: WaiterConfiguration<KinesisClient>,
|
|
11
|
-
input: DescribeStreamCommandInput
|
|
12
|
-
) => Promise<
|
|
13
|
-
WaiterResult<DescribeStreamCommandOutput | KinesisServiceException>
|
|
14
|
-
>;
|
|
11
|
+
input: DescribeStreamCommandInput,
|
|
12
|
+
) => Promise<WaiterResult<DescribeStreamCommandOutput | KinesisServiceException>>;
|
|
15
13
|
export declare const waitUntilStreamNotExists: (
|
|
16
14
|
params: WaiterConfiguration<KinesisClient>,
|
|
17
|
-
input: DescribeStreamCommandInput
|
|
15
|
+
input: DescribeStreamCommandInput,
|
|
18
16
|
) => Promise<WaiterResult<ResourceNotFoundException>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kinesis",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-kinesis"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -20,22 +51,18 @@
|
|
|
20
51
|
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
|
|
21
52
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
22
53
|
},
|
|
23
|
-
"main": "./dist-cjs/index.js",
|
|
24
|
-
"types": "./dist-types/index.d.ts",
|
|
25
|
-
"module": "./dist-es/index.js",
|
|
26
|
-
"sideEffects": false,
|
|
27
54
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "^3.975.
|
|
29
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
30
|
-
"@aws-sdk/types": "^3.974.
|
|
31
|
-
"@smithy/core": "^3.29.
|
|
32
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
33
|
-
"@smithy/node-http-handler": "^4.9.
|
|
34
|
-
"@smithy/types": "^4.16.
|
|
55
|
+
"@aws-sdk/core": "^3.975.3",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
57
|
+
"@aws-sdk/types": "^3.974.2",
|
|
58
|
+
"@smithy/core": "^3.29.4",
|
|
59
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
60
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
61
|
+
"@smithy/types": "^4.16.1",
|
|
35
62
|
"tslib": "^2.6.2"
|
|
36
63
|
},
|
|
37
64
|
"devDependencies": {
|
|
38
|
-
"@smithy/snapshot-testing": "^2.2.
|
|
65
|
+
"@smithy/snapshot-testing": "^2.2.9",
|
|
39
66
|
"@tsconfig/node20": "20.1.8",
|
|
40
67
|
"@types/node": "^20.14.8",
|
|
41
68
|
"concurrently": "7.0.0",
|
|
@@ -46,32 +73,5 @@
|
|
|
46
73
|
},
|
|
47
74
|
"engines": {
|
|
48
75
|
"node": ">=20.0.0"
|
|
49
|
-
},
|
|
50
|
-
"typesVersions": {
|
|
51
|
-
"<4.5": {
|
|
52
|
-
"dist-types/*": [
|
|
53
|
-
"dist-types/ts3.4/*"
|
|
54
|
-
]
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"files": [
|
|
58
|
-
"dist-*/**"
|
|
59
|
-
],
|
|
60
|
-
"author": {
|
|
61
|
-
"name": "AWS SDK for JavaScript Team",
|
|
62
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
63
|
-
},
|
|
64
|
-
"license": "Apache-2.0",
|
|
65
|
-
"browser": {
|
|
66
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
67
|
-
},
|
|
68
|
-
"react-native": {
|
|
69
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
70
|
-
},
|
|
71
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-kinesis",
|
|
72
|
-
"repository": {
|
|
73
|
-
"type": "git",
|
|
74
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
75
|
-
"directory": "clients/client-kinesis"
|
|
76
76
|
}
|
|
77
77
|
}
|