cribl-control-plane 0.2.1rc6__py3-none-any.whl → 0.3.0a1__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 (157) hide show
  1. cribl_control_plane/_version.py +4 -4
  2. cribl_control_plane/errors/__init__.py +5 -8
  3. cribl_control_plane/errors/{healthserverstatus_error.py → healthstatus_error.py} +9 -10
  4. cribl_control_plane/groups_sdk.py +30 -54
  5. cribl_control_plane/health.py +16 -22
  6. cribl_control_plane/models/__init__.py +50 -103
  7. cribl_control_plane/models/appmode.py +14 -0
  8. cribl_control_plane/models/authtoken.py +1 -5
  9. cribl_control_plane/models/configgroup.py +6 -35
  10. cribl_control_plane/models/createconfiggroupbyproductop.py +7 -8
  11. cribl_control_plane/models/createroutesappendbyidop.py +2 -2
  12. cribl_control_plane/models/createversionundoop.py +3 -3
  13. cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
  14. cribl_control_plane/models/distributedsummary.py +0 -6
  15. cribl_control_plane/models/error.py +16 -0
  16. cribl_control_plane/models/gethealthinfoop.py +17 -0
  17. cribl_control_plane/models/hbcriblinfo.py +3 -14
  18. cribl_control_plane/models/{healthserverstatus.py → healthstatus.py} +7 -7
  19. cribl_control_plane/models/heartbeatmetadata.py +0 -3
  20. cribl_control_plane/models/input.py +63 -65
  21. cribl_control_plane/models/inputappscope.py +0 -4
  22. cribl_control_plane/models/inputazureblob.py +0 -4
  23. cribl_control_plane/models/inputcollection.py +0 -4
  24. cribl_control_plane/models/inputconfluentcloud.py +18 -8
  25. cribl_control_plane/models/inputcribl.py +0 -4
  26. cribl_control_plane/models/inputcriblhttp.py +0 -4
  27. cribl_control_plane/models/inputcribllakehttp.py +0 -4
  28. cribl_control_plane/models/inputcriblmetrics.py +0 -4
  29. cribl_control_plane/models/inputcribltcp.py +0 -4
  30. cribl_control_plane/models/inputcrowdstrike.py +0 -7
  31. cribl_control_plane/models/inputdatadogagent.py +0 -4
  32. cribl_control_plane/models/inputdatagen.py +0 -4
  33. cribl_control_plane/models/inputedgeprometheus.py +0 -12
  34. cribl_control_plane/models/inputelastic.py +0 -11
  35. cribl_control_plane/models/inputeventhub.py +0 -6
  36. cribl_control_plane/models/inputexec.py +0 -4
  37. cribl_control_plane/models/inputfile.py +0 -6
  38. cribl_control_plane/models/inputfirehose.py +0 -4
  39. cribl_control_plane/models/inputgooglepubsub.py +0 -7
  40. cribl_control_plane/models/inputgrafana.py +0 -8
  41. cribl_control_plane/models/inputhttp.py +0 -4
  42. cribl_control_plane/models/inputhttpraw.py +0 -4
  43. cribl_control_plane/models/inputjournalfiles.py +0 -4
  44. cribl_control_plane/models/inputkafka.py +17 -8
  45. cribl_control_plane/models/inputkinesis.py +0 -15
  46. cribl_control_plane/models/inputkubeevents.py +0 -4
  47. cribl_control_plane/models/inputkubelogs.py +0 -4
  48. cribl_control_plane/models/inputkubemetrics.py +0 -4
  49. cribl_control_plane/models/inputloki.py +0 -4
  50. cribl_control_plane/models/inputmetrics.py +0 -4
  51. cribl_control_plane/models/inputmodeldriventelemetry.py +0 -4
  52. cribl_control_plane/models/inputmsk.py +17 -7
  53. cribl_control_plane/models/inputnetflow.py +0 -4
  54. cribl_control_plane/models/inputoffice365mgmt.py +0 -11
  55. cribl_control_plane/models/inputoffice365msgtrace.py +0 -11
  56. cribl_control_plane/models/inputoffice365service.py +0 -11
  57. cribl_control_plane/models/inputopentelemetry.py +0 -8
  58. cribl_control_plane/models/inputprometheus.py +0 -10
  59. cribl_control_plane/models/inputprometheusrw.py +0 -4
  60. cribl_control_plane/models/inputrawudp.py +0 -4
  61. cribl_control_plane/models/inputs3.py +0 -7
  62. cribl_control_plane/models/inputs3inventory.py +0 -7
  63. cribl_control_plane/models/inputsecuritylake.py +0 -7
  64. cribl_control_plane/models/inputsnmp.py +0 -11
  65. cribl_control_plane/models/inputsplunk.py +0 -9
  66. cribl_control_plane/models/inputsplunkhec.py +0 -4
  67. cribl_control_plane/models/inputsplunksearch.py +0 -7
  68. cribl_control_plane/models/inputsqs.py +0 -9
  69. cribl_control_plane/models/inputsyslog.py +0 -8
  70. cribl_control_plane/models/inputsystemmetrics.py +0 -32
  71. cribl_control_plane/models/inputsystemstate.py +0 -4
  72. cribl_control_plane/models/inputtcp.py +0 -4
  73. cribl_control_plane/models/inputtcpjson.py +0 -4
  74. cribl_control_plane/models/inputwef.py +0 -6
  75. cribl_control_plane/models/inputwindowsmetrics.py +0 -28
  76. cribl_control_plane/models/inputwineventlogs.py +0 -8
  77. cribl_control_plane/models/inputwiz.py +0 -7
  78. cribl_control_plane/models/inputwizwebhook.py +0 -4
  79. cribl_control_plane/models/inputzscalerhec.py +0 -4
  80. cribl_control_plane/models/jobinfo.py +1 -4
  81. cribl_control_plane/models/logininfo.py +3 -3
  82. cribl_control_plane/models/nodeprovidedinfo.py +1 -11
  83. cribl_control_plane/models/output.py +72 -77
  84. cribl_control_plane/models/outputazureblob.py +0 -20
  85. cribl_control_plane/models/outputazuredataexplorer.py +0 -28
  86. cribl_control_plane/models/outputazureeventhub.py +0 -17
  87. cribl_control_plane/models/outputazurelogs.py +0 -13
  88. cribl_control_plane/models/outputchronicle.py +0 -13
  89. cribl_control_plane/models/outputclickhouse.py +0 -17
  90. cribl_control_plane/models/outputcloudwatch.py +0 -13
  91. cribl_control_plane/models/outputconfluentcloud.py +18 -24
  92. cribl_control_plane/models/outputcriblhttp.py +0 -15
  93. cribl_control_plane/models/outputcribllake.py +0 -21
  94. cribl_control_plane/models/outputcribltcp.py +0 -12
  95. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +0 -15
  96. cribl_control_plane/models/outputdatadog.py +0 -30
  97. cribl_control_plane/models/outputdataset.py +0 -23
  98. cribl_control_plane/models/outputdls3.py +0 -35
  99. cribl_control_plane/models/outputdynatracehttp.py +0 -22
  100. cribl_control_plane/models/outputdynatraceotlp.py +0 -22
  101. cribl_control_plane/models/outputelastic.py +0 -18
  102. cribl_control_plane/models/outputelasticcloud.py +0 -13
  103. cribl_control_plane/models/outputexabeam.py +0 -14
  104. cribl_control_plane/models/outputfilesystem.py +0 -15
  105. cribl_control_plane/models/outputgooglechronicle.py +0 -21
  106. cribl_control_plane/models/outputgooglecloudlogging.py +0 -19
  107. cribl_control_plane/models/outputgooglecloudstorage.py +0 -28
  108. cribl_control_plane/models/outputgooglepubsub.py +0 -13
  109. cribl_control_plane/models/outputgrafanacloud.py +0 -50
  110. cribl_control_plane/models/outputgraphite.py +0 -12
  111. cribl_control_plane/models/outputhoneycomb.py +0 -13
  112. cribl_control_plane/models/outputhumiohec.py +0 -15
  113. cribl_control_plane/models/outputinfluxdb.py +0 -19
  114. cribl_control_plane/models/outputkafka.py +17 -24
  115. cribl_control_plane/models/outputkinesis.py +0 -15
  116. cribl_control_plane/models/outputloki.py +0 -20
  117. cribl_control_plane/models/outputminio.py +0 -28
  118. cribl_control_plane/models/outputmsk.py +17 -23
  119. cribl_control_plane/models/outputnewrelic.py +0 -16
  120. cribl_control_plane/models/outputnewrelicevents.py +0 -16
  121. cribl_control_plane/models/outputopentelemetry.py +0 -22
  122. cribl_control_plane/models/outputprometheus.py +0 -13
  123. cribl_control_plane/models/outputring.py +0 -2
  124. cribl_control_plane/models/outputs3.py +0 -35
  125. cribl_control_plane/models/outputsecuritylake.py +0 -29
  126. cribl_control_plane/models/outputsentinel.py +0 -15
  127. cribl_control_plane/models/outputsentineloneaisiem.py +0 -13
  128. cribl_control_plane/models/outputservicenow.py +0 -21
  129. cribl_control_plane/models/outputsignalfx.py +0 -13
  130. cribl_control_plane/models/outputsns.py +0 -13
  131. cribl_control_plane/models/outputsplunk.py +0 -15
  132. cribl_control_plane/models/outputsplunkhec.py +0 -13
  133. cribl_control_plane/models/outputsplunklb.py +0 -15
  134. cribl_control_plane/models/outputsqs.py +0 -15
  135. cribl_control_plane/models/outputstatsd.py +0 -12
  136. cribl_control_plane/models/outputstatsdext.py +0 -12
  137. cribl_control_plane/models/outputsumologic.py +0 -15
  138. cribl_control_plane/models/outputsyslog.py +0 -24
  139. cribl_control_plane/models/outputtcpjson.py +0 -12
  140. cribl_control_plane/models/outputwavefront.py +0 -13
  141. cribl_control_plane/models/outputwebhook.py +0 -23
  142. cribl_control_plane/models/outputxsiam.py +0 -13
  143. cribl_control_plane/models/packinfo.py +5 -8
  144. cribl_control_plane/models/packinstallinfo.py +5 -8
  145. cribl_control_plane/models/{uploadpackresponse.py → routecloneconf.py} +4 -4
  146. cribl_control_plane/models/routeconf.py +4 -3
  147. cribl_control_plane/models/runnablejobcollection.py +0 -4
  148. cribl_control_plane/packs.py +7 -202
  149. cribl_control_plane/routes_sdk.py +6 -6
  150. cribl_control_plane/tokens.py +15 -23
  151. {cribl_control_plane-0.2.1rc6.dist-info → cribl_control_plane-0.3.0a1.dist-info}/METADATA +9 -50
  152. {cribl_control_plane-0.2.1rc6.dist-info → cribl_control_plane-0.3.0a1.dist-info}/RECORD +153 -154
  153. cribl_control_plane/models/groupcreaterequest.py +0 -152
  154. cribl_control_plane/models/outpostnodeinfo.py +0 -16
  155. cribl_control_plane/models/outputdatabricks.py +0 -411
  156. cribl_control_plane/models/updatepacksop.py +0 -25
  157. {cribl_control_plane-0.2.1rc6.dist-info → cribl_control_plane-0.3.0a1.dist-info}/WHEEL +0 -0
@@ -29,18 +29,14 @@ class InputEdgePrometheusConnection(BaseModel):
29
29
  class InputEdgePrometheusMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputEdgePrometheusPqCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -111,15 +107,10 @@ class InputEdgePrometheusPq(BaseModel):
111
107
  class InputEdgePrometheusDiscoveryType(str, Enum, metaclass=utils.OpenEnumMeta):
112
108
  r"""Target discovery mechanism. Use static to manually enter a list of targets."""
113
109
 
114
- # Static
115
110
  STATIC = "static"
116
- # DNS
117
111
  DNS = "dns"
118
- # AWS EC2
119
112
  EC2 = "ec2"
120
- # Kubernetes Node
121
113
  K8S_NODE = "k8s-node"
122
- # Kubernetes Pods
123
114
  K8S_PODS = "k8s-pods"
124
115
 
125
116
 
@@ -257,11 +248,8 @@ class InputEdgePrometheusAwsAuthenticationMethodAuthenticationMethod(
257
248
  ):
258
249
  r"""AWS authentication method. Choose Auto to use IAM roles."""
259
250
 
260
- # Auto
261
251
  AUTO = "auto"
262
- # Manual
263
252
  MANUAL = "manual"
264
- # Secret Key pair
265
253
  SECRET = "secret"
266
254
 
267
255
 
@@ -29,18 +29,14 @@ class InputElasticConnection(BaseModel):
29
29
  class InputElasticMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputElasticCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -190,24 +186,17 @@ class InputElasticTLSSettingsServerSide(BaseModel):
190
186
 
191
187
 
192
188
  class InputElasticAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta):
193
- # None
194
189
  NONE = "none"
195
- # Basic
196
190
  BASIC = "basic"
197
- # Basic (credentials secret)
198
191
  CREDENTIALS_SECRET = "credentialsSecret"
199
- # Auth Tokens
200
192
  AUTH_TOKENS = "authTokens"
201
193
 
202
194
 
203
195
  class InputElasticAPIVersion(str, Enum, metaclass=utils.OpenEnumMeta):
204
196
  r"""The API version to use for communicating with the server"""
205
197
 
206
- # 6.8.4
207
198
  SIX_DOT_8_DOT_4 = "6.8.4"
208
- # 8.3.2
209
199
  EIGHT_DOT_3_DOT_2 = "8.3.2"
210
- # Custom
211
200
  CUSTOM = "custom"
212
201
 
213
202
 
@@ -29,18 +29,14 @@ class InputEventhubConnection(BaseModel):
29
29
  class InputEventhubMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputEventhubCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -108,9 +104,7 @@ class InputEventhubPq(BaseModel):
108
104
 
109
105
 
110
106
  class InputEventhubSASLMechanism(str, Enum, metaclass=utils.OpenEnumMeta):
111
- # PLAIN
112
107
  PLAIN = "plain"
113
- # OAUTHBEARER
114
108
  OAUTHBEARER = "oauthbearer"
115
109
 
116
110
 
@@ -29,18 +29,14 @@ class InputExecConnection(BaseModel):
29
29
  class InputExecMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputExecCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputFileConnection(BaseModel):
29
29
  class InputFilePqMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputFileCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -110,9 +106,7 @@ class InputFilePq(BaseModel):
110
106
  class InputFileMode(str, Enum, metaclass=utils.OpenEnumMeta):
111
107
  r"""Choose how to discover files to monitor"""
112
108
 
113
- # Auto
114
109
  AUTO = "auto"
115
- # Manual
116
110
  MANUAL = "manual"
117
111
 
118
112
 
@@ -29,18 +29,14 @@ class InputFirehoseConnection(BaseModel):
29
29
  class InputFirehoseMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputFirehoseCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputGooglePubsubConnection(BaseModel):
29
29
  class InputGooglePubsubMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputGooglePubsubCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -113,11 +109,8 @@ class InputGooglePubsubGoogleAuthenticationMethod(
113
109
  ):
114
110
  r"""Choose Auto to use Google Application Default Credentials (ADC), Manual to enter Google service account credentials directly, or Secret to select or create a stored secret that references Google service account credentials."""
115
111
 
116
- # Auto
117
112
  AUTO = "auto"
118
- # Manual
119
113
  MANUAL = "manual"
120
- # Secret
121
114
  SECRET = "secret"
122
115
 
123
116
 
@@ -29,18 +29,14 @@ class InputGrafanaConnection2(BaseModel):
29
29
  class InputGrafanaMode2(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputGrafanaCompression2(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -659,18 +655,14 @@ class InputGrafanaConnection1(BaseModel):
659
655
  class InputGrafanaMode1(str, Enum, metaclass=utils.OpenEnumMeta):
660
656
  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."""
661
657
 
662
- # Smart
663
658
  SMART = "smart"
664
- # Always On
665
659
  ALWAYS = "always"
666
660
 
667
661
 
668
662
  class InputGrafanaCompression1(str, Enum, metaclass=utils.OpenEnumMeta):
669
663
  r"""Codec to use to compress the persisted data"""
670
664
 
671
- # None
672
665
  NONE = "none"
673
- # Gzip
674
666
  GZIP = "gzip"
675
667
 
676
668
 
@@ -29,18 +29,14 @@ class InputHTTPConnection(BaseModel):
29
29
  class InputHTTPMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputHTTPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputHTTPRawConnection(BaseModel):
29
29
  class InputHTTPRawMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputHTTPRawCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputJournalFilesConnection(BaseModel):
29
29
  class InputJournalFilesMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputJournalFilesCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputKafkaConnection(BaseModel):
29
29
  class InputKafkaMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputKafkaCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -107,6 +103,13 @@ class InputKafkaPq(BaseModel):
107
103
  ] = None
108
104
 
109
105
 
106
+ class InputKafkaSchemaType(str, Enum, metaclass=utils.OpenEnumMeta):
107
+ r"""The schema format used to encode and decode event data"""
108
+
109
+ AVRO = "avro"
110
+ JSON = "json"
111
+
112
+
110
113
  class InputKafkaAuthTypedDict(TypedDict):
111
114
  r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
112
115
 
@@ -217,6 +220,8 @@ class InputKafkaKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
217
220
  disabled: NotRequired[bool]
218
221
  schema_registry_url: NotRequired[str]
219
222
  r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
223
+ schema_type: NotRequired[InputKafkaSchemaType]
224
+ r"""The schema format used to encode and decode event data"""
220
225
  connection_timeout: NotRequired[float]
221
226
  r"""Maximum time to wait for a Schema Registry connection to complete successfully"""
222
227
  request_timeout: NotRequired[float]
@@ -236,6 +241,14 @@ class InputKafkaKafkaSchemaRegistryAuthentication(BaseModel):
236
241
  ] = "http://localhost:8081"
237
242
  r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
238
243
 
244
+ schema_type: Annotated[
245
+ Annotated[
246
+ Optional[InputKafkaSchemaType], PlainValidator(validate_open_enum(False))
247
+ ],
248
+ pydantic.Field(alias="schemaType"),
249
+ ] = InputKafkaSchemaType.AVRO
250
+ r"""The schema format used to encode and decode event data"""
251
+
239
252
  connection_timeout: Annotated[
240
253
  Optional[float], pydantic.Field(alias="connectionTimeout")
241
254
  ] = 30000
@@ -256,13 +269,9 @@ class InputKafkaKafkaSchemaRegistryAuthentication(BaseModel):
256
269
 
257
270
 
258
271
  class InputKafkaSASLMechanism(str, Enum, metaclass=utils.OpenEnumMeta):
259
- # PLAIN
260
272
  PLAIN = "plain"
261
- # SCRAM-SHA-256
262
273
  SCRAM_SHA_256 = "scram-sha-256"
263
- # SCRAM-SHA-512
264
274
  SCRAM_SHA_512 = "scram-sha-512"
265
- # GSSAPI/Kerberos
266
275
  KERBEROS = "kerberos"
267
276
 
268
277
 
@@ -29,18 +29,14 @@ class InputKinesisConnection(BaseModel):
29
29
  class InputKinesisMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputKinesisCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -110,42 +106,31 @@ class InputKinesisPq(BaseModel):
110
106
  class ShardIteratorStart(str, Enum, metaclass=utils.OpenEnumMeta):
111
107
  r"""Location at which to start reading a shard for the first time"""
112
108
 
113
- # Earliest record
114
109
  TRIM_HORIZON = "TRIM_HORIZON"
115
- # Latest record
116
110
  LATEST = "LATEST"
117
111
 
118
112
 
119
113
  class InputKinesisRecordDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
120
114
  r"""Format of data inside the Kinesis Stream records. Gzip compression is automatically detected."""
121
115
 
122
- # Cribl
123
116
  CRIBL = "cribl"
124
- # Newline JSON
125
117
  NDJSON = "ndjson"
126
- # Cloudwatch Logs
127
118
  CLOUDWATCH = "cloudwatch"
128
- # Event per line
129
119
  LINE = "line"
130
120
 
131
121
 
132
122
  class ShardLoadBalancing(str, Enum, metaclass=utils.OpenEnumMeta):
133
123
  r"""The load-balancing algorithm to use for spreading out shards across Workers and Worker Processes"""
134
124
 
135
- # Consistent Hashing
136
125
  CONSISTENT_HASHING = "ConsistentHashing"
137
- # Round Robin
138
126
  ROUND_ROBIN = "RoundRobin"
139
127
 
140
128
 
141
129
  class InputKinesisAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
142
130
  r"""AWS authentication method. Choose Auto to use IAM roles."""
143
131
 
144
- # Auto
145
132
  AUTO = "auto"
146
- # Manual
147
133
  MANUAL = "manual"
148
- # Secret Key pair
149
134
  SECRET = "secret"
150
135
 
151
136
 
@@ -29,18 +29,14 @@ class InputKubeEventsConnection(BaseModel):
29
29
  class InputKubeEventsMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputKubeEventsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputKubeLogsConnection(BaseModel):
29
29
  class InputKubeLogsMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputKubeLogsPqCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputKubeMetricsConnection(BaseModel):
29
29
  class InputKubeMetricsMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputKubeMetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputLokiConnection(BaseModel):
29
29
  class InputLokiMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputLokiCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputMetricsConnection(BaseModel):
29
29
  class InputMetricsMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputMetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputModelDrivenTelemetryConnection(BaseModel):
29
29
  class InputModelDrivenTelemetryMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputModelDrivenTelemetryCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputMskConnection(BaseModel):
29
29
  class InputMskMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputMskCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -120,6 +116,13 @@ class InputMskMetadatum(BaseModel):
120
116
  r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
121
117
 
122
118
 
119
+ class InputMskSchemaType(str, Enum, metaclass=utils.OpenEnumMeta):
120
+ r"""The schema format used to encode and decode event data"""
121
+
122
+ AVRO = "avro"
123
+ JSON = "json"
124
+
125
+
123
126
  class InputMskAuthTypedDict(TypedDict):
124
127
  r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
125
128
 
@@ -230,6 +233,8 @@ class InputMskKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
230
233
  disabled: NotRequired[bool]
231
234
  schema_registry_url: NotRequired[str]
232
235
  r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
236
+ schema_type: NotRequired[InputMskSchemaType]
237
+ r"""The schema format used to encode and decode event data"""
233
238
  connection_timeout: NotRequired[float]
234
239
  r"""Maximum time to wait for a Schema Registry connection to complete successfully"""
235
240
  request_timeout: NotRequired[float]
@@ -249,6 +254,14 @@ class InputMskKafkaSchemaRegistryAuthentication(BaseModel):
249
254
  ] = "http://localhost:8081"
250
255
  r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
251
256
 
257
+ schema_type: Annotated[
258
+ Annotated[
259
+ Optional[InputMskSchemaType], PlainValidator(validate_open_enum(False))
260
+ ],
261
+ pydantic.Field(alias="schemaType"),
262
+ ] = InputMskSchemaType.AVRO
263
+ r"""The schema format used to encode and decode event data"""
264
+
252
265
  connection_timeout: Annotated[
253
266
  Optional[float], pydantic.Field(alias="connectionTimeout")
254
267
  ] = 30000
@@ -271,11 +284,8 @@ class InputMskKafkaSchemaRegistryAuthentication(BaseModel):
271
284
  class InputMskAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
272
285
  r"""AWS authentication method. Choose Auto to use IAM roles."""
273
286
 
274
- # Auto
275
287
  AUTO = "auto"
276
- # Manual
277
288
  MANUAL = "manual"
278
- # Secret Key pair
279
289
  SECRET = "secret"
280
290
 
281
291
 
@@ -29,18 +29,14 @@ class InputNetflowConnection(BaseModel):
29
29
  class InputNetflowMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
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
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputNetflowCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42