cribl-control-plane 0.5.0-beta.4 → 0.5.0-beta.6
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.
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/collectorazureblob.d.ts +643 -19
- package/dist/commonjs/models/collectorazureblob.d.ts.map +1 -1
- package/dist/commonjs/models/collectorazureblob.js +437 -20
- package/dist/commonjs/models/collectorazureblob.js.map +1 -1
- package/dist/commonjs/models/collectorconf.d.ts +26 -2
- package/dist/commonjs/models/collectorconf.d.ts.map +1 -1
- package/dist/commonjs/models/collectorconf.js +12 -12
- package/dist/commonjs/models/collectorconf.js.map +1 -1
- package/dist/commonjs/models/collectorgooglecloudstorage.d.ts +316 -19
- package/dist/commonjs/models/collectorgooglecloudstorage.d.ts.map +1 -1
- package/dist/commonjs/models/collectorgooglecloudstorage.js +222 -20
- package/dist/commonjs/models/collectorgooglecloudstorage.js.map +1 -1
- package/dist/commonjs/models/collectorhealthcheck.d.ts +3635 -72
- package/dist/commonjs/models/collectorhealthcheck.d.ts.map +1 -1
- package/dist/commonjs/models/collectorhealthcheck.js +2828 -126
- package/dist/commonjs/models/collectorhealthcheck.js.map +1 -1
- package/dist/commonjs/models/collectorrest.d.ts +6369 -147
- package/dist/commonjs/models/collectorrest.d.ts.map +1 -1
- package/dist/commonjs/models/collectorrest.js +5232 -96
- package/dist/commonjs/models/collectorrest.js.map +1 -1
- package/dist/commonjs/models/collectors3.d.ts +1003 -34
- package/dist/commonjs/models/collectors3.d.ts.map +1 -1
- package/dist/commonjs/models/collectors3.js +653 -32
- package/dist/commonjs/models/collectors3.js.map +1 -1
- package/dist/commonjs/models/collectorsplunk.d.ts +1803 -82
- package/dist/commonjs/models/collectorsplunk.d.ts.map +1 -1
- package/dist/commonjs/models/collectorsplunk.js +1320 -50
- package/dist/commonjs/models/collectorsplunk.js.map +1 -1
- package/dist/commonjs/models/functionconfschemahandlebars.d.ts +46 -0
- package/dist/commonjs/models/functionconfschemahandlebars.d.ts.map +1 -0
- package/dist/commonjs/models/{functionconfschemahandlebar.js → functionconfschemahandlebars.js} +12 -11
- package/dist/commonjs/models/functionconfschemahandlebars.js.map +1 -0
- package/dist/commonjs/models/functionconfschemanotificationpolicies.d.ts +5 -0
- package/dist/commonjs/models/functionconfschemanotificationpolicies.d.ts.map +1 -1
- package/dist/commonjs/models/functionconfschemanotificationpolicies.js +2 -0
- package/dist/commonjs/models/functionconfschemanotificationpolicies.js.map +1 -1
- package/dist/commonjs/models/{functionhandlebar.d.ts → functionhandlebars.d.ts} +7 -7
- package/dist/commonjs/models/functionhandlebars.d.ts.map +1 -0
- package/dist/commonjs/models/{functionhandlebar.js → functionhandlebars.js} +9 -9
- package/dist/commonjs/models/functionhandlebars.js.map +1 -0
- package/dist/commonjs/models/functionresponse.d.ts +2 -2
- package/dist/commonjs/models/functionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/functionresponse.js +2 -2
- package/dist/commonjs/models/functionresponse.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +3 -3
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +3 -3
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/pipelinefunctionconf.d.ts +2 -2
- package/dist/commonjs/models/pipelinefunctionconf.d.ts.map +1 -1
- package/dist/commonjs/models/pipelinefunctionconf.js +2 -2
- package/dist/commonjs/models/pipelinefunctionconf.js.map +1 -1
- package/dist/commonjs/models/pipelinefunctionconfinput.d.ts +3 -3
- package/dist/commonjs/models/pipelinefunctionconfinput.d.ts.map +1 -1
- package/dist/commonjs/models/pipelinefunctionconfinput.js +2 -2
- package/dist/commonjs/models/pipelinefunctionconfinput.js.map +1 -1
- package/dist/commonjs/models/pipelinefunctionhandlebars.d.ts +109 -0
- package/dist/commonjs/models/pipelinefunctionhandlebars.d.ts.map +1 -0
- package/dist/commonjs/models/pipelinefunctionhandlebars.js +114 -0
- package/dist/commonjs/models/pipelinefunctionhandlebars.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/collectorazureblob.d.ts +643 -19
- package/dist/esm/models/collectorazureblob.d.ts.map +1 -1
- package/dist/esm/models/collectorazureblob.js +412 -17
- package/dist/esm/models/collectorazureblob.js.map +1 -1
- package/dist/esm/models/collectorconf.d.ts +26 -2
- package/dist/esm/models/collectorconf.d.ts.map +1 -1
- package/dist/esm/models/collectorconf.js +12 -12
- package/dist/esm/models/collectorconf.js.map +1 -1
- package/dist/esm/models/collectorgooglecloudstorage.d.ts +316 -19
- package/dist/esm/models/collectorgooglecloudstorage.d.ts.map +1 -1
- package/dist/esm/models/collectorgooglecloudstorage.js +209 -17
- package/dist/esm/models/collectorgooglecloudstorage.js.map +1 -1
- package/dist/esm/models/collectorhealthcheck.d.ts +3635 -72
- package/dist/esm/models/collectorhealthcheck.d.ts.map +1 -1
- package/dist/esm/models/collectorhealthcheck.js +2681 -119
- package/dist/esm/models/collectorhealthcheck.js.map +1 -1
- package/dist/esm/models/collectorrest.d.ts +6369 -147
- package/dist/esm/models/collectorrest.d.ts.map +1 -1
- package/dist/esm/models/collectorrest.js +4941 -83
- package/dist/esm/models/collectorrest.js.map +1 -1
- package/dist/esm/models/collectors3.d.ts +1003 -34
- package/dist/esm/models/collectors3.d.ts.map +1 -1
- package/dist/esm/models/collectors3.js +631 -29
- package/dist/esm/models/collectors3.js.map +1 -1
- package/dist/esm/models/collectorsplunk.d.ts +1803 -82
- package/dist/esm/models/collectorsplunk.d.ts.map +1 -1
- package/dist/esm/models/collectorsplunk.js +1261 -43
- package/dist/esm/models/collectorsplunk.js.map +1 -1
- package/dist/esm/models/functionconfschemahandlebars.d.ts +46 -0
- package/dist/esm/models/functionconfschemahandlebars.d.ts.map +1 -0
- package/dist/esm/models/functionconfschemahandlebars.js +26 -0
- package/dist/esm/models/functionconfschemahandlebars.js.map +1 -0
- package/dist/esm/models/functionconfschemanotificationpolicies.d.ts +5 -0
- package/dist/esm/models/functionconfschemanotificationpolicies.d.ts.map +1 -1
- package/dist/esm/models/functionconfschemanotificationpolicies.js +2 -0
- package/dist/esm/models/functionconfschemanotificationpolicies.js.map +1 -1
- package/dist/esm/models/{functionhandlebar.d.ts → functionhandlebars.d.ts} +7 -7
- package/dist/esm/models/functionhandlebars.d.ts.map +1 -0
- package/dist/esm/models/{functionhandlebar.js → functionhandlebars.js} +7 -7
- package/dist/esm/models/functionhandlebars.js.map +1 -0
- package/dist/esm/models/functionresponse.d.ts +2 -2
- package/dist/esm/models/functionresponse.d.ts.map +1 -1
- package/dist/esm/models/functionresponse.js +2 -2
- package/dist/esm/models/functionresponse.js.map +1 -1
- package/dist/esm/models/index.d.ts +3 -3
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +3 -3
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/pipelinefunctionconf.d.ts +2 -2
- package/dist/esm/models/pipelinefunctionconf.d.ts.map +1 -1
- package/dist/esm/models/pipelinefunctionconf.js +2 -2
- package/dist/esm/models/pipelinefunctionconf.js.map +1 -1
- package/dist/esm/models/pipelinefunctionconfinput.d.ts +3 -3
- package/dist/esm/models/pipelinefunctionconfinput.d.ts.map +1 -1
- package/dist/esm/models/pipelinefunctionconfinput.js +2 -2
- package/dist/esm/models/pipelinefunctionconfinput.js.map +1 -1
- package/dist/esm/models/pipelinefunctionhandlebars.d.ts +109 -0
- package/dist/esm/models/pipelinefunctionhandlebars.d.ts.map +1 -0
- package/dist/esm/models/pipelinefunctionhandlebars.js +72 -0
- package/dist/esm/models/pipelinefunctionhandlebars.js.map +1 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/collectorazureblob.ts +1317 -91
- package/src/models/collectorconf.ts +36 -24
- package/src/models/collectorgooglecloudstorage.ts +698 -66
- package/src/models/collectorhealthcheck.ts +7751 -175
- package/src/models/collectorrest.ts +13275 -231
- package/src/models/collectors3.ts +1722 -97
- package/src/models/collectorsplunk.ts +3531 -187
- package/src/models/{functionconfschemahandlebar.ts → functionconfschemahandlebars.ts} +23 -20
- package/src/models/functionconfschemanotificationpolicies.ts +7 -0
- package/src/models/{functionhandlebar.ts → functionhandlebars.ts} +14 -14
- package/src/models/functionresponse.ts +5 -5
- package/src/models/index.ts +3 -3
- package/src/models/pipelinefunctionconf.ts +5 -5
- package/src/models/pipelinefunctionconfinput.ts +7 -7
- package/src/models/{pipelinefunctionhandlebar.ts → pipelinefunctionhandlebars.ts} +67 -62
- package/dist/commonjs/models/functionconfschemahandlebar.d.ts +0 -44
- package/dist/commonjs/models/functionconfschemahandlebar.d.ts.map +0 -1
- package/dist/commonjs/models/functionconfschemahandlebar.js.map +0 -1
- package/dist/commonjs/models/functionhandlebar.d.ts.map +0 -1
- package/dist/commonjs/models/functionhandlebar.js.map +0 -1
- package/dist/commonjs/models/pipelinefunctionhandlebar.d.ts +0 -108
- package/dist/commonjs/models/pipelinefunctionhandlebar.d.ts.map +0 -1
- package/dist/commonjs/models/pipelinefunctionhandlebar.js +0 -112
- package/dist/commonjs/models/pipelinefunctionhandlebar.js.map +0 -1
- package/dist/esm/models/functionconfschemahandlebar.d.ts +0 -44
- package/dist/esm/models/functionconfschemahandlebar.d.ts.map +0 -1
- package/dist/esm/models/functionconfschemahandlebar.js +0 -25
- package/dist/esm/models/functionconfschemahandlebar.js.map +0 -1
- package/dist/esm/models/functionhandlebar.d.ts.map +0 -1
- package/dist/esm/models/functionhandlebar.js.map +0 -1
- package/dist/esm/models/pipelinefunctionhandlebar.d.ts +0 -108
- package/dist/esm/models/pipelinefunctionhandlebar.d.ts.map +0 -1
- package/dist/esm/models/pipelinefunctionhandlebar.js +0 -70
- package/dist/esm/models/pipelinefunctionhandlebar.js.map +0 -1
|
@@ -1,11 +1,695 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
-
import { OpenEnum } from "../types/enums.js";
|
|
2
|
+
import { ClosedEnum, OpenEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
+
/**
|
|
6
|
+
* AWS authentication method. Choose Auto to use IAM roles.
|
|
7
|
+
*/
|
|
8
|
+
export declare const CollectorS3AuthenticationMethod5: {
|
|
9
|
+
/**
|
|
10
|
+
* Auto
|
|
11
|
+
*/
|
|
12
|
+
readonly Auto: "auto";
|
|
13
|
+
/**
|
|
14
|
+
* Manual
|
|
15
|
+
*/
|
|
16
|
+
readonly Manual: "manual";
|
|
17
|
+
/**
|
|
18
|
+
* Secret Key pair
|
|
19
|
+
*/
|
|
20
|
+
readonly Secret: "secret";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* AWS authentication method. Choose Auto to use IAM roles.
|
|
24
|
+
*/
|
|
25
|
+
export type CollectorS3AuthenticationMethod5 = OpenEnum<typeof CollectorS3AuthenticationMethod5>;
|
|
26
|
+
/**
|
|
27
|
+
* Collector type: s3
|
|
28
|
+
*/
|
|
29
|
+
export declare const CollectorS3Type5: {
|
|
30
|
+
readonly S3: "s3";
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Collector type: s3
|
|
34
|
+
*/
|
|
35
|
+
export type CollectorS3Type5 = ClosedEnum<typeof CollectorS3Type5>;
|
|
36
|
+
/**
|
|
37
|
+
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
38
|
+
*/
|
|
39
|
+
export declare const PartitioningScheme5: {
|
|
40
|
+
/**
|
|
41
|
+
* Defined in Path
|
|
42
|
+
*/
|
|
43
|
+
readonly None: "none";
|
|
44
|
+
/**
|
|
45
|
+
* DDSS
|
|
46
|
+
*/
|
|
47
|
+
readonly Ddss: "ddss";
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
51
|
+
*/
|
|
52
|
+
export type PartitioningScheme5 = OpenEnum<typeof PartitioningScheme5>;
|
|
53
|
+
export type CollectorS3Extractor5 = {
|
|
54
|
+
/**
|
|
55
|
+
* A token from the template path, such as epoch
|
|
56
|
+
*/
|
|
57
|
+
key: string;
|
|
58
|
+
/**
|
|
59
|
+
* JavaScript expression that receives token under "value" variable, and evaluates to populate event fields. Example: {date: new Date(+value*1000)}
|
|
60
|
+
*/
|
|
61
|
+
expression: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Signature version to use for signing S3 requests
|
|
65
|
+
*/
|
|
66
|
+
export declare const CollectorS3SignatureVersion5: {
|
|
67
|
+
readonly V2: "v2";
|
|
68
|
+
readonly V4: "v4";
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Signature version to use for signing S3 requests
|
|
72
|
+
*/
|
|
73
|
+
export type CollectorS3SignatureVersion5 = OpenEnum<typeof CollectorS3SignatureVersion5>;
|
|
74
|
+
export type CollectorS3S35 = {
|
|
75
|
+
/**
|
|
76
|
+
* AWS authentication method. Choose Auto to use IAM roles.
|
|
77
|
+
*/
|
|
78
|
+
awsAuthenticationMethod?: CollectorS3AuthenticationMethod5 | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Select or create a stored secret that references AWS access key and secret key.
|
|
81
|
+
*/
|
|
82
|
+
awsSecret?: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Collector type: s3
|
|
85
|
+
*/
|
|
86
|
+
type: CollectorS3Type5;
|
|
87
|
+
/**
|
|
88
|
+
* Name of the predefined Destination that will be used to auto-populate Collector settings
|
|
89
|
+
*/
|
|
90
|
+
outputName?: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* S3 Bucket from which to collect data
|
|
93
|
+
*/
|
|
94
|
+
bucket: string;
|
|
95
|
+
/**
|
|
96
|
+
* Maximum file size for each Parquet chunk
|
|
97
|
+
*/
|
|
98
|
+
parquetChunkSizeMB?: number | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* Maximum time allowed for downloading a Parquet chunk. Processing will stop if a chunk cannot be downloaded within the time specified.
|
|
101
|
+
*/
|
|
102
|
+
parquetChunkDownloadTimeout?: number | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* Region from which to retrieve data
|
|
105
|
+
*/
|
|
106
|
+
region?: string | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* Directory where data will be collected. Templating (such as 'myDir/${datacenter}/${host}/${app}/') and time-based tokens (such as 'myOtherDir/${_time:%Y}/${_time:%m}/${_time:%d}/') are supported. Can be a constant (enclosed in quotes) or a JavaScript expression.
|
|
109
|
+
*/
|
|
110
|
+
path?: string | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
113
|
+
*/
|
|
114
|
+
partitioningScheme?: PartitioningScheme5 | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* Allows using template tokens as context for expressions that enrich discovery results. For example, given a template /path/${epoch}, an extractor under key "epoch" with an expression {date: new Date(+value*1000)}, will enrich discovery results with a human readable "date" field.
|
|
117
|
+
*/
|
|
118
|
+
extractors?: Array<CollectorS3Extractor5> | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* Must point to an S3-compatible endpoint. If empty, defaults to an AWS region-specific endpoint.
|
|
121
|
+
*/
|
|
122
|
+
endpoint?: string | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* Signature version to use for signing S3 requests
|
|
125
|
+
*/
|
|
126
|
+
signatureVersion?: CollectorS3SignatureVersion5 | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* Use AssumeRole credentials
|
|
129
|
+
*/
|
|
130
|
+
enableAssumeRole?: boolean | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* Amazon Resource Name (ARN) of the role to assume
|
|
133
|
+
*/
|
|
134
|
+
assumeRoleArn?: string | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* External ID to use when assuming role
|
|
137
|
+
*/
|
|
138
|
+
assumeRoleExternalId?: string | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* 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).
|
|
141
|
+
*/
|
|
142
|
+
durationSeconds?: number | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* Maximum number of metadata objects to batch before recording as results
|
|
145
|
+
*/
|
|
146
|
+
maxBatchSize?: number | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* Traverse and include files from subdirectories. Leave this option enabled to ensure that all nested directories are searched and their contents collected.
|
|
149
|
+
*/
|
|
150
|
+
recurse?: boolean | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* Reuse connections between requests to improve performance
|
|
153
|
+
*/
|
|
154
|
+
reuseConnections?: boolean | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* Reject certificates that cannot be verified against a valid CA (such as a self-signed certificate)
|
|
157
|
+
*/
|
|
158
|
+
rejectUnauthorized?: boolean | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* Disable if you can access files within the bucket but not the bucket itself. Resolves errors of the form "discover task initialization failed...error: Forbidden".
|
|
161
|
+
*/
|
|
162
|
+
verifyPermissions?: boolean | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* Disable Collector event time filtering when a date range is specified
|
|
165
|
+
*/
|
|
166
|
+
disableTimeFilter?: boolean | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* Access key. If not present, will fall back to env.AWS_ACCESS_KEY_ID, or to the metadata endpoint for IAM creds. Optional when running on AWS. This value can be a constant or a JavaScript expression.
|
|
169
|
+
*/
|
|
170
|
+
awsApiKey?: string | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* Secret key. If not present, will fall back to env.AWS_SECRET_ACCESS_KEY, or to the metadata endpoint for IAM creds. Optional when running on AWS. This value can be a constant or a JavaScript expression.
|
|
173
|
+
*/
|
|
174
|
+
awsSecretKey?: string | undefined;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* AWS authentication method. Choose Auto to use IAM roles.
|
|
178
|
+
*/
|
|
179
|
+
export declare const CollectorS3AuthenticationMethod4: {
|
|
180
|
+
/**
|
|
181
|
+
* Auto
|
|
182
|
+
*/
|
|
183
|
+
readonly Auto: "auto";
|
|
184
|
+
/**
|
|
185
|
+
* Manual
|
|
186
|
+
*/
|
|
187
|
+
readonly Manual: "manual";
|
|
188
|
+
/**
|
|
189
|
+
* Secret Key pair
|
|
190
|
+
*/
|
|
191
|
+
readonly Secret: "secret";
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* AWS authentication method. Choose Auto to use IAM roles.
|
|
195
|
+
*/
|
|
196
|
+
export type CollectorS3AuthenticationMethod4 = OpenEnum<typeof CollectorS3AuthenticationMethod4>;
|
|
197
|
+
/**
|
|
198
|
+
* Collector type: s3
|
|
199
|
+
*/
|
|
200
|
+
export declare const CollectorS3Type4: {
|
|
201
|
+
readonly S3: "s3";
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Collector type: s3
|
|
205
|
+
*/
|
|
206
|
+
export type CollectorS3Type4 = ClosedEnum<typeof CollectorS3Type4>;
|
|
207
|
+
/**
|
|
208
|
+
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
209
|
+
*/
|
|
210
|
+
export declare const PartitioningScheme4: {
|
|
211
|
+
/**
|
|
212
|
+
* Defined in Path
|
|
213
|
+
*/
|
|
214
|
+
readonly None: "none";
|
|
215
|
+
/**
|
|
216
|
+
* DDSS
|
|
217
|
+
*/
|
|
218
|
+
readonly Ddss: "ddss";
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
222
|
+
*/
|
|
223
|
+
export type PartitioningScheme4 = OpenEnum<typeof PartitioningScheme4>;
|
|
224
|
+
export type CollectorS3Extractor4 = {
|
|
225
|
+
/**
|
|
226
|
+
* A token from the template path, such as epoch
|
|
227
|
+
*/
|
|
228
|
+
key: string;
|
|
229
|
+
/**
|
|
230
|
+
* JavaScript expression that receives token under "value" variable, and evaluates to populate event fields. Example: {date: new Date(+value*1000)}
|
|
231
|
+
*/
|
|
232
|
+
expression: string;
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* Signature version to use for signing S3 requests
|
|
236
|
+
*/
|
|
237
|
+
export declare const CollectorS3SignatureVersion4: {
|
|
238
|
+
readonly V2: "v2";
|
|
239
|
+
readonly V4: "v4";
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* Signature version to use for signing S3 requests
|
|
243
|
+
*/
|
|
244
|
+
export type CollectorS3SignatureVersion4 = OpenEnum<typeof CollectorS3SignatureVersion4>;
|
|
245
|
+
export type CollectorS3S34 = {
|
|
246
|
+
/**
|
|
247
|
+
* AWS authentication method. Choose Auto to use IAM roles.
|
|
248
|
+
*/
|
|
249
|
+
awsAuthenticationMethod?: CollectorS3AuthenticationMethod4 | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* Access key. If not present, will fall back to env.AWS_ACCESS_KEY_ID, or to the metadata endpoint for IAM creds. Optional when running on AWS. This value can be a constant or a JavaScript expression.
|
|
252
|
+
*/
|
|
253
|
+
awsApiKey?: string | undefined;
|
|
254
|
+
/**
|
|
255
|
+
* Secret key. If not present, will fall back to env.AWS_SECRET_ACCESS_KEY, or to the metadata endpoint for IAM creds. Optional when running on AWS. This value can be a constant or a JavaScript expression.
|
|
256
|
+
*/
|
|
257
|
+
awsSecretKey?: string | undefined;
|
|
258
|
+
/**
|
|
259
|
+
* Collector type: s3
|
|
260
|
+
*/
|
|
261
|
+
type: CollectorS3Type4;
|
|
262
|
+
/**
|
|
263
|
+
* Name of the predefined Destination that will be used to auto-populate Collector settings
|
|
264
|
+
*/
|
|
265
|
+
outputName?: string | undefined;
|
|
266
|
+
/**
|
|
267
|
+
* S3 Bucket from which to collect data
|
|
268
|
+
*/
|
|
269
|
+
bucket: string;
|
|
270
|
+
/**
|
|
271
|
+
* Maximum file size for each Parquet chunk
|
|
272
|
+
*/
|
|
273
|
+
parquetChunkSizeMB?: number | undefined;
|
|
274
|
+
/**
|
|
275
|
+
* Maximum time allowed for downloading a Parquet chunk. Processing will stop if a chunk cannot be downloaded within the time specified.
|
|
276
|
+
*/
|
|
277
|
+
parquetChunkDownloadTimeout?: number | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* Region from which to retrieve data
|
|
280
|
+
*/
|
|
281
|
+
region?: string | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* Directory where data will be collected. Templating (such as 'myDir/${datacenter}/${host}/${app}/') and time-based tokens (such as 'myOtherDir/${_time:%Y}/${_time:%m}/${_time:%d}/') are supported. Can be a constant (enclosed in quotes) or a JavaScript expression.
|
|
284
|
+
*/
|
|
285
|
+
path?: string | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
288
|
+
*/
|
|
289
|
+
partitioningScheme?: PartitioningScheme4 | undefined;
|
|
290
|
+
/**
|
|
291
|
+
* Allows using template tokens as context for expressions that enrich discovery results. For example, given a template /path/${epoch}, an extractor under key "epoch" with an expression {date: new Date(+value*1000)}, will enrich discovery results with a human readable "date" field.
|
|
292
|
+
*/
|
|
293
|
+
extractors?: Array<CollectorS3Extractor4> | undefined;
|
|
294
|
+
/**
|
|
295
|
+
* Must point to an S3-compatible endpoint. If empty, defaults to an AWS region-specific endpoint.
|
|
296
|
+
*/
|
|
297
|
+
endpoint?: string | undefined;
|
|
298
|
+
/**
|
|
299
|
+
* Signature version to use for signing S3 requests
|
|
300
|
+
*/
|
|
301
|
+
signatureVersion?: CollectorS3SignatureVersion4 | undefined;
|
|
302
|
+
/**
|
|
303
|
+
* Use AssumeRole credentials
|
|
304
|
+
*/
|
|
305
|
+
enableAssumeRole?: boolean | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* Amazon Resource Name (ARN) of the role to assume
|
|
308
|
+
*/
|
|
309
|
+
assumeRoleArn?: string | undefined;
|
|
310
|
+
/**
|
|
311
|
+
* External ID to use when assuming role
|
|
312
|
+
*/
|
|
313
|
+
assumeRoleExternalId?: string | undefined;
|
|
314
|
+
/**
|
|
315
|
+
* 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).
|
|
316
|
+
*/
|
|
317
|
+
durationSeconds?: number | undefined;
|
|
318
|
+
/**
|
|
319
|
+
* Maximum number of metadata objects to batch before recording as results
|
|
320
|
+
*/
|
|
321
|
+
maxBatchSize?: number | undefined;
|
|
322
|
+
/**
|
|
323
|
+
* Traverse and include files from subdirectories. Leave this option enabled to ensure that all nested directories are searched and their contents collected.
|
|
324
|
+
*/
|
|
325
|
+
recurse?: boolean | undefined;
|
|
326
|
+
/**
|
|
327
|
+
* Reuse connections between requests to improve performance
|
|
328
|
+
*/
|
|
329
|
+
reuseConnections?: boolean | undefined;
|
|
330
|
+
/**
|
|
331
|
+
* Reject certificates that cannot be verified against a valid CA (such as a self-signed certificate)
|
|
332
|
+
*/
|
|
333
|
+
rejectUnauthorized?: boolean | undefined;
|
|
334
|
+
/**
|
|
335
|
+
* Disable if you can access files within the bucket but not the bucket itself. Resolves errors of the form "discover task initialization failed...error: Forbidden".
|
|
336
|
+
*/
|
|
337
|
+
verifyPermissions?: boolean | undefined;
|
|
338
|
+
/**
|
|
339
|
+
* Disable Collector event time filtering when a date range is specified
|
|
340
|
+
*/
|
|
341
|
+
disableTimeFilter?: boolean | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* Select or create a stored secret that references AWS access key and secret key.
|
|
344
|
+
*/
|
|
345
|
+
awsSecret?: string | undefined;
|
|
346
|
+
};
|
|
347
|
+
/**
|
|
348
|
+
* AWS authentication method. Choose Auto to use IAM roles.
|
|
349
|
+
*/
|
|
350
|
+
export declare const CollectorS3AuthenticationMethod3: {
|
|
351
|
+
/**
|
|
352
|
+
* Auto
|
|
353
|
+
*/
|
|
354
|
+
readonly Auto: "auto";
|
|
355
|
+
/**
|
|
356
|
+
* Manual
|
|
357
|
+
*/
|
|
358
|
+
readonly Manual: "manual";
|
|
359
|
+
/**
|
|
360
|
+
* Secret Key pair
|
|
361
|
+
*/
|
|
362
|
+
readonly Secret: "secret";
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* AWS authentication method. Choose Auto to use IAM roles.
|
|
366
|
+
*/
|
|
367
|
+
export type CollectorS3AuthenticationMethod3 = OpenEnum<typeof CollectorS3AuthenticationMethod3>;
|
|
368
|
+
/**
|
|
369
|
+
* Collector type: s3
|
|
370
|
+
*/
|
|
371
|
+
export declare const CollectorS3Type3: {
|
|
372
|
+
readonly S3: "s3";
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* Collector type: s3
|
|
376
|
+
*/
|
|
377
|
+
export type CollectorS3Type3 = ClosedEnum<typeof CollectorS3Type3>;
|
|
378
|
+
/**
|
|
379
|
+
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
380
|
+
*/
|
|
381
|
+
export declare const PartitioningScheme3: {
|
|
382
|
+
/**
|
|
383
|
+
* Defined in Path
|
|
384
|
+
*/
|
|
385
|
+
readonly None: "none";
|
|
386
|
+
/**
|
|
387
|
+
* DDSS
|
|
388
|
+
*/
|
|
389
|
+
readonly Ddss: "ddss";
|
|
390
|
+
};
|
|
391
|
+
/**
|
|
392
|
+
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
393
|
+
*/
|
|
394
|
+
export type PartitioningScheme3 = OpenEnum<typeof PartitioningScheme3>;
|
|
395
|
+
export type CollectorS3Extractor3 = {
|
|
396
|
+
/**
|
|
397
|
+
* A token from the template path, such as epoch
|
|
398
|
+
*/
|
|
399
|
+
key: string;
|
|
400
|
+
/**
|
|
401
|
+
* JavaScript expression that receives token under "value" variable, and evaluates to populate event fields. Example: {date: new Date(+value*1000)}
|
|
402
|
+
*/
|
|
403
|
+
expression: string;
|
|
404
|
+
};
|
|
405
|
+
/**
|
|
406
|
+
* Signature version to use for signing S3 requests
|
|
407
|
+
*/
|
|
408
|
+
export declare const CollectorS3SignatureVersion3: {
|
|
409
|
+
readonly V2: "v2";
|
|
410
|
+
readonly V4: "v4";
|
|
411
|
+
};
|
|
412
|
+
/**
|
|
413
|
+
* Signature version to use for signing S3 requests
|
|
414
|
+
*/
|
|
415
|
+
export type CollectorS3SignatureVersion3 = OpenEnum<typeof CollectorS3SignatureVersion3>;
|
|
416
|
+
export type CollectorS3S33 = {
|
|
417
|
+
/**
|
|
418
|
+
* AWS authentication method. Choose Auto to use IAM roles.
|
|
419
|
+
*/
|
|
420
|
+
awsAuthenticationMethod?: CollectorS3AuthenticationMethod3 | undefined;
|
|
421
|
+
/**
|
|
422
|
+
* Collector type: s3
|
|
423
|
+
*/
|
|
424
|
+
type: CollectorS3Type3;
|
|
425
|
+
/**
|
|
426
|
+
* Name of the predefined Destination that will be used to auto-populate Collector settings
|
|
427
|
+
*/
|
|
428
|
+
outputName?: string | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* S3 Bucket from which to collect data
|
|
431
|
+
*/
|
|
432
|
+
bucket: string;
|
|
433
|
+
/**
|
|
434
|
+
* Maximum file size for each Parquet chunk
|
|
435
|
+
*/
|
|
436
|
+
parquetChunkSizeMB?: number | undefined;
|
|
437
|
+
/**
|
|
438
|
+
* Maximum time allowed for downloading a Parquet chunk. Processing will stop if a chunk cannot be downloaded within the time specified.
|
|
439
|
+
*/
|
|
440
|
+
parquetChunkDownloadTimeout?: number | undefined;
|
|
441
|
+
/**
|
|
442
|
+
* Region from which to retrieve data
|
|
443
|
+
*/
|
|
444
|
+
region?: string | undefined;
|
|
445
|
+
/**
|
|
446
|
+
* Directory where data will be collected. Templating (such as 'myDir/${datacenter}/${host}/${app}/') and time-based tokens (such as 'myOtherDir/${_time:%Y}/${_time:%m}/${_time:%d}/') are supported. Can be a constant (enclosed in quotes) or a JavaScript expression.
|
|
447
|
+
*/
|
|
448
|
+
path?: string | undefined;
|
|
449
|
+
/**
|
|
450
|
+
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
451
|
+
*/
|
|
452
|
+
partitioningScheme?: PartitioningScheme3 | undefined;
|
|
453
|
+
/**
|
|
454
|
+
* Allows using template tokens as context for expressions that enrich discovery results. For example, given a template /path/${epoch}, an extractor under key "epoch" with an expression {date: new Date(+value*1000)}, will enrich discovery results with a human readable "date" field.
|
|
455
|
+
*/
|
|
456
|
+
extractors?: Array<CollectorS3Extractor3> | undefined;
|
|
457
|
+
/**
|
|
458
|
+
* Must point to an S3-compatible endpoint. If empty, defaults to an AWS region-specific endpoint.
|
|
459
|
+
*/
|
|
460
|
+
endpoint?: string | undefined;
|
|
461
|
+
/**
|
|
462
|
+
* Signature version to use for signing S3 requests
|
|
463
|
+
*/
|
|
464
|
+
signatureVersion?: CollectorS3SignatureVersion3 | undefined;
|
|
465
|
+
/**
|
|
466
|
+
* Use AssumeRole credentials
|
|
467
|
+
*/
|
|
468
|
+
enableAssumeRole?: boolean | undefined;
|
|
469
|
+
/**
|
|
470
|
+
* Amazon Resource Name (ARN) of the role to assume
|
|
471
|
+
*/
|
|
472
|
+
assumeRoleArn?: string | undefined;
|
|
473
|
+
/**
|
|
474
|
+
* External ID to use when assuming role
|
|
475
|
+
*/
|
|
476
|
+
assumeRoleExternalId?: string | undefined;
|
|
477
|
+
/**
|
|
478
|
+
* 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).
|
|
479
|
+
*/
|
|
480
|
+
durationSeconds?: number | undefined;
|
|
481
|
+
/**
|
|
482
|
+
* Maximum number of metadata objects to batch before recording as results
|
|
483
|
+
*/
|
|
484
|
+
maxBatchSize?: number | undefined;
|
|
485
|
+
/**
|
|
486
|
+
* Traverse and include files from subdirectories. Leave this option enabled to ensure that all nested directories are searched and their contents collected.
|
|
487
|
+
*/
|
|
488
|
+
recurse?: boolean | undefined;
|
|
489
|
+
/**
|
|
490
|
+
* Reuse connections between requests to improve performance
|
|
491
|
+
*/
|
|
492
|
+
reuseConnections?: boolean | undefined;
|
|
493
|
+
/**
|
|
494
|
+
* Reject certificates that cannot be verified against a valid CA (such as a self-signed certificate)
|
|
495
|
+
*/
|
|
496
|
+
rejectUnauthorized?: boolean | undefined;
|
|
497
|
+
/**
|
|
498
|
+
* Disable if you can access files within the bucket but not the bucket itself. Resolves errors of the form "discover task initialization failed...error: Forbidden".
|
|
499
|
+
*/
|
|
500
|
+
verifyPermissions?: boolean | undefined;
|
|
501
|
+
/**
|
|
502
|
+
* Disable Collector event time filtering when a date range is specified
|
|
503
|
+
*/
|
|
504
|
+
disableTimeFilter?: boolean | undefined;
|
|
505
|
+
/**
|
|
506
|
+
* Access key. If not present, will fall back to env.AWS_ACCESS_KEY_ID, or to the metadata endpoint for IAM creds. Optional when running on AWS. This value can be a constant or a JavaScript expression.
|
|
507
|
+
*/
|
|
508
|
+
awsApiKey?: string | undefined;
|
|
509
|
+
/**
|
|
510
|
+
* Secret key. If not present, will fall back to env.AWS_SECRET_ACCESS_KEY, or to the metadata endpoint for IAM creds. Optional when running on AWS. This value can be a constant or a JavaScript expression.
|
|
511
|
+
*/
|
|
512
|
+
awsSecretKey?: string | undefined;
|
|
513
|
+
/**
|
|
514
|
+
* Select or create a stored secret that references AWS access key and secret key.
|
|
515
|
+
*/
|
|
516
|
+
awsSecret?: string | undefined;
|
|
517
|
+
};
|
|
518
|
+
/**
|
|
519
|
+
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
520
|
+
*/
|
|
521
|
+
export declare const PartitioningScheme2: {
|
|
522
|
+
/**
|
|
523
|
+
* Defined in Path
|
|
524
|
+
*/
|
|
525
|
+
readonly None: "none";
|
|
526
|
+
/**
|
|
527
|
+
* DDSS
|
|
528
|
+
*/
|
|
529
|
+
readonly Ddss: "ddss";
|
|
530
|
+
};
|
|
531
|
+
/**
|
|
532
|
+
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
533
|
+
*/
|
|
534
|
+
export type PartitioningScheme2 = OpenEnum<typeof PartitioningScheme2>;
|
|
535
|
+
/**
|
|
536
|
+
* Collector type: s3
|
|
537
|
+
*/
|
|
538
|
+
export declare const CollectorS3Type2: {
|
|
539
|
+
readonly S3: "s3";
|
|
540
|
+
};
|
|
541
|
+
/**
|
|
542
|
+
* Collector type: s3
|
|
543
|
+
*/
|
|
544
|
+
export type CollectorS3Type2 = ClosedEnum<typeof CollectorS3Type2>;
|
|
545
|
+
export type CollectorS3Extractor2 = {
|
|
546
|
+
/**
|
|
547
|
+
* A token from the template path, such as epoch
|
|
548
|
+
*/
|
|
549
|
+
key: string;
|
|
550
|
+
/**
|
|
551
|
+
* JavaScript expression that receives token under "value" variable, and evaluates to populate event fields. Example: {date: new Date(+value*1000)}
|
|
552
|
+
*/
|
|
553
|
+
expression: string;
|
|
554
|
+
};
|
|
555
|
+
/**
|
|
556
|
+
* AWS authentication method. Choose Auto to use IAM roles.
|
|
557
|
+
*/
|
|
558
|
+
export declare const CollectorS3AuthenticationMethod2: {
|
|
559
|
+
/**
|
|
560
|
+
* Auto
|
|
561
|
+
*/
|
|
562
|
+
readonly Auto: "auto";
|
|
563
|
+
/**
|
|
564
|
+
* Manual
|
|
565
|
+
*/
|
|
566
|
+
readonly Manual: "manual";
|
|
567
|
+
/**
|
|
568
|
+
* Secret Key pair
|
|
569
|
+
*/
|
|
570
|
+
readonly Secret: "secret";
|
|
571
|
+
};
|
|
572
|
+
/**
|
|
573
|
+
* AWS authentication method. Choose Auto to use IAM roles.
|
|
574
|
+
*/
|
|
575
|
+
export type CollectorS3AuthenticationMethod2 = OpenEnum<typeof CollectorS3AuthenticationMethod2>;
|
|
576
|
+
/**
|
|
577
|
+
* Signature version to use for signing S3 requests
|
|
578
|
+
*/
|
|
579
|
+
export declare const CollectorS3SignatureVersion2: {
|
|
580
|
+
readonly V2: "v2";
|
|
581
|
+
readonly V4: "v4";
|
|
582
|
+
};
|
|
583
|
+
/**
|
|
584
|
+
* Signature version to use for signing S3 requests
|
|
585
|
+
*/
|
|
586
|
+
export type CollectorS3SignatureVersion2 = OpenEnum<typeof CollectorS3SignatureVersion2>;
|
|
587
|
+
export type CollectorS3S32 = {
|
|
588
|
+
/**
|
|
589
|
+
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
590
|
+
*/
|
|
591
|
+
partitioningScheme?: PartitioningScheme2 | undefined;
|
|
592
|
+
/**
|
|
593
|
+
* Traverse and include files from subdirectories. Leave this option enabled to ensure that all nested directories are searched and their contents collected.
|
|
594
|
+
*/
|
|
595
|
+
recurse?: boolean | undefined;
|
|
596
|
+
/**
|
|
597
|
+
* Collector type: s3
|
|
598
|
+
*/
|
|
599
|
+
type: CollectorS3Type2;
|
|
600
|
+
/**
|
|
601
|
+
* Name of the predefined Destination that will be used to auto-populate Collector settings
|
|
602
|
+
*/
|
|
603
|
+
outputName?: string | undefined;
|
|
604
|
+
/**
|
|
605
|
+
* S3 Bucket from which to collect data
|
|
606
|
+
*/
|
|
607
|
+
bucket: string;
|
|
608
|
+
/**
|
|
609
|
+
* Maximum file size for each Parquet chunk
|
|
610
|
+
*/
|
|
611
|
+
parquetChunkSizeMB?: number | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* Maximum time allowed for downloading a Parquet chunk. Processing will stop if a chunk cannot be downloaded within the time specified.
|
|
614
|
+
*/
|
|
615
|
+
parquetChunkDownloadTimeout?: number | undefined;
|
|
616
|
+
/**
|
|
617
|
+
* Region from which to retrieve data
|
|
618
|
+
*/
|
|
619
|
+
region?: string | undefined;
|
|
620
|
+
/**
|
|
621
|
+
* Directory where data will be collected. Templating (such as 'myDir/${datacenter}/${host}/${app}/') and time-based tokens (such as 'myOtherDir/${_time:%Y}/${_time:%m}/${_time:%d}/') are supported. Can be a constant (enclosed in quotes) or a JavaScript expression.
|
|
622
|
+
*/
|
|
623
|
+
path?: string | undefined;
|
|
624
|
+
/**
|
|
625
|
+
* Allows using template tokens as context for expressions that enrich discovery results. For example, given a template /path/${epoch}, an extractor under key "epoch" with an expression {date: new Date(+value*1000)}, will enrich discovery results with a human readable "date" field.
|
|
626
|
+
*/
|
|
627
|
+
extractors?: Array<CollectorS3Extractor2> | undefined;
|
|
628
|
+
/**
|
|
629
|
+
* AWS authentication method. Choose Auto to use IAM roles.
|
|
630
|
+
*/
|
|
631
|
+
awsAuthenticationMethod?: CollectorS3AuthenticationMethod2 | undefined;
|
|
632
|
+
/**
|
|
633
|
+
* Must point to an S3-compatible endpoint. If empty, defaults to an AWS region-specific endpoint.
|
|
634
|
+
*/
|
|
635
|
+
endpoint?: string | undefined;
|
|
636
|
+
/**
|
|
637
|
+
* Signature version to use for signing S3 requests
|
|
638
|
+
*/
|
|
639
|
+
signatureVersion?: CollectorS3SignatureVersion2 | undefined;
|
|
640
|
+
/**
|
|
641
|
+
* Use AssumeRole credentials
|
|
642
|
+
*/
|
|
643
|
+
enableAssumeRole?: boolean | undefined;
|
|
644
|
+
/**
|
|
645
|
+
* Amazon Resource Name (ARN) of the role to assume
|
|
646
|
+
*/
|
|
647
|
+
assumeRoleArn?: string | undefined;
|
|
648
|
+
/**
|
|
649
|
+
* External ID to use when assuming role
|
|
650
|
+
*/
|
|
651
|
+
assumeRoleExternalId?: string | undefined;
|
|
652
|
+
/**
|
|
653
|
+
* 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).
|
|
654
|
+
*/
|
|
655
|
+
durationSeconds?: number | undefined;
|
|
656
|
+
/**
|
|
657
|
+
* Maximum number of metadata objects to batch before recording as results
|
|
658
|
+
*/
|
|
659
|
+
maxBatchSize?: number | undefined;
|
|
660
|
+
/**
|
|
661
|
+
* Reuse connections between requests to improve performance
|
|
662
|
+
*/
|
|
663
|
+
reuseConnections?: boolean | undefined;
|
|
664
|
+
/**
|
|
665
|
+
* Reject certificates that cannot be verified against a valid CA (such as a self-signed certificate)
|
|
666
|
+
*/
|
|
667
|
+
rejectUnauthorized?: boolean | undefined;
|
|
668
|
+
/**
|
|
669
|
+
* Disable if you can access files within the bucket but not the bucket itself. Resolves errors of the form "discover task initialization failed...error: Forbidden".
|
|
670
|
+
*/
|
|
671
|
+
verifyPermissions?: boolean | undefined;
|
|
672
|
+
/**
|
|
673
|
+
* Disable Collector event time filtering when a date range is specified
|
|
674
|
+
*/
|
|
675
|
+
disableTimeFilter?: boolean | undefined;
|
|
676
|
+
/**
|
|
677
|
+
* Access key. If not present, will fall back to env.AWS_ACCESS_KEY_ID, or to the metadata endpoint for IAM creds. Optional when running on AWS. This value can be a constant or a JavaScript expression.
|
|
678
|
+
*/
|
|
679
|
+
awsApiKey?: string | undefined;
|
|
680
|
+
/**
|
|
681
|
+
* Secret key. If not present, will fall back to env.AWS_SECRET_ACCESS_KEY, or to the metadata endpoint for IAM creds. Optional when running on AWS. This value can be a constant or a JavaScript expression.
|
|
682
|
+
*/
|
|
683
|
+
awsSecretKey?: string | undefined;
|
|
684
|
+
/**
|
|
685
|
+
* Select or create a stored secret that references AWS access key and secret key.
|
|
686
|
+
*/
|
|
687
|
+
awsSecret?: string | undefined;
|
|
688
|
+
};
|
|
5
689
|
/**
|
|
6
690
|
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
7
691
|
*/
|
|
8
|
-
export declare const
|
|
692
|
+
export declare const PartitioningScheme1: {
|
|
9
693
|
/**
|
|
10
694
|
* Defined in Path
|
|
11
695
|
*/
|
|
@@ -18,8 +702,18 @@ export declare const PartitioningScheme: {
|
|
|
18
702
|
/**
|
|
19
703
|
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
20
704
|
*/
|
|
21
|
-
export type
|
|
22
|
-
|
|
705
|
+
export type PartitioningScheme1 = OpenEnum<typeof PartitioningScheme1>;
|
|
706
|
+
/**
|
|
707
|
+
* Collector type: s3
|
|
708
|
+
*/
|
|
709
|
+
export declare const CollectorS3Type1: {
|
|
710
|
+
readonly S3: "s3";
|
|
711
|
+
};
|
|
712
|
+
/**
|
|
713
|
+
* Collector type: s3
|
|
714
|
+
*/
|
|
715
|
+
export type CollectorS3Type1 = ClosedEnum<typeof CollectorS3Type1>;
|
|
716
|
+
export type CollectorS3Extractor1 = {
|
|
23
717
|
/**
|
|
24
718
|
* A token from the template path, such as epoch
|
|
25
719
|
*/
|
|
@@ -32,7 +726,7 @@ export type CollectorS3Extractor = {
|
|
|
32
726
|
/**
|
|
33
727
|
* AWS authentication method. Choose Auto to use IAM roles.
|
|
34
728
|
*/
|
|
35
|
-
export declare const
|
|
729
|
+
export declare const CollectorS3AuthenticationMethod1: {
|
|
36
730
|
/**
|
|
37
731
|
* Auto
|
|
38
732
|
*/
|
|
@@ -49,23 +743,27 @@ export declare const CollectorS3AuthenticationMethod: {
|
|
|
49
743
|
/**
|
|
50
744
|
* AWS authentication method. Choose Auto to use IAM roles.
|
|
51
745
|
*/
|
|
52
|
-
export type
|
|
746
|
+
export type CollectorS3AuthenticationMethod1 = OpenEnum<typeof CollectorS3AuthenticationMethod1>;
|
|
53
747
|
/**
|
|
54
748
|
* Signature version to use for signing S3 requests
|
|
55
749
|
*/
|
|
56
|
-
export declare const
|
|
750
|
+
export declare const CollectorS3SignatureVersion1: {
|
|
57
751
|
readonly V2: "v2";
|
|
58
752
|
readonly V4: "v4";
|
|
59
753
|
};
|
|
60
754
|
/**
|
|
61
755
|
* Signature version to use for signing S3 requests
|
|
62
756
|
*/
|
|
63
|
-
export type
|
|
64
|
-
export type
|
|
757
|
+
export type CollectorS3SignatureVersion1 = OpenEnum<typeof CollectorS3SignatureVersion1>;
|
|
758
|
+
export type CollectorS3S31 = {
|
|
759
|
+
/**
|
|
760
|
+
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
761
|
+
*/
|
|
762
|
+
partitioningScheme?: PartitioningScheme1 | undefined;
|
|
65
763
|
/**
|
|
66
764
|
* Collector type: s3
|
|
67
765
|
*/
|
|
68
|
-
type:
|
|
766
|
+
type: CollectorS3Type1;
|
|
69
767
|
/**
|
|
70
768
|
* Name of the predefined Destination that will be used to auto-populate Collector settings
|
|
71
769
|
*/
|
|
@@ -90,18 +788,14 @@ export type CollectorS3 = {
|
|
|
90
788
|
* Directory where data will be collected. Templating (such as 'myDir/${datacenter}/${host}/${app}/') and time-based tokens (such as 'myOtherDir/${_time:%Y}/${_time:%m}/${_time:%d}/') are supported. Can be a constant (enclosed in quotes) or a JavaScript expression.
|
|
91
789
|
*/
|
|
92
790
|
path?: string | undefined;
|
|
93
|
-
/**
|
|
94
|
-
* Partitioning scheme used for this dataset. Using a known scheme like DDSS enables more efficient data reading and retrieval.
|
|
95
|
-
*/
|
|
96
|
-
partitioningScheme?: PartitioningScheme | undefined;
|
|
97
791
|
/**
|
|
98
792
|
* Allows using template tokens as context for expressions that enrich discovery results. For example, given a template /path/${epoch}, an extractor under key "epoch" with an expression {date: new Date(+value*1000)}, will enrich discovery results with a human readable "date" field.
|
|
99
793
|
*/
|
|
100
|
-
extractors?: Array<
|
|
794
|
+
extractors?: Array<CollectorS3Extractor1> | undefined;
|
|
101
795
|
/**
|
|
102
796
|
* AWS authentication method. Choose Auto to use IAM roles.
|
|
103
797
|
*/
|
|
104
|
-
awsAuthenticationMethod?:
|
|
798
|
+
awsAuthenticationMethod?: CollectorS3AuthenticationMethod1 | undefined;
|
|
105
799
|
/**
|
|
106
800
|
* Must point to an S3-compatible endpoint. If empty, defaults to an AWS region-specific endpoint.
|
|
107
801
|
*/
|
|
@@ -109,7 +803,7 @@ export type CollectorS3 = {
|
|
|
109
803
|
/**
|
|
110
804
|
* Signature version to use for signing S3 requests
|
|
111
805
|
*/
|
|
112
|
-
signatureVersion?:
|
|
806
|
+
signatureVersion?: CollectorS3SignatureVersion1 | undefined;
|
|
113
807
|
/**
|
|
114
808
|
* Use AssumeRole credentials
|
|
115
809
|
*/
|
|
@@ -130,7 +824,10 @@ export type CollectorS3 = {
|
|
|
130
824
|
* Maximum number of metadata objects to batch before recording as results
|
|
131
825
|
*/
|
|
132
826
|
maxBatchSize?: number | undefined;
|
|
133
|
-
|
|
827
|
+
/**
|
|
828
|
+
* Traverse and include files from subdirectories. Leave this option enabled to ensure that all nested directories are searched and their contents collected.
|
|
829
|
+
*/
|
|
830
|
+
recurse?: boolean | undefined;
|
|
134
831
|
/**
|
|
135
832
|
* Reuse connections between requests to improve performance
|
|
136
833
|
*/
|
|
@@ -147,43 +844,304 @@ export type CollectorS3 = {
|
|
|
147
844
|
* Disable Collector event time filtering when a date range is specified
|
|
148
845
|
*/
|
|
149
846
|
disableTimeFilter?: boolean | undefined;
|
|
847
|
+
/**
|
|
848
|
+
* Access key. If not present, will fall back to env.AWS_ACCESS_KEY_ID, or to the metadata endpoint for IAM creds. Optional when running on AWS. This value can be a constant or a JavaScript expression.
|
|
849
|
+
*/
|
|
850
|
+
awsApiKey?: string | undefined;
|
|
851
|
+
/**
|
|
852
|
+
* Secret key. If not present, will fall back to env.AWS_SECRET_ACCESS_KEY, or to the metadata endpoint for IAM creds. Optional when running on AWS. This value can be a constant or a JavaScript expression.
|
|
853
|
+
*/
|
|
854
|
+
awsSecretKey?: string | undefined;
|
|
855
|
+
/**
|
|
856
|
+
* Select or create a stored secret that references AWS access key and secret key.
|
|
857
|
+
*/
|
|
858
|
+
awsSecret?: string | undefined;
|
|
150
859
|
};
|
|
860
|
+
export type CollectorS3 = CollectorS3S31 | CollectorS3S32 | CollectorS3S33 | CollectorS3S34 | CollectorS3S35;
|
|
861
|
+
/** @internal */
|
|
862
|
+
export declare const CollectorS3AuthenticationMethod5$inboundSchema: z.ZodType<CollectorS3AuthenticationMethod5, z.ZodTypeDef, unknown>;
|
|
863
|
+
/** @internal */
|
|
864
|
+
export declare const CollectorS3AuthenticationMethod5$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorS3AuthenticationMethod5>;
|
|
865
|
+
/** @internal */
|
|
866
|
+
export declare const CollectorS3Type5$inboundSchema: z.ZodNativeEnum<typeof CollectorS3Type5>;
|
|
151
867
|
/** @internal */
|
|
152
|
-
export declare const
|
|
868
|
+
export declare const CollectorS3Type5$outboundSchema: z.ZodNativeEnum<typeof CollectorS3Type5>;
|
|
153
869
|
/** @internal */
|
|
154
|
-
export declare const
|
|
870
|
+
export declare const PartitioningScheme5$inboundSchema: z.ZodType<PartitioningScheme5, z.ZodTypeDef, unknown>;
|
|
155
871
|
/** @internal */
|
|
156
|
-
export declare const
|
|
872
|
+
export declare const PartitioningScheme5$outboundSchema: z.ZodType<string, z.ZodTypeDef, PartitioningScheme5>;
|
|
157
873
|
/** @internal */
|
|
158
|
-
export
|
|
874
|
+
export declare const CollectorS3Extractor5$inboundSchema: z.ZodType<CollectorS3Extractor5, z.ZodTypeDef, unknown>;
|
|
875
|
+
/** @internal */
|
|
876
|
+
export type CollectorS3Extractor5$Outbound = {
|
|
159
877
|
key: string;
|
|
160
878
|
expression: string;
|
|
161
879
|
};
|
|
162
880
|
/** @internal */
|
|
163
|
-
export declare const
|
|
164
|
-
export declare function
|
|
165
|
-
export declare function
|
|
881
|
+
export declare const CollectorS3Extractor5$outboundSchema: z.ZodType<CollectorS3Extractor5$Outbound, z.ZodTypeDef, CollectorS3Extractor5>;
|
|
882
|
+
export declare function collectorS3Extractor5ToJSON(collectorS3Extractor5: CollectorS3Extractor5): string;
|
|
883
|
+
export declare function collectorS3Extractor5FromJSON(jsonString: string): SafeParseResult<CollectorS3Extractor5, SDKValidationError>;
|
|
884
|
+
/** @internal */
|
|
885
|
+
export declare const CollectorS3SignatureVersion5$inboundSchema: z.ZodType<CollectorS3SignatureVersion5, z.ZodTypeDef, unknown>;
|
|
166
886
|
/** @internal */
|
|
167
|
-
export declare const
|
|
887
|
+
export declare const CollectorS3SignatureVersion5$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorS3SignatureVersion5>;
|
|
168
888
|
/** @internal */
|
|
169
|
-
export declare const
|
|
889
|
+
export declare const CollectorS3S35$inboundSchema: z.ZodType<CollectorS3S35, z.ZodTypeDef, unknown>;
|
|
890
|
+
/** @internal */
|
|
891
|
+
export type CollectorS3S35$Outbound = {
|
|
892
|
+
awsAuthenticationMethod: string;
|
|
893
|
+
awsSecret?: string | undefined;
|
|
894
|
+
type: string;
|
|
895
|
+
outputName?: string | undefined;
|
|
896
|
+
bucket: string;
|
|
897
|
+
parquetChunkSizeMB: number;
|
|
898
|
+
parquetChunkDownloadTimeout: number;
|
|
899
|
+
region?: string | undefined;
|
|
900
|
+
path?: string | undefined;
|
|
901
|
+
partitioningScheme: string;
|
|
902
|
+
extractors?: Array<CollectorS3Extractor5$Outbound> | undefined;
|
|
903
|
+
endpoint?: string | undefined;
|
|
904
|
+
signatureVersion: string;
|
|
905
|
+
enableAssumeRole: boolean;
|
|
906
|
+
assumeRoleArn?: string | undefined;
|
|
907
|
+
assumeRoleExternalId?: string | undefined;
|
|
908
|
+
durationSeconds: number;
|
|
909
|
+
maxBatchSize: number;
|
|
910
|
+
recurse: boolean;
|
|
911
|
+
reuseConnections: boolean;
|
|
912
|
+
rejectUnauthorized: boolean;
|
|
913
|
+
verifyPermissions: boolean;
|
|
914
|
+
disableTimeFilter: boolean;
|
|
915
|
+
awsApiKey?: string | undefined;
|
|
916
|
+
awsSecretKey?: string | undefined;
|
|
917
|
+
};
|
|
170
918
|
/** @internal */
|
|
171
|
-
export declare const
|
|
919
|
+
export declare const CollectorS3S35$outboundSchema: z.ZodType<CollectorS3S35$Outbound, z.ZodTypeDef, CollectorS3S35>;
|
|
920
|
+
export declare function collectorS3S35ToJSON(collectorS3S35: CollectorS3S35): string;
|
|
921
|
+
export declare function collectorS3S35FromJSON(jsonString: string): SafeParseResult<CollectorS3S35, SDKValidationError>;
|
|
172
922
|
/** @internal */
|
|
173
|
-
export declare const
|
|
923
|
+
export declare const CollectorS3AuthenticationMethod4$inboundSchema: z.ZodType<CollectorS3AuthenticationMethod4, z.ZodTypeDef, unknown>;
|
|
174
924
|
/** @internal */
|
|
175
|
-
export declare const
|
|
925
|
+
export declare const CollectorS3AuthenticationMethod4$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorS3AuthenticationMethod4>;
|
|
176
926
|
/** @internal */
|
|
177
|
-
export
|
|
178
|
-
|
|
927
|
+
export declare const CollectorS3Type4$inboundSchema: z.ZodNativeEnum<typeof CollectorS3Type4>;
|
|
928
|
+
/** @internal */
|
|
929
|
+
export declare const CollectorS3Type4$outboundSchema: z.ZodNativeEnum<typeof CollectorS3Type4>;
|
|
930
|
+
/** @internal */
|
|
931
|
+
export declare const PartitioningScheme4$inboundSchema: z.ZodType<PartitioningScheme4, z.ZodTypeDef, unknown>;
|
|
932
|
+
/** @internal */
|
|
933
|
+
export declare const PartitioningScheme4$outboundSchema: z.ZodType<string, z.ZodTypeDef, PartitioningScheme4>;
|
|
934
|
+
/** @internal */
|
|
935
|
+
export declare const CollectorS3Extractor4$inboundSchema: z.ZodType<CollectorS3Extractor4, z.ZodTypeDef, unknown>;
|
|
936
|
+
/** @internal */
|
|
937
|
+
export type CollectorS3Extractor4$Outbound = {
|
|
938
|
+
key: string;
|
|
939
|
+
expression: string;
|
|
940
|
+
};
|
|
941
|
+
/** @internal */
|
|
942
|
+
export declare const CollectorS3Extractor4$outboundSchema: z.ZodType<CollectorS3Extractor4$Outbound, z.ZodTypeDef, CollectorS3Extractor4>;
|
|
943
|
+
export declare function collectorS3Extractor4ToJSON(collectorS3Extractor4: CollectorS3Extractor4): string;
|
|
944
|
+
export declare function collectorS3Extractor4FromJSON(jsonString: string): SafeParseResult<CollectorS3Extractor4, SDKValidationError>;
|
|
945
|
+
/** @internal */
|
|
946
|
+
export declare const CollectorS3SignatureVersion4$inboundSchema: z.ZodType<CollectorS3SignatureVersion4, z.ZodTypeDef, unknown>;
|
|
947
|
+
/** @internal */
|
|
948
|
+
export declare const CollectorS3SignatureVersion4$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorS3SignatureVersion4>;
|
|
949
|
+
/** @internal */
|
|
950
|
+
export declare const CollectorS3S34$inboundSchema: z.ZodType<CollectorS3S34, z.ZodTypeDef, unknown>;
|
|
951
|
+
/** @internal */
|
|
952
|
+
export type CollectorS3S34$Outbound = {
|
|
953
|
+
awsAuthenticationMethod: string;
|
|
954
|
+
awsApiKey?: string | undefined;
|
|
955
|
+
awsSecretKey?: string | undefined;
|
|
956
|
+
type: string;
|
|
957
|
+
outputName?: string | undefined;
|
|
958
|
+
bucket: string;
|
|
959
|
+
parquetChunkSizeMB: number;
|
|
960
|
+
parquetChunkDownloadTimeout: number;
|
|
961
|
+
region?: string | undefined;
|
|
962
|
+
path?: string | undefined;
|
|
963
|
+
partitioningScheme: string;
|
|
964
|
+
extractors?: Array<CollectorS3Extractor4$Outbound> | undefined;
|
|
965
|
+
endpoint?: string | undefined;
|
|
966
|
+
signatureVersion: string;
|
|
967
|
+
enableAssumeRole: boolean;
|
|
968
|
+
assumeRoleArn?: string | undefined;
|
|
969
|
+
assumeRoleExternalId?: string | undefined;
|
|
970
|
+
durationSeconds: number;
|
|
971
|
+
maxBatchSize: number;
|
|
972
|
+
recurse: boolean;
|
|
973
|
+
reuseConnections: boolean;
|
|
974
|
+
rejectUnauthorized: boolean;
|
|
975
|
+
verifyPermissions: boolean;
|
|
976
|
+
disableTimeFilter: boolean;
|
|
977
|
+
awsSecret?: string | undefined;
|
|
978
|
+
};
|
|
979
|
+
/** @internal */
|
|
980
|
+
export declare const CollectorS3S34$outboundSchema: z.ZodType<CollectorS3S34$Outbound, z.ZodTypeDef, CollectorS3S34>;
|
|
981
|
+
export declare function collectorS3S34ToJSON(collectorS3S34: CollectorS3S34): string;
|
|
982
|
+
export declare function collectorS3S34FromJSON(jsonString: string): SafeParseResult<CollectorS3S34, SDKValidationError>;
|
|
983
|
+
/** @internal */
|
|
984
|
+
export declare const CollectorS3AuthenticationMethod3$inboundSchema: z.ZodType<CollectorS3AuthenticationMethod3, z.ZodTypeDef, unknown>;
|
|
985
|
+
/** @internal */
|
|
986
|
+
export declare const CollectorS3AuthenticationMethod3$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorS3AuthenticationMethod3>;
|
|
987
|
+
/** @internal */
|
|
988
|
+
export declare const CollectorS3Type3$inboundSchema: z.ZodNativeEnum<typeof CollectorS3Type3>;
|
|
989
|
+
/** @internal */
|
|
990
|
+
export declare const CollectorS3Type3$outboundSchema: z.ZodNativeEnum<typeof CollectorS3Type3>;
|
|
991
|
+
/** @internal */
|
|
992
|
+
export declare const PartitioningScheme3$inboundSchema: z.ZodType<PartitioningScheme3, z.ZodTypeDef, unknown>;
|
|
993
|
+
/** @internal */
|
|
994
|
+
export declare const PartitioningScheme3$outboundSchema: z.ZodType<string, z.ZodTypeDef, PartitioningScheme3>;
|
|
995
|
+
/** @internal */
|
|
996
|
+
export declare const CollectorS3Extractor3$inboundSchema: z.ZodType<CollectorS3Extractor3, z.ZodTypeDef, unknown>;
|
|
997
|
+
/** @internal */
|
|
998
|
+
export type CollectorS3Extractor3$Outbound = {
|
|
999
|
+
key: string;
|
|
1000
|
+
expression: string;
|
|
1001
|
+
};
|
|
1002
|
+
/** @internal */
|
|
1003
|
+
export declare const CollectorS3Extractor3$outboundSchema: z.ZodType<CollectorS3Extractor3$Outbound, z.ZodTypeDef, CollectorS3Extractor3>;
|
|
1004
|
+
export declare function collectorS3Extractor3ToJSON(collectorS3Extractor3: CollectorS3Extractor3): string;
|
|
1005
|
+
export declare function collectorS3Extractor3FromJSON(jsonString: string): SafeParseResult<CollectorS3Extractor3, SDKValidationError>;
|
|
1006
|
+
/** @internal */
|
|
1007
|
+
export declare const CollectorS3SignatureVersion3$inboundSchema: z.ZodType<CollectorS3SignatureVersion3, z.ZodTypeDef, unknown>;
|
|
1008
|
+
/** @internal */
|
|
1009
|
+
export declare const CollectorS3SignatureVersion3$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorS3SignatureVersion3>;
|
|
1010
|
+
/** @internal */
|
|
1011
|
+
export declare const CollectorS3S33$inboundSchema: z.ZodType<CollectorS3S33, z.ZodTypeDef, unknown>;
|
|
1012
|
+
/** @internal */
|
|
1013
|
+
export type CollectorS3S33$Outbound = {
|
|
1014
|
+
awsAuthenticationMethod: string;
|
|
1015
|
+
type: string;
|
|
1016
|
+
outputName?: string | undefined;
|
|
1017
|
+
bucket: string;
|
|
1018
|
+
parquetChunkSizeMB: number;
|
|
1019
|
+
parquetChunkDownloadTimeout: number;
|
|
1020
|
+
region?: string | undefined;
|
|
1021
|
+
path?: string | undefined;
|
|
1022
|
+
partitioningScheme: string;
|
|
1023
|
+
extractors?: Array<CollectorS3Extractor3$Outbound> | undefined;
|
|
1024
|
+
endpoint?: string | undefined;
|
|
1025
|
+
signatureVersion: string;
|
|
1026
|
+
enableAssumeRole: boolean;
|
|
1027
|
+
assumeRoleArn?: string | undefined;
|
|
1028
|
+
assumeRoleExternalId?: string | undefined;
|
|
1029
|
+
durationSeconds: number;
|
|
1030
|
+
maxBatchSize: number;
|
|
1031
|
+
recurse: boolean;
|
|
1032
|
+
reuseConnections: boolean;
|
|
1033
|
+
rejectUnauthorized: boolean;
|
|
1034
|
+
verifyPermissions: boolean;
|
|
1035
|
+
disableTimeFilter: boolean;
|
|
1036
|
+
awsApiKey?: string | undefined;
|
|
1037
|
+
awsSecretKey?: string | undefined;
|
|
1038
|
+
awsSecret?: string | undefined;
|
|
1039
|
+
};
|
|
1040
|
+
/** @internal */
|
|
1041
|
+
export declare const CollectorS3S33$outboundSchema: z.ZodType<CollectorS3S33$Outbound, z.ZodTypeDef, CollectorS3S33>;
|
|
1042
|
+
export declare function collectorS3S33ToJSON(collectorS3S33: CollectorS3S33): string;
|
|
1043
|
+
export declare function collectorS3S33FromJSON(jsonString: string): SafeParseResult<CollectorS3S33, SDKValidationError>;
|
|
1044
|
+
/** @internal */
|
|
1045
|
+
export declare const PartitioningScheme2$inboundSchema: z.ZodType<PartitioningScheme2, z.ZodTypeDef, unknown>;
|
|
1046
|
+
/** @internal */
|
|
1047
|
+
export declare const PartitioningScheme2$outboundSchema: z.ZodType<string, z.ZodTypeDef, PartitioningScheme2>;
|
|
1048
|
+
/** @internal */
|
|
1049
|
+
export declare const CollectorS3Type2$inboundSchema: z.ZodNativeEnum<typeof CollectorS3Type2>;
|
|
1050
|
+
/** @internal */
|
|
1051
|
+
export declare const CollectorS3Type2$outboundSchema: z.ZodNativeEnum<typeof CollectorS3Type2>;
|
|
1052
|
+
/** @internal */
|
|
1053
|
+
export declare const CollectorS3Extractor2$inboundSchema: z.ZodType<CollectorS3Extractor2, z.ZodTypeDef, unknown>;
|
|
1054
|
+
/** @internal */
|
|
1055
|
+
export type CollectorS3Extractor2$Outbound = {
|
|
1056
|
+
key: string;
|
|
1057
|
+
expression: string;
|
|
1058
|
+
};
|
|
1059
|
+
/** @internal */
|
|
1060
|
+
export declare const CollectorS3Extractor2$outboundSchema: z.ZodType<CollectorS3Extractor2$Outbound, z.ZodTypeDef, CollectorS3Extractor2>;
|
|
1061
|
+
export declare function collectorS3Extractor2ToJSON(collectorS3Extractor2: CollectorS3Extractor2): string;
|
|
1062
|
+
export declare function collectorS3Extractor2FromJSON(jsonString: string): SafeParseResult<CollectorS3Extractor2, SDKValidationError>;
|
|
1063
|
+
/** @internal */
|
|
1064
|
+
export declare const CollectorS3AuthenticationMethod2$inboundSchema: z.ZodType<CollectorS3AuthenticationMethod2, z.ZodTypeDef, unknown>;
|
|
1065
|
+
/** @internal */
|
|
1066
|
+
export declare const CollectorS3AuthenticationMethod2$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorS3AuthenticationMethod2>;
|
|
1067
|
+
/** @internal */
|
|
1068
|
+
export declare const CollectorS3SignatureVersion2$inboundSchema: z.ZodType<CollectorS3SignatureVersion2, z.ZodTypeDef, unknown>;
|
|
1069
|
+
/** @internal */
|
|
1070
|
+
export declare const CollectorS3SignatureVersion2$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorS3SignatureVersion2>;
|
|
1071
|
+
/** @internal */
|
|
1072
|
+
export declare const CollectorS3S32$inboundSchema: z.ZodType<CollectorS3S32, z.ZodTypeDef, unknown>;
|
|
1073
|
+
/** @internal */
|
|
1074
|
+
export type CollectorS3S32$Outbound = {
|
|
1075
|
+
partitioningScheme: string;
|
|
1076
|
+
recurse: boolean;
|
|
1077
|
+
type: string;
|
|
179
1078
|
outputName?: string | undefined;
|
|
180
1079
|
bucket: string;
|
|
181
1080
|
parquetChunkSizeMB: number;
|
|
182
1081
|
parquetChunkDownloadTimeout: number;
|
|
183
1082
|
region?: string | undefined;
|
|
184
1083
|
path?: string | undefined;
|
|
1084
|
+
extractors?: Array<CollectorS3Extractor2$Outbound> | undefined;
|
|
1085
|
+
awsAuthenticationMethod: string;
|
|
1086
|
+
endpoint?: string | undefined;
|
|
1087
|
+
signatureVersion: string;
|
|
1088
|
+
enableAssumeRole: boolean;
|
|
1089
|
+
assumeRoleArn?: string | undefined;
|
|
1090
|
+
assumeRoleExternalId?: string | undefined;
|
|
1091
|
+
durationSeconds: number;
|
|
1092
|
+
maxBatchSize: number;
|
|
1093
|
+
reuseConnections: boolean;
|
|
1094
|
+
rejectUnauthorized: boolean;
|
|
1095
|
+
verifyPermissions: boolean;
|
|
1096
|
+
disableTimeFilter: boolean;
|
|
1097
|
+
awsApiKey?: string | undefined;
|
|
1098
|
+
awsSecretKey?: string | undefined;
|
|
1099
|
+
awsSecret?: string | undefined;
|
|
1100
|
+
};
|
|
1101
|
+
/** @internal */
|
|
1102
|
+
export declare const CollectorS3S32$outboundSchema: z.ZodType<CollectorS3S32$Outbound, z.ZodTypeDef, CollectorS3S32>;
|
|
1103
|
+
export declare function collectorS3S32ToJSON(collectorS3S32: CollectorS3S32): string;
|
|
1104
|
+
export declare function collectorS3S32FromJSON(jsonString: string): SafeParseResult<CollectorS3S32, SDKValidationError>;
|
|
1105
|
+
/** @internal */
|
|
1106
|
+
export declare const PartitioningScheme1$inboundSchema: z.ZodType<PartitioningScheme1, z.ZodTypeDef, unknown>;
|
|
1107
|
+
/** @internal */
|
|
1108
|
+
export declare const PartitioningScheme1$outboundSchema: z.ZodType<string, z.ZodTypeDef, PartitioningScheme1>;
|
|
1109
|
+
/** @internal */
|
|
1110
|
+
export declare const CollectorS3Type1$inboundSchema: z.ZodNativeEnum<typeof CollectorS3Type1>;
|
|
1111
|
+
/** @internal */
|
|
1112
|
+
export declare const CollectorS3Type1$outboundSchema: z.ZodNativeEnum<typeof CollectorS3Type1>;
|
|
1113
|
+
/** @internal */
|
|
1114
|
+
export declare const CollectorS3Extractor1$inboundSchema: z.ZodType<CollectorS3Extractor1, z.ZodTypeDef, unknown>;
|
|
1115
|
+
/** @internal */
|
|
1116
|
+
export type CollectorS3Extractor1$Outbound = {
|
|
1117
|
+
key: string;
|
|
1118
|
+
expression: string;
|
|
1119
|
+
};
|
|
1120
|
+
/** @internal */
|
|
1121
|
+
export declare const CollectorS3Extractor1$outboundSchema: z.ZodType<CollectorS3Extractor1$Outbound, z.ZodTypeDef, CollectorS3Extractor1>;
|
|
1122
|
+
export declare function collectorS3Extractor1ToJSON(collectorS3Extractor1: CollectorS3Extractor1): string;
|
|
1123
|
+
export declare function collectorS3Extractor1FromJSON(jsonString: string): SafeParseResult<CollectorS3Extractor1, SDKValidationError>;
|
|
1124
|
+
/** @internal */
|
|
1125
|
+
export declare const CollectorS3AuthenticationMethod1$inboundSchema: z.ZodType<CollectorS3AuthenticationMethod1, z.ZodTypeDef, unknown>;
|
|
1126
|
+
/** @internal */
|
|
1127
|
+
export declare const CollectorS3AuthenticationMethod1$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorS3AuthenticationMethod1>;
|
|
1128
|
+
/** @internal */
|
|
1129
|
+
export declare const CollectorS3SignatureVersion1$inboundSchema: z.ZodType<CollectorS3SignatureVersion1, z.ZodTypeDef, unknown>;
|
|
1130
|
+
/** @internal */
|
|
1131
|
+
export declare const CollectorS3SignatureVersion1$outboundSchema: z.ZodType<string, z.ZodTypeDef, CollectorS3SignatureVersion1>;
|
|
1132
|
+
/** @internal */
|
|
1133
|
+
export declare const CollectorS3S31$inboundSchema: z.ZodType<CollectorS3S31, z.ZodTypeDef, unknown>;
|
|
1134
|
+
/** @internal */
|
|
1135
|
+
export type CollectorS3S31$Outbound = {
|
|
185
1136
|
partitioningScheme: string;
|
|
186
|
-
|
|
1137
|
+
type: string;
|
|
1138
|
+
outputName?: string | undefined;
|
|
1139
|
+
bucket: string;
|
|
1140
|
+
parquetChunkSizeMB: number;
|
|
1141
|
+
parquetChunkDownloadTimeout: number;
|
|
1142
|
+
region?: string | undefined;
|
|
1143
|
+
path?: string | undefined;
|
|
1144
|
+
extractors?: Array<CollectorS3Extractor1$Outbound> | undefined;
|
|
187
1145
|
awsAuthenticationMethod: string;
|
|
188
1146
|
endpoint?: string | undefined;
|
|
189
1147
|
signatureVersion: string;
|
|
@@ -192,13 +1150,24 @@ export type CollectorS3$Outbound = {
|
|
|
192
1150
|
assumeRoleExternalId?: string | undefined;
|
|
193
1151
|
durationSeconds: number;
|
|
194
1152
|
maxBatchSize: number;
|
|
195
|
-
recurse
|
|
1153
|
+
recurse: boolean;
|
|
196
1154
|
reuseConnections: boolean;
|
|
197
1155
|
rejectUnauthorized: boolean;
|
|
198
1156
|
verifyPermissions: boolean;
|
|
199
1157
|
disableTimeFilter: boolean;
|
|
1158
|
+
awsApiKey?: string | undefined;
|
|
1159
|
+
awsSecretKey?: string | undefined;
|
|
1160
|
+
awsSecret?: string | undefined;
|
|
200
1161
|
};
|
|
201
1162
|
/** @internal */
|
|
1163
|
+
export declare const CollectorS3S31$outboundSchema: z.ZodType<CollectorS3S31$Outbound, z.ZodTypeDef, CollectorS3S31>;
|
|
1164
|
+
export declare function collectorS3S31ToJSON(collectorS3S31: CollectorS3S31): string;
|
|
1165
|
+
export declare function collectorS3S31FromJSON(jsonString: string): SafeParseResult<CollectorS3S31, SDKValidationError>;
|
|
1166
|
+
/** @internal */
|
|
1167
|
+
export declare const CollectorS3$inboundSchema: z.ZodType<CollectorS3, z.ZodTypeDef, unknown>;
|
|
1168
|
+
/** @internal */
|
|
1169
|
+
export type CollectorS3$Outbound = CollectorS3S31$Outbound | CollectorS3S32$Outbound | CollectorS3S33$Outbound | CollectorS3S34$Outbound | CollectorS3S35$Outbound;
|
|
1170
|
+
/** @internal */
|
|
202
1171
|
export declare const CollectorS3$outboundSchema: z.ZodType<CollectorS3$Outbound, z.ZodTypeDef, CollectorS3>;
|
|
203
1172
|
export declare function collectorS3ToJSON(collectorS3: CollectorS3): string;
|
|
204
1173
|
export declare function collectorS3FromJSON(jsonString: string): SafeParseResult<CollectorS3, SDKValidationError>;
|