cribl-control-plane 0.2.1__py3-none-any.whl → 0.2.1rc2__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.
- cribl_control_plane/_version.py +3 -5
- cribl_control_plane/errors/__init__.py +8 -5
- cribl_control_plane/errors/{healthstatus_error.py → healthserverstatus_error.py} +10 -9
- cribl_control_plane/groups_sdk.py +52 -28
- cribl_control_plane/health.py +22 -16
- cribl_control_plane/models/__init__.py +103 -50
- cribl_control_plane/models/authtoken.py +5 -1
- cribl_control_plane/models/configgroup.py +35 -6
- cribl_control_plane/models/createconfiggroupbyproductop.py +6 -5
- cribl_control_plane/models/createroutesappendbyidop.py +2 -2
- cribl_control_plane/models/createversionundoop.py +3 -3
- cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
- cribl_control_plane/models/distributedsummary.py +6 -0
- cribl_control_plane/models/groupcreaterequest.py +152 -0
- cribl_control_plane/models/hbcriblinfo.py +14 -3
- cribl_control_plane/models/{healthstatus.py → healthserverstatus.py} +7 -7
- cribl_control_plane/models/heartbeatmetadata.py +3 -0
- cribl_control_plane/models/input.py +65 -63
- cribl_control_plane/models/inputappscope.py +4 -0
- cribl_control_plane/models/inputazureblob.py +4 -0
- cribl_control_plane/models/inputcollection.py +4 -0
- cribl_control_plane/models/inputconfluentcloud.py +8 -18
- cribl_control_plane/models/inputcribl.py +4 -0
- cribl_control_plane/models/inputcriblhttp.py +4 -0
- cribl_control_plane/models/inputcribllakehttp.py +4 -0
- cribl_control_plane/models/inputcriblmetrics.py +4 -0
- cribl_control_plane/models/inputcribltcp.py +4 -0
- cribl_control_plane/models/inputcrowdstrike.py +7 -0
- cribl_control_plane/models/inputdatadogagent.py +4 -0
- cribl_control_plane/models/inputdatagen.py +4 -0
- cribl_control_plane/models/inputedgeprometheus.py +12 -0
- cribl_control_plane/models/inputelastic.py +11 -0
- cribl_control_plane/models/inputeventhub.py +6 -0
- cribl_control_plane/models/inputexec.py +4 -0
- cribl_control_plane/models/inputfile.py +6 -0
- cribl_control_plane/models/inputfirehose.py +4 -0
- cribl_control_plane/models/inputgooglepubsub.py +7 -0
- cribl_control_plane/models/inputgrafana.py +8 -0
- cribl_control_plane/models/inputhttp.py +4 -0
- cribl_control_plane/models/inputhttpraw.py +4 -0
- cribl_control_plane/models/inputjournalfiles.py +4 -0
- cribl_control_plane/models/inputkafka.py +8 -17
- cribl_control_plane/models/inputkinesis.py +15 -0
- cribl_control_plane/models/inputkubeevents.py +4 -0
- cribl_control_plane/models/inputkubelogs.py +4 -0
- cribl_control_plane/models/inputkubemetrics.py +4 -0
- cribl_control_plane/models/inputloki.py +4 -0
- cribl_control_plane/models/inputmetrics.py +4 -0
- cribl_control_plane/models/inputmodeldriventelemetry.py +4 -0
- cribl_control_plane/models/inputmsk.py +7 -17
- cribl_control_plane/models/inputnetflow.py +4 -0
- cribl_control_plane/models/inputoffice365mgmt.py +11 -0
- cribl_control_plane/models/inputoffice365msgtrace.py +11 -0
- cribl_control_plane/models/inputoffice365service.py +11 -0
- cribl_control_plane/models/inputopentelemetry.py +8 -0
- cribl_control_plane/models/inputprometheus.py +10 -0
- cribl_control_plane/models/inputprometheusrw.py +4 -0
- cribl_control_plane/models/inputrawudp.py +4 -0
- cribl_control_plane/models/inputs3.py +7 -0
- cribl_control_plane/models/inputs3inventory.py +7 -0
- cribl_control_plane/models/inputsecuritylake.py +7 -0
- cribl_control_plane/models/inputsnmp.py +11 -0
- cribl_control_plane/models/inputsplunk.py +9 -0
- cribl_control_plane/models/inputsplunkhec.py +4 -0
- cribl_control_plane/models/inputsplunksearch.py +7 -0
- cribl_control_plane/models/inputsqs.py +9 -0
- cribl_control_plane/models/inputsyslog.py +8 -0
- cribl_control_plane/models/inputsystemmetrics.py +32 -0
- cribl_control_plane/models/inputsystemstate.py +4 -0
- cribl_control_plane/models/inputtcp.py +4 -0
- cribl_control_plane/models/inputtcpjson.py +4 -0
- cribl_control_plane/models/inputwef.py +6 -0
- cribl_control_plane/models/inputwindowsmetrics.py +28 -0
- cribl_control_plane/models/inputwineventlogs.py +8 -0
- cribl_control_plane/models/inputwiz.py +7 -0
- cribl_control_plane/models/inputwizwebhook.py +4 -0
- cribl_control_plane/models/inputzscalerhec.py +4 -0
- cribl_control_plane/models/jobinfo.py +4 -1
- cribl_control_plane/models/logininfo.py +3 -3
- cribl_control_plane/models/nodeprovidedinfo.py +11 -1
- cribl_control_plane/models/outpostnodeinfo.py +16 -0
- cribl_control_plane/models/output.py +77 -72
- cribl_control_plane/models/outputazureblob.py +20 -0
- cribl_control_plane/models/outputazuredataexplorer.py +28 -0
- cribl_control_plane/models/outputazureeventhub.py +17 -0
- cribl_control_plane/models/outputazurelogs.py +13 -0
- cribl_control_plane/models/outputchronicle.py +13 -0
- cribl_control_plane/models/outputclickhouse.py +17 -0
- cribl_control_plane/models/outputcloudwatch.py +13 -0
- cribl_control_plane/models/outputconfluentcloud.py +24 -18
- cribl_control_plane/models/outputcriblhttp.py +15 -0
- cribl_control_plane/models/outputcribllake.py +21 -0
- cribl_control_plane/models/outputcribltcp.py +12 -0
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +15 -0
- cribl_control_plane/models/outputdatabricks.py +411 -0
- cribl_control_plane/models/outputdatadog.py +30 -0
- cribl_control_plane/models/outputdataset.py +23 -0
- cribl_control_plane/models/outputdls3.py +35 -0
- cribl_control_plane/models/outputdynatracehttp.py +22 -0
- cribl_control_plane/models/outputdynatraceotlp.py +22 -0
- cribl_control_plane/models/outputelastic.py +18 -0
- cribl_control_plane/models/outputelasticcloud.py +13 -0
- cribl_control_plane/models/outputexabeam.py +14 -0
- cribl_control_plane/models/outputfilesystem.py +15 -0
- cribl_control_plane/models/outputgooglechronicle.py +21 -0
- cribl_control_plane/models/outputgooglecloudlogging.py +19 -0
- cribl_control_plane/models/outputgooglecloudstorage.py +28 -0
- cribl_control_plane/models/outputgooglepubsub.py +13 -0
- cribl_control_plane/models/outputgrafanacloud.py +50 -0
- cribl_control_plane/models/outputgraphite.py +12 -0
- cribl_control_plane/models/outputhoneycomb.py +13 -0
- cribl_control_plane/models/outputhumiohec.py +15 -0
- cribl_control_plane/models/outputinfluxdb.py +19 -0
- cribl_control_plane/models/outputkafka.py +24 -17
- cribl_control_plane/models/outputkinesis.py +15 -0
- cribl_control_plane/models/outputloki.py +20 -0
- cribl_control_plane/models/outputminio.py +28 -0
- cribl_control_plane/models/outputmsk.py +23 -17
- cribl_control_plane/models/outputnewrelic.py +16 -0
- cribl_control_plane/models/outputnewrelicevents.py +16 -0
- cribl_control_plane/models/outputopentelemetry.py +22 -0
- cribl_control_plane/models/outputprometheus.py +13 -0
- cribl_control_plane/models/outputring.py +2 -0
- cribl_control_plane/models/outputs3.py +35 -0
- cribl_control_plane/models/outputsecuritylake.py +29 -0
- cribl_control_plane/models/outputsentinel.py +15 -0
- cribl_control_plane/models/outputsentineloneaisiem.py +13 -0
- cribl_control_plane/models/outputservicenow.py +21 -0
- cribl_control_plane/models/outputsignalfx.py +13 -0
- cribl_control_plane/models/outputsns.py +13 -0
- cribl_control_plane/models/outputsplunk.py +15 -0
- cribl_control_plane/models/outputsplunkhec.py +13 -0
- cribl_control_plane/models/outputsplunklb.py +15 -0
- cribl_control_plane/models/outputsqs.py +15 -0
- cribl_control_plane/models/outputstatsd.py +12 -0
- cribl_control_plane/models/outputstatsdext.py +12 -0
- cribl_control_plane/models/outputsumologic.py +15 -0
- cribl_control_plane/models/outputsyslog.py +24 -0
- cribl_control_plane/models/outputtcpjson.py +12 -0
- cribl_control_plane/models/outputwavefront.py +13 -0
- cribl_control_plane/models/outputwebhook.py +23 -0
- cribl_control_plane/models/outputxsiam.py +13 -0
- cribl_control_plane/models/packinfo.py +8 -5
- cribl_control_plane/models/packinstallinfo.py +8 -5
- cribl_control_plane/models/routeconf.py +3 -4
- cribl_control_plane/models/runnablejobcollection.py +4 -0
- cribl_control_plane/models/updatepacksop.py +25 -0
- cribl_control_plane/models/{routecloneconf.py → uploadpackresponse.py} +4 -4
- cribl_control_plane/packs.py +202 -7
- cribl_control_plane/routes_sdk.py +6 -6
- cribl_control_plane/tokens.py +23 -15
- {cribl_control_plane-0.2.1.dist-info → cribl_control_plane-0.2.1rc2.dist-info}/METADATA +37 -5
- {cribl_control_plane-0.2.1.dist-info → cribl_control_plane-0.2.1rc2.dist-info}/RECORD +154 -153
- cribl_control_plane/models/appmode.py +0 -14
- cribl_control_plane/models/error.py +0 -16
- cribl_control_plane/models/gethealthinfoop.py +0 -17
- {cribl_control_plane-0.2.1.dist-info → cribl_control_plane-0.2.1rc2.dist-info}/WHEEL +0 -0
|
@@ -18,22 +18,29 @@ class OutputOpenTelemetryType(str, Enum):
|
|
|
18
18
|
class OutputOpenTelemetryProtocol(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""Select a transport option for OpenTelemetry"""
|
|
20
20
|
|
|
21
|
+
# gRPC
|
|
21
22
|
GRPC = "grpc"
|
|
23
|
+
# HTTP
|
|
22
24
|
HTTP = "http"
|
|
23
25
|
|
|
24
26
|
|
|
25
27
|
class OutputOpenTelemetryOTLPVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
26
28
|
r"""The version of OTLP Protobuf definitions to use when structuring data to send"""
|
|
27
29
|
|
|
30
|
+
# 0.10.0
|
|
28
31
|
ZERO_DOT_10_DOT_0 = "0.10.0"
|
|
32
|
+
# 1.3.1
|
|
29
33
|
ONE_DOT_3_DOT_1 = "1.3.1"
|
|
30
34
|
|
|
31
35
|
|
|
32
36
|
class OutputOpenTelemetryCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
33
37
|
r"""Type of compression to apply to messages sent to the OpenTelemetry endpoint"""
|
|
34
38
|
|
|
39
|
+
# None
|
|
35
40
|
NONE = "none"
|
|
41
|
+
# Deflate
|
|
36
42
|
DEFLATE = "deflate"
|
|
43
|
+
# Gzip
|
|
37
44
|
GZIP = "gzip"
|
|
38
45
|
|
|
39
46
|
|
|
@@ -42,7 +49,9 @@ class OutputOpenTelemetryHTTPCompressCompression(
|
|
|
42
49
|
):
|
|
43
50
|
r"""Type of compression to apply to messages sent to the OpenTelemetry endpoint"""
|
|
44
51
|
|
|
52
|
+
# None
|
|
45
53
|
NONE = "none"
|
|
54
|
+
# Gzip
|
|
46
55
|
GZIP = "gzip"
|
|
47
56
|
|
|
48
57
|
|
|
@@ -73,16 +82,22 @@ class OutputOpenTelemetryFailedRequestLoggingMode(
|
|
|
73
82
|
):
|
|
74
83
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
75
84
|
|
|
85
|
+
# Payload
|
|
76
86
|
PAYLOAD = "payload"
|
|
87
|
+
# Payload + Headers
|
|
77
88
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
89
|
+
# None
|
|
78
90
|
NONE = "none"
|
|
79
91
|
|
|
80
92
|
|
|
81
93
|
class OutputOpenTelemetryBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
82
94
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
83
95
|
|
|
96
|
+
# Block
|
|
84
97
|
BLOCK = "block"
|
|
98
|
+
# Drop
|
|
85
99
|
DROP = "drop"
|
|
100
|
+
# Persistent Queue
|
|
86
101
|
QUEUE = "queue"
|
|
87
102
|
|
|
88
103
|
|
|
@@ -262,22 +277,29 @@ class OutputOpenTelemetryTLSSettingsClientSide(BaseModel):
|
|
|
262
277
|
class OutputOpenTelemetryPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
263
278
|
r"""Codec to use to compress the persisted data"""
|
|
264
279
|
|
|
280
|
+
# None
|
|
265
281
|
NONE = "none"
|
|
282
|
+
# Gzip
|
|
266
283
|
GZIP = "gzip"
|
|
267
284
|
|
|
268
285
|
|
|
269
286
|
class OutputOpenTelemetryQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
270
287
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
271
288
|
|
|
289
|
+
# Block
|
|
272
290
|
BLOCK = "block"
|
|
291
|
+
# Drop new data
|
|
273
292
|
DROP = "drop"
|
|
274
293
|
|
|
275
294
|
|
|
276
295
|
class OutputOpenTelemetryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
277
296
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
278
297
|
|
|
298
|
+
# Error
|
|
279
299
|
ERROR = "error"
|
|
300
|
+
# Backpressure
|
|
280
301
|
BACKPRESSURE = "backpressure"
|
|
302
|
+
# Always On
|
|
281
303
|
ALWAYS = "always"
|
|
282
304
|
|
|
283
305
|
|
|
@@ -29,8 +29,11 @@ class OutputPrometheusExtraHTTPHeader(BaseModel):
|
|
|
29
29
|
class OutputPrometheusFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
31
31
|
|
|
32
|
+
# Payload
|
|
32
33
|
PAYLOAD = "payload"
|
|
34
|
+
# Payload + Headers
|
|
33
35
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
36
|
+
# None
|
|
34
37
|
NONE = "none"
|
|
35
38
|
|
|
36
39
|
|
|
@@ -91,8 +94,11 @@ class OutputPrometheusTimeoutRetrySettings(BaseModel):
|
|
|
91
94
|
class OutputPrometheusBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
92
95
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
93
96
|
|
|
97
|
+
# Block
|
|
94
98
|
BLOCK = "block"
|
|
99
|
+
# Drop
|
|
95
100
|
DROP = "drop"
|
|
101
|
+
# Persistent Queue
|
|
96
102
|
QUEUE = "queue"
|
|
97
103
|
|
|
98
104
|
|
|
@@ -110,22 +116,29 @@ class OutputPrometheusAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta
|
|
|
110
116
|
class OutputPrometheusCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
117
|
r"""Codec to use to compress the persisted data"""
|
|
112
118
|
|
|
119
|
+
# None
|
|
113
120
|
NONE = "none"
|
|
121
|
+
# Gzip
|
|
114
122
|
GZIP = "gzip"
|
|
115
123
|
|
|
116
124
|
|
|
117
125
|
class OutputPrometheusQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
118
126
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
119
127
|
|
|
128
|
+
# Block
|
|
120
129
|
BLOCK = "block"
|
|
130
|
+
# Drop new data
|
|
121
131
|
DROP = "drop"
|
|
122
132
|
|
|
123
133
|
|
|
124
134
|
class OutputPrometheusMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
125
135
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
126
136
|
|
|
137
|
+
# Error
|
|
127
138
|
ERROR = "error"
|
|
139
|
+
# Backpressure
|
|
128
140
|
BACKPRESSURE = "backpressure"
|
|
141
|
+
# Always On
|
|
129
142
|
ALWAYS = "always"
|
|
130
143
|
|
|
131
144
|
|
|
@@ -30,7 +30,9 @@ class OutputRingDataCompressionFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
30
30
|
class OutputRingBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
31
31
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
32
32
|
|
|
33
|
+
# Block
|
|
33
34
|
BLOCK = "block"
|
|
35
|
+
# Drop
|
|
34
36
|
DROP = "drop"
|
|
35
37
|
|
|
36
38
|
|
|
@@ -18,8 +18,11 @@ class OutputS3Type(str, Enum):
|
|
|
18
18
|
class OutputS3AuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""AWS authentication method. Choose Auto to use IAM roles."""
|
|
20
20
|
|
|
21
|
+
# Auto
|
|
21
22
|
AUTO = "auto"
|
|
23
|
+
# Manual
|
|
22
24
|
MANUAL = "manual"
|
|
25
|
+
# Secret Key pair
|
|
23
26
|
SECRET = "secret"
|
|
24
27
|
|
|
25
28
|
|
|
@@ -33,54 +36,78 @@ class OutputS3SignatureVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
33
36
|
class OutputS3ObjectACL(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
34
37
|
r"""Object ACL to assign to uploaded objects"""
|
|
35
38
|
|
|
39
|
+
# Private
|
|
36
40
|
PRIVATE = "private"
|
|
41
|
+
# Public Read Only
|
|
37
42
|
PUBLIC_READ = "public-read"
|
|
43
|
+
# Public Read/Write
|
|
38
44
|
PUBLIC_READ_WRITE = "public-read-write"
|
|
45
|
+
# Authenticated Read Only
|
|
39
46
|
AUTHENTICATED_READ = "authenticated-read"
|
|
47
|
+
# AWS EC2 AMI Read Only
|
|
40
48
|
AWS_EXEC_READ = "aws-exec-read"
|
|
49
|
+
# Bucket Owner Read Only
|
|
41
50
|
BUCKET_OWNER_READ = "bucket-owner-read"
|
|
51
|
+
# Bucket Owner Full Control
|
|
42
52
|
BUCKET_OWNER_FULL_CONTROL = "bucket-owner-full-control"
|
|
43
53
|
|
|
44
54
|
|
|
45
55
|
class OutputS3StorageClass(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
46
56
|
r"""Storage class to select for uploaded objects"""
|
|
47
57
|
|
|
58
|
+
# Standard
|
|
48
59
|
STANDARD = "STANDARD"
|
|
60
|
+
# Reduced Redundancy Storage
|
|
49
61
|
REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY"
|
|
62
|
+
# Standard, Infrequent Access
|
|
50
63
|
STANDARD_IA = "STANDARD_IA"
|
|
64
|
+
# One Zone, Infrequent Access
|
|
51
65
|
ONEZONE_IA = "ONEZONE_IA"
|
|
66
|
+
# Intelligent Tiering
|
|
52
67
|
INTELLIGENT_TIERING = "INTELLIGENT_TIERING"
|
|
68
|
+
# Glacier Flexible Retrieval
|
|
53
69
|
GLACIER = "GLACIER"
|
|
70
|
+
# Glacier Instant Retrieval
|
|
54
71
|
GLACIER_IR = "GLACIER_IR"
|
|
72
|
+
# Glacier Deep Archive
|
|
55
73
|
DEEP_ARCHIVE = "DEEP_ARCHIVE"
|
|
56
74
|
|
|
57
75
|
|
|
58
76
|
class OutputS3ServerSideEncryptionForUploadedObjects(
|
|
59
77
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
60
78
|
):
|
|
79
|
+
# Amazon S3 Managed Key
|
|
61
80
|
AES256 = "AES256"
|
|
81
|
+
# AWS KMS Managed Key
|
|
62
82
|
AWS_KMS = "aws:kms"
|
|
63
83
|
|
|
64
84
|
|
|
65
85
|
class OutputS3DataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
66
86
|
r"""Format of the output data"""
|
|
67
87
|
|
|
88
|
+
# JSON
|
|
68
89
|
JSON = "json"
|
|
90
|
+
# Raw
|
|
69
91
|
RAW = "raw"
|
|
92
|
+
# Parquet
|
|
70
93
|
PARQUET = "parquet"
|
|
71
94
|
|
|
72
95
|
|
|
73
96
|
class OutputS3BackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
74
97
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
75
98
|
|
|
99
|
+
# Block
|
|
76
100
|
BLOCK = "block"
|
|
101
|
+
# Drop
|
|
77
102
|
DROP = "drop"
|
|
78
103
|
|
|
79
104
|
|
|
80
105
|
class OutputS3DiskSpaceProtection(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
81
106
|
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
82
107
|
|
|
108
|
+
# Block
|
|
83
109
|
BLOCK = "block"
|
|
110
|
+
# Drop
|
|
84
111
|
DROP = "drop"
|
|
85
112
|
|
|
86
113
|
|
|
@@ -94,23 +121,31 @@ class OutputS3Compression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
94
121
|
class OutputS3CompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
95
122
|
r"""Compression level to apply before moving files to final destination"""
|
|
96
123
|
|
|
124
|
+
# Best Speed
|
|
97
125
|
BEST_SPEED = "best_speed"
|
|
126
|
+
# Normal
|
|
98
127
|
NORMAL = "normal"
|
|
128
|
+
# Best Compression
|
|
99
129
|
BEST_COMPRESSION = "best_compression"
|
|
100
130
|
|
|
101
131
|
|
|
102
132
|
class OutputS3ParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
103
133
|
r"""Determines which data types are supported and how they are represented"""
|
|
104
134
|
|
|
135
|
+
# 1.0
|
|
105
136
|
PARQUET_1_0 = "PARQUET_1_0"
|
|
137
|
+
# 2.4
|
|
106
138
|
PARQUET_2_4 = "PARQUET_2_4"
|
|
139
|
+
# 2.6
|
|
107
140
|
PARQUET_2_6 = "PARQUET_2_6"
|
|
108
141
|
|
|
109
142
|
|
|
110
143
|
class OutputS3DataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
144
|
r"""Serialization format of data pages. Note that some reader implementations use Data page V2's attributes to work more efficiently, while others ignore it."""
|
|
112
145
|
|
|
146
|
+
# V1
|
|
113
147
|
DATA_PAGE_V1 = "DATA_PAGE_V1"
|
|
148
|
+
# V2
|
|
114
149
|
DATA_PAGE_V2 = "DATA_PAGE_V2"
|
|
115
150
|
|
|
116
151
|
|
|
@@ -18,8 +18,11 @@ class OutputSecurityLakeType(str, Enum):
|
|
|
18
18
|
class OutputSecurityLakeAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""AWS authentication method. Choose Auto to use IAM roles."""
|
|
20
20
|
|
|
21
|
+
# Auto
|
|
21
22
|
AUTO = "auto"
|
|
23
|
+
# Manual
|
|
22
24
|
MANUAL = "manual"
|
|
25
|
+
# Secret Key pair
|
|
23
26
|
SECRET = "secret"
|
|
24
27
|
|
|
25
28
|
|
|
@@ -33,61 +36,87 @@ class OutputSecurityLakeSignatureVersion(str, Enum, metaclass=utils.OpenEnumMeta
|
|
|
33
36
|
class OutputSecurityLakeObjectACL(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
34
37
|
r"""Object ACL to assign to uploaded objects"""
|
|
35
38
|
|
|
39
|
+
# Private
|
|
36
40
|
PRIVATE = "private"
|
|
41
|
+
# Public Read Only
|
|
37
42
|
PUBLIC_READ = "public-read"
|
|
43
|
+
# Public Read/Write
|
|
38
44
|
PUBLIC_READ_WRITE = "public-read-write"
|
|
45
|
+
# Authenticated Read Only
|
|
39
46
|
AUTHENTICATED_READ = "authenticated-read"
|
|
47
|
+
# AWS EC2 AMI Read Only
|
|
40
48
|
AWS_EXEC_READ = "aws-exec-read"
|
|
49
|
+
# Bucket Owner Read Only
|
|
41
50
|
BUCKET_OWNER_READ = "bucket-owner-read"
|
|
51
|
+
# Bucket Owner Full Control
|
|
42
52
|
BUCKET_OWNER_FULL_CONTROL = "bucket-owner-full-control"
|
|
43
53
|
|
|
44
54
|
|
|
45
55
|
class OutputSecurityLakeStorageClass(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
46
56
|
r"""Storage class to select for uploaded objects"""
|
|
47
57
|
|
|
58
|
+
# Standard
|
|
48
59
|
STANDARD = "STANDARD"
|
|
60
|
+
# Reduced Redundancy Storage
|
|
49
61
|
REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY"
|
|
62
|
+
# Standard, Infrequent Access
|
|
50
63
|
STANDARD_IA = "STANDARD_IA"
|
|
64
|
+
# One Zone, Infrequent Access
|
|
51
65
|
ONEZONE_IA = "ONEZONE_IA"
|
|
66
|
+
# Intelligent Tiering
|
|
52
67
|
INTELLIGENT_TIERING = "INTELLIGENT_TIERING"
|
|
68
|
+
# Glacier Flexible Retrieval
|
|
53
69
|
GLACIER = "GLACIER"
|
|
70
|
+
# Glacier Instant Retrieval
|
|
54
71
|
GLACIER_IR = "GLACIER_IR"
|
|
72
|
+
# Glacier Deep Archive
|
|
55
73
|
DEEP_ARCHIVE = "DEEP_ARCHIVE"
|
|
56
74
|
|
|
57
75
|
|
|
58
76
|
class OutputSecurityLakeServerSideEncryptionForUploadedObjects(
|
|
59
77
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
60
78
|
):
|
|
79
|
+
# Amazon S3 Managed Key
|
|
61
80
|
AES256 = "AES256"
|
|
81
|
+
# AWS KMS Managed Key
|
|
62
82
|
AWS_KMS = "aws:kms"
|
|
63
83
|
|
|
64
84
|
|
|
65
85
|
class OutputSecurityLakeBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
66
86
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
67
87
|
|
|
88
|
+
# Block
|
|
68
89
|
BLOCK = "block"
|
|
90
|
+
# Drop
|
|
69
91
|
DROP = "drop"
|
|
70
92
|
|
|
71
93
|
|
|
72
94
|
class OutputSecurityLakeDiskSpaceProtection(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
73
95
|
r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
|
|
74
96
|
|
|
97
|
+
# Block
|
|
75
98
|
BLOCK = "block"
|
|
99
|
+
# Drop
|
|
76
100
|
DROP = "drop"
|
|
77
101
|
|
|
78
102
|
|
|
79
103
|
class OutputSecurityLakeParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
80
104
|
r"""Determines which data types are supported and how they are represented"""
|
|
81
105
|
|
|
106
|
+
# 1.0
|
|
82
107
|
PARQUET_1_0 = "PARQUET_1_0"
|
|
108
|
+
# 2.4
|
|
83
109
|
PARQUET_2_4 = "PARQUET_2_4"
|
|
110
|
+
# 2.6
|
|
84
111
|
PARQUET_2_6 = "PARQUET_2_6"
|
|
85
112
|
|
|
86
113
|
|
|
87
114
|
class OutputSecurityLakeDataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
88
115
|
r"""Serialization format of data pages. Note that some reader implementations use Data page V2's attributes to work more efficiently, while others ignore it."""
|
|
89
116
|
|
|
117
|
+
# V1
|
|
90
118
|
DATA_PAGE_V1 = "DATA_PAGE_V1"
|
|
119
|
+
# V2
|
|
91
120
|
DATA_PAGE_V2 = "DATA_PAGE_V2"
|
|
92
121
|
|
|
93
122
|
|
|
@@ -29,8 +29,11 @@ class OutputSentinelExtraHTTPHeader(BaseModel):
|
|
|
29
29
|
class OutputSentinelFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
30
30
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
31
31
|
|
|
32
|
+
# Payload
|
|
32
33
|
PAYLOAD = "payload"
|
|
34
|
+
# Payload + Headers
|
|
33
35
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
36
|
+
# None
|
|
34
37
|
NONE = "none"
|
|
35
38
|
|
|
36
39
|
|
|
@@ -91,8 +94,11 @@ class OutputSentinelTimeoutRetrySettings(BaseModel):
|
|
|
91
94
|
class OutputSentinelBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
92
95
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
93
96
|
|
|
97
|
+
# Block
|
|
94
98
|
BLOCK = "block"
|
|
99
|
+
# Drop
|
|
95
100
|
DROP = "drop"
|
|
101
|
+
# Persistent Queue
|
|
96
102
|
QUEUE = "queue"
|
|
97
103
|
|
|
98
104
|
|
|
@@ -103,7 +109,9 @@ class AuthType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
103
109
|
class EndpointConfiguration(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
104
110
|
r"""Enter the data collection endpoint URL or the individual ID"""
|
|
105
111
|
|
|
112
|
+
# URL
|
|
106
113
|
URL = "url"
|
|
114
|
+
# ID
|
|
107
115
|
ID = "ID"
|
|
108
116
|
|
|
109
117
|
|
|
@@ -117,22 +125,29 @@ class OutputSentinelFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
117
125
|
class OutputSentinelCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
118
126
|
r"""Codec to use to compress the persisted data"""
|
|
119
127
|
|
|
128
|
+
# None
|
|
120
129
|
NONE = "none"
|
|
130
|
+
# Gzip
|
|
121
131
|
GZIP = "gzip"
|
|
122
132
|
|
|
123
133
|
|
|
124
134
|
class OutputSentinelQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
125
135
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
126
136
|
|
|
137
|
+
# Block
|
|
127
138
|
BLOCK = "block"
|
|
139
|
+
# Drop new data
|
|
128
140
|
DROP = "drop"
|
|
129
141
|
|
|
130
142
|
|
|
131
143
|
class OutputSentinelMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
132
144
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
133
145
|
|
|
146
|
+
# Error
|
|
134
147
|
ERROR = "error"
|
|
148
|
+
# Backpressure
|
|
135
149
|
BACKPRESSURE = "backpressure"
|
|
150
|
+
# Always On
|
|
136
151
|
ALWAYS = "always"
|
|
137
152
|
|
|
138
153
|
|
|
@@ -50,8 +50,11 @@ class OutputSentinelOneAiSiemFailedRequestLoggingMode(
|
|
|
50
50
|
):
|
|
51
51
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
52
52
|
|
|
53
|
+
# Payload
|
|
53
54
|
PAYLOAD = "payload"
|
|
55
|
+
# Payload + Headers
|
|
54
56
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
57
|
+
# None
|
|
55
58
|
NONE = "none"
|
|
56
59
|
|
|
57
60
|
|
|
@@ -123,30 +126,40 @@ class OutputSentinelOneAiSiemBackpressureBehavior(
|
|
|
123
126
|
):
|
|
124
127
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
125
128
|
|
|
129
|
+
# Block
|
|
126
130
|
BLOCK = "block"
|
|
131
|
+
# Drop
|
|
127
132
|
DROP = "drop"
|
|
133
|
+
# Persistent Queue
|
|
128
134
|
QUEUE = "queue"
|
|
129
135
|
|
|
130
136
|
|
|
131
137
|
class OutputSentinelOneAiSiemCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
132
138
|
r"""Codec to use to compress the persisted data"""
|
|
133
139
|
|
|
140
|
+
# None
|
|
134
141
|
NONE = "none"
|
|
142
|
+
# Gzip
|
|
135
143
|
GZIP = "gzip"
|
|
136
144
|
|
|
137
145
|
|
|
138
146
|
class OutputSentinelOneAiSiemQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
139
147
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
140
148
|
|
|
149
|
+
# Block
|
|
141
150
|
BLOCK = "block"
|
|
151
|
+
# Drop new data
|
|
142
152
|
DROP = "drop"
|
|
143
153
|
|
|
144
154
|
|
|
145
155
|
class OutputSentinelOneAiSiemMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
146
156
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
147
157
|
|
|
158
|
+
# Error
|
|
148
159
|
ERROR = "error"
|
|
160
|
+
# Backpressure
|
|
149
161
|
BACKPRESSURE = "backpressure"
|
|
162
|
+
# Always On
|
|
150
163
|
ALWAYS = "always"
|
|
151
164
|
|
|
152
165
|
|
|
@@ -18,28 +18,36 @@ class OutputServiceNowType(str, Enum):
|
|
|
18
18
|
class OutputServiceNowOTLPVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""The version of OTLP Protobuf definitions to use when structuring data to send"""
|
|
20
20
|
|
|
21
|
+
# 1.3.1
|
|
21
22
|
ONE_DOT_3_DOT_1 = "1.3.1"
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
class OutputServiceNowProtocol(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
25
26
|
r"""Select a transport option for OpenTelemetry"""
|
|
26
27
|
|
|
28
|
+
# gRPC
|
|
27
29
|
GRPC = "grpc"
|
|
30
|
+
# HTTP
|
|
28
31
|
HTTP = "http"
|
|
29
32
|
|
|
30
33
|
|
|
31
34
|
class OutputServiceNowCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
32
35
|
r"""Type of compression to apply to messages sent to the OpenTelemetry endpoint"""
|
|
33
36
|
|
|
37
|
+
# None
|
|
34
38
|
NONE = "none"
|
|
39
|
+
# Deflate
|
|
35
40
|
DEFLATE = "deflate"
|
|
41
|
+
# Gzip
|
|
36
42
|
GZIP = "gzip"
|
|
37
43
|
|
|
38
44
|
|
|
39
45
|
class OutputServiceNowHTTPCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
40
46
|
r"""Type of compression to apply to messages sent to the OpenTelemetry endpoint"""
|
|
41
47
|
|
|
48
|
+
# None
|
|
42
49
|
NONE = "none"
|
|
50
|
+
# Gzip
|
|
43
51
|
GZIP = "gzip"
|
|
44
52
|
|
|
45
53
|
|
|
@@ -57,16 +65,22 @@ class OutputServiceNowMetadatum(BaseModel):
|
|
|
57
65
|
class OutputServiceNowFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
58
66
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
59
67
|
|
|
68
|
+
# Payload
|
|
60
69
|
PAYLOAD = "payload"
|
|
70
|
+
# Payload + Headers
|
|
61
71
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
72
|
+
# None
|
|
62
73
|
NONE = "none"
|
|
63
74
|
|
|
64
75
|
|
|
65
76
|
class OutputServiceNowBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
66
77
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
67
78
|
|
|
79
|
+
# Block
|
|
68
80
|
BLOCK = "block"
|
|
81
|
+
# Drop
|
|
69
82
|
DROP = "drop"
|
|
83
|
+
# Persistent Queue
|
|
70
84
|
QUEUE = "queue"
|
|
71
85
|
|
|
72
86
|
|
|
@@ -216,22 +230,29 @@ class OutputServiceNowTLSSettingsClientSide(BaseModel):
|
|
|
216
230
|
class OutputServiceNowPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
217
231
|
r"""Codec to use to compress the persisted data"""
|
|
218
232
|
|
|
233
|
+
# None
|
|
219
234
|
NONE = "none"
|
|
235
|
+
# Gzip
|
|
220
236
|
GZIP = "gzip"
|
|
221
237
|
|
|
222
238
|
|
|
223
239
|
class OutputServiceNowQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
224
240
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
225
241
|
|
|
242
|
+
# Block
|
|
226
243
|
BLOCK = "block"
|
|
244
|
+
# Drop new data
|
|
227
245
|
DROP = "drop"
|
|
228
246
|
|
|
229
247
|
|
|
230
248
|
class OutputServiceNowMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
231
249
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
232
250
|
|
|
251
|
+
# Error
|
|
233
252
|
ERROR = "error"
|
|
253
|
+
# Backpressure
|
|
234
254
|
BACKPRESSURE = "backpressure"
|
|
255
|
+
# Always On
|
|
235
256
|
ALWAYS = "always"
|
|
236
257
|
|
|
237
258
|
|
|
@@ -36,8 +36,11 @@ class OutputSignalfxExtraHTTPHeader(BaseModel):
|
|
|
36
36
|
class OutputSignalfxFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
37
37
|
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
38
38
|
|
|
39
|
+
# Payload
|
|
39
40
|
PAYLOAD = "payload"
|
|
41
|
+
# Payload + Headers
|
|
40
42
|
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
43
|
+
# None
|
|
41
44
|
NONE = "none"
|
|
42
45
|
|
|
43
46
|
|
|
@@ -98,30 +101,40 @@ class OutputSignalfxTimeoutRetrySettings(BaseModel):
|
|
|
98
101
|
class OutputSignalfxBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
99
102
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
100
103
|
|
|
104
|
+
# Block
|
|
101
105
|
BLOCK = "block"
|
|
106
|
+
# Drop
|
|
102
107
|
DROP = "drop"
|
|
108
|
+
# Persistent Queue
|
|
103
109
|
QUEUE = "queue"
|
|
104
110
|
|
|
105
111
|
|
|
106
112
|
class OutputSignalfxCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
107
113
|
r"""Codec to use to compress the persisted data"""
|
|
108
114
|
|
|
115
|
+
# None
|
|
109
116
|
NONE = "none"
|
|
117
|
+
# Gzip
|
|
110
118
|
GZIP = "gzip"
|
|
111
119
|
|
|
112
120
|
|
|
113
121
|
class OutputSignalfxQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
114
122
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
115
123
|
|
|
124
|
+
# Block
|
|
116
125
|
BLOCK = "block"
|
|
126
|
+
# Drop new data
|
|
117
127
|
DROP = "drop"
|
|
118
128
|
|
|
119
129
|
|
|
120
130
|
class OutputSignalfxMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
121
131
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
122
132
|
|
|
133
|
+
# Error
|
|
123
134
|
ERROR = "error"
|
|
135
|
+
# Backpressure
|
|
124
136
|
BACKPRESSURE = "backpressure"
|
|
137
|
+
# Always On
|
|
125
138
|
ALWAYS = "always"
|
|
126
139
|
|
|
127
140
|
|
|
@@ -18,8 +18,11 @@ class OutputSnsType(str, Enum):
|
|
|
18
18
|
class OutputSnsAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
19
|
r"""AWS authentication method. Choose Auto to use IAM roles."""
|
|
20
20
|
|
|
21
|
+
# Auto
|
|
21
22
|
AUTO = "auto"
|
|
23
|
+
# Manual
|
|
22
24
|
MANUAL = "manual"
|
|
25
|
+
# Secret Key pair
|
|
23
26
|
SECRET = "secret"
|
|
24
27
|
|
|
25
28
|
|
|
@@ -33,30 +36,40 @@ class OutputSnsSignatureVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
|
33
36
|
class OutputSnsBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
34
37
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
35
38
|
|
|
39
|
+
# Block
|
|
36
40
|
BLOCK = "block"
|
|
41
|
+
# Drop
|
|
37
42
|
DROP = "drop"
|
|
43
|
+
# Persistent Queue
|
|
38
44
|
QUEUE = "queue"
|
|
39
45
|
|
|
40
46
|
|
|
41
47
|
class OutputSnsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
42
48
|
r"""Codec to use to compress the persisted data"""
|
|
43
49
|
|
|
50
|
+
# None
|
|
44
51
|
NONE = "none"
|
|
52
|
+
# Gzip
|
|
45
53
|
GZIP = "gzip"
|
|
46
54
|
|
|
47
55
|
|
|
48
56
|
class OutputSnsQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
49
57
|
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
50
58
|
|
|
59
|
+
# Block
|
|
51
60
|
BLOCK = "block"
|
|
61
|
+
# Drop new data
|
|
52
62
|
DROP = "drop"
|
|
53
63
|
|
|
54
64
|
|
|
55
65
|
class OutputSnsMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
56
66
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
57
67
|
|
|
68
|
+
# Error
|
|
58
69
|
ERROR = "error"
|
|
70
|
+
# Backpressure
|
|
59
71
|
BACKPRESSURE = "backpressure"
|
|
72
|
+
# Always On
|
|
60
73
|
ALWAYS = "always"
|
|
61
74
|
|
|
62
75
|
|