@aws-sdk/client-kinesis 3.933.0 → 3.935.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 +57 -56
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +56 -0
- package/dist-es/models/errors.js +193 -0
- package/dist-es/models/models_0.js +1 -249
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +136 -0
- package/dist-types/models/errors.d.ts +215 -0
- package/dist-types/models/models_0.d.ts +2 -351
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +72 -0
- package/dist-types/ts3.4/models/errors.d.ts +115 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -187
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ConsumerStatus: {
|
|
6
|
+
readonly ACTIVE: "ACTIVE";
|
|
7
|
+
readonly CREATING: "CREATING";
|
|
8
|
+
readonly DELETING: "DELETING";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ConsumerStatus = (typeof ConsumerStatus)[keyof typeof ConsumerStatus];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @enum
|
|
17
|
+
*/
|
|
18
|
+
export declare const StreamMode: {
|
|
19
|
+
readonly ON_DEMAND: "ON_DEMAND";
|
|
20
|
+
readonly PROVISIONED: "PROVISIONED";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type StreamMode = (typeof StreamMode)[keyof typeof StreamMode];
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* @enum
|
|
29
|
+
*/
|
|
30
|
+
export declare const MinimumThroughputBillingCommitmentOutputStatus: {
|
|
31
|
+
readonly DISABLED: "DISABLED";
|
|
32
|
+
readonly ENABLED: "ENABLED";
|
|
33
|
+
readonly ENABLED_UNTIL_EARLIEST_ALLOWED_END: "ENABLED_UNTIL_EARLIEST_ALLOWED_END";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export type MinimumThroughputBillingCommitmentOutputStatus = (typeof MinimumThroughputBillingCommitmentOutputStatus)[keyof typeof MinimumThroughputBillingCommitmentOutputStatus];
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* @enum
|
|
42
|
+
*/
|
|
43
|
+
export declare const EncryptionType: {
|
|
44
|
+
readonly KMS: "KMS";
|
|
45
|
+
readonly NONE: "NONE";
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
* @enum
|
|
54
|
+
*/
|
|
55
|
+
export declare const MetricsName: {
|
|
56
|
+
readonly ALL: "ALL";
|
|
57
|
+
readonly INCOMING_BYTES: "IncomingBytes";
|
|
58
|
+
readonly INCOMING_RECORDS: "IncomingRecords";
|
|
59
|
+
readonly ITERATOR_AGE_MILLISECONDS: "IteratorAgeMilliseconds";
|
|
60
|
+
readonly OUTGOING_BYTES: "OutgoingBytes";
|
|
61
|
+
readonly OUTGOING_RECORDS: "OutgoingRecords";
|
|
62
|
+
readonly READ_PROVISIONED_THROUGHPUT_EXCEEDED: "ReadProvisionedThroughputExceeded";
|
|
63
|
+
readonly WRITE_PROVISIONED_THROUGHPUT_EXCEEDED: "WriteProvisionedThroughputExceeded";
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export type MetricsName = (typeof MetricsName)[keyof typeof MetricsName];
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
* @enum
|
|
72
|
+
*/
|
|
73
|
+
export declare const StreamStatus: {
|
|
74
|
+
readonly ACTIVE: "ACTIVE";
|
|
75
|
+
readonly CREATING: "CREATING";
|
|
76
|
+
readonly DELETING: "DELETING";
|
|
77
|
+
readonly UPDATING: "UPDATING";
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
* @enum
|
|
86
|
+
*/
|
|
87
|
+
export declare const ShardIteratorType: {
|
|
88
|
+
readonly AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER";
|
|
89
|
+
readonly AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER";
|
|
90
|
+
readonly AT_TIMESTAMP: "AT_TIMESTAMP";
|
|
91
|
+
readonly LATEST: "LATEST";
|
|
92
|
+
readonly TRIM_HORIZON: "TRIM_HORIZON";
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export type ShardIteratorType = (typeof ShardIteratorType)[keyof typeof ShardIteratorType];
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
* @enum
|
|
101
|
+
*/
|
|
102
|
+
export declare const ShardFilterType: {
|
|
103
|
+
readonly AFTER_SHARD_ID: "AFTER_SHARD_ID";
|
|
104
|
+
readonly AT_LATEST: "AT_LATEST";
|
|
105
|
+
readonly AT_TIMESTAMP: "AT_TIMESTAMP";
|
|
106
|
+
readonly AT_TRIM_HORIZON: "AT_TRIM_HORIZON";
|
|
107
|
+
readonly FROM_TIMESTAMP: "FROM_TIMESTAMP";
|
|
108
|
+
readonly FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON";
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export type ShardFilterType = (typeof ShardFilterType)[keyof typeof ShardFilterType];
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
* @enum
|
|
117
|
+
*/
|
|
118
|
+
export declare const MinimumThroughputBillingCommitmentInputStatus: {
|
|
119
|
+
readonly DISABLED: "DISABLED";
|
|
120
|
+
readonly ENABLED: "ENABLED";
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export type MinimumThroughputBillingCommitmentInputStatus = (typeof MinimumThroughputBillingCommitmentInputStatus)[keyof typeof MinimumThroughputBillingCommitmentInputStatus];
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
* @enum
|
|
129
|
+
*/
|
|
130
|
+
export declare const ScalingType: {
|
|
131
|
+
readonly UNIFORM_SCALING: "UNIFORM_SCALING";
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
export type ScalingType = (typeof ScalingType)[keyof typeof ScalingType];
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { KinesisServiceException as __BaseException } from "./KinesisServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Specifies that you do not have the permissions required to perform this
|
|
5
|
+
* operation.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>A specified parameter exceeds its restrictions, is not supported, or can't be used.
|
|
18
|
+
* For more information, see the returned message.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class InvalidArgumentException extends __BaseException {
|
|
22
|
+
readonly name: "InvalidArgumentException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>The requested resource exceeds the maximum number allowed, or the number of concurrent
|
|
31
|
+
* stream requests exceeds the maximum number allowed. </p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class LimitExceededException extends __BaseException {
|
|
35
|
+
readonly name: "LimitExceededException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* <p>The resource is not available for this operation. For successful operation, the
|
|
44
|
+
* resource must be in the <code>ACTIVE</code> state.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
48
|
+
readonly name: "ResourceInUseException";
|
|
49
|
+
readonly $fault: "client";
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* <p>The requested resource could not be found. The stream might not be specified
|
|
57
|
+
* correctly.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
61
|
+
readonly name: "ResourceNotFoundException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* <p>Specifies that you tried to invoke this API for a data stream with the on-demand
|
|
70
|
+
* capacity mode. This API is only supported for data streams with the provisioned capacity
|
|
71
|
+
* mode. </p>
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class ValidationException extends __BaseException {
|
|
75
|
+
readonly name: "ValidationException";
|
|
76
|
+
readonly $fault: "client";
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* <p>The provided iterator exceeds the maximum age allowed.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class ExpiredIteratorException extends __BaseException {
|
|
87
|
+
readonly name: "ExpiredIteratorException";
|
|
88
|
+
readonly $fault: "client";
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
constructor(opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* <p>The pagination token passed to the operation is expired.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class ExpiredNextTokenException extends __BaseException {
|
|
99
|
+
readonly name: "ExpiredNextTokenException";
|
|
100
|
+
readonly $fault: "client";
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
constructor(opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* <p>The processing of the request failed because of an unknown error, exception, or
|
|
108
|
+
* failure.</p>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class InternalFailureException extends __BaseException {
|
|
112
|
+
readonly name: "InternalFailureException";
|
|
113
|
+
readonly $fault: "server";
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* <p>The ciphertext references a key that doesn't exist or that you don't have access
|
|
121
|
+
* to.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export declare class KMSAccessDeniedException extends __BaseException {
|
|
125
|
+
readonly name: "KMSAccessDeniedException";
|
|
126
|
+
readonly $fault: "client";
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
constructor(opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* <p>The request was rejected because the specified customer master key (CMK) isn't
|
|
134
|
+
* enabled.</p>
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export declare class KMSDisabledException extends __BaseException {
|
|
138
|
+
readonly name: "KMSDisabledException";
|
|
139
|
+
readonly $fault: "client";
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
constructor(opts: __ExceptionOptionType<KMSDisabledException, __BaseException>);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* <p>The request was rejected because the state of the specified resource isn't valid for
|
|
147
|
+
* this request. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects Use of a
|
|
148
|
+
* Customer Master Key</a> in the <i>Amazon Web Services Key Management
|
|
149
|
+
* Service Developer Guide</i>.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
export declare class KMSInvalidStateException extends __BaseException {
|
|
153
|
+
readonly name: "KMSInvalidStateException";
|
|
154
|
+
readonly $fault: "client";
|
|
155
|
+
/**
|
|
156
|
+
* @internal
|
|
157
|
+
*/
|
|
158
|
+
constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* <p>The request was rejected because the specified entity or resource can't be
|
|
162
|
+
* found.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
export declare class KMSNotFoundException extends __BaseException {
|
|
166
|
+
readonly name: "KMSNotFoundException";
|
|
167
|
+
readonly $fault: "client";
|
|
168
|
+
/**
|
|
169
|
+
* @internal
|
|
170
|
+
*/
|
|
171
|
+
constructor(opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* <p>The Amazon Web Services access key ID needs a subscription for the service.</p>
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export declare class KMSOptInRequired extends __BaseException {
|
|
178
|
+
readonly name: "KMSOptInRequired";
|
|
179
|
+
readonly $fault: "client";
|
|
180
|
+
/**
|
|
181
|
+
* @internal
|
|
182
|
+
*/
|
|
183
|
+
constructor(opts: __ExceptionOptionType<KMSOptInRequired, __BaseException>);
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* <p>The request was denied due to request throttling. For more information about
|
|
187
|
+
* throttling, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second">Limits</a> in
|
|
188
|
+
* the <i>Amazon Web Services Key Management Service Developer
|
|
189
|
+
* Guide</i>.</p>
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export declare class KMSThrottlingException extends __BaseException {
|
|
193
|
+
readonly name: "KMSThrottlingException";
|
|
194
|
+
readonly $fault: "client";
|
|
195
|
+
/**
|
|
196
|
+
* @internal
|
|
197
|
+
*/
|
|
198
|
+
constructor(opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>);
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* <p>The request rate for the stream is too high, or the requested data is too large for
|
|
202
|
+
* the available throughput. Reduce the frequency or size of your requests. For more
|
|
203
|
+
* information, see <a href="https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html">Streams Limits</a> in the
|
|
204
|
+
* <i>Amazon Kinesis Data Streams Developer Guide</i>, and <a href="https://docs.aws.amazon.com/general/latest/gr/api-retries.html">Error Retries and
|
|
205
|
+
* Exponential Backoff in Amazon Web Services</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
209
|
+
readonly name: "ProvisionedThroughputExceededException";
|
|
210
|
+
readonly $fault: "client";
|
|
211
|
+
/**
|
|
212
|
+
* @internal
|
|
213
|
+
*/
|
|
214
|
+
constructor(opts: __ExceptionOptionType<ProvisionedThroughputExceededException, __BaseException>);
|
|
215
|
+
}
|