@aws-sdk/client-kinesis 3.1121.0 → 3.1123.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/README.md +35 -0
- package/dist-cjs/index.js +834 -310
- package/dist-es/Kinesis.js +14 -0
- package/dist-es/commandBuilder.js +7 -3
- package/dist-es/commands/CreateChannelCommand.js +4 -0
- package/dist-es/commands/DeleteChannelCommand.js +4 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DeregisterStreamConsumerCommand.js +2 -2
- package/dist-es/commands/DescribeChannelCommand.js +4 -0
- package/dist-es/commands/DescribeStreamConsumerCommand.js +2 -2
- package/dist-es/commands/GetRecordsCommand.js +2 -2
- package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
- package/dist-es/commands/GetShardIteratorCommand.js +2 -2
- package/dist-es/commands/ListChannelsCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutRecordCommand.js +2 -2
- package/dist-es/commands/PutRecordsCommand.js +2 -2
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-es/commands/SubscribeToShardCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateChannelCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/bdd.js +275 -211
- package/dist-es/endpoint/endpointResolver.js +1 -0
- package/dist-es/models/enums.js +38 -0
- package/dist-es/models/errors.js +44 -44
- package/dist-es/pagination/ListChannelsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +312 -38
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForChannelActive.js +67 -0
- package/dist-types/Kinesis.d.ts +49 -0
- package/dist-types/KinesisClient.d.ts +7 -2
- package/dist-types/commandBuilder.d.ts +4 -0
- package/dist-types/commands/CreateChannelCommand.d.ts +456 -0
- package/dist-types/commands/DeleteChannelCommand.d.ts +105 -0
- package/dist-types/commands/DescribeChannelCommand.d.ts +219 -0
- package/dist-types/commands/DescribeLimitsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +1 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +181 -0
- package/dist-types/commands/UpdateChannelCommand.d.ts +246 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/models/enums.d.ts +102 -0
- package/dist-types/models/errors.d.ts +51 -51
- package/dist-types/models/models_0.d.ts +788 -1
- package/dist-types/pagination/ListChannelsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +37 -0
- package/dist-types/ts3.4/Kinesis.d.ts +99 -0
- package/dist-types/ts3.4/KinesisClient.d.ts +30 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +1 -0
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeChannelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +49 -0
- package/dist-types/ts3.4/models/errors.d.ts +20 -20
- package/dist-types/ts3.4/models/models_0.d.ts +168 -0
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForChannelActive.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForChannelActive.d.ts +15 -0
- package/package.json +2 -2
package/dist-es/models/errors.js
CHANGED
|
@@ -59,124 +59,124 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
59
59
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
export class
|
|
63
|
-
name = "
|
|
62
|
+
export class KMSAccessDeniedException extends __BaseException {
|
|
63
|
+
name = "KMSAccessDeniedException";
|
|
64
64
|
$fault = "client";
|
|
65
65
|
constructor(opts) {
|
|
66
66
|
super({
|
|
67
|
-
name: "
|
|
67
|
+
name: "KMSAccessDeniedException",
|
|
68
68
|
$fault: "client",
|
|
69
69
|
...opts,
|
|
70
70
|
});
|
|
71
|
-
Object.setPrototypeOf(this,
|
|
71
|
+
Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
export class
|
|
75
|
-
name = "
|
|
74
|
+
export class KMSDisabledException extends __BaseException {
|
|
75
|
+
name = "KMSDisabledException";
|
|
76
76
|
$fault = "client";
|
|
77
77
|
constructor(opts) {
|
|
78
78
|
super({
|
|
79
|
-
name: "
|
|
79
|
+
name: "KMSDisabledException",
|
|
80
80
|
$fault: "client",
|
|
81
81
|
...opts,
|
|
82
82
|
});
|
|
83
|
-
Object.setPrototypeOf(this,
|
|
83
|
+
Object.setPrototypeOf(this, KMSDisabledException.prototype);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
export class
|
|
87
|
-
name = "
|
|
86
|
+
export class KMSInvalidStateException extends __BaseException {
|
|
87
|
+
name = "KMSInvalidStateException";
|
|
88
88
|
$fault = "client";
|
|
89
89
|
constructor(opts) {
|
|
90
90
|
super({
|
|
91
|
-
name: "
|
|
91
|
+
name: "KMSInvalidStateException",
|
|
92
92
|
$fault: "client",
|
|
93
93
|
...opts,
|
|
94
94
|
});
|
|
95
|
-
Object.setPrototypeOf(this,
|
|
95
|
+
Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
export class
|
|
99
|
-
name = "
|
|
100
|
-
$fault = "
|
|
98
|
+
export class KMSNotFoundException extends __BaseException {
|
|
99
|
+
name = "KMSNotFoundException";
|
|
100
|
+
$fault = "client";
|
|
101
101
|
constructor(opts) {
|
|
102
102
|
super({
|
|
103
|
-
name: "
|
|
104
|
-
$fault: "
|
|
103
|
+
name: "KMSNotFoundException",
|
|
104
|
+
$fault: "client",
|
|
105
105
|
...opts,
|
|
106
106
|
});
|
|
107
|
-
Object.setPrototypeOf(this,
|
|
107
|
+
Object.setPrototypeOf(this, KMSNotFoundException.prototype);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
export class
|
|
111
|
-
name = "
|
|
110
|
+
export class KMSOptInRequired extends __BaseException {
|
|
111
|
+
name = "KMSOptInRequired";
|
|
112
112
|
$fault = "client";
|
|
113
113
|
constructor(opts) {
|
|
114
114
|
super({
|
|
115
|
-
name: "
|
|
115
|
+
name: "KMSOptInRequired",
|
|
116
116
|
$fault: "client",
|
|
117
117
|
...opts,
|
|
118
118
|
});
|
|
119
|
-
Object.setPrototypeOf(this,
|
|
119
|
+
Object.setPrototypeOf(this, KMSOptInRequired.prototype);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
export class
|
|
123
|
-
name = "
|
|
122
|
+
export class KMSThrottlingException extends __BaseException {
|
|
123
|
+
name = "KMSThrottlingException";
|
|
124
124
|
$fault = "client";
|
|
125
125
|
constructor(opts) {
|
|
126
126
|
super({
|
|
127
|
-
name: "
|
|
127
|
+
name: "KMSThrottlingException",
|
|
128
128
|
$fault: "client",
|
|
129
129
|
...opts,
|
|
130
130
|
});
|
|
131
|
-
Object.setPrototypeOf(this,
|
|
131
|
+
Object.setPrototypeOf(this, KMSThrottlingException.prototype);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
export class
|
|
135
|
-
name = "
|
|
134
|
+
export class ValidationException extends __BaseException {
|
|
135
|
+
name = "ValidationException";
|
|
136
136
|
$fault = "client";
|
|
137
137
|
constructor(opts) {
|
|
138
138
|
super({
|
|
139
|
-
name: "
|
|
139
|
+
name: "ValidationException",
|
|
140
140
|
$fault: "client",
|
|
141
141
|
...opts,
|
|
142
142
|
});
|
|
143
|
-
Object.setPrototypeOf(this,
|
|
143
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
-
export class
|
|
147
|
-
name = "
|
|
146
|
+
export class ExpiredIteratorException extends __BaseException {
|
|
147
|
+
name = "ExpiredIteratorException";
|
|
148
148
|
$fault = "client";
|
|
149
149
|
constructor(opts) {
|
|
150
150
|
super({
|
|
151
|
-
name: "
|
|
151
|
+
name: "ExpiredIteratorException",
|
|
152
152
|
$fault: "client",
|
|
153
153
|
...opts,
|
|
154
154
|
});
|
|
155
|
-
Object.setPrototypeOf(this,
|
|
155
|
+
Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
export class
|
|
159
|
-
name = "
|
|
158
|
+
export class ExpiredNextTokenException extends __BaseException {
|
|
159
|
+
name = "ExpiredNextTokenException";
|
|
160
160
|
$fault = "client";
|
|
161
161
|
constructor(opts) {
|
|
162
162
|
super({
|
|
163
|
-
name: "
|
|
163
|
+
name: "ExpiredNextTokenException",
|
|
164
164
|
$fault: "client",
|
|
165
165
|
...opts,
|
|
166
166
|
});
|
|
167
|
-
Object.setPrototypeOf(this,
|
|
167
|
+
Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
export class
|
|
171
|
-
name = "
|
|
172
|
-
$fault = "
|
|
170
|
+
export class InternalFailureException extends __BaseException {
|
|
171
|
+
name = "InternalFailureException";
|
|
172
|
+
$fault = "server";
|
|
173
173
|
constructor(opts) {
|
|
174
174
|
super({
|
|
175
|
-
name: "
|
|
176
|
-
$fault: "
|
|
175
|
+
name: "InternalFailureException",
|
|
176
|
+
$fault: "server",
|
|
177
177
|
...opts,
|
|
178
178
|
});
|
|
179
|
-
Object.setPrototypeOf(this,
|
|
179
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
export class ProvisionedThroughputExceededException extends __BaseException {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListChannelsCommand, } from "../commands/ListChannelsCommand";
|
|
3
|
+
import { KinesisClient } from "../KinesisClient";
|
|
4
|
+
export const paginateListChannels = createPaginator(KinesisClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
|