@aws-sdk/client-kinesis 3.1120.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
@@ -59,124 +59,124 @@ export class ResourceNotFoundException extends __BaseException {
59
59
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
60
60
  }
61
61
  }
62
- export class ValidationException extends __BaseException {
63
- name = "ValidationException";
62
+ export class KMSAccessDeniedException extends __BaseException {
63
+ name = "KMSAccessDeniedException";
64
64
  $fault = "client";
65
65
  constructor(opts) {
66
66
  super({
67
- name: "ValidationException",
67
+ name: "KMSAccessDeniedException",
68
68
  $fault: "client",
69
69
  ...opts,
70
70
  });
71
- Object.setPrototypeOf(this, ValidationException.prototype);
71
+ Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
72
72
  }
73
73
  }
74
- export class ExpiredIteratorException extends __BaseException {
75
- name = "ExpiredIteratorException";
74
+ export class KMSDisabledException extends __BaseException {
75
+ name = "KMSDisabledException";
76
76
  $fault = "client";
77
77
  constructor(opts) {
78
78
  super({
79
- name: "ExpiredIteratorException",
79
+ name: "KMSDisabledException",
80
80
  $fault: "client",
81
81
  ...opts,
82
82
  });
83
- Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
83
+ Object.setPrototypeOf(this, KMSDisabledException.prototype);
84
84
  }
85
85
  }
86
- export class ExpiredNextTokenException extends __BaseException {
87
- name = "ExpiredNextTokenException";
86
+ export class KMSInvalidStateException extends __BaseException {
87
+ name = "KMSInvalidStateException";
88
88
  $fault = "client";
89
89
  constructor(opts) {
90
90
  super({
91
- name: "ExpiredNextTokenException",
91
+ name: "KMSInvalidStateException",
92
92
  $fault: "client",
93
93
  ...opts,
94
94
  });
95
- Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
95
+ Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
96
96
  }
97
97
  }
98
- export class InternalFailureException extends __BaseException {
99
- name = "InternalFailureException";
100
- $fault = "server";
98
+ export class KMSNotFoundException extends __BaseException {
99
+ name = "KMSNotFoundException";
100
+ $fault = "client";
101
101
  constructor(opts) {
102
102
  super({
103
- name: "InternalFailureException",
104
- $fault: "server",
103
+ name: "KMSNotFoundException",
104
+ $fault: "client",
105
105
  ...opts,
106
106
  });
107
- Object.setPrototypeOf(this, InternalFailureException.prototype);
107
+ Object.setPrototypeOf(this, KMSNotFoundException.prototype);
108
108
  }
109
109
  }
110
- export class KMSAccessDeniedException extends __BaseException {
111
- name = "KMSAccessDeniedException";
110
+ export class KMSOptInRequired extends __BaseException {
111
+ name = "KMSOptInRequired";
112
112
  $fault = "client";
113
113
  constructor(opts) {
114
114
  super({
115
- name: "KMSAccessDeniedException",
115
+ name: "KMSOptInRequired",
116
116
  $fault: "client",
117
117
  ...opts,
118
118
  });
119
- Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
119
+ Object.setPrototypeOf(this, KMSOptInRequired.prototype);
120
120
  }
121
121
  }
122
- export class KMSDisabledException extends __BaseException {
123
- name = "KMSDisabledException";
122
+ export class KMSThrottlingException extends __BaseException {
123
+ name = "KMSThrottlingException";
124
124
  $fault = "client";
125
125
  constructor(opts) {
126
126
  super({
127
- name: "KMSDisabledException",
127
+ name: "KMSThrottlingException",
128
128
  $fault: "client",
129
129
  ...opts,
130
130
  });
131
- Object.setPrototypeOf(this, KMSDisabledException.prototype);
131
+ Object.setPrototypeOf(this, KMSThrottlingException.prototype);
132
132
  }
133
133
  }
134
- export class KMSInvalidStateException extends __BaseException {
135
- name = "KMSInvalidStateException";
134
+ export class ValidationException extends __BaseException {
135
+ name = "ValidationException";
136
136
  $fault = "client";
137
137
  constructor(opts) {
138
138
  super({
139
- name: "KMSInvalidStateException",
139
+ name: "ValidationException",
140
140
  $fault: "client",
141
141
  ...opts,
142
142
  });
143
- Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
143
+ Object.setPrototypeOf(this, ValidationException.prototype);
144
144
  }
145
145
  }
146
- export class KMSNotFoundException extends __BaseException {
147
- name = "KMSNotFoundException";
146
+ export class ExpiredIteratorException extends __BaseException {
147
+ name = "ExpiredIteratorException";
148
148
  $fault = "client";
149
149
  constructor(opts) {
150
150
  super({
151
- name: "KMSNotFoundException",
151
+ name: "ExpiredIteratorException",
152
152
  $fault: "client",
153
153
  ...opts,
154
154
  });
155
- Object.setPrototypeOf(this, KMSNotFoundException.prototype);
155
+ Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
156
156
  }
157
157
  }
158
- export class KMSOptInRequired extends __BaseException {
159
- name = "KMSOptInRequired";
158
+ export class ExpiredNextTokenException extends __BaseException {
159
+ name = "ExpiredNextTokenException";
160
160
  $fault = "client";
161
161
  constructor(opts) {
162
162
  super({
163
- name: "KMSOptInRequired",
163
+ name: "ExpiredNextTokenException",
164
164
  $fault: "client",
165
165
  ...opts,
166
166
  });
167
- Object.setPrototypeOf(this, KMSOptInRequired.prototype);
167
+ Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
168
168
  }
169
169
  }
170
- export class KMSThrottlingException extends __BaseException {
171
- name = "KMSThrottlingException";
172
- $fault = "client";
170
+ export class InternalFailureException extends __BaseException {
171
+ name = "InternalFailureException";
172
+ $fault = "server";
173
173
  constructor(opts) {
174
174
  super({
175
- name: "KMSThrottlingException",
176
- $fault: "client",
175
+ name: "InternalFailureException",
176
+ $fault: "server",
177
177
  ...opts,
178
178
  });
179
- Object.setPrototypeOf(this, KMSThrottlingException.prototype);
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");
@@ -1,3 +1,4 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListChannelsPaginator";
2
3
  export * from "./ListStreamConsumersPaginator";
3
4
  export * from "./ListStreamsPaginator";