@aws-sdk/client-kafka 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.
Files changed (47) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +441 -93
  3. package/dist-es/Kafka.js +6 -0
  4. package/dist-es/commands/DescribeTopicCommand.js +16 -0
  5. package/dist-es/commands/DescribeTopicPartitionsCommand.js +16 -0
  6. package/dist-es/commands/ListTopicsCommand.js +16 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/index.js +2 -1
  9. package/dist-es/models/enums.js +95 -0
  10. package/dist-es/models/errors.js +129 -0
  11. package/dist-es/models/models_0.js +1 -218
  12. package/dist-es/pagination/DescribeTopicPartitionsPaginator.js +4 -0
  13. package/dist-es/pagination/ListTopicsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +2 -0
  15. package/dist-es/schemas/schemas_0.js +298 -5
  16. package/dist-types/Kafka.d.ts +21 -0
  17. package/dist-types/KafkaClient.d.ts +5 -2
  18. package/dist-types/commands/DescribeTopicCommand.d.ts +95 -0
  19. package/dist-types/commands/DescribeTopicPartitionsCommand.d.ts +104 -0
  20. package/dist-types/commands/ListTopicsCommand.d.ts +101 -0
  21. package/dist-types/commands/index.d.ts +3 -0
  22. package/dist-types/index.d.ts +3 -1
  23. package/dist-types/models/enums.d.ts +239 -0
  24. package/dist-types/models/errors.d.ts +178 -0
  25. package/dist-types/models/models_0.d.ts +190 -401
  26. package/dist-types/pagination/DescribeTopicPartitionsPaginator.d.ts +7 -0
  27. package/dist-types/pagination/ListTopicsPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +2 -0
  29. package/dist-types/schemas/schemas_0.d.ts +14 -0
  30. package/dist-types/ts3.4/Kafka.d.ts +51 -0
  31. package/dist-types/ts3.4/KafkaClient.d.ts +18 -0
  32. package/dist-types/ts3.4/commands/DescribeTopicCommand.d.ts +50 -0
  33. package/dist-types/ts3.4/commands/DescribeTopicPartitionsCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +47 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  36. package/dist-types/ts3.4/index.d.ts +3 -1
  37. package/dist-types/ts3.4/models/enums.d.ts +125 -0
  38. package/dist-types/ts3.4/models/errors.d.ts +68 -0
  39. package/dist-types/ts3.4/models/models_0.d.ts +65 -186
  40. package/dist-types/ts3.4/pagination/DescribeTopicPartitionsPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +11 -0
  42. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -0
  44. package/package.json +12 -12
  45. package/dist-es/models/index.js +0 -1
  46. package/dist-types/models/index.d.ts +0 -1
  47. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -0,0 +1,178 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { KafkaServiceException as __BaseException } from "./KafkaServiceException";
3
+ /**
4
+ * <p>Returns information about an error.</p>
5
+ * @public
6
+ */
7
+ export declare class BadRequestException extends __BaseException {
8
+ readonly name: "BadRequestException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * <p>The parameter that caused the error.</p>
12
+ * @public
13
+ */
14
+ InvalidParameter?: string | undefined;
15
+ /**
16
+ * <p>The description of the error.</p>
17
+ * @public
18
+ */
19
+ Message?: string | undefined;
20
+ /**
21
+ * @internal
22
+ */
23
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
24
+ }
25
+ /**
26
+ * <p>Returns information about an error.</p>
27
+ * @public
28
+ */
29
+ export declare class ForbiddenException extends __BaseException {
30
+ readonly name: "ForbiddenException";
31
+ readonly $fault: "client";
32
+ /**
33
+ * <p>The parameter that caused the error.</p>
34
+ * @public
35
+ */
36
+ InvalidParameter?: string | undefined;
37
+ /**
38
+ * <p>The description of the error.</p>
39
+ * @public
40
+ */
41
+ Message?: string | undefined;
42
+ /**
43
+ * @internal
44
+ */
45
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
46
+ }
47
+ /**
48
+ * <p>Returns information about an error.</p>
49
+ * @public
50
+ */
51
+ export declare class InternalServerErrorException extends __BaseException {
52
+ readonly name: "InternalServerErrorException";
53
+ readonly $fault: "server";
54
+ /**
55
+ * <p>The parameter that caused the error.</p>
56
+ * @public
57
+ */
58
+ InvalidParameter?: string | undefined;
59
+ /**
60
+ * <p>The description of the error.</p>
61
+ * @public
62
+ */
63
+ Message?: string | undefined;
64
+ /**
65
+ * @internal
66
+ */
67
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
68
+ }
69
+ /**
70
+ * <p>Returns information about an error.</p>
71
+ * @public
72
+ */
73
+ export declare class NotFoundException extends __BaseException {
74
+ readonly name: "NotFoundException";
75
+ readonly $fault: "client";
76
+ /**
77
+ * <p>The parameter that caused the error.</p>
78
+ * @public
79
+ */
80
+ InvalidParameter?: string | undefined;
81
+ /**
82
+ * <p>The description of the error.</p>
83
+ * @public
84
+ */
85
+ Message?: string | undefined;
86
+ /**
87
+ * @internal
88
+ */
89
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
90
+ }
91
+ /**
92
+ * <p>Returns information about an error.</p>
93
+ * @public
94
+ */
95
+ export declare class ServiceUnavailableException extends __BaseException {
96
+ readonly name: "ServiceUnavailableException";
97
+ readonly $fault: "server";
98
+ /**
99
+ * <p>The parameter that caused the error.</p>
100
+ * @public
101
+ */
102
+ InvalidParameter?: string | undefined;
103
+ /**
104
+ * <p>The description of the error.</p>
105
+ * @public
106
+ */
107
+ Message?: string | undefined;
108
+ /**
109
+ * @internal
110
+ */
111
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
112
+ }
113
+ /**
114
+ * <p>Returns information about an error.</p>
115
+ * @public
116
+ */
117
+ export declare class TooManyRequestsException extends __BaseException {
118
+ readonly name: "TooManyRequestsException";
119
+ readonly $fault: "client";
120
+ /**
121
+ * <p>The parameter that caused the error.</p>
122
+ * @public
123
+ */
124
+ InvalidParameter?: string | undefined;
125
+ /**
126
+ * <p>The description of the error.</p>
127
+ * @public
128
+ */
129
+ Message?: string | undefined;
130
+ /**
131
+ * @internal
132
+ */
133
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
134
+ }
135
+ /**
136
+ * <p>Returns information about an error.</p>
137
+ * @public
138
+ */
139
+ export declare class UnauthorizedException extends __BaseException {
140
+ readonly name: "UnauthorizedException";
141
+ readonly $fault: "client";
142
+ /**
143
+ * <p>The parameter that caused the error.</p>
144
+ * @public
145
+ */
146
+ InvalidParameter?: string | undefined;
147
+ /**
148
+ * <p>The description of the error.</p>
149
+ * @public
150
+ */
151
+ Message?: string | undefined;
152
+ /**
153
+ * @internal
154
+ */
155
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
156
+ }
157
+ /**
158
+ * <p>Returns information about an error.</p>
159
+ * @public
160
+ */
161
+ export declare class ConflictException extends __BaseException {
162
+ readonly name: "ConflictException";
163
+ readonly $fault: "client";
164
+ /**
165
+ * <p>The parameter that caused the error.</p>
166
+ * @public
167
+ */
168
+ InvalidParameter?: string | undefined;
169
+ /**
170
+ * <p>The description of the error.</p>
171
+ * @public
172
+ */
173
+ Message?: string | undefined;
174
+ /**
175
+ * @internal
176
+ */
177
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
178
+ }