@aws-sdk/client-kafkaconnect 3.33.0 → 3.36.1

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 (194) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/KafkaConnect.js +1 -5
  3. package/{dist/cjs → dist-cjs}/KafkaConnectClient.js +8 -17
  4. package/{dist/cjs → dist-cjs}/commands/CreateConnectorCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/CreateCustomPluginCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/CreateWorkerConfigurationCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/DeleteConnectorCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/DescribeConnectorCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/DescribeCustomPluginCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/DescribeWorkerConfigurationCommand.js +2 -27
  11. package/{dist/cjs → dist-cjs}/commands/ListConnectorsCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/ListCustomPluginsCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/ListWorkerConfigurationsCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/UpdateConnectorCommand.js +2 -27
  15. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  16. package/{dist/cjs → dist-cjs}/index.js +0 -1
  17. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  18. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -247
  19. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  20. package/{dist/cjs → dist-cjs}/pagination/ListConnectorsPaginator.js +1 -12
  21. package/{dist/cjs → dist-cjs}/pagination/ListCustomPluginsPaginator.js +1 -12
  22. package/{dist/cjs → dist-cjs}/pagination/ListWorkerConfigurationsPaginator.js +1 -12
  23. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +6 -12
  24. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  25. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  26. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  27. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  28. package/{dist/es → dist-es}/KafkaConnect.js +2 -6
  29. package/{dist/es → dist-es}/KafkaConnectClient.js +2 -11
  30. package/{dist/es → dist-es}/commands/CreateConnectorCommand.js +4 -30
  31. package/{dist/es → dist-es}/commands/CreateCustomPluginCommand.js +4 -30
  32. package/{dist/es → dist-es}/commands/CreateWorkerConfigurationCommand.js +4 -30
  33. package/{dist/es → dist-es}/commands/DeleteConnectorCommand.js +4 -30
  34. package/{dist/es → dist-es}/commands/DescribeConnectorCommand.js +4 -30
  35. package/{dist/es → dist-es}/commands/DescribeCustomPluginCommand.js +4 -30
  36. package/{dist/es → dist-es}/commands/DescribeWorkerConfigurationCommand.js +4 -30
  37. package/{dist/es → dist-es}/commands/ListConnectorsCommand.js +4 -30
  38. package/{dist/es → dist-es}/commands/ListCustomPluginsCommand.js +4 -30
  39. package/{dist/es → dist-es}/commands/ListWorkerConfigurationsCommand.js +4 -30
  40. package/{dist/es → dist-es}/commands/UpdateConnectorCommand.js +4 -30
  41. package/{dist/es → dist-es}/endpoints.js +1 -2
  42. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  43. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  44. package/{dist/es → dist-es}/models/models_0.js +0 -247
  45. package/dist-es/pagination/Interfaces.js +1 -0
  46. package/{dist/es → dist-es}/pagination/ListConnectorsPaginator.js +17 -30
  47. package/{dist/es → dist-es}/pagination/ListCustomPluginsPaginator.js +17 -30
  48. package/{dist/es → dist-es}/pagination/ListWorkerConfigurationsPaginator.js +17 -30
  49. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +427 -433
  50. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  51. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  52. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  53. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  54. package/{dist/types → dist-types}/KafkaConnect.d.ts +2 -2
  55. package/{dist/types → dist-types}/KafkaConnectClient.d.ts +8 -8
  56. package/{dist/types → dist-types}/commands/CreateConnectorCommand.d.ts +2 -2
  57. package/{dist/types → dist-types}/commands/CreateCustomPluginCommand.d.ts +2 -2
  58. package/{dist/types → dist-types}/commands/CreateWorkerConfigurationCommand.d.ts +2 -2
  59. package/{dist/types → dist-types}/commands/DeleteConnectorCommand.d.ts +2 -2
  60. package/{dist/types → dist-types}/commands/DescribeConnectorCommand.d.ts +2 -2
  61. package/{dist/types → dist-types}/commands/DescribeCustomPluginCommand.d.ts +2 -2
  62. package/{dist/types → dist-types}/commands/DescribeWorkerConfigurationCommand.d.ts +2 -2
  63. package/{dist/types → dist-types}/commands/ListConnectorsCommand.d.ts +2 -2
  64. package/{dist/types → dist-types}/commands/ListCustomPluginsCommand.d.ts +2 -2
  65. package/{dist/types → dist-types}/commands/ListWorkerConfigurationsCommand.d.ts +2 -2
  66. package/{dist/types → dist-types}/commands/UpdateConnectorCommand.d.ts +2 -2
  67. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  68. package/{index.ts → dist-types/index.d.ts} +0 -0
  69. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  70. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  71. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  72. package/{dist/types → dist-types}/pagination/ListConnectorsPaginator.d.ts +1 -1
  73. package/{dist/types → dist-types}/pagination/ListCustomPluginsPaginator.d.ts +1 -1
  74. package/{dist/types → dist-types}/pagination/ListWorkerConfigurationsPaginator.d.ts +1 -1
  75. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  76. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  77. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  78. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  79. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  80. package/{dist/types → dist-types}/ts3.4/KafkaConnect.d.ts +14 -38
  81. package/{dist/types → dist-types}/ts3.4/KafkaConnectClient.d.ts +32 -97
  82. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +17 -0
  83. package/{dist/types → dist-types}/ts3.4/commands/CreateCustomPluginCommand.d.ts +4 -22
  84. package/{dist/types → dist-types}/ts3.4/commands/CreateWorkerConfigurationCommand.d.ts +4 -22
  85. package/{dist/types → dist-types}/ts3.4/commands/DeleteConnectorCommand.d.ts +4 -22
  86. package/{dist/types → dist-types}/ts3.4/commands/DescribeConnectorCommand.d.ts +4 -22
  87. package/{dist/types → dist-types}/ts3.4/commands/DescribeCustomPluginCommand.d.ts +4 -22
  88. package/{dist/types → dist-types}/ts3.4/commands/DescribeWorkerConfigurationCommand.d.ts +4 -22
  89. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/ListCustomPluginsCommand.d.ts +17 -0
  91. package/{dist/types → dist-types}/ts3.4/commands/ListWorkerConfigurationsCommand.d.ts +4 -22
  92. package/{dist/types → dist-types}/ts3.4/commands/UpdateConnectorCommand.d.ts +4 -22
  93. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  94. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  95. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  96. package/dist-types/ts3.4/models/models_0.d.ts +1028 -0
  97. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  98. package/{dist/types → dist-types}/ts3.4/pagination/ListConnectorsPaginator.d.ts +1 -1
  99. package/{dist/types → dist-types}/ts3.4/pagination/ListCustomPluginsPaginator.d.ts +1 -1
  100. package/{dist/types → dist-types}/ts3.4/pagination/ListWorkerConfigurationsPaginator.d.ts +1 -1
  101. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  102. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  103. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  104. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  105. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  106. package/package.json +52 -49
  107. package/KafkaConnect.ts +0 -414
  108. package/KafkaConnectClient.ts +0 -280
  109. package/commands/CreateConnectorCommand.ts +0 -94
  110. package/commands/CreateCustomPluginCommand.ts +0 -94
  111. package/commands/CreateWorkerConfigurationCommand.ts +0 -97
  112. package/commands/DeleteConnectorCommand.ts +0 -94
  113. package/commands/DescribeConnectorCommand.ts +0 -94
  114. package/commands/DescribeCustomPluginCommand.ts +0 -94
  115. package/commands/DescribeWorkerConfigurationCommand.ts +0 -99
  116. package/commands/ListConnectorsCommand.ts +0 -94
  117. package/commands/ListCustomPluginsCommand.ts +0 -94
  118. package/commands/ListWorkerConfigurationsCommand.ts +0 -94
  119. package/commands/UpdateConnectorCommand.ts +0 -94
  120. package/dist/cjs/KafkaConnect.js.map +0 -1
  121. package/dist/cjs/KafkaConnectClient.js.map +0 -1
  122. package/dist/cjs/commands/CreateConnectorCommand.js.map +0 -1
  123. package/dist/cjs/commands/CreateCustomPluginCommand.js.map +0 -1
  124. package/dist/cjs/commands/CreateWorkerConfigurationCommand.js.map +0 -1
  125. package/dist/cjs/commands/DeleteConnectorCommand.js.map +0 -1
  126. package/dist/cjs/commands/DescribeConnectorCommand.js.map +0 -1
  127. package/dist/cjs/commands/DescribeCustomPluginCommand.js.map +0 -1
  128. package/dist/cjs/commands/DescribeWorkerConfigurationCommand.js.map +0 -1
  129. package/dist/cjs/commands/ListConnectorsCommand.js.map +0 -1
  130. package/dist/cjs/commands/ListCustomPluginsCommand.js.map +0 -1
  131. package/dist/cjs/commands/ListWorkerConfigurationsCommand.js.map +0 -1
  132. package/dist/cjs/commands/UpdateConnectorCommand.js.map +0 -1
  133. package/dist/cjs/endpoints.js.map +0 -1
  134. package/dist/cjs/index.js.map +0 -1
  135. package/dist/cjs/models/index.js.map +0 -1
  136. package/dist/cjs/models/models_0.js.map +0 -1
  137. package/dist/cjs/package.json +0 -91
  138. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  139. package/dist/cjs/pagination/ListConnectorsPaginator.js.map +0 -1
  140. package/dist/cjs/pagination/ListCustomPluginsPaginator.js.map +0 -1
  141. package/dist/cjs/pagination/ListWorkerConfigurationsPaginator.js.map +0 -1
  142. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  143. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  144. package/dist/cjs/runtimeConfig.js.map +0 -1
  145. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  146. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  147. package/dist/es/KafkaConnect.js.map +0 -1
  148. package/dist/es/KafkaConnectClient.js.map +0 -1
  149. package/dist/es/commands/CreateConnectorCommand.js.map +0 -1
  150. package/dist/es/commands/CreateCustomPluginCommand.js.map +0 -1
  151. package/dist/es/commands/CreateWorkerConfigurationCommand.js.map +0 -1
  152. package/dist/es/commands/DeleteConnectorCommand.js.map +0 -1
  153. package/dist/es/commands/DescribeConnectorCommand.js.map +0 -1
  154. package/dist/es/commands/DescribeCustomPluginCommand.js.map +0 -1
  155. package/dist/es/commands/DescribeWorkerConfigurationCommand.js.map +0 -1
  156. package/dist/es/commands/ListConnectorsCommand.js.map +0 -1
  157. package/dist/es/commands/ListCustomPluginsCommand.js.map +0 -1
  158. package/dist/es/commands/ListWorkerConfigurationsCommand.js.map +0 -1
  159. package/dist/es/commands/UpdateConnectorCommand.js.map +0 -1
  160. package/dist/es/endpoints.js.map +0 -1
  161. package/dist/es/index.js +0 -19
  162. package/dist/es/index.js.map +0 -1
  163. package/dist/es/models/index.js +0 -2
  164. package/dist/es/models/index.js.map +0 -1
  165. package/dist/es/models/models_0.js.map +0 -1
  166. package/dist/es/package.json +0 -91
  167. package/dist/es/pagination/Interfaces.js +0 -2
  168. package/dist/es/pagination/Interfaces.js.map +0 -1
  169. package/dist/es/pagination/ListConnectorsPaginator.js.map +0 -1
  170. package/dist/es/pagination/ListCustomPluginsPaginator.js.map +0 -1
  171. package/dist/es/pagination/ListWorkerConfigurationsPaginator.js.map +0 -1
  172. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  173. package/dist/es/runtimeConfig.browser.js.map +0 -1
  174. package/dist/es/runtimeConfig.js.map +0 -1
  175. package/dist/es/runtimeConfig.native.js.map +0 -1
  176. package/dist/es/runtimeConfig.shared.js.map +0 -1
  177. package/dist/types/ts3.4/commands/CreateConnectorCommand.d.ts +0 -35
  178. package/dist/types/ts3.4/commands/ListConnectorsCommand.d.ts +0 -35
  179. package/dist/types/ts3.4/commands/ListCustomPluginsCommand.d.ts +0 -35
  180. package/dist/types/ts3.4/models/models_0.d.ts +0 -1732
  181. package/endpoints.ts +0 -57
  182. package/jest.config.js +0 -4
  183. package/models/models_0.ts +0 -2197
  184. package/pagination/Interfaces.ts +0 -7
  185. package/pagination/ListConnectorsPaginator.ts +0 -58
  186. package/pagination/ListCustomPluginsPaginator.ts +0 -58
  187. package/pagination/ListWorkerConfigurationsPaginator.ts +0 -58
  188. package/protocols/Aws_restJson1.ts +0 -2700
  189. package/runtimeConfig.browser.ts +0 -40
  190. package/runtimeConfig.native.ts +0 -16
  191. package/runtimeConfig.shared.ts +0 -16
  192. package/runtimeConfig.ts +0 -45
  193. package/tsconfig.es.json +0 -12
  194. package/tsconfig.json +0 -32
@@ -1,2197 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- /**
4
- * <p>The description of the scale-in policy for the connector.</p>
5
- */
6
- export interface ScaleInPolicyDescription {
7
- /**
8
- * <p>Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.</p>
9
- */
10
- cpuUtilizationPercentage?: number;
11
- }
12
-
13
- export namespace ScaleInPolicyDescription {
14
- /**
15
- * @internal
16
- */
17
- export const filterSensitiveLog = (obj: ScaleInPolicyDescription): any => ({
18
- ...obj,
19
- });
20
- }
21
-
22
- /**
23
- * <p>The description of the scale-out policy for the connector.</p>
24
- */
25
- export interface ScaleOutPolicyDescription {
26
- /**
27
- * <p>The CPU utilization percentage threshold at which you want connector scale out to be triggered.</p>
28
- */
29
- cpuUtilizationPercentage?: number;
30
- }
31
-
32
- export namespace ScaleOutPolicyDescription {
33
- /**
34
- * @internal
35
- */
36
- export const filterSensitiveLog = (obj: ScaleOutPolicyDescription): any => ({
37
- ...obj,
38
- });
39
- }
40
-
41
- /**
42
- * <p>Information about the auto scaling parameters for the connector.</p>
43
- */
44
- export interface AutoScalingDescription {
45
- /**
46
- * <p>The maximum number of workers allocated to the connector.</p>
47
- */
48
- maxWorkerCount?: number;
49
-
50
- /**
51
- * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.</p>
52
- */
53
- mcuCount?: number;
54
-
55
- /**
56
- * <p>The minimum number of workers allocated to the connector.</p>
57
- */
58
- minWorkerCount?: number;
59
-
60
- /**
61
- * <p>The sacle-in policy for the connector.</p>
62
- */
63
- scaleInPolicy?: ScaleInPolicyDescription;
64
-
65
- /**
66
- * <p>The sacle-out policy for the connector.&gt;</p>
67
- */
68
- scaleOutPolicy?: ScaleOutPolicyDescription;
69
- }
70
-
71
- export namespace AutoScalingDescription {
72
- /**
73
- * @internal
74
- */
75
- export const filterSensitiveLog = (obj: AutoScalingDescription): any => ({
76
- ...obj,
77
- });
78
- }
79
-
80
- /**
81
- * <p>The description of a connector's provisioned capacity.</p>
82
- */
83
- export interface ProvisionedCapacityDescription {
84
- /**
85
- * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.</p>
86
- */
87
- mcuCount?: number;
88
-
89
- /**
90
- * <p>The number of workers that are allocated to the connector.</p>
91
- */
92
- workerCount?: number;
93
- }
94
-
95
- export namespace ProvisionedCapacityDescription {
96
- /**
97
- * @internal
98
- */
99
- export const filterSensitiveLog = (obj: ProvisionedCapacityDescription): any => ({
100
- ...obj,
101
- });
102
- }
103
-
104
- /**
105
- * <p>A description of the connector's capacity.</p>
106
- */
107
- export interface CapacityDescription {
108
- /**
109
- * <p>Describes the connector's auto scaling capacity.</p>
110
- */
111
- autoScaling?: AutoScalingDescription;
112
-
113
- /**
114
- * <p>Describes a connector's provisioned capacity.</p>
115
- */
116
- provisionedCapacity?: ProvisionedCapacityDescription;
117
- }
118
-
119
- export namespace CapacityDescription {
120
- /**
121
- * @internal
122
- */
123
- export const filterSensitiveLog = (obj: CapacityDescription): any => ({
124
- ...obj,
125
- });
126
- }
127
-
128
- export enum ConnectorState {
129
- CREATING = "CREATING",
130
- DELETING = "DELETING",
131
- FAILED = "FAILED",
132
- RUNNING = "RUNNING",
133
- UPDATING = "UPDATING",
134
- }
135
-
136
- /**
137
- * <p>The description of the VPC in which the connector resides.</p>
138
- */
139
- export interface VpcDescription {
140
- /**
141
- * <p>The security groups for the connector.</p>
142
- */
143
- securityGroups?: string[];
144
-
145
- /**
146
- * <p>The subnets for the connector.</p>
147
- */
148
- subnets?: string[];
149
- }
150
-
151
- export namespace VpcDescription {
152
- /**
153
- * @internal
154
- */
155
- export const filterSensitiveLog = (obj: VpcDescription): any => ({
156
- ...obj,
157
- });
158
- }
159
-
160
- /**
161
- * <p>The description of the Apache Kafka cluster to which the connector is connected.</p>
162
- */
163
- export interface ApacheKafkaClusterDescription {
164
- /**
165
- * <p>The bootstrap servers of the cluster.</p>
166
- */
167
- bootstrapServers?: string;
168
-
169
- /**
170
- * <p>Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.</p>
171
- */
172
- vpc?: VpcDescription;
173
- }
174
-
175
- export namespace ApacheKafkaClusterDescription {
176
- /**
177
- * @internal
178
- */
179
- export const filterSensitiveLog = (obj: ApacheKafkaClusterDescription): any => ({
180
- ...obj,
181
- });
182
- }
183
-
184
- /**
185
- * <p>Details of how to connect to the Apache Kafka cluster.</p>
186
- */
187
- export interface KafkaClusterDescription {
188
- /**
189
- * <p>The Apache Kafka cluster to which the connector is connected.</p>
190
- */
191
- apacheKafkaCluster?: ApacheKafkaClusterDescription;
192
- }
193
-
194
- export namespace KafkaClusterDescription {
195
- /**
196
- * @internal
197
- */
198
- export const filterSensitiveLog = (obj: KafkaClusterDescription): any => ({
199
- ...obj,
200
- });
201
- }
202
-
203
- export enum KafkaClusterClientAuthenticationType {
204
- IAM = "IAM",
205
- NONE = "NONE",
206
- }
207
-
208
- /**
209
- * <p>The client authentication information used in order to authenticate with the Apache Kafka cluster.</p>
210
- */
211
- export interface KafkaClusterClientAuthenticationDescription {
212
- /**
213
- * <p>The type of client authentication used to connect to the Apache Kafka cluster. Value NONE means that no client authentication is used.</p>
214
- */
215
- authenticationType?: KafkaClusterClientAuthenticationType | string;
216
- }
217
-
218
- export namespace KafkaClusterClientAuthenticationDescription {
219
- /**
220
- * @internal
221
- */
222
- export const filterSensitiveLog = (obj: KafkaClusterClientAuthenticationDescription): any => ({
223
- ...obj,
224
- });
225
- }
226
-
227
- export enum KafkaClusterEncryptionInTransitType {
228
- PLAINTEXT = "PLAINTEXT",
229
- TLS = "TLS",
230
- }
231
-
232
- /**
233
- * <p>The description of the encryption in transit to the Apache Kafka cluster.</p>
234
- */
235
- export interface KafkaClusterEncryptionInTransitDescription {
236
- /**
237
- * <p>The type of encryption in transit to the Apache Kafka cluster.</p>
238
- */
239
- encryptionType?: KafkaClusterEncryptionInTransitType | string;
240
- }
241
-
242
- export namespace KafkaClusterEncryptionInTransitDescription {
243
- /**
244
- * @internal
245
- */
246
- export const filterSensitiveLog = (obj: KafkaClusterEncryptionInTransitDescription): any => ({
247
- ...obj,
248
- });
249
- }
250
-
251
- /**
252
- * <p>A description of the log delivery settings.</p>
253
- */
254
- export interface CloudWatchLogsLogDeliveryDescription {
255
- /**
256
- * <p>Whether log delivery to Amazon CloudWatch Logs is enabled.</p>
257
- */
258
- enabled?: boolean;
259
-
260
- /**
261
- * <p>The name of the CloudWatch log group that is the destination for log delivery.</p>
262
- */
263
- logGroup?: string;
264
- }
265
-
266
- export namespace CloudWatchLogsLogDeliveryDescription {
267
- /**
268
- * @internal
269
- */
270
- export const filterSensitiveLog = (obj: CloudWatchLogsLogDeliveryDescription): any => ({
271
- ...obj,
272
- });
273
- }
274
-
275
- /**
276
- * <p>A description of the settings for delivering logs to Amazon Kinesis Data Firehose.</p>
277
- */
278
- export interface FirehoseLogDeliveryDescription {
279
- /**
280
- * <p>The name of the Kinesis Data Firehose delivery stream that is the destination for log delivery.</p>
281
- */
282
- deliveryStream?: string;
283
-
284
- /**
285
- * <p>Specifies whether connector logs get delivered to Amazon Kinesis Data Firehose.</p>
286
- */
287
- enabled?: boolean;
288
- }
289
-
290
- export namespace FirehoseLogDeliveryDescription {
291
- /**
292
- * @internal
293
- */
294
- export const filterSensitiveLog = (obj: FirehoseLogDeliveryDescription): any => ({
295
- ...obj,
296
- });
297
- }
298
-
299
- /**
300
- * <p>The description of the details about delivering logs to Amazon S3.</p>
301
- */
302
- export interface S3LogDeliveryDescription {
303
- /**
304
- * <p>The name of the S3 bucket that is the destination for log delivery.</p>
305
- */
306
- bucket?: string;
307
-
308
- /**
309
- * <p>Specifies whether connector logs get sent to the specified Amazon S3 destination.</p>
310
- */
311
- enabled?: boolean;
312
-
313
- /**
314
- * <p>The S3 prefix that is the destination for log delivery.</p>
315
- */
316
- prefix?: string;
317
- }
318
-
319
- export namespace S3LogDeliveryDescription {
320
- /**
321
- * @internal
322
- */
323
- export const filterSensitiveLog = (obj: S3LogDeliveryDescription): any => ({
324
- ...obj,
325
- });
326
- }
327
-
328
- /**
329
- * <p>Workers can send worker logs to different destination types. This configuration specifies the details of these destinations.</p>
330
- */
331
- export interface WorkerLogDeliveryDescription {
332
- /**
333
- * <p>Details about delivering logs to Amazon CloudWatch Logs.</p>
334
- */
335
- cloudWatchLogs?: CloudWatchLogsLogDeliveryDescription;
336
-
337
- /**
338
- * <p>Details about delivering logs to Amazon Kinesis Data Firehose.</p>
339
- */
340
- firehose?: FirehoseLogDeliveryDescription;
341
-
342
- /**
343
- * <p>Details about delivering logs to Amazon S3.</p>
344
- */
345
- s3?: S3LogDeliveryDescription;
346
- }
347
-
348
- export namespace WorkerLogDeliveryDescription {
349
- /**
350
- * @internal
351
- */
352
- export const filterSensitiveLog = (obj: WorkerLogDeliveryDescription): any => ({
353
- ...obj,
354
- });
355
- }
356
-
357
- /**
358
- * <p>The description of the log delivery settings.</p>
359
- */
360
- export interface LogDeliveryDescription {
361
- /**
362
- * <p>The workers can send worker logs to different destination types. This configuration specifies the details of these destinations.</p>
363
- */
364
- workerLogDelivery?: WorkerLogDeliveryDescription;
365
- }
366
-
367
- export namespace LogDeliveryDescription {
368
- /**
369
- * @internal
370
- */
371
- export const filterSensitiveLog = (obj: LogDeliveryDescription): any => ({
372
- ...obj,
373
- });
374
- }
375
-
376
- /**
377
- * <p>Details about a custom plugin.</p>
378
- */
379
- export interface CustomPluginDescription {
380
- /**
381
- * <p>The Amazon Resource Name (ARN) of the custom plugin.</p>
382
- */
383
- customPluginArn?: string;
384
-
385
- /**
386
- * <p>The revision of the custom plugin.</p>
387
- */
388
- revision?: number;
389
- }
390
-
391
- export namespace CustomPluginDescription {
392
- /**
393
- * @internal
394
- */
395
- export const filterSensitiveLog = (obj: CustomPluginDescription): any => ({
396
- ...obj,
397
- });
398
- }
399
-
400
- /**
401
- * <p>The description of the plugin.</p>
402
- */
403
- export interface PluginDescription {
404
- /**
405
- * <p>Details about a custom plugin.</p>
406
- */
407
- customPlugin?: CustomPluginDescription;
408
- }
409
-
410
- export namespace PluginDescription {
411
- /**
412
- * @internal
413
- */
414
- export const filterSensitiveLog = (obj: PluginDescription): any => ({
415
- ...obj,
416
- });
417
- }
418
-
419
- /**
420
- * <p>The description of the worker configuration.</p>
421
- */
422
- export interface WorkerConfigurationDescription {
423
- /**
424
- * <p>The revision of the worker configuration.</p>
425
- */
426
- revision?: number;
427
-
428
- /**
429
- * <p>The Amazon Resource Name (ARN) of the worker configuration.</p>
430
- */
431
- workerConfigurationArn?: string;
432
- }
433
-
434
- export namespace WorkerConfigurationDescription {
435
- /**
436
- * @internal
437
- */
438
- export const filterSensitiveLog = (obj: WorkerConfigurationDescription): any => ({
439
- ...obj,
440
- });
441
- }
442
-
443
- /**
444
- * <p>Summary of a connector.</p>
445
- */
446
- export interface ConnectorSummary {
447
- /**
448
- * <p>The connector's compute capacity settings.</p>
449
- */
450
- capacity?: CapacityDescription;
451
-
452
- /**
453
- * <p>The Amazon Resource Name (ARN) of the connector.</p>
454
- */
455
- connectorArn?: string;
456
-
457
- /**
458
- * <p>The description of the connector.</p>
459
- */
460
- connectorDescription?: string;
461
-
462
- /**
463
- * <p>The name of the connector.</p>
464
- */
465
- connectorName?: string;
466
-
467
- /**
468
- * <p>The state of the connector.</p>
469
- */
470
- connectorState?: ConnectorState | string;
471
-
472
- /**
473
- * <p>The time that the connector was created.</p>
474
- */
475
- creationTime?: Date;
476
-
477
- /**
478
- * <p>The current version of the connector.</p>
479
- */
480
- currentVersion?: string;
481
-
482
- /**
483
- * <p>The details of the Apache Kafka cluster to which the connector is connected.</p>
484
- */
485
- kafkaCluster?: KafkaClusterDescription;
486
-
487
- /**
488
- * <p>The type of client authentication used to connect to the Apache Kafka cluster. The value is NONE when no client authentication is used.</p>
489
- */
490
- kafkaClusterClientAuthentication?: KafkaClusterClientAuthenticationDescription;
491
-
492
- /**
493
- * <p>Details of encryption in transit to the Apache Kafka cluster.</p>
494
- */
495
- kafkaClusterEncryptionInTransit?: KafkaClusterEncryptionInTransitDescription;
496
-
497
- /**
498
- * <p>The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.</p>
499
- */
500
- kafkaConnectVersion?: string;
501
-
502
- /**
503
- * <p>The settings for delivering connector logs to Amazon CloudWatch Logs.</p>
504
- */
505
- logDelivery?: LogDeliveryDescription;
506
-
507
- /**
508
- * <p>Specifies which plugins were used for this connector.</p>
509
- */
510
- plugins?: PluginDescription[];
511
-
512
- /**
513
- * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.</p>
514
- */
515
- serviceExecutionRoleArn?: string;
516
-
517
- /**
518
- * <p>The worker configurations that are in use with the connector.</p>
519
- */
520
- workerConfiguration?: WorkerConfigurationDescription;
521
- }
522
-
523
- export namespace ConnectorSummary {
524
- /**
525
- * @internal
526
- */
527
- export const filterSensitiveLog = (obj: ConnectorSummary): any => ({
528
- ...obj,
529
- });
530
- }
531
-
532
- export enum CustomPluginState {
533
- ACTIVE = "ACTIVE",
534
- CREATE_FAILED = "CREATE_FAILED",
535
- CREATING = "CREATING",
536
- DELETING = "DELETING",
537
- UPDATE_FAILED = "UPDATE_FAILED",
538
- UPDATING = "UPDATING",
539
- }
540
-
541
- export enum CustomPluginContentType {
542
- JAR = "JAR",
543
- ZIP = "ZIP",
544
- }
545
-
546
- /**
547
- * <p>Details about a custom plugin file.</p>
548
- */
549
- export interface CustomPluginFileDescription {
550
- /**
551
- * <p>The hex-encoded MD5 checksum of the custom plugin file. You can use it to validate the file.</p>
552
- */
553
- fileMd5?: string;
554
-
555
- /**
556
- * <p>The size in bytes of the custom plugin file. You can use it to validate the file.</p>
557
- */
558
- fileSize?: number;
559
- }
560
-
561
- export namespace CustomPluginFileDescription {
562
- /**
563
- * @internal
564
- */
565
- export const filterSensitiveLog = (obj: CustomPluginFileDescription): any => ({
566
- ...obj,
567
- });
568
- }
569
-
570
- /**
571
- * <p>The description of the location of an object in Amazon S3.</p>
572
- */
573
- export interface S3LocationDescription {
574
- /**
575
- * <p>The Amazon Resource Name (ARN) of an S3 bucket.</p>
576
- */
577
- bucketArn?: string;
578
-
579
- /**
580
- * <p>The file key for an object in an S3 bucket.</p>
581
- */
582
- fileKey?: string;
583
-
584
- /**
585
- * <p>The version of an object in an S3 bucket.</p>
586
- */
587
- objectVersion?: string;
588
- }
589
-
590
- export namespace S3LocationDescription {
591
- /**
592
- * @internal
593
- */
594
- export const filterSensitiveLog = (obj: S3LocationDescription): any => ({
595
- ...obj,
596
- });
597
- }
598
-
599
- /**
600
- * <p>Information about the location of a custom plugin.</p>
601
- */
602
- export interface CustomPluginLocationDescription {
603
- /**
604
- * <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3.</p>
605
- */
606
- s3Location?: S3LocationDescription;
607
- }
608
-
609
- export namespace CustomPluginLocationDescription {
610
- /**
611
- * @internal
612
- */
613
- export const filterSensitiveLog = (obj: CustomPluginLocationDescription): any => ({
614
- ...obj,
615
- });
616
- }
617
-
618
- /**
619
- * <p>Details about the revision of a custom plugin.</p>
620
- */
621
- export interface CustomPluginRevisionSummary {
622
- /**
623
- * <p>The format of the plugin file.</p>
624
- */
625
- contentType?: CustomPluginContentType | string;
626
-
627
- /**
628
- * <p>The time that the custom plugin was created.</p>
629
- */
630
- creationTime?: Date;
631
-
632
- /**
633
- * <p>The description of the custom plugin.</p>
634
- */
635
- description?: string;
636
-
637
- /**
638
- * <p>Details about the custom plugin file.</p>
639
- */
640
- fileDescription?: CustomPluginFileDescription;
641
-
642
- /**
643
- * <p>Information about the location of the custom plugin.</p>
644
- */
645
- location?: CustomPluginLocationDescription;
646
-
647
- /**
648
- * <p>The revision of the custom plugin.</p>
649
- */
650
- revision?: number;
651
- }
652
-
653
- export namespace CustomPluginRevisionSummary {
654
- /**
655
- * @internal
656
- */
657
- export const filterSensitiveLog = (obj: CustomPluginRevisionSummary): any => ({
658
- ...obj,
659
- });
660
- }
661
-
662
- /**
663
- * <p>A summary of the custom plugin.</p>
664
- */
665
- export interface CustomPluginSummary {
666
- /**
667
- * <p>The time that the custom plugin was created.</p>
668
- */
669
- creationTime?: Date;
670
-
671
- /**
672
- * <p>The Amazon Resource Name (ARN) of the custom plugin.</p>
673
- */
674
- customPluginArn?: string;
675
-
676
- /**
677
- * <p>The state of the custom plugin.</p>
678
- */
679
- customPluginState?: CustomPluginState | string;
680
-
681
- /**
682
- * <p>A description of the custom plugin.</p>
683
- */
684
- description?: string;
685
-
686
- /**
687
- * <p>The latest revision of the custom plugin.</p>
688
- */
689
- latestRevision?: CustomPluginRevisionSummary;
690
-
691
- /**
692
- * <p>The name of the custom plugin.</p>
693
- */
694
- name?: string;
695
- }
696
-
697
- export namespace CustomPluginSummary {
698
- /**
699
- * @internal
700
- */
701
- export const filterSensitiveLog = (obj: CustomPluginSummary): any => ({
702
- ...obj,
703
- });
704
- }
705
-
706
- /**
707
- * <p>A plugin is an AWS resource that contains the code that defines a connector's logic.</p>
708
- */
709
- export interface CustomPlugin {
710
- /**
711
- * <p>The Amazon Resource Name (ARN) of the custom plugin.</p>
712
- */
713
- customPluginArn: string | undefined;
714
-
715
- /**
716
- * <p>The revision of the custom plugin.</p>
717
- */
718
- revision: number | undefined;
719
- }
720
-
721
- export namespace CustomPlugin {
722
- /**
723
- * @internal
724
- */
725
- export const filterSensitiveLog = (obj: CustomPlugin): any => ({
726
- ...obj,
727
- });
728
- }
729
-
730
- /**
731
- * <p>A plugin is an AWS resource that contains the code that defines your connector logic. </p>
732
- */
733
- export interface Plugin {
734
- /**
735
- * <p>Details about a custom plugin.</p>
736
- */
737
- customPlugin: CustomPlugin | undefined;
738
- }
739
-
740
- export namespace Plugin {
741
- /**
742
- * @internal
743
- */
744
- export const filterSensitiveLog = (obj: Plugin): any => ({
745
- ...obj,
746
- });
747
- }
748
-
749
- /**
750
- * <p>The summary of a worker configuration revision.</p>
751
- */
752
- export interface WorkerConfigurationRevisionSummary {
753
- /**
754
- * <p>The time that a worker configuration revision was created.</p>
755
- */
756
- creationTime?: Date;
757
-
758
- /**
759
- * <p>The description of a worker configuration revision.</p>
760
- */
761
- description?: string;
762
-
763
- /**
764
- * <p>The revision of a worker configuration.</p>
765
- */
766
- revision?: number;
767
- }
768
-
769
- export namespace WorkerConfigurationRevisionSummary {
770
- /**
771
- * @internal
772
- */
773
- export const filterSensitiveLog = (obj: WorkerConfigurationRevisionSummary): any => ({
774
- ...obj,
775
- });
776
- }
777
-
778
- /**
779
- * <p>The summary of a worker configuration.</p>
780
- */
781
- export interface WorkerConfigurationSummary {
782
- /**
783
- * <p>The time that a worker configuration was created.</p>
784
- */
785
- creationTime?: Date;
786
-
787
- /**
788
- * <p>The description of a worker configuration.</p>
789
- */
790
- description?: string;
791
-
792
- /**
793
- * <p>The latest revision of a worker configuration.</p>
794
- */
795
- latestRevision?: WorkerConfigurationRevisionSummary;
796
-
797
- /**
798
- * <p>The name of the worker configuration.</p>
799
- */
800
- name?: string;
801
-
802
- /**
803
- * <p>The Amazon Resource Name (ARN) of the worker configuration.</p>
804
- */
805
- workerConfigurationArn?: string;
806
- }
807
-
808
- export namespace WorkerConfigurationSummary {
809
- /**
810
- * @internal
811
- */
812
- export const filterSensitiveLog = (obj: WorkerConfigurationSummary): any => ({
813
- ...obj,
814
- });
815
- }
816
-
817
- /**
818
- * <p>Information about the VPC in which the connector resides.</p>
819
- */
820
- export interface Vpc {
821
- /**
822
- * <p>The security groups for the connector.</p>
823
- */
824
- securityGroups?: string[];
825
-
826
- /**
827
- * <p>The subnets for the connector.</p>
828
- */
829
- subnets: string[] | undefined;
830
- }
831
-
832
- export namespace Vpc {
833
- /**
834
- * @internal
835
- */
836
- export const filterSensitiveLog = (obj: Vpc): any => ({
837
- ...obj,
838
- });
839
- }
840
-
841
- /**
842
- * <p>The details of the Apache Kafka cluster to which the connector is connected.</p>
843
- */
844
- export interface ApacheKafkaCluster {
845
- /**
846
- * <p>The bootstrap servers of the cluster.</p>
847
- */
848
- bootstrapServers: string | undefined;
849
-
850
- /**
851
- * <p>Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.</p>
852
- */
853
- vpc: Vpc | undefined;
854
- }
855
-
856
- export namespace ApacheKafkaCluster {
857
- /**
858
- * @internal
859
- */
860
- export const filterSensitiveLog = (obj: ApacheKafkaCluster): any => ({
861
- ...obj,
862
- });
863
- }
864
-
865
- /**
866
- * <p>The scale-in policy for the connector.</p>
867
- */
868
- export interface ScaleInPolicy {
869
- /**
870
- * <p>Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.</p>
871
- */
872
- cpuUtilizationPercentage: number | undefined;
873
- }
874
-
875
- export namespace ScaleInPolicy {
876
- /**
877
- * @internal
878
- */
879
- export const filterSensitiveLog = (obj: ScaleInPolicy): any => ({
880
- ...obj,
881
- });
882
- }
883
-
884
- /**
885
- * <p>The scale-out policy for the connector.</p>
886
- */
887
- export interface ScaleOutPolicy {
888
- /**
889
- * <p>The CPU utilization percentage threshold at which you want connector scale out to be triggered.</p>
890
- */
891
- cpuUtilizationPercentage: number | undefined;
892
- }
893
-
894
- export namespace ScaleOutPolicy {
895
- /**
896
- * @internal
897
- */
898
- export const filterSensitiveLog = (obj: ScaleOutPolicy): any => ({
899
- ...obj,
900
- });
901
- }
902
-
903
- /**
904
- * <p>Specifies how the connector scales.</p>
905
- */
906
- export interface AutoScaling {
907
- /**
908
- * <p>The maximum number of workers allocated to the connector.</p>
909
- */
910
- maxWorkerCount: number | undefined;
911
-
912
- /**
913
- * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.</p>
914
- */
915
- mcuCount: number | undefined;
916
-
917
- /**
918
- * <p>The minimum number of workers allocated to the connector.</p>
919
- */
920
- minWorkerCount: number | undefined;
921
-
922
- /**
923
- * <p>The sacle-in policy for the connector.</p>
924
- */
925
- scaleInPolicy?: ScaleInPolicy;
926
-
927
- /**
928
- * <p>The sacle-out policy for the connector.</p>
929
- */
930
- scaleOutPolicy?: ScaleOutPolicy;
931
- }
932
-
933
- export namespace AutoScaling {
934
- /**
935
- * @internal
936
- */
937
- export const filterSensitiveLog = (obj: AutoScaling): any => ({
938
- ...obj,
939
- });
940
- }
941
-
942
- /**
943
- * <p>An update to the connector's scale-in policy.</p>
944
- */
945
- export interface ScaleInPolicyUpdate {
946
- /**
947
- * <p>The target CPU utilization percentage threshold at which you want connector scale in to be triggered.</p>
948
- */
949
- cpuUtilizationPercentage: number | undefined;
950
- }
951
-
952
- export namespace ScaleInPolicyUpdate {
953
- /**
954
- * @internal
955
- */
956
- export const filterSensitiveLog = (obj: ScaleInPolicyUpdate): any => ({
957
- ...obj,
958
- });
959
- }
960
-
961
- /**
962
- * <p>An update to the connector's scale-out policy.</p>
963
- */
964
- export interface ScaleOutPolicyUpdate {
965
- /**
966
- * <p>The target CPU utilization percentage threshold at which you want connector scale out to be triggered.</p>
967
- */
968
- cpuUtilizationPercentage: number | undefined;
969
- }
970
-
971
- export namespace ScaleOutPolicyUpdate {
972
- /**
973
- * @internal
974
- */
975
- export const filterSensitiveLog = (obj: ScaleOutPolicyUpdate): any => ({
976
- ...obj,
977
- });
978
- }
979
-
980
- /**
981
- * <p>The updates to the auto scaling parameters for the connector.</p>
982
- */
983
- export interface AutoScalingUpdate {
984
- /**
985
- * <p>The target maximum number of workers allocated to the connector.</p>
986
- */
987
- maxWorkerCount: number | undefined;
988
-
989
- /**
990
- * <p>The target number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.</p>
991
- */
992
- mcuCount: number | undefined;
993
-
994
- /**
995
- * <p>The target minimum number of workers allocated to the connector.</p>
996
- */
997
- minWorkerCount: number | undefined;
998
-
999
- /**
1000
- * <p>The target sacle-in policy for the connector.</p>
1001
- */
1002
- scaleInPolicy: ScaleInPolicyUpdate | undefined;
1003
-
1004
- /**
1005
- * <p>The target sacle-out policy for the connector.</p>
1006
- */
1007
- scaleOutPolicy: ScaleOutPolicyUpdate | undefined;
1008
- }
1009
-
1010
- export namespace AutoScalingUpdate {
1011
- /**
1012
- * @internal
1013
- */
1014
- export const filterSensitiveLog = (obj: AutoScalingUpdate): any => ({
1015
- ...obj,
1016
- });
1017
- }
1018
-
1019
- /**
1020
- * <p>HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.</p>
1021
- */
1022
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
1023
- name: "BadRequestException";
1024
- $fault: "client";
1025
- message?: string;
1026
- }
1027
-
1028
- export namespace BadRequestException {
1029
- /**
1030
- * @internal
1031
- */
1032
- export const filterSensitiveLog = (obj: BadRequestException): any => ({
1033
- ...obj,
1034
- });
1035
- }
1036
-
1037
- /**
1038
- * <p>Details about a connector's provisioned capacity.</p>
1039
- */
1040
- export interface ProvisionedCapacity {
1041
- /**
1042
- * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.</p>
1043
- */
1044
- mcuCount: number | undefined;
1045
-
1046
- /**
1047
- * <p>The number of workers that are allocated to the connector.</p>
1048
- */
1049
- workerCount: number | undefined;
1050
- }
1051
-
1052
- export namespace ProvisionedCapacity {
1053
- /**
1054
- * @internal
1055
- */
1056
- export const filterSensitiveLog = (obj: ProvisionedCapacity): any => ({
1057
- ...obj,
1058
- });
1059
- }
1060
-
1061
- /**
1062
- * <p>Information about the capacity of the connector, whether it is auto scaled or provisioned.</p>
1063
- */
1064
- export interface Capacity {
1065
- /**
1066
- * <p>Information about the auto scaling parameters for the connector.</p>
1067
- */
1068
- autoScaling?: AutoScaling;
1069
-
1070
- /**
1071
- * <p>Details about a fixed capacity allocated to a connector.</p>
1072
- */
1073
- provisionedCapacity?: ProvisionedCapacity;
1074
- }
1075
-
1076
- export namespace Capacity {
1077
- /**
1078
- * @internal
1079
- */
1080
- export const filterSensitiveLog = (obj: Capacity): any => ({
1081
- ...obj,
1082
- });
1083
- }
1084
-
1085
- /**
1086
- * <p>An update to a connector's fixed capacity.</p>
1087
- */
1088
- export interface ProvisionedCapacityUpdate {
1089
- /**
1090
- * <p>The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.</p>
1091
- */
1092
- mcuCount: number | undefined;
1093
-
1094
- /**
1095
- * <p>The number of workers that are allocated to the connector.</p>
1096
- */
1097
- workerCount: number | undefined;
1098
- }
1099
-
1100
- export namespace ProvisionedCapacityUpdate {
1101
- /**
1102
- * @internal
1103
- */
1104
- export const filterSensitiveLog = (obj: ProvisionedCapacityUpdate): any => ({
1105
- ...obj,
1106
- });
1107
- }
1108
-
1109
- /**
1110
- * <p>The target capacity for the connector. The capacity can be auto scaled or provisioned.</p>
1111
- */
1112
- export interface CapacityUpdate {
1113
- /**
1114
- * <p>The target auto scaling setting.</p>
1115
- */
1116
- autoScaling?: AutoScalingUpdate;
1117
-
1118
- /**
1119
- * <p>The target settings for provisioned capacity.</p>
1120
- */
1121
- provisionedCapacity?: ProvisionedCapacityUpdate;
1122
- }
1123
-
1124
- export namespace CapacityUpdate {
1125
- /**
1126
- * @internal
1127
- */
1128
- export const filterSensitiveLog = (obj: CapacityUpdate): any => ({
1129
- ...obj,
1130
- });
1131
- }
1132
-
1133
- /**
1134
- * <p>The settings for delivering connector logs to Amazon CloudWatch Logs.</p>
1135
- */
1136
- export interface CloudWatchLogsLogDelivery {
1137
- /**
1138
- * <p>Whether log delivery to Amazon CloudWatch Logs is enabled.</p>
1139
- */
1140
- enabled: boolean | undefined;
1141
-
1142
- /**
1143
- * <p>The name of the CloudWatch log group that is the destination for log delivery.</p>
1144
- */
1145
- logGroup?: string;
1146
- }
1147
-
1148
- export namespace CloudWatchLogsLogDelivery {
1149
- /**
1150
- * @internal
1151
- */
1152
- export const filterSensitiveLog = (obj: CloudWatchLogsLogDelivery): any => ({
1153
- ...obj,
1154
- });
1155
- }
1156
-
1157
- /**
1158
- * <p>HTTP Status Code 409: Conflict. A resource with this name already exists. Retry your request with another name.</p>
1159
- */
1160
- export interface ConflictException extends __SmithyException, $MetadataBearer {
1161
- name: "ConflictException";
1162
- $fault: "client";
1163
- message?: string;
1164
- }
1165
-
1166
- export namespace ConflictException {
1167
- /**
1168
- * @internal
1169
- */
1170
- export const filterSensitiveLog = (obj: ConflictException): any => ({
1171
- ...obj,
1172
- });
1173
- }
1174
-
1175
- /**
1176
- * <p>The details of the Apache Kafka cluster to which the connector is connected.</p>
1177
- */
1178
- export interface KafkaCluster {
1179
- /**
1180
- * <p>The Apache Kafka cluster to which the connector is connected.</p>
1181
- */
1182
- apacheKafkaCluster: ApacheKafkaCluster | undefined;
1183
- }
1184
-
1185
- export namespace KafkaCluster {
1186
- /**
1187
- * @internal
1188
- */
1189
- export const filterSensitiveLog = (obj: KafkaCluster): any => ({
1190
- ...obj,
1191
- });
1192
- }
1193
-
1194
- /**
1195
- * <p>The client authentication information used in order to authenticate with the Apache Kafka cluster.</p>
1196
- */
1197
- export interface KafkaClusterClientAuthentication {
1198
- /**
1199
- * <p>The type of client authentication used to connect to the Apache Kafka cluster. Value NONE means that no client authentication is used.</p>
1200
- */
1201
- authenticationType: KafkaClusterClientAuthenticationType | string | undefined;
1202
- }
1203
-
1204
- export namespace KafkaClusterClientAuthentication {
1205
- /**
1206
- * @internal
1207
- */
1208
- export const filterSensitiveLog = (obj: KafkaClusterClientAuthentication): any => ({
1209
- ...obj,
1210
- });
1211
- }
1212
-
1213
- /**
1214
- * <p>Details of encryption in transit to the Apache Kafka cluster.</p>
1215
- */
1216
- export interface KafkaClusterEncryptionInTransit {
1217
- /**
1218
- * <p>The type of encryption in transit to the Apache Kafka cluster.</p>
1219
- */
1220
- encryptionType: KafkaClusterEncryptionInTransitType | string | undefined;
1221
- }
1222
-
1223
- export namespace KafkaClusterEncryptionInTransit {
1224
- /**
1225
- * @internal
1226
- */
1227
- export const filterSensitiveLog = (obj: KafkaClusterEncryptionInTransit): any => ({
1228
- ...obj,
1229
- });
1230
- }
1231
-
1232
- /**
1233
- * <p>The settings for delivering logs to Amazon Kinesis Data Firehose.</p>
1234
- */
1235
- export interface FirehoseLogDelivery {
1236
- /**
1237
- * <p>The name of the Kinesis Data Firehose delivery stream that is the destination for log delivery.</p>
1238
- */
1239
- deliveryStream?: string;
1240
-
1241
- /**
1242
- * <p>Specifies whether connector logs get delivered to Amazon Kinesis Data Firehose.</p>
1243
- */
1244
- enabled: boolean | undefined;
1245
- }
1246
-
1247
- export namespace FirehoseLogDelivery {
1248
- /**
1249
- * @internal
1250
- */
1251
- export const filterSensitiveLog = (obj: FirehoseLogDelivery): any => ({
1252
- ...obj,
1253
- });
1254
- }
1255
-
1256
- /**
1257
- * <p>Details about delivering logs to Amazon S3.</p>
1258
- */
1259
- export interface S3LogDelivery {
1260
- /**
1261
- * <p>The name of the S3 bucket that is the destination for log delivery.</p>
1262
- */
1263
- bucket?: string;
1264
-
1265
- /**
1266
- * <p>Specifies whether connector logs get sent to the specified Amazon S3 destination.</p>
1267
- */
1268
- enabled: boolean | undefined;
1269
-
1270
- /**
1271
- * <p>The S3 prefix that is the destination for log delivery.</p>
1272
- */
1273
- prefix?: string;
1274
- }
1275
-
1276
- export namespace S3LogDelivery {
1277
- /**
1278
- * @internal
1279
- */
1280
- export const filterSensitiveLog = (obj: S3LogDelivery): any => ({
1281
- ...obj,
1282
- });
1283
- }
1284
-
1285
- /**
1286
- * <p>Workers can send worker logs to different destination types. This configuration specifies the details of these destinations.</p>
1287
- */
1288
- export interface WorkerLogDelivery {
1289
- /**
1290
- * <p>Details about delivering logs to Amazon CloudWatch Logs.</p>
1291
- */
1292
- cloudWatchLogs?: CloudWatchLogsLogDelivery;
1293
-
1294
- /**
1295
- * <p>Details about delivering logs to Amazon Kinesis Data Firehose.</p>
1296
- */
1297
- firehose?: FirehoseLogDelivery;
1298
-
1299
- /**
1300
- * <p>Details about delivering logs to Amazon S3.</p>
1301
- */
1302
- s3?: S3LogDelivery;
1303
- }
1304
-
1305
- export namespace WorkerLogDelivery {
1306
- /**
1307
- * @internal
1308
- */
1309
- export const filterSensitiveLog = (obj: WorkerLogDelivery): any => ({
1310
- ...obj,
1311
- });
1312
- }
1313
-
1314
- /**
1315
- * <p>Details about log delivery.</p>
1316
- */
1317
- export interface LogDelivery {
1318
- /**
1319
- * <p>The workers can send worker logs to different destination types. This configuration specifies the details of these destinations.</p>
1320
- */
1321
- workerLogDelivery: WorkerLogDelivery | undefined;
1322
- }
1323
-
1324
- export namespace LogDelivery {
1325
- /**
1326
- * @internal
1327
- */
1328
- export const filterSensitiveLog = (obj: LogDelivery): any => ({
1329
- ...obj,
1330
- });
1331
- }
1332
-
1333
- /**
1334
- * <p>The configuration of the workers, which are the processes that run the connector logic.</p>
1335
- */
1336
- export interface WorkerConfiguration {
1337
- /**
1338
- * <p>The revision of the worker configuration.</p>
1339
- */
1340
- revision: number | undefined;
1341
-
1342
- /**
1343
- * <p>The Amazon Resource Name (ARN) of the worker configuration.</p>
1344
- */
1345
- workerConfigurationArn: string | undefined;
1346
- }
1347
-
1348
- export namespace WorkerConfiguration {
1349
- /**
1350
- * @internal
1351
- */
1352
- export const filterSensitiveLog = (obj: WorkerConfiguration): any => ({
1353
- ...obj,
1354
- });
1355
- }
1356
-
1357
- export interface CreateConnectorRequest {
1358
- /**
1359
- * <p>Information about the capacity allocated to the connector. Exactly one of the two properties must be specified.</p>
1360
- */
1361
- capacity: Capacity | undefined;
1362
-
1363
- /**
1364
- * <p>A map of keys to values that represent the configuration for the connector.</p>
1365
- */
1366
- connectorConfiguration: { [key: string]: string } | undefined;
1367
-
1368
- /**
1369
- * <p>A summary description of the connector.</p>
1370
- */
1371
- connectorDescription?: string;
1372
-
1373
- /**
1374
- * <p>The name of the connector.</p>
1375
- */
1376
- connectorName: string | undefined;
1377
-
1378
- /**
1379
- * <p>Specifies which Apache Kafka cluster to connect to.</p>
1380
- */
1381
- kafkaCluster: KafkaCluster | undefined;
1382
-
1383
- /**
1384
- * <p>Details of the client authentication used by the Apache Kafka cluster.</p>
1385
- */
1386
- kafkaClusterClientAuthentication: KafkaClusterClientAuthentication | undefined;
1387
-
1388
- /**
1389
- * <p>Details of encryption in transit to the Apache Kafka cluster.</p>
1390
- */
1391
- kafkaClusterEncryptionInTransit: KafkaClusterEncryptionInTransit | undefined;
1392
-
1393
- /**
1394
- * <p>The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.</p>
1395
- */
1396
- kafkaConnectVersion: string | undefined;
1397
-
1398
- /**
1399
- * <p>Details about log delivery.</p>
1400
- */
1401
- logDelivery?: LogDelivery;
1402
-
1403
- /**
1404
- * <p>Specifies which plugins to use for the connector.</p>
1405
- */
1406
- plugins: Plugin[] | undefined;
1407
-
1408
- /**
1409
- * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access the Amazon Web Services resources that it needs. The types of resources depends on the logic of the connector. For example, a connector that has Amazon S3 as a destination must have permissions that allow it to write to the S3 destination bucket.</p>
1410
- */
1411
- serviceExecutionRoleArn: string | undefined;
1412
-
1413
- /**
1414
- * <p>Specifies which worker configuration to use with the connector.</p>
1415
- */
1416
- workerConfiguration?: WorkerConfiguration;
1417
- }
1418
-
1419
- export namespace CreateConnectorRequest {
1420
- /**
1421
- * @internal
1422
- */
1423
- export const filterSensitiveLog = (obj: CreateConnectorRequest): any => ({
1424
- ...obj,
1425
- });
1426
- }
1427
-
1428
- export interface CreateConnectorResponse {
1429
- /**
1430
- * <p>The Amazon Resource Name (ARN) that Amazon assigned to the connector.</p>
1431
- */
1432
- connectorArn?: string;
1433
-
1434
- /**
1435
- * <p>The name of the connector.</p>
1436
- */
1437
- connectorName?: string;
1438
-
1439
- /**
1440
- * <p>The state of the connector.</p>
1441
- */
1442
- connectorState?: ConnectorState | string;
1443
- }
1444
-
1445
- export namespace CreateConnectorResponse {
1446
- /**
1447
- * @internal
1448
- */
1449
- export const filterSensitiveLog = (obj: CreateConnectorResponse): any => ({
1450
- ...obj,
1451
- });
1452
- }
1453
-
1454
- /**
1455
- * <p>HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.</p>
1456
- */
1457
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
1458
- name: "ForbiddenException";
1459
- $fault: "client";
1460
- message?: string;
1461
- }
1462
-
1463
- export namespace ForbiddenException {
1464
- /**
1465
- * @internal
1466
- */
1467
- export const filterSensitiveLog = (obj: ForbiddenException): any => ({
1468
- ...obj,
1469
- });
1470
- }
1471
-
1472
- /**
1473
- * <p>HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.</p>
1474
- */
1475
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
1476
- name: "InternalServerErrorException";
1477
- $fault: "server";
1478
- message?: string;
1479
- }
1480
-
1481
- export namespace InternalServerErrorException {
1482
- /**
1483
- * @internal
1484
- */
1485
- export const filterSensitiveLog = (obj: InternalServerErrorException): any => ({
1486
- ...obj,
1487
- });
1488
- }
1489
-
1490
- /**
1491
- * <p>HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.</p>
1492
- */
1493
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
1494
- name: "NotFoundException";
1495
- $fault: "client";
1496
- message?: string;
1497
- }
1498
-
1499
- export namespace NotFoundException {
1500
- /**
1501
- * @internal
1502
- */
1503
- export const filterSensitiveLog = (obj: NotFoundException): any => ({
1504
- ...obj,
1505
- });
1506
- }
1507
-
1508
- /**
1509
- * <p>HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.</p>
1510
- */
1511
- export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
1512
- name: "ServiceUnavailableException";
1513
- $fault: "server";
1514
- message?: string;
1515
- }
1516
-
1517
- export namespace ServiceUnavailableException {
1518
- /**
1519
- * @internal
1520
- */
1521
- export const filterSensitiveLog = (obj: ServiceUnavailableException): any => ({
1522
- ...obj,
1523
- });
1524
- }
1525
-
1526
- /**
1527
- * <p>HTTP Status Code 429: Limit exceeded. Resource limit reached.</p>
1528
- */
1529
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
1530
- name: "TooManyRequestsException";
1531
- $fault: "client";
1532
- message?: string;
1533
- }
1534
-
1535
- export namespace TooManyRequestsException {
1536
- /**
1537
- * @internal
1538
- */
1539
- export const filterSensitiveLog = (obj: TooManyRequestsException): any => ({
1540
- ...obj,
1541
- });
1542
- }
1543
-
1544
- /**
1545
- * <p>HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.</p>
1546
- */
1547
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
1548
- name: "UnauthorizedException";
1549
- $fault: "client";
1550
- message?: string;
1551
- }
1552
-
1553
- export namespace UnauthorizedException {
1554
- /**
1555
- * @internal
1556
- */
1557
- export const filterSensitiveLog = (obj: UnauthorizedException): any => ({
1558
- ...obj,
1559
- });
1560
- }
1561
-
1562
- /**
1563
- * <p>The location of an object in Amazon S3.</p>
1564
- */
1565
- export interface S3Location {
1566
- /**
1567
- * <p>The Amazon Resource Name (ARN) of an S3 bucket.</p>
1568
- */
1569
- bucketArn: string | undefined;
1570
-
1571
- /**
1572
- * <p>The file key for an object in an S3 bucket.</p>
1573
- */
1574
- fileKey: string | undefined;
1575
-
1576
- /**
1577
- * <p>The version of an object in an S3 bucket.</p>
1578
- */
1579
- objectVersion?: string;
1580
- }
1581
-
1582
- export namespace S3Location {
1583
- /**
1584
- * @internal
1585
- */
1586
- export const filterSensitiveLog = (obj: S3Location): any => ({
1587
- ...obj,
1588
- });
1589
- }
1590
-
1591
- /**
1592
- * <p>Information about the location of a custom plugin.</p>
1593
- */
1594
- export interface CustomPluginLocation {
1595
- /**
1596
- * <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3.</p>
1597
- */
1598
- s3Location: S3Location | undefined;
1599
- }
1600
-
1601
- export namespace CustomPluginLocation {
1602
- /**
1603
- * @internal
1604
- */
1605
- export const filterSensitiveLog = (obj: CustomPluginLocation): any => ({
1606
- ...obj,
1607
- });
1608
- }
1609
-
1610
- export interface CreateCustomPluginRequest {
1611
- /**
1612
- * <p>The type of the plugin file.</p>
1613
- */
1614
- contentType: CustomPluginContentType | string | undefined;
1615
-
1616
- /**
1617
- * <p>A summary description of the custom plugin.</p>
1618
- */
1619
- description?: string;
1620
-
1621
- /**
1622
- * <p>Information about the location of a custom plugin.</p>
1623
- */
1624
- location: CustomPluginLocation | undefined;
1625
-
1626
- /**
1627
- * <p>The name of the custom plugin.</p>
1628
- */
1629
- name: string | undefined;
1630
- }
1631
-
1632
- export namespace CreateCustomPluginRequest {
1633
- /**
1634
- * @internal
1635
- */
1636
- export const filterSensitiveLog = (obj: CreateCustomPluginRequest): any => ({
1637
- ...obj,
1638
- });
1639
- }
1640
-
1641
- export interface CreateCustomPluginResponse {
1642
- /**
1643
- * <p>The Amazon Resource Name (ARN) that Amazon assigned to the custom plugin.</p>
1644
- */
1645
- customPluginArn?: string;
1646
-
1647
- /**
1648
- * <p>The state of the custom plugin.</p>
1649
- */
1650
- customPluginState?: CustomPluginState | string;
1651
-
1652
- /**
1653
- * <p>The name of the custom plugin.</p>
1654
- */
1655
- name?: string;
1656
-
1657
- /**
1658
- * <p>The revision of the custom plugin.</p>
1659
- */
1660
- revision?: number;
1661
- }
1662
-
1663
- export namespace CreateCustomPluginResponse {
1664
- /**
1665
- * @internal
1666
- */
1667
- export const filterSensitiveLog = (obj: CreateCustomPluginResponse): any => ({
1668
- ...obj,
1669
- });
1670
- }
1671
-
1672
- export interface CreateWorkerConfigurationRequest {
1673
- /**
1674
- * <p>A summary description of the worker configuration.</p>
1675
- */
1676
- description?: string;
1677
-
1678
- /**
1679
- * <p>The name of the worker configuration.</p>
1680
- */
1681
- name: string | undefined;
1682
-
1683
- /**
1684
- * <p>Base64 encoded contents of connect-distributed.properties file.</p>
1685
- */
1686
- propertiesFileContent: string | undefined;
1687
- }
1688
-
1689
- export namespace CreateWorkerConfigurationRequest {
1690
- /**
1691
- * @internal
1692
- */
1693
- export const filterSensitiveLog = (obj: CreateWorkerConfigurationRequest): any => ({
1694
- ...obj,
1695
- });
1696
- }
1697
-
1698
- export interface CreateWorkerConfigurationResponse {
1699
- /**
1700
- * <p>The time that the worker configuration was created.</p>
1701
- */
1702
- creationTime?: Date;
1703
-
1704
- /**
1705
- * <p>The latest revision of the worker configuration.</p>
1706
- */
1707
- latestRevision?: WorkerConfigurationRevisionSummary;
1708
-
1709
- /**
1710
- * <p>The name of the worker configuration.</p>
1711
- */
1712
- name?: string;
1713
-
1714
- /**
1715
- * <p>The Amazon Resource Name (ARN) that Amazon assigned to the worker configuration.</p>
1716
- */
1717
- workerConfigurationArn?: string;
1718
- }
1719
-
1720
- export namespace CreateWorkerConfigurationResponse {
1721
- /**
1722
- * @internal
1723
- */
1724
- export const filterSensitiveLog = (obj: CreateWorkerConfigurationResponse): any => ({
1725
- ...obj,
1726
- });
1727
- }
1728
-
1729
- export interface DeleteConnectorRequest {
1730
- /**
1731
- * <p>The Amazon Resource Name (ARN) of the connector that you want to delete.</p>
1732
- */
1733
- connectorArn: string | undefined;
1734
-
1735
- /**
1736
- * <p>The current version of the connector that you want to delete.</p>
1737
- */
1738
- currentVersion?: string;
1739
- }
1740
-
1741
- export namespace DeleteConnectorRequest {
1742
- /**
1743
- * @internal
1744
- */
1745
- export const filterSensitiveLog = (obj: DeleteConnectorRequest): any => ({
1746
- ...obj,
1747
- });
1748
- }
1749
-
1750
- export interface DeleteConnectorResponse {
1751
- /**
1752
- * <p>The Amazon Resource Name (ARN) of the connector that you requested to delete.</p>
1753
- */
1754
- connectorArn?: string;
1755
-
1756
- /**
1757
- * <p>The state of the connector that you requested to delete.</p>
1758
- */
1759
- connectorState?: ConnectorState | string;
1760
- }
1761
-
1762
- export namespace DeleteConnectorResponse {
1763
- /**
1764
- * @internal
1765
- */
1766
- export const filterSensitiveLog = (obj: DeleteConnectorResponse): any => ({
1767
- ...obj,
1768
- });
1769
- }
1770
-
1771
- export interface DescribeConnectorRequest {
1772
- /**
1773
- * <p>The Amazon Resource Name (ARN) of the connector that you want to describe.</p>
1774
- */
1775
- connectorArn: string | undefined;
1776
- }
1777
-
1778
- export namespace DescribeConnectorRequest {
1779
- /**
1780
- * @internal
1781
- */
1782
- export const filterSensitiveLog = (obj: DescribeConnectorRequest): any => ({
1783
- ...obj,
1784
- });
1785
- }
1786
-
1787
- export interface DescribeConnectorResponse {
1788
- /**
1789
- * <p>Information about the capacity of the connector, whether it is auto scaled or provisioned.</p>
1790
- */
1791
- capacity?: CapacityDescription;
1792
-
1793
- /**
1794
- * <p>The Amazon Resource Name (ARN) of the connector.</p>
1795
- */
1796
- connectorArn?: string;
1797
-
1798
- /**
1799
- * <p>A map of keys to values that represent the configuration for the connector.</p>
1800
- */
1801
- connectorConfiguration?: { [key: string]: string };
1802
-
1803
- /**
1804
- * <p>A summary description of the connector.</p>
1805
- */
1806
- connectorDescription?: string;
1807
-
1808
- /**
1809
- * <p>The name of the connector.</p>
1810
- */
1811
- connectorName?: string;
1812
-
1813
- /**
1814
- * <p>The state of the connector.</p>
1815
- */
1816
- connectorState?: ConnectorState | string;
1817
-
1818
- /**
1819
- * <p>The time the connector was created.</p>
1820
- */
1821
- creationTime?: Date;
1822
-
1823
- /**
1824
- * <p>The current version of the connector.</p>
1825
- */
1826
- currentVersion?: string;
1827
-
1828
- /**
1829
- * <p>The Apache Kafka cluster that the connector is connected to.</p>
1830
- */
1831
- kafkaCluster?: KafkaClusterDescription;
1832
-
1833
- /**
1834
- * <p>The type of client authentication used to connect to the Apache Kafka cluster. The value is NONE when no client authentication is used.</p>
1835
- */
1836
- kafkaClusterClientAuthentication?: KafkaClusterClientAuthenticationDescription;
1837
-
1838
- /**
1839
- * <p>Details of encryption in transit to the Apache Kafka cluster.</p>
1840
- */
1841
- kafkaClusterEncryptionInTransit?: KafkaClusterEncryptionInTransitDescription;
1842
-
1843
- /**
1844
- * <p>The version of Kafka Connect. It has to be compatible with both the Apache Kafka cluster's version and the plugins.</p>
1845
- */
1846
- kafkaConnectVersion?: string;
1847
-
1848
- /**
1849
- * <p>Details about delivering logs to Amazon CloudWatch Logs.</p>
1850
- */
1851
- logDelivery?: LogDeliveryDescription;
1852
-
1853
- /**
1854
- * <p>Specifies which plugins were used for this connector.</p>
1855
- */
1856
- plugins?: PluginDescription[];
1857
-
1858
- /**
1859
- * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to access Amazon Web Services resources.</p>
1860
- */
1861
- serviceExecutionRoleArn?: string;
1862
-
1863
- /**
1864
- * <p>Specifies which worker configuration was used for the connector.</p>
1865
- */
1866
- workerConfiguration?: WorkerConfigurationDescription;
1867
- }
1868
-
1869
- export namespace DescribeConnectorResponse {
1870
- /**
1871
- * @internal
1872
- */
1873
- export const filterSensitiveLog = (obj: DescribeConnectorResponse): any => ({
1874
- ...obj,
1875
- });
1876
- }
1877
-
1878
- export interface DescribeCustomPluginRequest {
1879
- /**
1880
- * <p>Returns information about a custom plugin.</p>
1881
- */
1882
- customPluginArn: string | undefined;
1883
- }
1884
-
1885
- export namespace DescribeCustomPluginRequest {
1886
- /**
1887
- * @internal
1888
- */
1889
- export const filterSensitiveLog = (obj: DescribeCustomPluginRequest): any => ({
1890
- ...obj,
1891
- });
1892
- }
1893
-
1894
- export interface DescribeCustomPluginResponse {
1895
- /**
1896
- * <p>The time that the custom plugin was created.</p>
1897
- */
1898
- creationTime?: Date;
1899
-
1900
- /**
1901
- * <p>The Amazon Resource Name (ARN) of the custom plugin.</p>
1902
- */
1903
- customPluginArn?: string;
1904
-
1905
- /**
1906
- * <p>The state of the custom plugin.</p>
1907
- */
1908
- customPluginState?: CustomPluginState | string;
1909
-
1910
- /**
1911
- * <p>The description of the custom plugin.</p>
1912
- */
1913
- description?: string;
1914
-
1915
- /**
1916
- * <p>The latest successfully created revision of the custom plugin. If there are no successfully created revisions, this field will be absent.</p>
1917
- */
1918
- latestRevision?: CustomPluginRevisionSummary;
1919
-
1920
- /**
1921
- * <p>The name of the custom plugin.</p>
1922
- */
1923
- name?: string;
1924
- }
1925
-
1926
- export namespace DescribeCustomPluginResponse {
1927
- /**
1928
- * @internal
1929
- */
1930
- export const filterSensitiveLog = (obj: DescribeCustomPluginResponse): any => ({
1931
- ...obj,
1932
- });
1933
- }
1934
-
1935
- export interface DescribeWorkerConfigurationRequest {
1936
- /**
1937
- * <p>The Amazon Resource Name (ARN) of the worker configuration that you want to get information about.</p>
1938
- */
1939
- workerConfigurationArn: string | undefined;
1940
- }
1941
-
1942
- export namespace DescribeWorkerConfigurationRequest {
1943
- /**
1944
- * @internal
1945
- */
1946
- export const filterSensitiveLog = (obj: DescribeWorkerConfigurationRequest): any => ({
1947
- ...obj,
1948
- });
1949
- }
1950
-
1951
- /**
1952
- * <p>The description of the worker configuration revision.</p>
1953
- */
1954
- export interface WorkerConfigurationRevisionDescription {
1955
- /**
1956
- * <p>The time that the worker configuration was created.</p>
1957
- */
1958
- creationTime?: Date;
1959
-
1960
- /**
1961
- * <p>The description of the worker configuration revision.</p>
1962
- */
1963
- description?: string;
1964
-
1965
- /**
1966
- * <p>Base64 encoded contents of the connect-distributed.properties file.</p>
1967
- */
1968
- propertiesFileContent?: string;
1969
-
1970
- /**
1971
- * <p>The description of a revision of the worker configuration.</p>
1972
- */
1973
- revision?: number;
1974
- }
1975
-
1976
- export namespace WorkerConfigurationRevisionDescription {
1977
- /**
1978
- * @internal
1979
- */
1980
- export const filterSensitiveLog = (obj: WorkerConfigurationRevisionDescription): any => ({
1981
- ...obj,
1982
- });
1983
- }
1984
-
1985
- export interface DescribeWorkerConfigurationResponse {
1986
- /**
1987
- * <p>The time that the worker configuration was created.</p>
1988
- */
1989
- creationTime?: Date;
1990
-
1991
- /**
1992
- * <p>The description of the worker configuration.</p>
1993
- */
1994
- description?: string;
1995
-
1996
- /**
1997
- * <p>The latest revision of the custom configuration.</p>
1998
- */
1999
- latestRevision?: WorkerConfigurationRevisionDescription;
2000
-
2001
- /**
2002
- * <p>The name of the worker configuration.</p>
2003
- */
2004
- name?: string;
2005
-
2006
- /**
2007
- * <p>The Amazon Resource Name (ARN) of the custom configuration.</p>
2008
- */
2009
- workerConfigurationArn?: string;
2010
- }
2011
-
2012
- export namespace DescribeWorkerConfigurationResponse {
2013
- /**
2014
- * @internal
2015
- */
2016
- export const filterSensitiveLog = (obj: DescribeWorkerConfigurationResponse): any => ({
2017
- ...obj,
2018
- });
2019
- }
2020
-
2021
- export interface ListConnectorsRequest {
2022
- /**
2023
- * <p>The name prefix that you want to use to search for and list connectors.</p>
2024
- */
2025
- connectorNamePrefix?: string;
2026
-
2027
- /**
2028
- * <p>The maximum number of connectors to list in one response.</p>
2029
- */
2030
- maxResults?: number;
2031
-
2032
- /**
2033
- * <p>If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.</p>
2034
- */
2035
- nextToken?: string;
2036
- }
2037
-
2038
- export namespace ListConnectorsRequest {
2039
- /**
2040
- * @internal
2041
- */
2042
- export const filterSensitiveLog = (obj: ListConnectorsRequest): any => ({
2043
- ...obj,
2044
- });
2045
- }
2046
-
2047
- export interface ListConnectorsResponse {
2048
- /**
2049
- * <p>An array of connector descriptions.</p>
2050
- */
2051
- connectors?: ConnectorSummary[];
2052
-
2053
- /**
2054
- * <p>If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.</p>
2055
- */
2056
- nextToken?: string;
2057
- }
2058
-
2059
- export namespace ListConnectorsResponse {
2060
- /**
2061
- * @internal
2062
- */
2063
- export const filterSensitiveLog = (obj: ListConnectorsResponse): any => ({
2064
- ...obj,
2065
- });
2066
- }
2067
-
2068
- export interface ListCustomPluginsRequest {
2069
- /**
2070
- * <p>The maximum number of custom plugins to list in one response.</p>
2071
- */
2072
- maxResults?: number;
2073
-
2074
- /**
2075
- * <p>If the response of a ListCustomPlugins operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.</p>
2076
- */
2077
- nextToken?: string;
2078
- }
2079
-
2080
- export namespace ListCustomPluginsRequest {
2081
- /**
2082
- * @internal
2083
- */
2084
- export const filterSensitiveLog = (obj: ListCustomPluginsRequest): any => ({
2085
- ...obj,
2086
- });
2087
- }
2088
-
2089
- export interface ListCustomPluginsResponse {
2090
- /**
2091
- * <p>An array of custom plugin descriptions.</p>
2092
- */
2093
- customPlugins?: CustomPluginSummary[];
2094
-
2095
- /**
2096
- * <p>If the response of a ListCustomPlugins operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.</p>
2097
- */
2098
- nextToken?: string;
2099
- }
2100
-
2101
- export namespace ListCustomPluginsResponse {
2102
- /**
2103
- * @internal
2104
- */
2105
- export const filterSensitiveLog = (obj: ListCustomPluginsResponse): any => ({
2106
- ...obj,
2107
- });
2108
- }
2109
-
2110
- export interface ListWorkerConfigurationsRequest {
2111
- /**
2112
- * <p>The maximum number of worker configurations to list in one response.</p>
2113
- */
2114
- maxResults?: number;
2115
-
2116
- /**
2117
- * <p>If the response of a ListWorkerConfigurations operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.</p>
2118
- */
2119
- nextToken?: string;
2120
- }
2121
-
2122
- export namespace ListWorkerConfigurationsRequest {
2123
- /**
2124
- * @internal
2125
- */
2126
- export const filterSensitiveLog = (obj: ListWorkerConfigurationsRequest): any => ({
2127
- ...obj,
2128
- });
2129
- }
2130
-
2131
- export interface ListWorkerConfigurationsResponse {
2132
- /**
2133
- * <p>If the response of a ListWorkerConfigurations operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.</p>
2134
- */
2135
- nextToken?: string;
2136
-
2137
- /**
2138
- * <p>An array of worker configuration descriptions.</p>
2139
- */
2140
- workerConfigurations?: WorkerConfigurationSummary[];
2141
- }
2142
-
2143
- export namespace ListWorkerConfigurationsResponse {
2144
- /**
2145
- * @internal
2146
- */
2147
- export const filterSensitiveLog = (obj: ListWorkerConfigurationsResponse): any => ({
2148
- ...obj,
2149
- });
2150
- }
2151
-
2152
- export interface UpdateConnectorRequest {
2153
- /**
2154
- * <p>The target capacity.</p>
2155
- */
2156
- capacity: CapacityUpdate | undefined;
2157
-
2158
- /**
2159
- * <p>The Amazon Resource Name (ARN) of the connector that you want to update.</p>
2160
- */
2161
- connectorArn: string | undefined;
2162
-
2163
- /**
2164
- * <p>The current version of the connector that you want to update.</p>
2165
- */
2166
- currentVersion: string | undefined;
2167
- }
2168
-
2169
- export namespace UpdateConnectorRequest {
2170
- /**
2171
- * @internal
2172
- */
2173
- export const filterSensitiveLog = (obj: UpdateConnectorRequest): any => ({
2174
- ...obj,
2175
- });
2176
- }
2177
-
2178
- export interface UpdateConnectorResponse {
2179
- /**
2180
- * <p>The Amazon Resource Name (ARN) of the connector.</p>
2181
- */
2182
- connectorArn?: string;
2183
-
2184
- /**
2185
- * <p>The state of the connector.</p>
2186
- */
2187
- connectorState?: ConnectorState | string;
2188
- }
2189
-
2190
- export namespace UpdateConnectorResponse {
2191
- /**
2192
- * @internal
2193
- */
2194
- export const filterSensitiveLog = (obj: UpdateConnectorResponse): any => ({
2195
- ...obj,
2196
- });
2197
- }