@aws-sdk/client-kinesis 3.1121.0 → 3.1122.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.
Files changed (71) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +834 -310
  3. package/dist-es/Kinesis.js +14 -0
  4. package/dist-es/commandBuilder.js +7 -3
  5. package/dist-es/commands/CreateChannelCommand.js +4 -0
  6. package/dist-es/commands/DeleteChannelCommand.js +4 -0
  7. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  8. package/dist-es/commands/DeregisterStreamConsumerCommand.js +2 -2
  9. package/dist-es/commands/DescribeChannelCommand.js +4 -0
  10. package/dist-es/commands/DescribeStreamConsumerCommand.js +2 -2
  11. package/dist-es/commands/GetRecordsCommand.js +2 -2
  12. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  13. package/dist-es/commands/GetShardIteratorCommand.js +2 -2
  14. package/dist-es/commands/ListChannelsCommand.js +4 -0
  15. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  16. package/dist-es/commands/PutRecordCommand.js +2 -2
  17. package/dist-es/commands/PutRecordsCommand.js +2 -2
  18. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  19. package/dist-es/commands/SubscribeToShardCommand.js +2 -2
  20. package/dist-es/commands/TagResourceCommand.js +2 -2
  21. package/dist-es/commands/UntagResourceCommand.js +2 -2
  22. package/dist-es/commands/UpdateChannelCommand.js +4 -0
  23. package/dist-es/commands/index.js +5 -0
  24. package/dist-es/endpoint/bdd.js +275 -211
  25. package/dist-es/endpoint/endpointResolver.js +1 -0
  26. package/dist-es/models/enums.js +38 -0
  27. package/dist-es/models/errors.js +44 -44
  28. package/dist-es/pagination/ListChannelsPaginator.js +4 -0
  29. package/dist-es/pagination/index.js +1 -0
  30. package/dist-es/schemas/schemas_0.js +312 -38
  31. package/dist-es/waiters/index.js +1 -0
  32. package/dist-es/waiters/waitForChannelActive.js +67 -0
  33. package/dist-types/Kinesis.d.ts +49 -0
  34. package/dist-types/KinesisClient.d.ts +7 -2
  35. package/dist-types/commandBuilder.d.ts +4 -0
  36. package/dist-types/commands/CreateChannelCommand.d.ts +456 -0
  37. package/dist-types/commands/DeleteChannelCommand.d.ts +105 -0
  38. package/dist-types/commands/DescribeChannelCommand.d.ts +219 -0
  39. package/dist-types/commands/DescribeLimitsCommand.d.ts +2 -0
  40. package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +1 -0
  41. package/dist-types/commands/ListChannelsCommand.d.ts +181 -0
  42. package/dist-types/commands/UpdateChannelCommand.d.ts +246 -0
  43. package/dist-types/commands/index.d.ts +5 -0
  44. package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
  45. package/dist-types/models/enums.d.ts +102 -0
  46. package/dist-types/models/errors.d.ts +51 -51
  47. package/dist-types/models/models_0.d.ts +788 -1
  48. package/dist-types/pagination/ListChannelsPaginator.d.ts +7 -0
  49. package/dist-types/pagination/index.d.ts +1 -0
  50. package/dist-types/schemas/schemas_0.d.ts +37 -0
  51. package/dist-types/ts3.4/Kinesis.d.ts +99 -0
  52. package/dist-types/ts3.4/KinesisClient.d.ts +30 -0
  53. package/dist-types/ts3.4/commandBuilder.d.ts +1 -0
  54. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +38 -0
  55. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +38 -0
  56. package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +38 -0
  57. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +38 -0
  58. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +38 -0
  59. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  60. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
  61. package/dist-types/ts3.4/models/enums.d.ts +49 -0
  62. package/dist-types/ts3.4/models/errors.d.ts +20 -20
  63. package/dist-types/ts3.4/models/models_0.d.ts +168 -0
  64. package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  66. package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
  67. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  68. package/dist-types/ts3.4/waiters/waitForChannelActive.d.ts +15 -0
  69. package/dist-types/waiters/index.d.ts +1 -0
  70. package/dist-types/waiters/waitForChannelActive.d.ts +15 -0
  71. package/package.json +1 -1
@@ -1,10 +1,13 @@
1
1
  export * from "./AddTagsToStreamCommand";
2
+ export * from "./CreateChannelCommand";
2
3
  export * from "./CreateStreamCommand";
3
4
  export * from "./DecreaseStreamRetentionPeriodCommand";
5
+ export * from "./DeleteChannelCommand";
4
6
  export * from "./DeleteResourcePolicyCommand";
5
7
  export * from "./DeleteStreamCommand";
6
8
  export * from "./DeregisterStreamConsumerCommand";
7
9
  export * from "./DescribeAccountSettingsCommand";
10
+ export * from "./DescribeChannelCommand";
8
11
  export * from "./DescribeLimitsCommand";
9
12
  export * from "./DescribeStreamCommand";
10
13
  export * from "./DescribeStreamConsumerCommand";
@@ -15,6 +18,7 @@ export * from "./GetRecordsCommand";
15
18
  export * from "./GetResourcePolicyCommand";
16
19
  export * from "./GetShardIteratorCommand";
17
20
  export * from "./IncreaseStreamRetentionPeriodCommand";
21
+ export * from "./ListChannelsCommand";
18
22
  export * from "./ListShardsCommand";
19
23
  export * from "./ListStreamConsumersCommand";
20
24
  export * from "./ListStreamsCommand";
@@ -33,6 +37,7 @@ export * from "./SubscribeToShardCommand";
33
37
  export * from "./TagResourceCommand";
34
38
  export * from "./UntagResourceCommand";
35
39
  export * from "./UpdateAccountSettingsCommand";
40
+ export * from "./UpdateChannelCommand";
36
41
  export * from "./UpdateMaxRecordSizeCommand";
37
42
  export * from "./UpdateShardCountCommand";
38
43
  export * from "./UpdateStreamModeCommand";
@@ -62,6 +62,7 @@ export interface EndpointParameters extends __EndpointParameters {
62
62
  StreamARN?: string | undefined;
63
63
  ConsumerARN?: string | undefined;
64
64
  ResourceARN?: string | undefined;
65
+ ChannelARN?: string | undefined;
65
66
  AccountId?: string | undefined;
66
67
  AccountIdEndpointMode?: string | undefined;
67
68
  }
@@ -1,3 +1,105 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ChannelStatus: {
6
+ readonly ACTIVE: "ACTIVE";
7
+ readonly CREATING: "CREATING";
8
+ readonly DELETING: "DELETING";
9
+ readonly FAILED: "FAILED";
10
+ readonly UPDATING: "UPDATING";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type ChannelStatus = (typeof ChannelStatus)[keyof typeof ChannelStatus];
16
+ /**
17
+ * @public
18
+ * @enum
19
+ */
20
+ export declare const ChannelEncryptionType: {
21
+ readonly KMS: "KMS";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type ChannelEncryptionType = (typeof ChannelEncryptionType)[keyof typeof ChannelEncryptionType];
27
+ /**
28
+ * @public
29
+ * @enum
30
+ */
31
+ export declare const S3CompressionType: {
32
+ readonly GZIP: "GZIP";
33
+ readonly NONE: "NONE";
34
+ readonly ZSTD: "ZSTD";
35
+ };
36
+ /**
37
+ * @public
38
+ */
39
+ export type S3CompressionType = (typeof S3CompressionType)[keyof typeof S3CompressionType];
40
+ /**
41
+ * @public
42
+ * @enum
43
+ */
44
+ export declare const S3StorageClass: {
45
+ readonly GLACIER_IR: "GLACIER_IR";
46
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
47
+ readonly STANDARD: "STANDARD";
48
+ };
49
+ /**
50
+ * @public
51
+ */
52
+ export type S3StorageClass = (typeof S3StorageClass)[keyof typeof S3StorageClass];
53
+ /**
54
+ * @public
55
+ * @enum
56
+ */
57
+ export declare const S3TablesCompressionType: {
58
+ readonly NONE: "NONE";
59
+ readonly SNAPPY: "SNAPPY";
60
+ readonly ZSTD: "ZSTD";
61
+ };
62
+ /**
63
+ * @public
64
+ */
65
+ export type S3TablesCompressionType = (typeof S3TablesCompressionType)[keyof typeof S3TablesCompressionType];
66
+ /**
67
+ * @public
68
+ * @enum
69
+ */
70
+ export declare const PartitionTransform: {
71
+ readonly TIME_HOUR: "TIME_HOUR";
72
+ };
73
+ /**
74
+ * @public
75
+ */
76
+ export type PartitionTransform = (typeof PartitionTransform)[keyof typeof PartitionTransform];
77
+ /**
78
+ * @public
79
+ * @enum
80
+ */
81
+ export declare const RecordFormatType: {
82
+ readonly BYTE_ARRAY: "BYTE_ARRAY";
83
+ readonly GSR_JSON: "GSR_JSON";
84
+ readonly JSON: "JSON";
85
+ readonly STRING: "STRING";
86
+ };
87
+ /**
88
+ * @public
89
+ */
90
+ export type RecordFormatType = (typeof RecordFormatType)[keyof typeof RecordFormatType];
91
+ /**
92
+ * @public
93
+ * @enum
94
+ */
95
+ export declare const ChannelDestinationType: {
96
+ readonly S3: "S3";
97
+ readonly S3_TABLES: "S3_TABLES";
98
+ };
99
+ /**
100
+ * @public
101
+ */
102
+ export type ChannelDestinationType = (typeof ChannelDestinationType)[keyof typeof ChannelDestinationType];
1
103
  /**
2
104
  * @public
3
105
  * @enum
@@ -65,57 +65,6 @@ export declare class ResourceNotFoundException extends __BaseException {
65
65
  */
66
66
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
67
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
68
  /**
120
69
  * <p>The ciphertext references a key that doesn't exist or that you don't have access
121
70
  * to.</p>
@@ -197,6 +146,57 @@ export declare class KMSThrottlingException extends __BaseException {
197
146
  */
198
147
  constructor(opts: __ExceptionOptionType<KMSThrottlingException, __BaseException>);
199
148
  }
149
+ /**
150
+ * <p>Specifies that you tried to invoke this API for a data stream with the on-demand
151
+ * capacity mode. This API is only supported for data streams with the provisioned capacity
152
+ * mode. </p>
153
+ * @public
154
+ */
155
+ export declare class ValidationException extends __BaseException {
156
+ readonly name: "ValidationException";
157
+ readonly $fault: "client";
158
+ /**
159
+ * @internal
160
+ */
161
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
162
+ }
163
+ /**
164
+ * <p>The provided iterator exceeds the maximum age allowed.</p>
165
+ * @public
166
+ */
167
+ export declare class ExpiredIteratorException extends __BaseException {
168
+ readonly name: "ExpiredIteratorException";
169
+ readonly $fault: "client";
170
+ /**
171
+ * @internal
172
+ */
173
+ constructor(opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>);
174
+ }
175
+ /**
176
+ * <p>The pagination token passed to the operation is expired.</p>
177
+ * @public
178
+ */
179
+ export declare class ExpiredNextTokenException extends __BaseException {
180
+ readonly name: "ExpiredNextTokenException";
181
+ readonly $fault: "client";
182
+ /**
183
+ * @internal
184
+ */
185
+ constructor(opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>);
186
+ }
187
+ /**
188
+ * <p>The processing of the request failed because of an unknown error, exception, or
189
+ * failure.</p>
190
+ * @public
191
+ */
192
+ export declare class InternalFailureException extends __BaseException {
193
+ readonly name: "InternalFailureException";
194
+ readonly $fault: "server";
195
+ /**
196
+ * @internal
197
+ */
198
+ constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
199
+ }
200
200
  /**
201
201
  * <p>The request rate for the stream is too high, or the requested data is too large for
202
202
  * the available throughput. Reduce the frequency or size of your requests. For more