@ontemper/sdk 0.7.1-postgresql.2 → 0.7.1-postgresql.3
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/README.md +46 -2
- package/dist/As2Resource.d.ts +431 -76
- package/dist/As2Resource.d.ts.map +1 -1
- package/dist/As2Resource.js +31 -30
- package/dist/As2Resource.js.map +1 -1
- package/dist/As2Transport.d.ts.map +1 -1
- package/dist/As2Transport.js +3 -1
- package/dist/As2Transport.js.map +1 -1
- package/dist/As2Wire.d.ts +39 -0
- package/dist/As2Wire.d.ts.map +1 -1
- package/dist/DatabaseTunnelAuthorization.d.ts +11 -0
- package/dist/DatabaseTunnelAuthorization.d.ts.map +1 -0
- package/dist/DatabaseTunnelAuthorization.js +35 -0
- package/dist/DatabaseTunnelAuthorization.js.map +1 -0
- package/dist/ExpiringMap.d.ts +21 -0
- package/dist/ExpiringMap.d.ts.map +1 -0
- package/dist/ExpiringMap.js +79 -0
- package/dist/ExpiringMap.js.map +1 -0
- package/dist/HttpApiResource.d.ts +2904 -177
- package/dist/HttpApiResource.d.ts.map +1 -1
- package/dist/HttpApiResource.js +81 -59
- package/dist/HttpApiResource.js.map +1 -1
- package/dist/Kafka.d.ts +89 -0
- package/dist/Kafka.d.ts.map +1 -0
- package/dist/Kafka.js +297 -0
- package/dist/Kafka.js.map +1 -0
- package/dist/Manifest.d.ts +1 -1
- package/dist/Manifest.js +1 -1
- package/dist/PostgreSql.d.ts.map +1 -1
- package/dist/PostgreSql.js +2 -11
- package/dist/PostgreSql.js.map +1 -1
- package/dist/PostgreSqlPool.d.ts +1 -39
- package/dist/PostgreSqlPool.d.ts.map +1 -1
- package/dist/PostgreSqlPool.js +2 -22
- package/dist/PostgreSqlPool.js.map +1 -1
- package/dist/Redaction.d.ts +2 -0
- package/dist/Redaction.d.ts.map +1 -1
- package/dist/Redaction.js +16 -4
- package/dist/Redaction.js.map +1 -1
- package/dist/ResourceRecords.d.ts +1086 -0
- package/dist/ResourceRecords.d.ts.map +1 -0
- package/dist/ResourceRecords.js +303 -0
- package/dist/ResourceRecords.js.map +1 -0
- package/dist/Resources.d.ts +13 -3
- package/dist/Resources.d.ts.map +1 -1
- package/dist/Resources.js +11 -3
- package/dist/Resources.js.map +1 -1
- package/dist/ResourcesCache.d.ts +33 -0
- package/dist/ResourcesCache.d.ts.map +1 -0
- package/dist/ResourcesCache.js +205 -0
- package/dist/ResourcesCache.js.map +1 -0
- package/dist/ResourcesEnv.d.ts +81 -0
- package/dist/ResourcesEnv.d.ts.map +1 -0
- package/dist/ResourcesEnv.js +104 -0
- package/dist/ResourcesEnv.js.map +1 -0
- package/dist/ResourcesErrors.d.ts +5 -1
- package/dist/ResourcesErrors.d.ts.map +1 -1
- package/dist/ResourcesErrors.js +5 -2
- package/dist/ResourcesErrors.js.map +1 -1
- package/dist/ResourcesToken.d.ts +9 -0
- package/dist/ResourcesToken.d.ts.map +1 -1
- package/dist/ResourcesToken.js +20 -7
- package/dist/ResourcesToken.js.map +1 -1
- package/dist/RuntimeResources.d.ts +18 -3
- package/dist/RuntimeResources.d.ts.map +1 -1
- package/dist/RuntimeResources.js +53 -29
- package/dist/RuntimeResources.js.map +1 -1
- package/dist/TransportResource.d.ts +1 -32
- package/dist/TransportResource.d.ts.map +1 -1
- package/dist/TransportResource.js +1 -19
- package/dist/TransportResource.js.map +1 -1
- package/dist/Workflow.js +2 -2
- package/dist/Workflow.js.map +1 -1
- package/package.json +14 -2
|
@@ -0,0 +1,1086 @@
|
|
|
1
|
+
import { Effect, Schema } from 'effect';
|
|
2
|
+
import { InvalidResourceError } from './ResourcesErrors.js';
|
|
3
|
+
/** A value the runtime resolver returned: JSON, so every field is one of these. */
|
|
4
|
+
export type JsonValue = Schema.MutableJson;
|
|
5
|
+
export type JsonObject = Schema.MutableJsonObject;
|
|
6
|
+
/** A `postgresql` record; `sslmode` carries libpq semantics, and `tls` the CA and client certificate. */
|
|
7
|
+
export declare const PostgresqlResource: Schema.StructWithRest<Schema.Struct<{
|
|
8
|
+
readonly host: Schema.String;
|
|
9
|
+
readonly port: Schema.withDecodingDefault<Schema.Int, never>;
|
|
10
|
+
readonly dbname: Schema.String;
|
|
11
|
+
readonly user: Schema.String;
|
|
12
|
+
readonly auth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
13
|
+
readonly type: Schema.Literal<"password">;
|
|
14
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
15
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
16
|
+
readonly type: Schema.Literal<"password">;
|
|
17
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
18
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
19
|
+
readonly type: Schema.Literal<"rds_iam">;
|
|
20
|
+
readonly region: Schema.String;
|
|
21
|
+
readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
22
|
+
readonly type: Schema.Literal<"access_key">;
|
|
23
|
+
readonly accessKeyId: Schema.String;
|
|
24
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
25
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
26
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
27
|
+
readonly type: Schema.Literal<"access_key">;
|
|
28
|
+
readonly accessKeyId: Schema.String;
|
|
29
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
30
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
31
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
32
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
33
|
+
readonly roleArn: Schema.String;
|
|
34
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
35
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
36
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
37
|
+
readonly roleArn: Schema.String;
|
|
38
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
39
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
40
|
+
readonly type: Schema.Literal<"ambient">;
|
|
41
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
42
|
+
readonly type: Schema.Literal<"ambient">;
|
|
43
|
+
}>, "fields" | "mapFields">]>;
|
|
44
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
45
|
+
readonly type: Schema.Literal<"rds_iam">;
|
|
46
|
+
readonly region: Schema.String;
|
|
47
|
+
readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
48
|
+
readonly type: Schema.Literal<"access_key">;
|
|
49
|
+
readonly accessKeyId: Schema.String;
|
|
50
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
51
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
52
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
53
|
+
readonly type: Schema.Literal<"access_key">;
|
|
54
|
+
readonly accessKeyId: Schema.String;
|
|
55
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
56
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
57
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
58
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
59
|
+
readonly roleArn: Schema.String;
|
|
60
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
61
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
62
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
63
|
+
readonly roleArn: Schema.String;
|
|
64
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
65
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
66
|
+
readonly type: Schema.Literal<"ambient">;
|
|
67
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
68
|
+
readonly type: Schema.Literal<"ambient">;
|
|
69
|
+
}>, "fields" | "mapFields">]>;
|
|
70
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
71
|
+
readonly type: Schema.Literal<"none">;
|
|
72
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
73
|
+
readonly type: Schema.Literal<"none">;
|
|
74
|
+
}>, "fields" | "mapFields">]>;
|
|
75
|
+
readonly sslmode: Schema.withDecodingDefault<Schema.Literals<readonly ["disable", "require", "verify-ca", "verify-full"]>, never>;
|
|
76
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
77
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
78
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
79
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
80
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
81
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
82
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
83
|
+
readonly sshTunnel: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
84
|
+
readonly host: Schema.String;
|
|
85
|
+
readonly port: Schema.withDecodingDefault<Schema.Number, never>;
|
|
86
|
+
readonly username: Schema.String;
|
|
87
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
88
|
+
readonly type: Schema.Literal<"credentials">;
|
|
89
|
+
readonly password: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
90
|
+
readonly privateKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
91
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
92
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
93
|
+
readonly type: Schema.Literal<"credentials">;
|
|
94
|
+
readonly password: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
95
|
+
readonly privateKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
96
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
97
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
98
|
+
readonly hostKeyFingerprints: Schema.optional<Schema.$Array<Schema.String>>;
|
|
99
|
+
readonly algorithms: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
100
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
101
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
102
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
103
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
104
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
105
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
106
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
107
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
108
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
109
|
+
}>, "fields" | "mapFields">>;
|
|
110
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
111
|
+
readonly host: Schema.String;
|
|
112
|
+
readonly port: Schema.withDecodingDefault<Schema.Number, never>;
|
|
113
|
+
readonly username: Schema.String;
|
|
114
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
115
|
+
readonly type: Schema.Literal<"credentials">;
|
|
116
|
+
readonly password: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
117
|
+
readonly privateKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
118
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
119
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
120
|
+
readonly type: Schema.Literal<"credentials">;
|
|
121
|
+
readonly password: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
122
|
+
readonly privateKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
123
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
124
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
125
|
+
readonly hostKeyFingerprints: Schema.optional<Schema.$Array<Schema.String>>;
|
|
126
|
+
readonly algorithms: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
127
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
128
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
129
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
130
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
131
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
132
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
133
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
134
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
135
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
136
|
+
}>, "fields" | "mapFields">>;
|
|
137
|
+
}>, "fields" | "mapFields">>;
|
|
138
|
+
readonly options: Schema.optional<Schema.String>;
|
|
139
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
140
|
+
readonly host: Schema.String;
|
|
141
|
+
readonly port: Schema.withDecodingDefault<Schema.Int, never>;
|
|
142
|
+
readonly dbname: Schema.String;
|
|
143
|
+
readonly user: Schema.String;
|
|
144
|
+
readonly auth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
145
|
+
readonly type: Schema.Literal<"password">;
|
|
146
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
147
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
148
|
+
readonly type: Schema.Literal<"password">;
|
|
149
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
150
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
151
|
+
readonly type: Schema.Literal<"rds_iam">;
|
|
152
|
+
readonly region: Schema.String;
|
|
153
|
+
readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
154
|
+
readonly type: Schema.Literal<"access_key">;
|
|
155
|
+
readonly accessKeyId: Schema.String;
|
|
156
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
157
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
158
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
159
|
+
readonly type: Schema.Literal<"access_key">;
|
|
160
|
+
readonly accessKeyId: Schema.String;
|
|
161
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
162
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
163
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
164
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
165
|
+
readonly roleArn: Schema.String;
|
|
166
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
167
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
168
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
169
|
+
readonly roleArn: Schema.String;
|
|
170
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
171
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
172
|
+
readonly type: Schema.Literal<"ambient">;
|
|
173
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
174
|
+
readonly type: Schema.Literal<"ambient">;
|
|
175
|
+
}>, "fields" | "mapFields">]>;
|
|
176
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
177
|
+
readonly type: Schema.Literal<"rds_iam">;
|
|
178
|
+
readonly region: Schema.String;
|
|
179
|
+
readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
180
|
+
readonly type: Schema.Literal<"access_key">;
|
|
181
|
+
readonly accessKeyId: Schema.String;
|
|
182
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
183
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
184
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
185
|
+
readonly type: Schema.Literal<"access_key">;
|
|
186
|
+
readonly accessKeyId: Schema.String;
|
|
187
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
188
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
189
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
190
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
191
|
+
readonly roleArn: Schema.String;
|
|
192
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
193
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
194
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
195
|
+
readonly roleArn: Schema.String;
|
|
196
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
197
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
198
|
+
readonly type: Schema.Literal<"ambient">;
|
|
199
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
200
|
+
readonly type: Schema.Literal<"ambient">;
|
|
201
|
+
}>, "fields" | "mapFields">]>;
|
|
202
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
203
|
+
readonly type: Schema.Literal<"none">;
|
|
204
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
205
|
+
readonly type: Schema.Literal<"none">;
|
|
206
|
+
}>, "fields" | "mapFields">]>;
|
|
207
|
+
readonly sslmode: Schema.withDecodingDefault<Schema.Literals<readonly ["disable", "require", "verify-ca", "verify-full"]>, never>;
|
|
208
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
209
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
210
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
211
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
212
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
213
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
214
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
215
|
+
readonly sshTunnel: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
216
|
+
readonly host: Schema.String;
|
|
217
|
+
readonly port: Schema.withDecodingDefault<Schema.Number, never>;
|
|
218
|
+
readonly username: Schema.String;
|
|
219
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
220
|
+
readonly type: Schema.Literal<"credentials">;
|
|
221
|
+
readonly password: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
222
|
+
readonly privateKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
223
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
224
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
225
|
+
readonly type: Schema.Literal<"credentials">;
|
|
226
|
+
readonly password: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
227
|
+
readonly privateKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
228
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
229
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
230
|
+
readonly hostKeyFingerprints: Schema.optional<Schema.$Array<Schema.String>>;
|
|
231
|
+
readonly algorithms: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
232
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
233
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
234
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
235
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
236
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
237
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
238
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
239
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
240
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
241
|
+
}>, "fields" | "mapFields">>;
|
|
242
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
243
|
+
readonly host: Schema.String;
|
|
244
|
+
readonly port: Schema.withDecodingDefault<Schema.Number, never>;
|
|
245
|
+
readonly username: Schema.String;
|
|
246
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
247
|
+
readonly type: Schema.Literal<"credentials">;
|
|
248
|
+
readonly password: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
249
|
+
readonly privateKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
250
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
251
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
252
|
+
readonly type: Schema.Literal<"credentials">;
|
|
253
|
+
readonly password: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
254
|
+
readonly privateKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
255
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
256
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
257
|
+
readonly hostKeyFingerprints: Schema.optional<Schema.$Array<Schema.String>>;
|
|
258
|
+
readonly algorithms: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
259
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
260
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
261
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
262
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
263
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
264
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
265
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
266
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
267
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
268
|
+
}>, "fields" | "mapFields">>;
|
|
269
|
+
}>, "fields" | "mapFields">>;
|
|
270
|
+
readonly options: Schema.optional<Schema.String>;
|
|
271
|
+
}>, "fields" | "mapFields">;
|
|
272
|
+
export type PostgresqlResource = typeof PostgresqlResource.Type;
|
|
273
|
+
/** A `kafka` record: bootstrap brokers, the `auth` variant, and `tls`, whose presence turns TLS on. */
|
|
274
|
+
export declare const KafkaResource: Schema.StructWithRest<Schema.Struct<{
|
|
275
|
+
readonly brokers: Schema.$Array<Schema.String>;
|
|
276
|
+
readonly clientId: Schema.optional<Schema.String>;
|
|
277
|
+
readonly auth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
278
|
+
readonly type: Schema.Literal<"none">;
|
|
279
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
280
|
+
readonly type: Schema.Literal<"none">;
|
|
281
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
282
|
+
readonly type: Schema.Literal<"sasl_plain">;
|
|
283
|
+
readonly username: Schema.String;
|
|
284
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
285
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
286
|
+
readonly type: Schema.Literal<"sasl_plain">;
|
|
287
|
+
readonly username: Schema.String;
|
|
288
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
289
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
290
|
+
readonly type: Schema.Literal<"sasl_scram">;
|
|
291
|
+
readonly mechanism: Schema.withDecodingDefault<Schema.Literals<readonly ["SCRAM-SHA-256", "SCRAM-SHA-512"]>, never>;
|
|
292
|
+
readonly username: Schema.String;
|
|
293
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
294
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
295
|
+
readonly type: Schema.Literal<"sasl_scram">;
|
|
296
|
+
readonly mechanism: Schema.withDecodingDefault<Schema.Literals<readonly ["SCRAM-SHA-256", "SCRAM-SHA-512"]>, never>;
|
|
297
|
+
readonly username: Schema.String;
|
|
298
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
299
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
300
|
+
readonly type: Schema.Literal<"oauthbearer">;
|
|
301
|
+
readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
|
|
302
|
+
readonly tokenUrl: Schema.String;
|
|
303
|
+
readonly clientId: Schema.String;
|
|
304
|
+
readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
305
|
+
readonly type: Schema.Literal<"none">;
|
|
306
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
307
|
+
readonly type: Schema.Literal<"none">;
|
|
308
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
309
|
+
readonly type: Schema.Literal<"basic">;
|
|
310
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
311
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
312
|
+
readonly type: Schema.Literal<"basic">;
|
|
313
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
314
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
315
|
+
readonly type: Schema.Literal<"body">;
|
|
316
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
317
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
318
|
+
readonly type: Schema.Literal<"body">;
|
|
319
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
320
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
321
|
+
readonly type: Schema.Literal<"query">;
|
|
322
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
323
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
324
|
+
readonly type: Schema.Literal<"query">;
|
|
325
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
326
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
327
|
+
readonly type: Schema.Literal<"private_key_jwt">;
|
|
328
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
329
|
+
readonly keyId: Schema.optional<Schema.String>;
|
|
330
|
+
readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
|
|
331
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
332
|
+
readonly type: Schema.Literal<"private_key_jwt">;
|
|
333
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
334
|
+
readonly keyId: Schema.optional<Schema.String>;
|
|
335
|
+
readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
|
|
336
|
+
}>, "fields" | "mapFields">]>;
|
|
337
|
+
readonly scope: Schema.optional<Schema.String>;
|
|
338
|
+
readonly audience: Schema.optional<Schema.String>;
|
|
339
|
+
readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
340
|
+
readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
|
|
341
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
342
|
+
readonly tokenUrl: Schema.String;
|
|
343
|
+
readonly clientId: Schema.String;
|
|
344
|
+
readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
345
|
+
readonly type: Schema.Literal<"none">;
|
|
346
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
347
|
+
readonly type: Schema.Literal<"none">;
|
|
348
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
349
|
+
readonly type: Schema.Literal<"basic">;
|
|
350
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
351
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
352
|
+
readonly type: Schema.Literal<"basic">;
|
|
353
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
354
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
355
|
+
readonly type: Schema.Literal<"body">;
|
|
356
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
357
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
358
|
+
readonly type: Schema.Literal<"body">;
|
|
359
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
360
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
361
|
+
readonly type: Schema.Literal<"query">;
|
|
362
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
363
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
364
|
+
readonly type: Schema.Literal<"query">;
|
|
365
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
366
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
367
|
+
readonly type: Schema.Literal<"private_key_jwt">;
|
|
368
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
369
|
+
readonly keyId: Schema.optional<Schema.String>;
|
|
370
|
+
readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
|
|
371
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
372
|
+
readonly type: Schema.Literal<"private_key_jwt">;
|
|
373
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
374
|
+
readonly keyId: Schema.optional<Schema.String>;
|
|
375
|
+
readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
|
|
376
|
+
}>, "fields" | "mapFields">]>;
|
|
377
|
+
readonly scope: Schema.optional<Schema.String>;
|
|
378
|
+
readonly audience: Schema.optional<Schema.String>;
|
|
379
|
+
readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
380
|
+
readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
|
|
381
|
+
}>, "fields" | "mapFields">;
|
|
382
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
383
|
+
readonly type: Schema.Literal<"oauthbearer">;
|
|
384
|
+
readonly tokenRequest: Schema.StructWithRest<Schema.Struct<{
|
|
385
|
+
readonly tokenUrl: Schema.String;
|
|
386
|
+
readonly clientId: Schema.String;
|
|
387
|
+
readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
388
|
+
readonly type: Schema.Literal<"none">;
|
|
389
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
390
|
+
readonly type: Schema.Literal<"none">;
|
|
391
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
392
|
+
readonly type: Schema.Literal<"basic">;
|
|
393
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
394
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
395
|
+
readonly type: Schema.Literal<"basic">;
|
|
396
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
397
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
398
|
+
readonly type: Schema.Literal<"body">;
|
|
399
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
400
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
401
|
+
readonly type: Schema.Literal<"body">;
|
|
402
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
403
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
404
|
+
readonly type: Schema.Literal<"query">;
|
|
405
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
406
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
407
|
+
readonly type: Schema.Literal<"query">;
|
|
408
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
409
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
410
|
+
readonly type: Schema.Literal<"private_key_jwt">;
|
|
411
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
412
|
+
readonly keyId: Schema.optional<Schema.String>;
|
|
413
|
+
readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
|
|
414
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
415
|
+
readonly type: Schema.Literal<"private_key_jwt">;
|
|
416
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
417
|
+
readonly keyId: Schema.optional<Schema.String>;
|
|
418
|
+
readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
|
|
419
|
+
}>, "fields" | "mapFields">]>;
|
|
420
|
+
readonly scope: Schema.optional<Schema.String>;
|
|
421
|
+
readonly audience: Schema.optional<Schema.String>;
|
|
422
|
+
readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
423
|
+
readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
|
|
424
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
425
|
+
readonly tokenUrl: Schema.String;
|
|
426
|
+
readonly clientId: Schema.String;
|
|
427
|
+
readonly clientAuthentication: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
428
|
+
readonly type: Schema.Literal<"none">;
|
|
429
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
430
|
+
readonly type: Schema.Literal<"none">;
|
|
431
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
432
|
+
readonly type: Schema.Literal<"basic">;
|
|
433
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
434
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
435
|
+
readonly type: Schema.Literal<"basic">;
|
|
436
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
437
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
438
|
+
readonly type: Schema.Literal<"body">;
|
|
439
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
440
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
441
|
+
readonly type: Schema.Literal<"body">;
|
|
442
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
443
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
444
|
+
readonly type: Schema.Literal<"query">;
|
|
445
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
446
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
447
|
+
readonly type: Schema.Literal<"query">;
|
|
448
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
449
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
450
|
+
readonly type: Schema.Literal<"private_key_jwt">;
|
|
451
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
452
|
+
readonly keyId: Schema.optional<Schema.String>;
|
|
453
|
+
readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
|
|
454
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
455
|
+
readonly type: Schema.Literal<"private_key_jwt">;
|
|
456
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
457
|
+
readonly keyId: Schema.optional<Schema.String>;
|
|
458
|
+
readonly algorithm: Schema.withDecodingDefault<Schema.Literals<readonly ["RS256", "PS256", "ES256"]>, never>;
|
|
459
|
+
}>, "fields" | "mapFields">]>;
|
|
460
|
+
readonly scope: Schema.optional<Schema.String>;
|
|
461
|
+
readonly audience: Schema.optional<Schema.String>;
|
|
462
|
+
readonly extraParams: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
|
|
463
|
+
readonly tokenRequestFormat: Schema.withDecodingDefault<Schema.Literals<readonly ["form", "json"]>, never>;
|
|
464
|
+
}>, "fields" | "mapFields">;
|
|
465
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
466
|
+
readonly type: Schema.Literal<"aws_msk_iam">;
|
|
467
|
+
readonly region: Schema.String;
|
|
468
|
+
readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
469
|
+
readonly type: Schema.Literal<"access_key">;
|
|
470
|
+
readonly accessKeyId: Schema.String;
|
|
471
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
472
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
473
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
474
|
+
readonly type: Schema.Literal<"access_key">;
|
|
475
|
+
readonly accessKeyId: Schema.String;
|
|
476
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
477
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
478
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
479
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
480
|
+
readonly roleArn: Schema.String;
|
|
481
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
482
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
483
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
484
|
+
readonly roleArn: Schema.String;
|
|
485
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
486
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
487
|
+
readonly type: Schema.Literal<"ambient">;
|
|
488
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
489
|
+
readonly type: Schema.Literal<"ambient">;
|
|
490
|
+
}>, "fields" | "mapFields">]>;
|
|
491
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
492
|
+
readonly type: Schema.Literal<"aws_msk_iam">;
|
|
493
|
+
readonly region: Schema.String;
|
|
494
|
+
readonly awsAuth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
495
|
+
readonly type: Schema.Literal<"access_key">;
|
|
496
|
+
readonly accessKeyId: Schema.String;
|
|
497
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
498
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
499
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
500
|
+
readonly type: Schema.Literal<"access_key">;
|
|
501
|
+
readonly accessKeyId: Schema.String;
|
|
502
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
503
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
504
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
505
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
506
|
+
readonly roleArn: Schema.String;
|
|
507
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
508
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
509
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
510
|
+
readonly roleArn: Schema.String;
|
|
511
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
512
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
513
|
+
readonly type: Schema.Literal<"ambient">;
|
|
514
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
515
|
+
readonly type: Schema.Literal<"ambient">;
|
|
516
|
+
}>, "fields" | "mapFields">]>;
|
|
517
|
+
}>, "fields" | "mapFields">]>;
|
|
518
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
519
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
520
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
521
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
522
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
523
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
524
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
525
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>;
|
|
526
|
+
export type KafkaResource = typeof KafkaResource.Type;
|
|
527
|
+
/** An `s3` record: bucket, region, an optional S3-compatible endpoint, and the AWS credential source under `auth`. */
|
|
528
|
+
export declare const S3Resource: Schema.StructWithRest<Schema.Struct<{
|
|
529
|
+
readonly bucket: Schema.String;
|
|
530
|
+
readonly region: Schema.withDecodingDefault<Schema.String, never>;
|
|
531
|
+
readonly endpoint: Schema.optional<Schema.String>;
|
|
532
|
+
readonly pathStyle: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
533
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
534
|
+
readonly auth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
535
|
+
readonly type: Schema.Literal<"access_key">;
|
|
536
|
+
readonly accessKeyId: Schema.String;
|
|
537
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
538
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
539
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
540
|
+
readonly type: Schema.Literal<"access_key">;
|
|
541
|
+
readonly accessKeyId: Schema.String;
|
|
542
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
543
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
544
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
545
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
546
|
+
readonly roleArn: Schema.String;
|
|
547
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
548
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
549
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
550
|
+
readonly roleArn: Schema.String;
|
|
551
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
552
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
553
|
+
readonly type: Schema.Literal<"ambient">;
|
|
554
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
555
|
+
readonly type: Schema.Literal<"ambient">;
|
|
556
|
+
}>, "fields" | "mapFields">]>;
|
|
557
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
558
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
559
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
560
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
561
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
562
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
563
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
564
|
+
readonly proxy: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
565
|
+
readonly url: Schema.String;
|
|
566
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
567
|
+
readonly type: Schema.Literal<"none">;
|
|
568
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
569
|
+
readonly type: Schema.Literal<"none">;
|
|
570
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
571
|
+
readonly type: Schema.Literal<"basic">;
|
|
572
|
+
readonly username: Schema.String;
|
|
573
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
574
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
575
|
+
readonly type: Schema.Literal<"basic">;
|
|
576
|
+
readonly username: Schema.String;
|
|
577
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
578
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
579
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
580
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
581
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
582
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
583
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
584
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
585
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
586
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
587
|
+
readonly url: Schema.String;
|
|
588
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
589
|
+
readonly type: Schema.Literal<"none">;
|
|
590
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
591
|
+
readonly type: Schema.Literal<"none">;
|
|
592
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
593
|
+
readonly type: Schema.Literal<"basic">;
|
|
594
|
+
readonly username: Schema.String;
|
|
595
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
596
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
597
|
+
readonly type: Schema.Literal<"basic">;
|
|
598
|
+
readonly username: Schema.String;
|
|
599
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
600
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
601
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
602
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
603
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
604
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
605
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
606
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
607
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
608
|
+
}>, "fields" | "mapFields">>;
|
|
609
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
610
|
+
readonly bucket: Schema.String;
|
|
611
|
+
readonly region: Schema.withDecodingDefault<Schema.String, never>;
|
|
612
|
+
readonly endpoint: Schema.optional<Schema.String>;
|
|
613
|
+
readonly pathStyle: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
614
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
615
|
+
readonly auth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
616
|
+
readonly type: Schema.Literal<"access_key">;
|
|
617
|
+
readonly accessKeyId: Schema.String;
|
|
618
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
619
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
620
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
621
|
+
readonly type: Schema.Literal<"access_key">;
|
|
622
|
+
readonly accessKeyId: Schema.String;
|
|
623
|
+
readonly secretAccessKey: Schema.RedactedFromValue<Schema.String>;
|
|
624
|
+
readonly sessionToken: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
625
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
626
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
627
|
+
readonly roleArn: Schema.String;
|
|
628
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
629
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
630
|
+
readonly type: Schema.Literal<"assume_role">;
|
|
631
|
+
readonly roleArn: Schema.String;
|
|
632
|
+
readonly externalId: Schema.optional<Schema.String>;
|
|
633
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
634
|
+
readonly type: Schema.Literal<"ambient">;
|
|
635
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
636
|
+
readonly type: Schema.Literal<"ambient">;
|
|
637
|
+
}>, "fields" | "mapFields">]>;
|
|
638
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
639
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
640
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
641
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
642
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
643
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
644
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
645
|
+
readonly proxy: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
646
|
+
readonly url: Schema.String;
|
|
647
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
648
|
+
readonly type: Schema.Literal<"none">;
|
|
649
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
650
|
+
readonly type: Schema.Literal<"none">;
|
|
651
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
652
|
+
readonly type: Schema.Literal<"basic">;
|
|
653
|
+
readonly username: Schema.String;
|
|
654
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
655
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
656
|
+
readonly type: Schema.Literal<"basic">;
|
|
657
|
+
readonly username: Schema.String;
|
|
658
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
659
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
660
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
661
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
662
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
663
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
664
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
665
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
666
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
667
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
668
|
+
readonly url: Schema.String;
|
|
669
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
670
|
+
readonly type: Schema.Literal<"none">;
|
|
671
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
672
|
+
readonly type: Schema.Literal<"none">;
|
|
673
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
674
|
+
readonly type: Schema.Literal<"basic">;
|
|
675
|
+
readonly username: Schema.String;
|
|
676
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
677
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
678
|
+
readonly type: Schema.Literal<"basic">;
|
|
679
|
+
readonly username: Schema.String;
|
|
680
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
681
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
682
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
683
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
684
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
685
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
686
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
687
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
688
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
689
|
+
}>, "fields" | "mapFields">>;
|
|
690
|
+
}>, "fields" | "mapFields">;
|
|
691
|
+
export type S3Resource = typeof S3Resource.Type;
|
|
692
|
+
/** An `azure_blob` record: account, container, endpoint, and the credential source under `auth`. */
|
|
693
|
+
export declare const AzureBlobResource: Schema.StructWithRest<Schema.Struct<{
|
|
694
|
+
readonly accountName: Schema.String;
|
|
695
|
+
readonly containerName: Schema.String;
|
|
696
|
+
readonly endpoint: Schema.optional<Schema.String>;
|
|
697
|
+
readonly endpointSuffix: Schema.withDecodingDefault<Schema.String, never>;
|
|
698
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
699
|
+
readonly auth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
700
|
+
readonly type: Schema.Literal<"shared_key">;
|
|
701
|
+
readonly accountKey: Schema.RedactedFromValue<Schema.String>;
|
|
702
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
703
|
+
readonly type: Schema.Literal<"shared_key">;
|
|
704
|
+
readonly accountKey: Schema.RedactedFromValue<Schema.String>;
|
|
705
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
706
|
+
readonly type: Schema.Literal<"sas">;
|
|
707
|
+
readonly sasToken: Schema.RedactedFromValue<Schema.String>;
|
|
708
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
709
|
+
readonly type: Schema.Literal<"sas">;
|
|
710
|
+
readonly sasToken: Schema.RedactedFromValue<Schema.String>;
|
|
711
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
712
|
+
readonly type: Schema.Literal<"service_principal">;
|
|
713
|
+
readonly tenantId: Schema.String;
|
|
714
|
+
readonly clientId: Schema.String;
|
|
715
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
716
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
717
|
+
readonly type: Schema.Literal<"service_principal">;
|
|
718
|
+
readonly tenantId: Schema.String;
|
|
719
|
+
readonly clientId: Schema.String;
|
|
720
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
721
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
722
|
+
readonly type: Schema.Literal<"service_principal_certificate">;
|
|
723
|
+
readonly tenantId: Schema.String;
|
|
724
|
+
readonly clientId: Schema.String;
|
|
725
|
+
readonly certificatePem: Schema.RedactedFromValue<Schema.String>;
|
|
726
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
727
|
+
readonly type: Schema.Literal<"service_principal_certificate">;
|
|
728
|
+
readonly tenantId: Schema.String;
|
|
729
|
+
readonly clientId: Schema.String;
|
|
730
|
+
readonly certificatePem: Schema.RedactedFromValue<Schema.String>;
|
|
731
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
732
|
+
readonly type: Schema.Literal<"ambient">;
|
|
733
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
734
|
+
readonly type: Schema.Literal<"ambient">;
|
|
735
|
+
}>, "fields" | "mapFields">]>;
|
|
736
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
737
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
738
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
739
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
740
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
741
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
742
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
743
|
+
readonly proxy: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
744
|
+
readonly url: Schema.String;
|
|
745
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
746
|
+
readonly type: Schema.Literal<"none">;
|
|
747
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
748
|
+
readonly type: Schema.Literal<"none">;
|
|
749
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
750
|
+
readonly type: Schema.Literal<"basic">;
|
|
751
|
+
readonly username: Schema.String;
|
|
752
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
753
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
754
|
+
readonly type: Schema.Literal<"basic">;
|
|
755
|
+
readonly username: Schema.String;
|
|
756
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
757
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
758
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
759
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
760
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
761
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
762
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
763
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
764
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
765
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
766
|
+
readonly url: Schema.String;
|
|
767
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
768
|
+
readonly type: Schema.Literal<"none">;
|
|
769
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
770
|
+
readonly type: Schema.Literal<"none">;
|
|
771
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
772
|
+
readonly type: Schema.Literal<"basic">;
|
|
773
|
+
readonly username: Schema.String;
|
|
774
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
775
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
776
|
+
readonly type: Schema.Literal<"basic">;
|
|
777
|
+
readonly username: Schema.String;
|
|
778
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
779
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
780
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
781
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
782
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
783
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
784
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
785
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
786
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
787
|
+
}>, "fields" | "mapFields">>;
|
|
788
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
789
|
+
readonly accountName: Schema.String;
|
|
790
|
+
readonly containerName: Schema.String;
|
|
791
|
+
readonly endpoint: Schema.optional<Schema.String>;
|
|
792
|
+
readonly endpointSuffix: Schema.withDecodingDefault<Schema.String, never>;
|
|
793
|
+
readonly prefix: Schema.optional<Schema.String>;
|
|
794
|
+
readonly auth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
795
|
+
readonly type: Schema.Literal<"shared_key">;
|
|
796
|
+
readonly accountKey: Schema.RedactedFromValue<Schema.String>;
|
|
797
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
798
|
+
readonly type: Schema.Literal<"shared_key">;
|
|
799
|
+
readonly accountKey: Schema.RedactedFromValue<Schema.String>;
|
|
800
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
801
|
+
readonly type: Schema.Literal<"sas">;
|
|
802
|
+
readonly sasToken: Schema.RedactedFromValue<Schema.String>;
|
|
803
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
804
|
+
readonly type: Schema.Literal<"sas">;
|
|
805
|
+
readonly sasToken: Schema.RedactedFromValue<Schema.String>;
|
|
806
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
807
|
+
readonly type: Schema.Literal<"service_principal">;
|
|
808
|
+
readonly tenantId: Schema.String;
|
|
809
|
+
readonly clientId: Schema.String;
|
|
810
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
811
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
812
|
+
readonly type: Schema.Literal<"service_principal">;
|
|
813
|
+
readonly tenantId: Schema.String;
|
|
814
|
+
readonly clientId: Schema.String;
|
|
815
|
+
readonly clientSecret: Schema.RedactedFromValue<Schema.String>;
|
|
816
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
817
|
+
readonly type: Schema.Literal<"service_principal_certificate">;
|
|
818
|
+
readonly tenantId: Schema.String;
|
|
819
|
+
readonly clientId: Schema.String;
|
|
820
|
+
readonly certificatePem: Schema.RedactedFromValue<Schema.String>;
|
|
821
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
822
|
+
readonly type: Schema.Literal<"service_principal_certificate">;
|
|
823
|
+
readonly tenantId: Schema.String;
|
|
824
|
+
readonly clientId: Schema.String;
|
|
825
|
+
readonly certificatePem: Schema.RedactedFromValue<Schema.String>;
|
|
826
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
827
|
+
readonly type: Schema.Literal<"ambient">;
|
|
828
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
829
|
+
readonly type: Schema.Literal<"ambient">;
|
|
830
|
+
}>, "fields" | "mapFields">]>;
|
|
831
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
832
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
833
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
834
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
835
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
836
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
837
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
838
|
+
readonly proxy: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
839
|
+
readonly url: Schema.String;
|
|
840
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
841
|
+
readonly type: Schema.Literal<"none">;
|
|
842
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
843
|
+
readonly type: Schema.Literal<"none">;
|
|
844
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
845
|
+
readonly type: Schema.Literal<"basic">;
|
|
846
|
+
readonly username: Schema.String;
|
|
847
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
848
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
849
|
+
readonly type: Schema.Literal<"basic">;
|
|
850
|
+
readonly username: Schema.String;
|
|
851
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
852
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
853
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
854
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
855
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
856
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
857
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
858
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
859
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
860
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
861
|
+
readonly url: Schema.String;
|
|
862
|
+
readonly auth: Schema.withDecodingDefault<Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
863
|
+
readonly type: Schema.Literal<"none">;
|
|
864
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
865
|
+
readonly type: Schema.Literal<"none">;
|
|
866
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
867
|
+
readonly type: Schema.Literal<"basic">;
|
|
868
|
+
readonly username: Schema.String;
|
|
869
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
870
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
871
|
+
readonly type: Schema.Literal<"basic">;
|
|
872
|
+
readonly username: Schema.String;
|
|
873
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
874
|
+
}>, "fields" | "mapFields">]>, never>;
|
|
875
|
+
readonly tls: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
876
|
+
readonly caCertificate: Schema.optional<Schema.String>;
|
|
877
|
+
readonly clientCertificate: Schema.optional<Schema.String>;
|
|
878
|
+
readonly clientKey: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
879
|
+
readonly clientKeyPassphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
880
|
+
readonly serverName: Schema.optional<Schema.String>;
|
|
881
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
|
|
882
|
+
}>, "fields" | "mapFields">>;
|
|
883
|
+
}>, "fields" | "mapFields">;
|
|
884
|
+
export type AzureBlobResource = typeof AzureBlobResource.Type;
|
|
885
|
+
/**
|
|
886
|
+
* An `sftp` record; `hostKeyFingerprints` are the `SHA256:` fingerprints the client must pin when set. The
|
|
887
|
+
* credentials under `auth` are also lifted to the top level. Lifted values are Redacted<unknown>: legacy also copies
|
|
888
|
+
* undeclared credential fields; narrow those values before use, or read the typed fields of the auth variant.
|
|
889
|
+
*/
|
|
890
|
+
export declare const SftpResource: Schema.decodeTo<Schema.toType<Schema.StructWithRest<Schema.Struct<{
|
|
891
|
+
readonly host: Schema.String;
|
|
892
|
+
readonly port: Schema.withDecodingDefault<Schema.Number, never>;
|
|
893
|
+
readonly username: Schema.String;
|
|
894
|
+
readonly auth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
895
|
+
readonly type: Schema.Literal<"password">;
|
|
896
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
897
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
898
|
+
readonly type: Schema.Literal<"password">;
|
|
899
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
900
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
901
|
+
readonly type: Schema.Literal<"private_key">;
|
|
902
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
903
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
904
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
905
|
+
readonly type: Schema.Literal<"private_key">;
|
|
906
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
907
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
908
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
909
|
+
readonly type: Schema.Literal<"private_key_and_password">;
|
|
910
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
911
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
912
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
913
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
914
|
+
readonly type: Schema.Literal<"private_key_and_password">;
|
|
915
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
916
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
917
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
918
|
+
}>, "fields" | "mapFields">]>;
|
|
919
|
+
readonly hostKeyFingerprints: Schema.optional<Schema.$Array<Schema.String>>;
|
|
920
|
+
readonly algorithms: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
921
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
922
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
923
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
924
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
925
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
926
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
927
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
928
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
929
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
930
|
+
}>, "fields" | "mapFields">>;
|
|
931
|
+
readonly password: Schema.optional<Schema.Redacted<Schema.Unknown>>;
|
|
932
|
+
readonly privateKey: Schema.optional<Schema.Redacted<Schema.Unknown>>;
|
|
933
|
+
readonly passphrase: Schema.optional<Schema.Redacted<Schema.Unknown>>;
|
|
934
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
935
|
+
readonly host: Schema.String;
|
|
936
|
+
readonly port: Schema.withDecodingDefault<Schema.Number, never>;
|
|
937
|
+
readonly username: Schema.String;
|
|
938
|
+
readonly auth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
939
|
+
readonly type: Schema.Literal<"password">;
|
|
940
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
941
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
942
|
+
readonly type: Schema.Literal<"password">;
|
|
943
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
944
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
945
|
+
readonly type: Schema.Literal<"private_key">;
|
|
946
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
947
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
948
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
949
|
+
readonly type: Schema.Literal<"private_key">;
|
|
950
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
951
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
952
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
953
|
+
readonly type: Schema.Literal<"private_key_and_password">;
|
|
954
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
955
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
956
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
957
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
958
|
+
readonly type: Schema.Literal<"private_key_and_password">;
|
|
959
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
960
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
961
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
962
|
+
}>, "fields" | "mapFields">]>;
|
|
963
|
+
readonly hostKeyFingerprints: Schema.optional<Schema.$Array<Schema.String>>;
|
|
964
|
+
readonly algorithms: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
965
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
966
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
967
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
968
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
969
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
970
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
971
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
972
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
973
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
974
|
+
}>, "fields" | "mapFields">>;
|
|
975
|
+
readonly password: Schema.optional<Schema.Redacted<Schema.Unknown>>;
|
|
976
|
+
readonly privateKey: Schema.optional<Schema.Redacted<Schema.Unknown>>;
|
|
977
|
+
readonly passphrase: Schema.optional<Schema.Redacted<Schema.Unknown>>;
|
|
978
|
+
}>, "fields" | "mapFields">>, Schema.StructWithRest<Schema.Struct<{
|
|
979
|
+
host: Schema.String;
|
|
980
|
+
port: Schema.withDecodingDefault<Schema.Number, never>;
|
|
981
|
+
username: Schema.String;
|
|
982
|
+
auth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
983
|
+
readonly type: Schema.Literal<"password">;
|
|
984
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
985
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
986
|
+
readonly type: Schema.Literal<"password">;
|
|
987
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
988
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
989
|
+
readonly type: Schema.Literal<"private_key">;
|
|
990
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
991
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
992
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
993
|
+
readonly type: Schema.Literal<"private_key">;
|
|
994
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
995
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
996
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
997
|
+
readonly type: Schema.Literal<"private_key_and_password">;
|
|
998
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
999
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
1000
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
1001
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
1002
|
+
readonly type: Schema.Literal<"private_key_and_password">;
|
|
1003
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
1004
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
1005
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
1006
|
+
}>, "fields" | "mapFields">]>;
|
|
1007
|
+
hostKeyFingerprints: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1008
|
+
algorithms: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
1009
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1010
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1011
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1012
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1013
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
1014
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1015
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1016
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1017
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1018
|
+
}>, "fields" | "mapFields">>;
|
|
1019
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
1020
|
+
host: Schema.String;
|
|
1021
|
+
port: Schema.withDecodingDefault<Schema.Number, never>;
|
|
1022
|
+
username: Schema.String;
|
|
1023
|
+
auth: Schema.Union<readonly [Schema.StructWithRest<Schema.Struct<{
|
|
1024
|
+
readonly type: Schema.Literal<"password">;
|
|
1025
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
1026
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
1027
|
+
readonly type: Schema.Literal<"password">;
|
|
1028
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
1029
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
1030
|
+
readonly type: Schema.Literal<"private_key">;
|
|
1031
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
1032
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
1033
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
1034
|
+
readonly type: Schema.Literal<"private_key">;
|
|
1035
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
1036
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
1037
|
+
}>, "fields" | "mapFields">, Schema.StructWithRest<Schema.Struct<{
|
|
1038
|
+
readonly type: Schema.Literal<"private_key_and_password">;
|
|
1039
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
1040
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
1041
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
1042
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
1043
|
+
readonly type: Schema.Literal<"private_key_and_password">;
|
|
1044
|
+
readonly privateKey: Schema.RedactedFromValue<Schema.String>;
|
|
1045
|
+
readonly passphrase: Schema.optional<Schema.RedactedFromValue<Schema.String>>;
|
|
1046
|
+
readonly password: Schema.RedactedFromValue<Schema.String>;
|
|
1047
|
+
}>, "fields" | "mapFields">]>;
|
|
1048
|
+
hostKeyFingerprints: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1049
|
+
algorithms: Schema.optional<Schema.StructWithRest<Schema.Struct<{
|
|
1050
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1051
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1052
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1053
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1054
|
+
}>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]> & Pick<Schema.Struct<{
|
|
1055
|
+
readonly kex: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1056
|
+
readonly serverHostKey: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1057
|
+
readonly cipher: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1058
|
+
readonly hmac: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1059
|
+
}>, "fields" | "mapFields">>;
|
|
1060
|
+
}>, "fields" | "mapFields">, never, never>;
|
|
1061
|
+
export type SftpResource = typeof SftpResource.Type;
|
|
1062
|
+
declare const UnknownRecordValueError_base: Schema.Class<UnknownRecordValueError, Schema.TaggedStruct<"UnknownRecordValueError", {
|
|
1063
|
+
readonly key: Schema.String;
|
|
1064
|
+
readonly fields: Schema.$Array<Schema.String>;
|
|
1065
|
+
readonly clientVersion: Schema.String;
|
|
1066
|
+
readonly message: Schema.String;
|
|
1067
|
+
}>, import("effect/Cause").YieldableError>;
|
|
1068
|
+
/**
|
|
1069
|
+
* A built-in record holds a value this SDK does not know in a closed field: one that chooses TLS, where a key
|
|
1070
|
+
* travels, or AS2 cryptography, where a guess would weaken security silently. The message names the fields and this
|
|
1071
|
+
* SDK's version, never the value, which can be a mis-pointed secret.
|
|
1072
|
+
*/
|
|
1073
|
+
export declare class UnknownRecordValueError extends UnknownRecordValueError_base {
|
|
1074
|
+
static of(key: string, fields: ReadonlyArray<string>): UnknownRecordValueError;
|
|
1075
|
+
}
|
|
1076
|
+
/** Decodable without services, so a record decodes wherever it is read. */
|
|
1077
|
+
export type RecordSchema = Schema.Top & {
|
|
1078
|
+
readonly DecodingServices: never;
|
|
1079
|
+
};
|
|
1080
|
+
/**
|
|
1081
|
+
* Decodes a resolved record. A mismatch names the fields, never their values; a built-in record with a closed value
|
|
1082
|
+
* this SDK does not know fails with `UnknownRecordValueError`.
|
|
1083
|
+
*/
|
|
1084
|
+
export declare const decodeRecord: <S extends RecordSchema>(schema: S, key: string, value: Schema.Json) => Effect.Effect<S['Type'], InvalidResourceError | UnknownRecordValueError>;
|
|
1085
|
+
export {};
|
|
1086
|
+
//# sourceMappingURL=ResourceRecords.d.ts.map
|