cribl-control-plane 0.0.13__py3-none-any.whl

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.

Potentially problematic release.


This version of cribl-control-plane might be problematic. Click here for more details.

Files changed (197) hide show
  1. cribl_control_plane/__init__.py +17 -0
  2. cribl_control_plane/_hooks/__init__.py +5 -0
  3. cribl_control_plane/_hooks/clientcredentials.py +211 -0
  4. cribl_control_plane/_hooks/registration.py +13 -0
  5. cribl_control_plane/_hooks/sdkhooks.py +81 -0
  6. cribl_control_plane/_hooks/types.py +112 -0
  7. cribl_control_plane/_version.py +15 -0
  8. cribl_control_plane/auth_sdk.py +184 -0
  9. cribl_control_plane/basesdk.py +358 -0
  10. cribl_control_plane/errors/__init__.py +60 -0
  11. cribl_control_plane/errors/apierror.py +38 -0
  12. cribl_control_plane/errors/criblcontrolplaneerror.py +26 -0
  13. cribl_control_plane/errors/error.py +24 -0
  14. cribl_control_plane/errors/healthstatus_error.py +38 -0
  15. cribl_control_plane/errors/no_response_error.py +13 -0
  16. cribl_control_plane/errors/responsevalidationerror.py +25 -0
  17. cribl_control_plane/health.py +166 -0
  18. cribl_control_plane/httpclient.py +126 -0
  19. cribl_control_plane/models/__init__.py +7305 -0
  20. cribl_control_plane/models/addhectokenrequest.py +34 -0
  21. cribl_control_plane/models/authtoken.py +13 -0
  22. cribl_control_plane/models/createinputhectokenbyidop.py +45 -0
  23. cribl_control_plane/models/createinputop.py +24 -0
  24. cribl_control_plane/models/createoutputop.py +24 -0
  25. cribl_control_plane/models/createoutputtestbyidop.py +46 -0
  26. cribl_control_plane/models/criblevent.py +14 -0
  27. cribl_control_plane/models/deleteinputbyidop.py +37 -0
  28. cribl_control_plane/models/deleteoutputbyidop.py +37 -0
  29. cribl_control_plane/models/deleteoutputpqbyidop.py +36 -0
  30. cribl_control_plane/models/getinputbyidop.py +37 -0
  31. cribl_control_plane/models/getoutputbyidop.py +37 -0
  32. cribl_control_plane/models/getoutputpqbyidop.py +36 -0
  33. cribl_control_plane/models/getoutputsamplesbyidop.py +37 -0
  34. cribl_control_plane/models/healthstatus.py +36 -0
  35. cribl_control_plane/models/input.py +199 -0
  36. cribl_control_plane/models/inputappscope.py +448 -0
  37. cribl_control_plane/models/inputazureblob.py +308 -0
  38. cribl_control_plane/models/inputcollection.py +208 -0
  39. cribl_control_plane/models/inputconfluentcloud.py +585 -0
  40. cribl_control_plane/models/inputcribl.py +165 -0
  41. cribl_control_plane/models/inputcriblhttp.py +341 -0
  42. cribl_control_plane/models/inputcribllakehttp.py +342 -0
  43. cribl_control_plane/models/inputcriblmetrics.py +175 -0
  44. cribl_control_plane/models/inputcribltcp.py +299 -0
  45. cribl_control_plane/models/inputcrowdstrike.py +410 -0
  46. cribl_control_plane/models/inputdatadogagent.py +364 -0
  47. cribl_control_plane/models/inputdatagen.py +180 -0
  48. cribl_control_plane/models/inputedgeprometheus.py +551 -0
  49. cribl_control_plane/models/inputelastic.py +494 -0
  50. cribl_control_plane/models/inputeventhub.py +360 -0
  51. cribl_control_plane/models/inputexec.py +213 -0
  52. cribl_control_plane/models/inputfile.py +259 -0
  53. cribl_control_plane/models/inputfirehose.py +341 -0
  54. cribl_control_plane/models/inputgooglepubsub.py +247 -0
  55. cribl_control_plane/models/inputgrafana_union.py +1247 -0
  56. cribl_control_plane/models/inputhttp.py +403 -0
  57. cribl_control_plane/models/inputhttpraw.py +407 -0
  58. cribl_control_plane/models/inputjournalfiles.py +208 -0
  59. cribl_control_plane/models/inputkafka.py +581 -0
  60. cribl_control_plane/models/inputkinesis.py +363 -0
  61. cribl_control_plane/models/inputkubeevents.py +182 -0
  62. cribl_control_plane/models/inputkubelogs.py +256 -0
  63. cribl_control_plane/models/inputkubemetrics.py +233 -0
  64. cribl_control_plane/models/inputloki.py +468 -0
  65. cribl_control_plane/models/inputmetrics.py +290 -0
  66. cribl_control_plane/models/inputmodeldriventelemetry.py +274 -0
  67. cribl_control_plane/models/inputmsk.py +654 -0
  68. cribl_control_plane/models/inputnetflow.py +224 -0
  69. cribl_control_plane/models/inputoffice365mgmt.py +384 -0
  70. cribl_control_plane/models/inputoffice365msgtrace.py +449 -0
  71. cribl_control_plane/models/inputoffice365service.py +377 -0
  72. cribl_control_plane/models/inputopentelemetry.py +516 -0
  73. cribl_control_plane/models/inputprometheus.py +464 -0
  74. cribl_control_plane/models/inputprometheusrw.py +470 -0
  75. cribl_control_plane/models/inputrawudp.py +207 -0
  76. cribl_control_plane/models/inputs3.py +416 -0
  77. cribl_control_plane/models/inputs3inventory.py +440 -0
  78. cribl_control_plane/models/inputsecuritylake.py +425 -0
  79. cribl_control_plane/models/inputsnmp.py +274 -0
  80. cribl_control_plane/models/inputsplunk.py +387 -0
  81. cribl_control_plane/models/inputsplunkhec.py +478 -0
  82. cribl_control_plane/models/inputsplunksearch.py +537 -0
  83. cribl_control_plane/models/inputsqs.py +320 -0
  84. cribl_control_plane/models/inputsyslog_union.py +759 -0
  85. cribl_control_plane/models/inputsystemmetrics.py +533 -0
  86. cribl_control_plane/models/inputsystemstate.py +417 -0
  87. cribl_control_plane/models/inputtcp.py +359 -0
  88. cribl_control_plane/models/inputtcpjson.py +334 -0
  89. cribl_control_plane/models/inputwef.py +498 -0
  90. cribl_control_plane/models/inputwindowsmetrics.py +457 -0
  91. cribl_control_plane/models/inputwineventlogs.py +222 -0
  92. cribl_control_plane/models/inputwiz.py +334 -0
  93. cribl_control_plane/models/inputzscalerhec.py +439 -0
  94. cribl_control_plane/models/listinputop.py +24 -0
  95. cribl_control_plane/models/listoutputop.py +24 -0
  96. cribl_control_plane/models/logininfo.py +16 -0
  97. cribl_control_plane/models/output.py +229 -0
  98. cribl_control_plane/models/outputazureblob.py +471 -0
  99. cribl_control_plane/models/outputazuredataexplorer.py +660 -0
  100. cribl_control_plane/models/outputazureeventhub.py +321 -0
  101. cribl_control_plane/models/outputazurelogs.py +386 -0
  102. cribl_control_plane/models/outputclickhouse.py +650 -0
  103. cribl_control_plane/models/outputcloudwatch.py +273 -0
  104. cribl_control_plane/models/outputconfluentcloud.py +591 -0
  105. cribl_control_plane/models/outputcriblhttp.py +494 -0
  106. cribl_control_plane/models/outputcribllake.py +396 -0
  107. cribl_control_plane/models/outputcribltcp.py +387 -0
  108. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +410 -0
  109. cribl_control_plane/models/outputdatadog.py +472 -0
  110. cribl_control_plane/models/outputdataset.py +437 -0
  111. cribl_control_plane/models/outputdefault.py +55 -0
  112. cribl_control_plane/models/outputdevnull.py +50 -0
  113. cribl_control_plane/models/outputdiskspool.py +89 -0
  114. cribl_control_plane/models/outputdls3.py +560 -0
  115. cribl_control_plane/models/outputdynatracehttp.py +454 -0
  116. cribl_control_plane/models/outputdynatraceotlp.py +486 -0
  117. cribl_control_plane/models/outputelastic.py +494 -0
  118. cribl_control_plane/models/outputelasticcloud.py +407 -0
  119. cribl_control_plane/models/outputexabeam.py +297 -0
  120. cribl_control_plane/models/outputfilesystem.py +357 -0
  121. cribl_control_plane/models/outputgooglechronicle.py +486 -0
  122. cribl_control_plane/models/outputgooglecloudlogging.py +557 -0
  123. cribl_control_plane/models/outputgooglecloudstorage.py +499 -0
  124. cribl_control_plane/models/outputgooglepubsub.py +274 -0
  125. cribl_control_plane/models/outputgrafanacloud_union.py +1024 -0
  126. cribl_control_plane/models/outputgraphite.py +225 -0
  127. cribl_control_plane/models/outputhoneycomb.py +369 -0
  128. cribl_control_plane/models/outputhumiohec.py +389 -0
  129. cribl_control_plane/models/outputinfluxdb.py +523 -0
  130. cribl_control_plane/models/outputkafka.py +581 -0
  131. cribl_control_plane/models/outputkinesis.py +312 -0
  132. cribl_control_plane/models/outputloki.py +425 -0
  133. cribl_control_plane/models/outputminio.py +512 -0
  134. cribl_control_plane/models/outputmsk.py +654 -0
  135. cribl_control_plane/models/outputnetflow.py +80 -0
  136. cribl_control_plane/models/outputnewrelic.py +424 -0
  137. cribl_control_plane/models/outputnewrelicevents.py +401 -0
  138. cribl_control_plane/models/outputopentelemetry.py +669 -0
  139. cribl_control_plane/models/outputprometheus.py +485 -0
  140. cribl_control_plane/models/outputring.py +121 -0
  141. cribl_control_plane/models/outputrouter.py +83 -0
  142. cribl_control_plane/models/outputs3.py +556 -0
  143. cribl_control_plane/models/outputsamplesresponse.py +14 -0
  144. cribl_control_plane/models/outputsecuritylake.py +505 -0
  145. cribl_control_plane/models/outputsentinel.py +488 -0
  146. cribl_control_plane/models/outputsentineloneaisiem.py +505 -0
  147. cribl_control_plane/models/outputservicenow.py +543 -0
  148. cribl_control_plane/models/outputsignalfx.py +369 -0
  149. cribl_control_plane/models/outputsnmp.py +80 -0
  150. cribl_control_plane/models/outputsns.py +274 -0
  151. cribl_control_plane/models/outputsplunk.py +383 -0
  152. cribl_control_plane/models/outputsplunkhec.py +434 -0
  153. cribl_control_plane/models/outputsplunklb.py +558 -0
  154. cribl_control_plane/models/outputsqs.py +328 -0
  155. cribl_control_plane/models/outputstatsd.py +224 -0
  156. cribl_control_plane/models/outputstatsdext.py +225 -0
  157. cribl_control_plane/models/outputsumologic.py +378 -0
  158. cribl_control_plane/models/outputsyslog.py +415 -0
  159. cribl_control_plane/models/outputtcpjson.py +413 -0
  160. cribl_control_plane/models/outputtestrequest.py +15 -0
  161. cribl_control_plane/models/outputtestresponse.py +29 -0
  162. cribl_control_plane/models/outputwavefront.py +369 -0
  163. cribl_control_plane/models/outputwebhook.py +689 -0
  164. cribl_control_plane/models/outputxsiam.py +415 -0
  165. cribl_control_plane/models/schemeclientoauth.py +24 -0
  166. cribl_control_plane/models/security.py +36 -0
  167. cribl_control_plane/models/updatehectokenrequest.py +31 -0
  168. cribl_control_plane/models/updateinputbyidop.py +44 -0
  169. cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +52 -0
  170. cribl_control_plane/models/updateoutputbyidop.py +44 -0
  171. cribl_control_plane/outputs.py +1615 -0
  172. cribl_control_plane/py.typed +1 -0
  173. cribl_control_plane/sdk.py +164 -0
  174. cribl_control_plane/sdkconfiguration.py +36 -0
  175. cribl_control_plane/sources.py +1355 -0
  176. cribl_control_plane/types/__init__.py +21 -0
  177. cribl_control_plane/types/basemodel.py +39 -0
  178. cribl_control_plane/utils/__init__.py +187 -0
  179. cribl_control_plane/utils/annotations.py +55 -0
  180. cribl_control_plane/utils/datetimes.py +23 -0
  181. cribl_control_plane/utils/enums.py +74 -0
  182. cribl_control_plane/utils/eventstreaming.py +238 -0
  183. cribl_control_plane/utils/forms.py +223 -0
  184. cribl_control_plane/utils/headers.py +136 -0
  185. cribl_control_plane/utils/logger.py +27 -0
  186. cribl_control_plane/utils/metadata.py +118 -0
  187. cribl_control_plane/utils/queryparams.py +205 -0
  188. cribl_control_plane/utils/requestbodies.py +66 -0
  189. cribl_control_plane/utils/retries.py +217 -0
  190. cribl_control_plane/utils/security.py +207 -0
  191. cribl_control_plane/utils/serializers.py +249 -0
  192. cribl_control_plane/utils/unmarshal_json_response.py +24 -0
  193. cribl_control_plane/utils/url.py +155 -0
  194. cribl_control_plane/utils/values.py +137 -0
  195. cribl_control_plane-0.0.13.dist-info/METADATA +489 -0
  196. cribl_control_plane-0.0.13.dist-info/RECORD +197 -0
  197. cribl_control_plane-0.0.13.dist-info/WHEEL +4 -0
@@ -0,0 +1,654 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from cribl_control_plane import utils
5
+ from cribl_control_plane.types import BaseModel
6
+ from cribl_control_plane.utils import validate_open_enum
7
+ from enum import Enum
8
+ import pydantic
9
+ from pydantic.functional_validators import PlainValidator
10
+ from typing import List, Optional
11
+ from typing_extensions import Annotated, NotRequired, TypedDict
12
+
13
+
14
+ class InputMskType(str, Enum, metaclass=utils.OpenEnumMeta):
15
+ MSK = "msk"
16
+
17
+
18
+ class InputMskConnectionTypedDict(TypedDict):
19
+ output: str
20
+ pipeline: NotRequired[str]
21
+
22
+
23
+ class InputMskConnection(BaseModel):
24
+ output: str
25
+
26
+ pipeline: Optional[str] = None
27
+
28
+
29
+ class InputMskMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
+ r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
+
32
+ SMART = "smart"
33
+ ALWAYS = "always"
34
+
35
+
36
+ class InputMskCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
+ r"""Codec to use to compress the persisted data"""
38
+
39
+ NONE = "none"
40
+ GZIP = "gzip"
41
+
42
+
43
+ class InputMskPqTypedDict(TypedDict):
44
+ mode: NotRequired[InputMskMode]
45
+ r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
46
+ max_buffer_size: NotRequired[float]
47
+ r"""The maximum number of events to hold in memory before writing the events to disk"""
48
+ commit_frequency: NotRequired[float]
49
+ r"""The number of events to send downstream before committing that Stream has read them"""
50
+ max_file_size: NotRequired[str]
51
+ r"""The maximum size to store in each queue file before closing and optionally compressing. Enter a numeral with units of KB, MB, etc."""
52
+ max_size: NotRequired[str]
53
+ r"""The maximum disk space that the queue can consume (as an average per Worker Process) before queueing stops. Enter a numeral with units of KB, MB, etc."""
54
+ path: NotRequired[str]
55
+ r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
56
+ compress: NotRequired[InputMskCompression]
57
+ r"""Codec to use to compress the persisted data"""
58
+
59
+
60
+ class InputMskPq(BaseModel):
61
+ mode: Annotated[
62
+ Optional[InputMskMode], PlainValidator(validate_open_enum(False))
63
+ ] = InputMskMode.ALWAYS
64
+ r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
65
+
66
+ max_buffer_size: Annotated[
67
+ Optional[float], pydantic.Field(alias="maxBufferSize")
68
+ ] = 1000
69
+ r"""The maximum number of events to hold in memory before writing the events to disk"""
70
+
71
+ commit_frequency: Annotated[
72
+ Optional[float], pydantic.Field(alias="commitFrequency")
73
+ ] = 42
74
+ r"""The number of events to send downstream before committing that Stream has read them"""
75
+
76
+ max_file_size: Annotated[Optional[str], pydantic.Field(alias="maxFileSize")] = (
77
+ "1 MB"
78
+ )
79
+ r"""The maximum size to store in each queue file before closing and optionally compressing. Enter a numeral with units of KB, MB, etc."""
80
+
81
+ max_size: Annotated[Optional[str], pydantic.Field(alias="maxSize")] = "5GB"
82
+ r"""The maximum disk space that the queue can consume (as an average per Worker Process) before queueing stops. Enter a numeral with units of KB, MB, etc."""
83
+
84
+ path: Optional[str] = "$CRIBL_HOME/state/queues"
85
+ r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
86
+
87
+ compress: Annotated[
88
+ Optional[InputMskCompression], PlainValidator(validate_open_enum(False))
89
+ ] = InputMskCompression.NONE
90
+ r"""Codec to use to compress the persisted data"""
91
+
92
+
93
+ class InputMskMetadatumTypedDict(TypedDict):
94
+ name: str
95
+ value: str
96
+ r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
97
+
98
+
99
+ class InputMskMetadatum(BaseModel):
100
+ name: str
101
+
102
+ value: str
103
+ r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
104
+
105
+
106
+ class InputMskAuthTypedDict(TypedDict):
107
+ r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
108
+
109
+ disabled: NotRequired[bool]
110
+ credentials_secret: NotRequired[str]
111
+ r"""Select or create a secret that references your credentials"""
112
+
113
+
114
+ class InputMskAuth(BaseModel):
115
+ r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
116
+
117
+ disabled: Optional[bool] = True
118
+
119
+ credentials_secret: Annotated[
120
+ Optional[str], pydantic.Field(alias="credentialsSecret")
121
+ ] = None
122
+ r"""Select or create a secret that references your credentials"""
123
+
124
+
125
+ class InputMskKafkaSchemaRegistryMinimumTLSVersion(
126
+ str, Enum, metaclass=utils.OpenEnumMeta
127
+ ):
128
+ TL_SV1 = "TLSv1"
129
+ TL_SV1_1 = "TLSv1.1"
130
+ TL_SV1_2 = "TLSv1.2"
131
+ TL_SV1_3 = "TLSv1.3"
132
+
133
+
134
+ class InputMskKafkaSchemaRegistryMaximumTLSVersion(
135
+ str, Enum, metaclass=utils.OpenEnumMeta
136
+ ):
137
+ TL_SV1 = "TLSv1"
138
+ TL_SV1_1 = "TLSv1.1"
139
+ TL_SV1_2 = "TLSv1.2"
140
+ TL_SV1_3 = "TLSv1.3"
141
+
142
+
143
+ class InputMskKafkaSchemaRegistryTLSSettingsClientSideTypedDict(TypedDict):
144
+ disabled: NotRequired[bool]
145
+ reject_unauthorized: NotRequired[bool]
146
+ r"""Reject certificates that are not authorized by a CA in the CA certificate path, or by another
147
+ trusted CA (such as the system's). Defaults to Enabled. Overrides the toggle from Advanced Settings, when also present.
148
+ """
149
+ servername: NotRequired[str]
150
+ r"""Server name for the SNI (Server Name Indication) TLS extension. It must be a host name, and not an IP address."""
151
+ certificate_name: NotRequired[str]
152
+ r"""The name of the predefined certificate"""
153
+ ca_path: NotRequired[str]
154
+ r"""Path on client in which to find CA certificates to verify the server's cert. PEM format. Can reference $ENV_VARS."""
155
+ priv_key_path: NotRequired[str]
156
+ r"""Path on client in which to find the private key to use. PEM format. Can reference $ENV_VARS."""
157
+ cert_path: NotRequired[str]
158
+ r"""Path on client in which to find certificates to use. PEM format. Can reference $ENV_VARS."""
159
+ passphrase: NotRequired[str]
160
+ r"""Passphrase to use to decrypt private key"""
161
+ min_version: NotRequired[InputMskKafkaSchemaRegistryMinimumTLSVersion]
162
+ max_version: NotRequired[InputMskKafkaSchemaRegistryMaximumTLSVersion]
163
+
164
+
165
+ class InputMskKafkaSchemaRegistryTLSSettingsClientSide(BaseModel):
166
+ disabled: Optional[bool] = True
167
+
168
+ reject_unauthorized: Annotated[
169
+ Optional[bool], pydantic.Field(alias="rejectUnauthorized")
170
+ ] = True
171
+ r"""Reject certificates that are not authorized by a CA in the CA certificate path, or by another
172
+ trusted CA (such as the system's). Defaults to Enabled. Overrides the toggle from Advanced Settings, when also present.
173
+ """
174
+
175
+ servername: Optional[str] = None
176
+ r"""Server name for the SNI (Server Name Indication) TLS extension. It must be a host name, and not an IP address."""
177
+
178
+ certificate_name: Annotated[
179
+ Optional[str], pydantic.Field(alias="certificateName")
180
+ ] = None
181
+ r"""The name of the predefined certificate"""
182
+
183
+ ca_path: Annotated[Optional[str], pydantic.Field(alias="caPath")] = None
184
+ r"""Path on client in which to find CA certificates to verify the server's cert. PEM format. Can reference $ENV_VARS."""
185
+
186
+ priv_key_path: Annotated[Optional[str], pydantic.Field(alias="privKeyPath")] = None
187
+ r"""Path on client in which to find the private key to use. PEM format. Can reference $ENV_VARS."""
188
+
189
+ cert_path: Annotated[Optional[str], pydantic.Field(alias="certPath")] = None
190
+ r"""Path on client in which to find certificates to use. PEM format. Can reference $ENV_VARS."""
191
+
192
+ passphrase: Optional[str] = None
193
+ r"""Passphrase to use to decrypt private key"""
194
+
195
+ min_version: Annotated[
196
+ Annotated[
197
+ Optional[InputMskKafkaSchemaRegistryMinimumTLSVersion],
198
+ PlainValidator(validate_open_enum(False)),
199
+ ],
200
+ pydantic.Field(alias="minVersion"),
201
+ ] = None
202
+
203
+ max_version: Annotated[
204
+ Annotated[
205
+ Optional[InputMskKafkaSchemaRegistryMaximumTLSVersion],
206
+ PlainValidator(validate_open_enum(False)),
207
+ ],
208
+ pydantic.Field(alias="maxVersion"),
209
+ ] = None
210
+
211
+
212
+ class InputMskKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
213
+ disabled: NotRequired[bool]
214
+ schema_registry_url: NotRequired[str]
215
+ r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
216
+ connection_timeout: NotRequired[float]
217
+ r"""Maximum time to wait for a Schema Registry connection to complete successfully"""
218
+ request_timeout: NotRequired[float]
219
+ r"""Maximum time to wait for the Schema Registry to respond to a request"""
220
+ max_retries: NotRequired[float]
221
+ r"""Maximum number of times to try fetching schemas from the Schema Registry"""
222
+ auth: NotRequired[InputMskAuthTypedDict]
223
+ r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
224
+ tls: NotRequired[InputMskKafkaSchemaRegistryTLSSettingsClientSideTypedDict]
225
+
226
+
227
+ class InputMskKafkaSchemaRegistryAuthentication(BaseModel):
228
+ disabled: Optional[bool] = True
229
+
230
+ schema_registry_url: Annotated[
231
+ Optional[str], pydantic.Field(alias="schemaRegistryURL")
232
+ ] = "http://localhost:8081"
233
+ r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
234
+
235
+ connection_timeout: Annotated[
236
+ Optional[float], pydantic.Field(alias="connectionTimeout")
237
+ ] = 30000
238
+ r"""Maximum time to wait for a Schema Registry connection to complete successfully"""
239
+
240
+ request_timeout: Annotated[
241
+ Optional[float], pydantic.Field(alias="requestTimeout")
242
+ ] = 30000
243
+ r"""Maximum time to wait for the Schema Registry to respond to a request"""
244
+
245
+ max_retries: Annotated[Optional[float], pydantic.Field(alias="maxRetries")] = 1
246
+ r"""Maximum number of times to try fetching schemas from the Schema Registry"""
247
+
248
+ auth: Optional[InputMskAuth] = None
249
+ r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
250
+
251
+ tls: Optional[InputMskKafkaSchemaRegistryTLSSettingsClientSide] = None
252
+
253
+
254
+ class InputMskAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
255
+ r"""AWS authentication method. Choose Auto to use IAM roles."""
256
+
257
+ AUTO = "auto"
258
+ MANUAL = "manual"
259
+ SECRET = "secret"
260
+
261
+
262
+ class InputMskSignatureVersion(str, Enum, metaclass=utils.OpenEnumMeta):
263
+ r"""Signature version to use for signing MSK cluster requests"""
264
+
265
+ V2 = "v2"
266
+ V4 = "v4"
267
+
268
+
269
+ class InputMskMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
270
+ TL_SV1 = "TLSv1"
271
+ TL_SV1_1 = "TLSv1.1"
272
+ TL_SV1_2 = "TLSv1.2"
273
+ TL_SV1_3 = "TLSv1.3"
274
+
275
+
276
+ class InputMskMaximumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
277
+ TL_SV1 = "TLSv1"
278
+ TL_SV1_1 = "TLSv1.1"
279
+ TL_SV1_2 = "TLSv1.2"
280
+ TL_SV1_3 = "TLSv1.3"
281
+
282
+
283
+ class InputMskTLSSettingsClientSideTypedDict(TypedDict):
284
+ disabled: NotRequired[bool]
285
+ reject_unauthorized: NotRequired[bool]
286
+ r"""Reject certificates that are not authorized by a CA in the CA certificate path, or by another
287
+ trusted CA (such as the system's). Defaults to Enabled. Overrides the toggle from Advanced Settings, when also present.
288
+ """
289
+ servername: NotRequired[str]
290
+ r"""Server name for the SNI (Server Name Indication) TLS extension. It must be a host name, and not an IP address."""
291
+ certificate_name: NotRequired[str]
292
+ r"""The name of the predefined certificate"""
293
+ ca_path: NotRequired[str]
294
+ r"""Path on client in which to find CA certificates to verify the server's cert. PEM format. Can reference $ENV_VARS."""
295
+ priv_key_path: NotRequired[str]
296
+ r"""Path on client in which to find the private key to use. PEM format. Can reference $ENV_VARS."""
297
+ cert_path: NotRequired[str]
298
+ r"""Path on client in which to find certificates to use. PEM format. Can reference $ENV_VARS."""
299
+ passphrase: NotRequired[str]
300
+ r"""Passphrase to use to decrypt private key"""
301
+ min_version: NotRequired[InputMskMinimumTLSVersion]
302
+ max_version: NotRequired[InputMskMaximumTLSVersion]
303
+
304
+
305
+ class InputMskTLSSettingsClientSide(BaseModel):
306
+ disabled: Optional[bool] = False
307
+
308
+ reject_unauthorized: Annotated[
309
+ Optional[bool], pydantic.Field(alias="rejectUnauthorized")
310
+ ] = True
311
+ r"""Reject certificates that are not authorized by a CA in the CA certificate path, or by another
312
+ trusted CA (such as the system's). Defaults to Enabled. Overrides the toggle from Advanced Settings, when also present.
313
+ """
314
+
315
+ servername: Optional[str] = None
316
+ r"""Server name for the SNI (Server Name Indication) TLS extension. It must be a host name, and not an IP address."""
317
+
318
+ certificate_name: Annotated[
319
+ Optional[str], pydantic.Field(alias="certificateName")
320
+ ] = None
321
+ r"""The name of the predefined certificate"""
322
+
323
+ ca_path: Annotated[Optional[str], pydantic.Field(alias="caPath")] = None
324
+ r"""Path on client in which to find CA certificates to verify the server's cert. PEM format. Can reference $ENV_VARS."""
325
+
326
+ priv_key_path: Annotated[Optional[str], pydantic.Field(alias="privKeyPath")] = None
327
+ r"""Path on client in which to find the private key to use. PEM format. Can reference $ENV_VARS."""
328
+
329
+ cert_path: Annotated[Optional[str], pydantic.Field(alias="certPath")] = None
330
+ r"""Path on client in which to find certificates to use. PEM format. Can reference $ENV_VARS."""
331
+
332
+ passphrase: Optional[str] = None
333
+ r"""Passphrase to use to decrypt private key"""
334
+
335
+ min_version: Annotated[
336
+ Annotated[
337
+ Optional[InputMskMinimumTLSVersion],
338
+ PlainValidator(validate_open_enum(False)),
339
+ ],
340
+ pydantic.Field(alias="minVersion"),
341
+ ] = None
342
+
343
+ max_version: Annotated[
344
+ Annotated[
345
+ Optional[InputMskMaximumTLSVersion],
346
+ PlainValidator(validate_open_enum(False)),
347
+ ],
348
+ pydantic.Field(alias="maxVersion"),
349
+ ] = None
350
+
351
+
352
+ class InputMskTypedDict(TypedDict):
353
+ type: InputMskType
354
+ brokers: List[str]
355
+ r"""Enter each Kafka bootstrap server you want to use. Specify the hostname and port (such as mykafkabroker:9092) or just the hostname (in which case @{product} will assign port 9092)."""
356
+ topics: List[str]
357
+ r"""Topic to subscribe to. Warning: To optimize performance, Cribl suggests subscribing each Kafka Source to a single topic only."""
358
+ region: str
359
+ r"""Region where the MSK cluster is located"""
360
+ id: NotRequired[str]
361
+ r"""Unique ID for this input"""
362
+ disabled: NotRequired[bool]
363
+ pipeline: NotRequired[str]
364
+ r"""Pipeline to process data from this Source before sending it through the Routes"""
365
+ send_to_routes: NotRequired[bool]
366
+ r"""Select whether to send data to Routes, or directly to Destinations."""
367
+ environment: NotRequired[str]
368
+ r"""Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere."""
369
+ pq_enabled: NotRequired[bool]
370
+ r"""Use a disk queue to minimize data loss when connected services block. See [Cribl Docs](https://docs.cribl.io/stream/persistent-queues) for PQ defaults (Cribl-managed Cloud Workers) and configuration options (on-prem and hybrid Workers)."""
371
+ streamtags: NotRequired[List[str]]
372
+ r"""Tags for filtering and grouping in @{product}"""
373
+ connections: NotRequired[List[InputMskConnectionTypedDict]]
374
+ r"""Direct connections to Destinations, and optionally via a Pipeline or a Pack"""
375
+ pq: NotRequired[InputMskPqTypedDict]
376
+ group_id: NotRequired[str]
377
+ r"""The consumer group to which this instance belongs. Defaults to 'Cribl'."""
378
+ from_beginning: NotRequired[bool]
379
+ r"""Leave enabled if you want the Source, upon first subscribing to a topic, to read starting with the earliest available message"""
380
+ session_timeout: NotRequired[float]
381
+ r"""Timeout used to detect client failures when using Kafka's group-management facilities.
382
+ If the client sends no heartbeats to the broker before the timeout expires,
383
+ the broker will remove the client from the group and initiate a rebalance.
384
+ Value must be between the broker's configured group.min.session.timeout.ms and group.max.session.timeout.ms.
385
+ See [Kafka's documentation](https://kafka.apache.org/documentation/#consumerconfigs_session.timeout.ms) for details.
386
+ """
387
+ rebalance_timeout: NotRequired[float]
388
+ r"""Maximum allowed time for each worker to join the group after a rebalance begins.
389
+ If the timeout is exceeded, the coordinator broker will remove the worker from the group.
390
+ See [Kafka's documentation](https://kafka.apache.org/documentation/#connectconfigs_rebalance.timeout.ms) for details.
391
+ """
392
+ heartbeat_interval: NotRequired[float]
393
+ r"""Expected time between heartbeats to the consumer coordinator when using Kafka's group-management facilities.
394
+ Value must be lower than sessionTimeout and typically should not exceed 1/3 of the sessionTimeout value.
395
+ See [Kafka's documentation](https://kafka.apache.org/documentation/#consumerconfigs_heartbeat.interval.ms) for details.
396
+ """
397
+ metadata: NotRequired[List[InputMskMetadatumTypedDict]]
398
+ r"""Fields to add to events from this input"""
399
+ kafka_schema_registry: NotRequired[
400
+ InputMskKafkaSchemaRegistryAuthenticationTypedDict
401
+ ]
402
+ connection_timeout: NotRequired[float]
403
+ r"""Maximum time to wait for a connection to complete successfully"""
404
+ request_timeout: NotRequired[float]
405
+ r"""Maximum time to wait for Kafka to respond to a request"""
406
+ max_retries: NotRequired[float]
407
+ r"""If messages are failing, you can set the maximum number of retries as high as 100 to prevent loss of data"""
408
+ max_back_off: NotRequired[float]
409
+ r"""The maximum wait time for a retry, in milliseconds. Default (and minimum) is 30,000 ms (30 seconds); maximum is 180,000 ms (180 seconds)."""
410
+ initial_backoff: NotRequired[float]
411
+ r"""Initial value used to calculate the retry, in milliseconds. Maximum is 600,000 ms (10 minutes)."""
412
+ backoff_rate: NotRequired[float]
413
+ r"""Set the backoff multiplier (2-20) to control the retry frequency for failed messages. For faster retries, use a lower multiplier. For slower retries with more delay between attempts, use a higher multiplier. The multiplier is used in an exponential backoff formula; see the Kafka [documentation](https://kafka.js.org/docs/retry-detailed) for details."""
414
+ authentication_timeout: NotRequired[float]
415
+ r"""Maximum time to wait for Kafka to respond to an authentication request"""
416
+ reauthentication_threshold: NotRequired[float]
417
+ r"""Specifies a time window during which @{product} can reauthenticate if needed. Creates the window measuring backward from the moment when credentials are set to expire."""
418
+ aws_authentication_method: NotRequired[InputMskAuthenticationMethod]
419
+ r"""AWS authentication method. Choose Auto to use IAM roles."""
420
+ aws_secret_key: NotRequired[str]
421
+ endpoint: NotRequired[str]
422
+ r"""MSK cluster service endpoint. If empty, defaults to the AWS Region-specific endpoint. Otherwise, it must point to MSK cluster-compatible endpoint."""
423
+ signature_version: NotRequired[InputMskSignatureVersion]
424
+ r"""Signature version to use for signing MSK cluster requests"""
425
+ reuse_connections: NotRequired[bool]
426
+ r"""Reuse connections between requests, which can improve performance"""
427
+ reject_unauthorized: NotRequired[bool]
428
+ r"""Reject certificates that cannot be verified against a valid CA, such as self-signed certificates"""
429
+ enable_assume_role: NotRequired[bool]
430
+ r"""Use Assume Role credentials to access MSK"""
431
+ assume_role_arn: NotRequired[str]
432
+ r"""Amazon Resource Name (ARN) of the role to assume"""
433
+ assume_role_external_id: NotRequired[str]
434
+ r"""External ID to use when assuming role"""
435
+ duration_seconds: NotRequired[float]
436
+ r"""Duration of the assumed role's session, in seconds. Minimum is 900 (15 minutes), default is 3600 (1 hour), and maximum is 43200 (12 hours)."""
437
+ tls: NotRequired[InputMskTLSSettingsClientSideTypedDict]
438
+ auto_commit_interval: NotRequired[float]
439
+ r"""How often to commit offsets. If both this and Offset commit threshold are set, @{product} commits offsets when either condition is met. If both are empty, @{product} commits offsets after each batch."""
440
+ auto_commit_threshold: NotRequired[float]
441
+ r"""How many events are needed to trigger an offset commit. If both this and Offset commit interval are set, @{product} commits offsets when either condition is met. If both are empty, @{product} commits offsets after each batch."""
442
+ max_bytes_per_partition: NotRequired[float]
443
+ r"""Maximum amount of data that Kafka will return per partition, per fetch request. Must equal or exceed the maximum message size (maxBytesPerPartition) that Kafka is configured to allow. Otherwise, @{product} can get stuck trying to retrieve messages. Defaults to 1048576 (1 MB)."""
444
+ max_bytes: NotRequired[float]
445
+ r"""Maximum number of bytes that Kafka will return per fetch request. Defaults to 10485760 (10 MB)."""
446
+ max_socket_errors: NotRequired[float]
447
+ r"""Maximum number of network errors before the consumer re-creates a socket"""
448
+ description: NotRequired[str]
449
+ aws_api_key: NotRequired[str]
450
+ aws_secret: NotRequired[str]
451
+ r"""Select or create a stored secret that references your access key and secret key"""
452
+
453
+
454
+ class InputMsk(BaseModel):
455
+ type: Annotated[InputMskType, PlainValidator(validate_open_enum(False))]
456
+
457
+ brokers: List[str]
458
+ r"""Enter each Kafka bootstrap server you want to use. Specify the hostname and port (such as mykafkabroker:9092) or just the hostname (in which case @{product} will assign port 9092)."""
459
+
460
+ topics: List[str]
461
+ r"""Topic to subscribe to. Warning: To optimize performance, Cribl suggests subscribing each Kafka Source to a single topic only."""
462
+
463
+ region: str
464
+ r"""Region where the MSK cluster is located"""
465
+
466
+ id: Optional[str] = None
467
+ r"""Unique ID for this input"""
468
+
469
+ disabled: Optional[bool] = False
470
+
471
+ pipeline: Optional[str] = None
472
+ r"""Pipeline to process data from this Source before sending it through the Routes"""
473
+
474
+ send_to_routes: Annotated[Optional[bool], pydantic.Field(alias="sendToRoutes")] = (
475
+ True
476
+ )
477
+ r"""Select whether to send data to Routes, or directly to Destinations."""
478
+
479
+ environment: Optional[str] = None
480
+ r"""Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere."""
481
+
482
+ pq_enabled: Annotated[Optional[bool], pydantic.Field(alias="pqEnabled")] = False
483
+ r"""Use a disk queue to minimize data loss when connected services block. See [Cribl Docs](https://docs.cribl.io/stream/persistent-queues) for PQ defaults (Cribl-managed Cloud Workers) and configuration options (on-prem and hybrid Workers)."""
484
+
485
+ streamtags: Optional[List[str]] = None
486
+ r"""Tags for filtering and grouping in @{product}"""
487
+
488
+ connections: Optional[List[InputMskConnection]] = None
489
+ r"""Direct connections to Destinations, and optionally via a Pipeline or a Pack"""
490
+
491
+ pq: Optional[InputMskPq] = None
492
+
493
+ group_id: Annotated[Optional[str], pydantic.Field(alias="groupId")] = "Cribl"
494
+ r"""The consumer group to which this instance belongs. Defaults to 'Cribl'."""
495
+
496
+ from_beginning: Annotated[Optional[bool], pydantic.Field(alias="fromBeginning")] = (
497
+ True
498
+ )
499
+ r"""Leave enabled if you want the Source, upon first subscribing to a topic, to read starting with the earliest available message"""
500
+
501
+ session_timeout: Annotated[
502
+ Optional[float], pydantic.Field(alias="sessionTimeout")
503
+ ] = 30000
504
+ r"""Timeout used to detect client failures when using Kafka's group-management facilities.
505
+ If the client sends no heartbeats to the broker before the timeout expires,
506
+ the broker will remove the client from the group and initiate a rebalance.
507
+ Value must be between the broker's configured group.min.session.timeout.ms and group.max.session.timeout.ms.
508
+ See [Kafka's documentation](https://kafka.apache.org/documentation/#consumerconfigs_session.timeout.ms) for details.
509
+ """
510
+
511
+ rebalance_timeout: Annotated[
512
+ Optional[float], pydantic.Field(alias="rebalanceTimeout")
513
+ ] = 60000
514
+ r"""Maximum allowed time for each worker to join the group after a rebalance begins.
515
+ If the timeout is exceeded, the coordinator broker will remove the worker from the group.
516
+ See [Kafka's documentation](https://kafka.apache.org/documentation/#connectconfigs_rebalance.timeout.ms) for details.
517
+ """
518
+
519
+ heartbeat_interval: Annotated[
520
+ Optional[float], pydantic.Field(alias="heartbeatInterval")
521
+ ] = 3000
522
+ r"""Expected time between heartbeats to the consumer coordinator when using Kafka's group-management facilities.
523
+ Value must be lower than sessionTimeout and typically should not exceed 1/3 of the sessionTimeout value.
524
+ See [Kafka's documentation](https://kafka.apache.org/documentation/#consumerconfigs_heartbeat.interval.ms) for details.
525
+ """
526
+
527
+ metadata: Optional[List[InputMskMetadatum]] = None
528
+ r"""Fields to add to events from this input"""
529
+
530
+ kafka_schema_registry: Annotated[
531
+ Optional[InputMskKafkaSchemaRegistryAuthentication],
532
+ pydantic.Field(alias="kafkaSchemaRegistry"),
533
+ ] = None
534
+
535
+ connection_timeout: Annotated[
536
+ Optional[float], pydantic.Field(alias="connectionTimeout")
537
+ ] = 10000
538
+ r"""Maximum time to wait for a connection to complete successfully"""
539
+
540
+ request_timeout: Annotated[
541
+ Optional[float], pydantic.Field(alias="requestTimeout")
542
+ ] = 60000
543
+ r"""Maximum time to wait for Kafka to respond to a request"""
544
+
545
+ max_retries: Annotated[Optional[float], pydantic.Field(alias="maxRetries")] = 5
546
+ r"""If messages are failing, you can set the maximum number of retries as high as 100 to prevent loss of data"""
547
+
548
+ max_back_off: Annotated[Optional[float], pydantic.Field(alias="maxBackOff")] = 30000
549
+ r"""The maximum wait time for a retry, in milliseconds. Default (and minimum) is 30,000 ms (30 seconds); maximum is 180,000 ms (180 seconds)."""
550
+
551
+ initial_backoff: Annotated[
552
+ Optional[float], pydantic.Field(alias="initialBackoff")
553
+ ] = 300
554
+ r"""Initial value used to calculate the retry, in milliseconds. Maximum is 600,000 ms (10 minutes)."""
555
+
556
+ backoff_rate: Annotated[Optional[float], pydantic.Field(alias="backoffRate")] = 2
557
+ r"""Set the backoff multiplier (2-20) to control the retry frequency for failed messages. For faster retries, use a lower multiplier. For slower retries with more delay between attempts, use a higher multiplier. The multiplier is used in an exponential backoff formula; see the Kafka [documentation](https://kafka.js.org/docs/retry-detailed) for details."""
558
+
559
+ authentication_timeout: Annotated[
560
+ Optional[float], pydantic.Field(alias="authenticationTimeout")
561
+ ] = 10000
562
+ r"""Maximum time to wait for Kafka to respond to an authentication request"""
563
+
564
+ reauthentication_threshold: Annotated[
565
+ Optional[float], pydantic.Field(alias="reauthenticationThreshold")
566
+ ] = 10000
567
+ r"""Specifies a time window during which @{product} can reauthenticate if needed. Creates the window measuring backward from the moment when credentials are set to expire."""
568
+
569
+ aws_authentication_method: Annotated[
570
+ Annotated[
571
+ Optional[InputMskAuthenticationMethod],
572
+ PlainValidator(validate_open_enum(False)),
573
+ ],
574
+ pydantic.Field(alias="awsAuthenticationMethod"),
575
+ ] = InputMskAuthenticationMethod.AUTO
576
+ r"""AWS authentication method. Choose Auto to use IAM roles."""
577
+
578
+ aws_secret_key: Annotated[Optional[str], pydantic.Field(alias="awsSecretKey")] = (
579
+ None
580
+ )
581
+
582
+ endpoint: Optional[str] = None
583
+ r"""MSK cluster service endpoint. If empty, defaults to the AWS Region-specific endpoint. Otherwise, it must point to MSK cluster-compatible endpoint."""
584
+
585
+ signature_version: Annotated[
586
+ Annotated[
587
+ Optional[InputMskSignatureVersion],
588
+ PlainValidator(validate_open_enum(False)),
589
+ ],
590
+ pydantic.Field(alias="signatureVersion"),
591
+ ] = InputMskSignatureVersion.V4
592
+ r"""Signature version to use for signing MSK cluster requests"""
593
+
594
+ reuse_connections: Annotated[
595
+ Optional[bool], pydantic.Field(alias="reuseConnections")
596
+ ] = True
597
+ r"""Reuse connections between requests, which can improve performance"""
598
+
599
+ reject_unauthorized: Annotated[
600
+ Optional[bool], pydantic.Field(alias="rejectUnauthorized")
601
+ ] = True
602
+ r"""Reject certificates that cannot be verified against a valid CA, such as self-signed certificates"""
603
+
604
+ enable_assume_role: Annotated[
605
+ Optional[bool], pydantic.Field(alias="enableAssumeRole")
606
+ ] = False
607
+ r"""Use Assume Role credentials to access MSK"""
608
+
609
+ assume_role_arn: Annotated[Optional[str], pydantic.Field(alias="assumeRoleArn")] = (
610
+ None
611
+ )
612
+ r"""Amazon Resource Name (ARN) of the role to assume"""
613
+
614
+ assume_role_external_id: Annotated[
615
+ Optional[str], pydantic.Field(alias="assumeRoleExternalId")
616
+ ] = None
617
+ r"""External ID to use when assuming role"""
618
+
619
+ duration_seconds: Annotated[
620
+ Optional[float], pydantic.Field(alias="durationSeconds")
621
+ ] = 3600
622
+ r"""Duration of the assumed role's session, in seconds. Minimum is 900 (15 minutes), default is 3600 (1 hour), and maximum is 43200 (12 hours)."""
623
+
624
+ tls: Optional[InputMskTLSSettingsClientSide] = None
625
+
626
+ auto_commit_interval: Annotated[
627
+ Optional[float], pydantic.Field(alias="autoCommitInterval")
628
+ ] = None
629
+ r"""How often to commit offsets. If both this and Offset commit threshold are set, @{product} commits offsets when either condition is met. If both are empty, @{product} commits offsets after each batch."""
630
+
631
+ auto_commit_threshold: Annotated[
632
+ Optional[float], pydantic.Field(alias="autoCommitThreshold")
633
+ ] = None
634
+ r"""How many events are needed to trigger an offset commit. If both this and Offset commit interval are set, @{product} commits offsets when either condition is met. If both are empty, @{product} commits offsets after each batch."""
635
+
636
+ max_bytes_per_partition: Annotated[
637
+ Optional[float], pydantic.Field(alias="maxBytesPerPartition")
638
+ ] = 1048576
639
+ r"""Maximum amount of data that Kafka will return per partition, per fetch request. Must equal or exceed the maximum message size (maxBytesPerPartition) that Kafka is configured to allow. Otherwise, @{product} can get stuck trying to retrieve messages. Defaults to 1048576 (1 MB)."""
640
+
641
+ max_bytes: Annotated[Optional[float], pydantic.Field(alias="maxBytes")] = 10485760
642
+ r"""Maximum number of bytes that Kafka will return per fetch request. Defaults to 10485760 (10 MB)."""
643
+
644
+ max_socket_errors: Annotated[
645
+ Optional[float], pydantic.Field(alias="maxSocketErrors")
646
+ ] = 0
647
+ r"""Maximum number of network errors before the consumer re-creates a socket"""
648
+
649
+ description: Optional[str] = None
650
+
651
+ aws_api_key: Annotated[Optional[str], pydantic.Field(alias="awsApiKey")] = None
652
+
653
+ aws_secret: Annotated[Optional[str], pydantic.Field(alias="awsSecret")] = None
654
+ r"""Select or create a stored secret that references your access key and secret key"""