@superdurable/connector-amazon-s3 0.1.2 → 0.2.0
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 +5 -16
- package/dex-connector.json +499 -2
- package/dist/chunk-6LKGFP44.js +755 -0
- package/dist/{connection-BXFHjy1h.d.ts → connection-CmMVOLxi.d.ts} +330 -3
- package/dist/index.d.ts +494 -8
- package/dist/index.js +923 -21
- package/dist/mock.d.ts +182 -2
- package/dist/mock.js +454 -12
- package/package.json +2 -2
- package/dist/chunk-IGAKQPN2.js +0 -326
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { L as ListObjectsInput, a as ListObjectsOutput, H as HeadObjectInput, O as ObjectMetadata, G as GetObjectTextInput, b as ObjectText, P as PutObjectInput, S as StoredObject, c as ListBucketsInput, d as ListBucketsOutput, D as DeleteBucketInput, e as DeletedBucket, C as CreateFolderInput, f as CreatedFolder, g as DeleteFolderInput, h as DeletedFolder, i as ListFoldersInput, j as ListFoldersOutput, k as GetObjectBytesInput, l as ObjectBytes, m as DeleteObjectInput, n as DeletedObject, o as CreateBucketInput, p as CreatedBucket, q as CopyObjectInput, r as CopiedObject, s as Config, t as Credentials, u as Connection, v as Operations } from './connection-CmMVOLxi.js';
|
|
2
|
+
export { B as BucketSummary, w as BucketSummarySchema, x as ConfigSchema, y as ConnectionNameProvider, z as CopiedObjectSchema, A as CopyObjectInputSchema, E as CreateBucketInputSchema, F as CreateFolderInputSchema, I as CreatedBucketSchema, J as CreatedFolderSchema, K as CredentialMaterialError, M as CredentialSource, N as DeleteBucketInputSchema, Q as DeleteFolderInputSchema, R as DeleteObjectInputSchema, T as DeletedBucketSchema, U as DeletedFolderSchema, V as DeletedObjectSchema, W as GetObjectBytesInputSchema, X as GetObjectTextInputSchema, Y as HeadObjectInputSchema, Z as ListBucketsInputSchema, _ as ListBucketsOutputSchema, $ as ListFoldersInputSchema, a0 as ListFoldersOutputSchema, a1 as ListObjectsInputSchema, a2 as ListObjectsOutputSchema, a3 as ObjectBytesSchema, a4 as ObjectMetadataSchema, a5 as ObjectSummary, a6 as ObjectSummarySchema, a7 as ObjectTextSchema, a8 as PutObjectInputSchema, a9 as SignedInteger, aa as StoredObjectSchema, ab as decodeCredentials, ac as decodeSignedInteger, ad as exactIntegerJSONCodec, ae as isCredentialMaterialError, af as newConnection, ag as newConnectionWithOperations, ah as parseExactIntegerJSON, ai as parseJSONNumberTokens } from './connection-CmMVOLxi.js';
|
|
3
3
|
import * as _superdurable_connectors_sdk from '@superdurable/connectors-sdk';
|
|
4
|
-
import {
|
|
4
|
+
import { MutationDefinition, QueryDefinition, Query, Call, QueryAttempt, Mutation, MutationAttempt, CredentialProvider, ReceiptDraft, MutationStepConfig, MutationResult, QueryStepConfig, QueryResult, MutationStep, QueryStep } from '@superdurable/connectors-sdk';
|
|
5
5
|
import { ProviderRequest, ProviderResponse } from '@superdurable/connectors-sdk/providerhttp';
|
|
6
6
|
import { LoadedProject } from '@superdurable/connectors-sdk/projectconfig';
|
|
7
7
|
import { StepTarget } from '@superdurable/dex';
|
|
@@ -11,6 +11,141 @@ import 'zod';
|
|
|
11
11
|
declare const ConnectorID = "amazon-s3";
|
|
12
12
|
/** Provider identity for named connections. */
|
|
13
13
|
declare const ProviderID = "amazon-s3";
|
|
14
|
+
/** Branch IDs for listBuckets. */
|
|
15
|
+
declare const ListBucketsBranch: {
|
|
16
|
+
readonly Listed: "listed";
|
|
17
|
+
readonly ProviderRejected: "providerRejected";
|
|
18
|
+
readonly InvalidResponse: "invalidResponse";
|
|
19
|
+
readonly Defect: "defect";
|
|
20
|
+
};
|
|
21
|
+
/** S3 returned a page of buckets. */
|
|
22
|
+
declare const ListBucketsBranchListed: "listed";
|
|
23
|
+
/** S3 conclusively rejected the bucket list. */
|
|
24
|
+
declare const ListBucketsBranchProviderRejected: "providerRejected";
|
|
25
|
+
/** S3 returned an invalid or oversized bucket list. */
|
|
26
|
+
declare const ListBucketsBranchInvalidResponse: "invalidResponse";
|
|
27
|
+
/** Local input or configuration is invalid. */
|
|
28
|
+
declare const ListBucketsBranchDefect: "defect";
|
|
29
|
+
/** Manifest definition for listBuckets. */
|
|
30
|
+
declare const ListBucketsDefinition: QueryDefinition;
|
|
31
|
+
/** Manifest metadata for listBuckets. */
|
|
32
|
+
declare const ListBucketsMetadata: {
|
|
33
|
+
readonly kind: "query";
|
|
34
|
+
readonly idempotency: "none";
|
|
35
|
+
readonly authorization: "required";
|
|
36
|
+
};
|
|
37
|
+
/** Branch IDs for createBucket. */
|
|
38
|
+
declare const CreateBucketBranch: {
|
|
39
|
+
readonly Created: "created";
|
|
40
|
+
readonly ProviderRejected: "providerRejected";
|
|
41
|
+
readonly Defect: "defect";
|
|
42
|
+
readonly Uncertain: "uncertain";
|
|
43
|
+
};
|
|
44
|
+
/** S3 accepted creation or a previous attempt was confirmed. */
|
|
45
|
+
declare const CreateBucketBranchCreated: "created";
|
|
46
|
+
/** S3 refused the bucket name or permission. */
|
|
47
|
+
declare const CreateBucketBranchProviderRejected: "providerRejected";
|
|
48
|
+
/** The bucket name or connection is invalid. */
|
|
49
|
+
declare const CreateBucketBranchDefect: "defect";
|
|
50
|
+
/** Bucket creation may have succeeded but the capped sends could not confirm it. */
|
|
51
|
+
declare const CreateBucketBranchUncertain: "uncertain";
|
|
52
|
+
/** Manifest definition for createBucket. */
|
|
53
|
+
declare const CreateBucketDefinition: MutationDefinition;
|
|
54
|
+
/** Manifest metadata for createBucket. */
|
|
55
|
+
declare const CreateBucketMetadata: {
|
|
56
|
+
readonly kind: "mutation";
|
|
57
|
+
readonly idempotency: "required";
|
|
58
|
+
readonly authorization: "required";
|
|
59
|
+
};
|
|
60
|
+
/** Branch IDs for deleteBucket. */
|
|
61
|
+
declare const DeleteBucketBranch: {
|
|
62
|
+
readonly Deleted: "deleted";
|
|
63
|
+
readonly ProviderRejected: "providerRejected";
|
|
64
|
+
readonly Defect: "defect";
|
|
65
|
+
};
|
|
66
|
+
/** The empty bucket is absent. */
|
|
67
|
+
declare const DeleteBucketBranchDeleted: "deleted";
|
|
68
|
+
/** S3 refused deletion, including when the bucket is not empty. */
|
|
69
|
+
declare const DeleteBucketBranchProviderRejected: "providerRejected";
|
|
70
|
+
/** The bucket name or connection is invalid. */
|
|
71
|
+
declare const DeleteBucketBranchDefect: "defect";
|
|
72
|
+
/** Manifest definition for deleteBucket. */
|
|
73
|
+
declare const DeleteBucketDefinition: MutationDefinition;
|
|
74
|
+
/** Manifest metadata for deleteBucket. */
|
|
75
|
+
declare const DeleteBucketMetadata: {
|
|
76
|
+
readonly kind: "mutation";
|
|
77
|
+
readonly idempotency: "required";
|
|
78
|
+
readonly authorization: "required";
|
|
79
|
+
};
|
|
80
|
+
/** Branch IDs for createFolder. */
|
|
81
|
+
declare const CreateFolderBranch: {
|
|
82
|
+
readonly Created: "created";
|
|
83
|
+
readonly ProviderRejected: "providerRejected";
|
|
84
|
+
readonly Defect: "defect";
|
|
85
|
+
};
|
|
86
|
+
/** The folder marker was stored. */
|
|
87
|
+
declare const CreateFolderBranchCreated: "created";
|
|
88
|
+
/** S3 conclusively refused the marker write. */
|
|
89
|
+
declare const CreateFolderBranchProviderRejected: "providerRejected";
|
|
90
|
+
/** The bucket or folder prefix is invalid. */
|
|
91
|
+
declare const CreateFolderBranchDefect: "defect";
|
|
92
|
+
/** Manifest definition for createFolder. */
|
|
93
|
+
declare const CreateFolderDefinition: MutationDefinition;
|
|
94
|
+
/** Manifest metadata for createFolder. */
|
|
95
|
+
declare const CreateFolderMetadata: {
|
|
96
|
+
readonly kind: "mutation";
|
|
97
|
+
readonly idempotency: "required";
|
|
98
|
+
readonly authorization: "required";
|
|
99
|
+
};
|
|
100
|
+
/** Branch IDs for deleteFolder. */
|
|
101
|
+
declare const DeleteFolderBranch: {
|
|
102
|
+
readonly Deleted: "deleted";
|
|
103
|
+
readonly ProviderRejected: "providerRejected";
|
|
104
|
+
readonly InvalidResponse: "invalidResponse";
|
|
105
|
+
readonly Defect: "defect";
|
|
106
|
+
};
|
|
107
|
+
/** No current object remains under the prefix. */
|
|
108
|
+
declare const DeleteFolderBranchDeleted: "deleted";
|
|
109
|
+
/** S3 conclusively refused a list or delete. */
|
|
110
|
+
declare const DeleteFolderBranchProviderRejected: "providerRejected";
|
|
111
|
+
/** S3 returned an invalid or oversized list page. */
|
|
112
|
+
declare const DeleteFolderBranchInvalidResponse: "invalidResponse";
|
|
113
|
+
/** The bucket or folder prefix is invalid. */
|
|
114
|
+
declare const DeleteFolderBranchDefect: "defect";
|
|
115
|
+
/** Manifest definition for deleteFolder. */
|
|
116
|
+
declare const DeleteFolderDefinition: MutationDefinition;
|
|
117
|
+
/** Manifest metadata for deleteFolder. */
|
|
118
|
+
declare const DeleteFolderMetadata: {
|
|
119
|
+
readonly kind: "mutation";
|
|
120
|
+
readonly idempotency: "required";
|
|
121
|
+
readonly authorization: "required";
|
|
122
|
+
};
|
|
123
|
+
/** Branch IDs for listFolders. */
|
|
124
|
+
declare const ListFoldersBranch: {
|
|
125
|
+
readonly Listed: "listed";
|
|
126
|
+
readonly NotFound: "notFound";
|
|
127
|
+
readonly ProviderRejected: "providerRejected";
|
|
128
|
+
readonly InvalidResponse: "invalidResponse";
|
|
129
|
+
readonly Defect: "defect";
|
|
130
|
+
};
|
|
131
|
+
/** One or more child folders or another page exists. */
|
|
132
|
+
declare const ListFoldersBranchListed: "listed";
|
|
133
|
+
/** No child folder matched and no page remains. */
|
|
134
|
+
declare const ListFoldersBranchNotFound: "notFound";
|
|
135
|
+
/** S3 conclusively refused the listing. */
|
|
136
|
+
declare const ListFoldersBranchProviderRejected: "providerRejected";
|
|
137
|
+
/** S3 returned an invalid or oversized page. */
|
|
138
|
+
declare const ListFoldersBranchInvalidResponse: "invalidResponse";
|
|
139
|
+
/** The bucket or prefix is invalid. */
|
|
140
|
+
declare const ListFoldersBranchDefect: "defect";
|
|
141
|
+
/** Manifest definition for listFolders. */
|
|
142
|
+
declare const ListFoldersDefinition: QueryDefinition;
|
|
143
|
+
/** Manifest metadata for listFolders. */
|
|
144
|
+
declare const ListFoldersMetadata: {
|
|
145
|
+
readonly kind: "query";
|
|
146
|
+
readonly idempotency: "none";
|
|
147
|
+
readonly authorization: "required";
|
|
148
|
+
};
|
|
14
149
|
/** Branch IDs for listObjects. */
|
|
15
150
|
declare const ListObjectsBranch: {
|
|
16
151
|
readonly Found: "found";
|
|
@@ -95,6 +230,35 @@ declare const GetObjectTextMetadata: {
|
|
|
95
230
|
readonly idempotency: "none";
|
|
96
231
|
readonly authorization: "required";
|
|
97
232
|
};
|
|
233
|
+
/** Branch IDs for getObjectBytes. */
|
|
234
|
+
declare const GetObjectBytesBranch: {
|
|
235
|
+
readonly Read: "read";
|
|
236
|
+
readonly NotFound: "notFound";
|
|
237
|
+
readonly TooLarge: "tooLarge";
|
|
238
|
+
readonly InvalidResponse: "invalidResponse";
|
|
239
|
+
readonly ProviderRejected: "providerRejected";
|
|
240
|
+
readonly Defect: "defect";
|
|
241
|
+
};
|
|
242
|
+
/** The complete object fits maxResponseBytes. */
|
|
243
|
+
declare const GetObjectBytesBranchRead: "read";
|
|
244
|
+
/** The object does not exist. */
|
|
245
|
+
declare const GetObjectBytesBranchNotFound: "notFound";
|
|
246
|
+
/** The object exceeds maxResponseBytes. */
|
|
247
|
+
declare const GetObjectBytesBranchTooLarge: "tooLarge";
|
|
248
|
+
/** S3 returned incomplete or secret-bearing bytes. */
|
|
249
|
+
declare const GetObjectBytesBranchInvalidResponse: "invalidResponse";
|
|
250
|
+
/** S3 conclusively refused the read. */
|
|
251
|
+
declare const GetObjectBytesBranchProviderRejected: "providerRejected";
|
|
252
|
+
/** The object location or connection is invalid. */
|
|
253
|
+
declare const GetObjectBytesBranchDefect: "defect";
|
|
254
|
+
/** Manifest definition for getObjectBytes. */
|
|
255
|
+
declare const GetObjectBytesDefinition: QueryDefinition;
|
|
256
|
+
/** Manifest metadata for getObjectBytes. */
|
|
257
|
+
declare const GetObjectBytesMetadata: {
|
|
258
|
+
readonly kind: "query";
|
|
259
|
+
readonly idempotency: "none";
|
|
260
|
+
readonly authorization: "required";
|
|
261
|
+
};
|
|
98
262
|
/** Branch IDs for putObject. */
|
|
99
263
|
declare const PutObjectBranch: {
|
|
100
264
|
readonly Stored: "stored";
|
|
@@ -118,6 +282,49 @@ declare const PutObjectMetadata: {
|
|
|
118
282
|
readonly idempotency: "required";
|
|
119
283
|
readonly authorization: "required";
|
|
120
284
|
};
|
|
285
|
+
/** Branch IDs for copyObject. */
|
|
286
|
+
declare const CopyObjectBranch: {
|
|
287
|
+
readonly Copied: "copied";
|
|
288
|
+
readonly ProviderRejected: "providerRejected";
|
|
289
|
+
readonly Defect: "defect";
|
|
290
|
+
readonly Uncertain: "uncertain";
|
|
291
|
+
};
|
|
292
|
+
/** S3 accepted the copy or read-back confirmed an earlier send. */
|
|
293
|
+
declare const CopyObjectBranchCopied: "copied";
|
|
294
|
+
/** S3 conclusively refused the source or destination. */
|
|
295
|
+
declare const CopyObjectBranchProviderRejected: "providerRejected";
|
|
296
|
+
/** The object locations or copy metadata are invalid. */
|
|
297
|
+
declare const CopyObjectBranchDefect: "defect";
|
|
298
|
+
/** The copy may have succeeded but read-back could not confirm it after the send cap. */
|
|
299
|
+
declare const CopyObjectBranchUncertain: "uncertain";
|
|
300
|
+
/** Manifest definition for copyObject. */
|
|
301
|
+
declare const CopyObjectDefinition: MutationDefinition;
|
|
302
|
+
/** Manifest metadata for copyObject. */
|
|
303
|
+
declare const CopyObjectMetadata: {
|
|
304
|
+
readonly kind: "mutation";
|
|
305
|
+
readonly idempotency: "required";
|
|
306
|
+
readonly authorization: "required";
|
|
307
|
+
};
|
|
308
|
+
/** Branch IDs for deleteObject. */
|
|
309
|
+
declare const DeleteObjectBranch: {
|
|
310
|
+
readonly Deleted: "deleted";
|
|
311
|
+
readonly ProviderRejected: "providerRejected";
|
|
312
|
+
readonly Defect: "defect";
|
|
313
|
+
};
|
|
314
|
+
/** S3 accepted the deletion. */
|
|
315
|
+
declare const DeleteObjectBranchDeleted: "deleted";
|
|
316
|
+
/** S3 conclusively rejected the deletion. */
|
|
317
|
+
declare const DeleteObjectBranchProviderRejected: "providerRejected";
|
|
318
|
+
/** The object key or connection is invalid. */
|
|
319
|
+
declare const DeleteObjectBranchDefect: "defect";
|
|
320
|
+
/** Manifest definition for deleteObject. */
|
|
321
|
+
declare const DeleteObjectDefinition: MutationDefinition;
|
|
322
|
+
/** Manifest metadata for deleteObject. */
|
|
323
|
+
declare const DeleteObjectMetadata: {
|
|
324
|
+
readonly kind: "mutation";
|
|
325
|
+
readonly idempotency: "required";
|
|
326
|
+
readonly authorization: "required";
|
|
327
|
+
};
|
|
121
328
|
|
|
122
329
|
/** List one bounded ListObjectsV2 page. */
|
|
123
330
|
declare class ListObjectsOperation implements Query<ListObjectsInput, ListObjectsOutput> {
|
|
@@ -147,13 +354,91 @@ declare class GetObjectTextOperation implements Query<GetObjectTextInput, Object
|
|
|
147
354
|
declare class PutObjectOperation implements Mutation<PutObjectInput, StoredObject> {
|
|
148
355
|
private readonly client;
|
|
149
356
|
/** Bind one client. */ constructor(client: S3Client);
|
|
150
|
-
/** Return the manifest operation identity. */ definition(): _superdurable_connectors_sdk.
|
|
357
|
+
/** Return the manifest operation identity. */ definition(): _superdurable_connectors_sdk.MutationDefinition;
|
|
151
358
|
/** Use the stable Dex Call ID as the object marker. */ idempotencyKey(callId: string): string;
|
|
152
359
|
/** Send a signed PUT and reconcile create-only precondition failures. */
|
|
153
360
|
invoke(call: Call, input: PutObjectInput): Promise<MutationAttempt<StoredObject>>;
|
|
154
361
|
private readExisting;
|
|
155
362
|
}
|
|
156
363
|
|
|
364
|
+
declare abstract class S3Query<Input, Output> implements Query<Input, Output> {
|
|
365
|
+
protected readonly client: S3Client;
|
|
366
|
+
protected abstract readonly contract: QueryDefinition;
|
|
367
|
+
/** Bind the provider client. */
|
|
368
|
+
constructor(client: S3Client);
|
|
369
|
+
/** Return the generated Query contract. */
|
|
370
|
+
definition(): QueryDefinition;
|
|
371
|
+
/** Execute the operation against the connected S3 endpoint. */
|
|
372
|
+
abstract invoke(call: Call, input: Input): Promise<QueryAttempt<Output>>;
|
|
373
|
+
}
|
|
374
|
+
declare abstract class S3Mutation<Input, Output> implements Mutation<Input, Output> {
|
|
375
|
+
protected readonly client: S3Client;
|
|
376
|
+
protected abstract readonly contract: MutationDefinition;
|
|
377
|
+
/** Bind the provider client. */
|
|
378
|
+
constructor(client: S3Client);
|
|
379
|
+
/** Return the generated Mutation contract. */
|
|
380
|
+
definition(): MutationDefinition;
|
|
381
|
+
/** Return the stable invocation key shared by retries. */
|
|
382
|
+
idempotencyKey(callID: string): string;
|
|
383
|
+
/** Execute the operation against the connected S3 endpoint. */
|
|
384
|
+
abstract invoke(call: Call, input: Input): Promise<MutationAttempt<Output>>;
|
|
385
|
+
}
|
|
386
|
+
/** List one page of buckets owned by the connected account. */
|
|
387
|
+
declare class ListBucketsOperation extends S3Query<ListBucketsInput, ListBucketsOutput> {
|
|
388
|
+
protected readonly contract: QueryDefinition;
|
|
389
|
+
/** Return names, creation dates, and available Regions. */
|
|
390
|
+
invoke(call: Call, input: ListBucketsInput): Promise<QueryAttempt<ListBucketsOutput>>;
|
|
391
|
+
}
|
|
392
|
+
/** List one page of immediate child prefixes. */
|
|
393
|
+
declare class ListFoldersOperation extends S3Query<ListFoldersInput, ListFoldersOutput> {
|
|
394
|
+
protected readonly contract: QueryDefinition;
|
|
395
|
+
/** Return complete child prefixes with the continuation token. */
|
|
396
|
+
invoke(call: Call, input: ListFoldersInput): Promise<QueryAttempt<ListFoldersOutput>>;
|
|
397
|
+
}
|
|
398
|
+
/** Read one complete object as base64 without treating it as text. */
|
|
399
|
+
declare class GetObjectBytesOperation extends S3Query<GetObjectBytesInput, ObjectBytes> {
|
|
400
|
+
protected readonly contract: QueryDefinition;
|
|
401
|
+
/** Return bounded bytes and selected metadata. */
|
|
402
|
+
invoke(call: Call, input: GetObjectBytesInput): Promise<QueryAttempt<ObjectBytes>>;
|
|
403
|
+
}
|
|
404
|
+
/** Delete one empty S3 bucket. */
|
|
405
|
+
declare class DeleteBucketOperation extends S3Mutation<DeleteBucketInput, DeletedBucket> {
|
|
406
|
+
protected readonly contract: MutationDefinition;
|
|
407
|
+
/** Treat an explicit NoSuchBucket response as an absent bucket. */
|
|
408
|
+
invoke(call: Call, input: DeleteBucketInput): Promise<MutationAttempt<DeletedBucket>>;
|
|
409
|
+
}
|
|
410
|
+
/** Create the empty object that marks a folder prefix. */
|
|
411
|
+
declare class CreateFolderOperation extends S3Mutation<CreateFolderInput, CreatedFolder> {
|
|
412
|
+
protected readonly contract: MutationDefinition;
|
|
413
|
+
/** Store an empty marker under the slash-terminated prefix. */
|
|
414
|
+
invoke(call: Call, input: CreateFolderInput): Promise<MutationAttempt<CreatedFolder>>;
|
|
415
|
+
}
|
|
416
|
+
/** Delete the current S3 object at one exact location. */
|
|
417
|
+
declare class DeleteObjectOperation extends S3Mutation<DeleteObjectInput, DeletedObject> {
|
|
418
|
+
protected readonly contract: MutationDefinition;
|
|
419
|
+
/** Return the bucket and key acknowledged by S3. */
|
|
420
|
+
invoke(call: Call, input: DeleteObjectInput): Promise<MutationAttempt<DeletedObject>>;
|
|
421
|
+
}
|
|
422
|
+
/** Delete current S3 objects beneath one slash-terminated folder prefix. */
|
|
423
|
+
declare class DeleteFolderOperation extends S3Mutation<DeleteFolderInput, DeletedFolder> {
|
|
424
|
+
protected readonly contract: MutationDefinition;
|
|
425
|
+
/** Re-list after each batch so retries converge on current provider state. */
|
|
426
|
+
invoke(call: Call, input: DeleteFolderInput): Promise<MutationAttempt<DeletedFolder>>;
|
|
427
|
+
private deletePages;
|
|
428
|
+
}
|
|
429
|
+
/** Create a bucket in the configured Region with a bounded send count. */
|
|
430
|
+
declare class CreateBucketOperation extends S3Mutation<CreateBucketInput, CreatedBucket> {
|
|
431
|
+
protected readonly contract: MutationDefinition;
|
|
432
|
+
/** Create the bucket while protecting existing us-east-1 ACLs. */
|
|
433
|
+
invoke(call: Call, input: CreateBucketInput): Promise<MutationAttempt<CreatedBucket>>;
|
|
434
|
+
}
|
|
435
|
+
/** Copy an object and check its destination marker before resending. */
|
|
436
|
+
declare class CopyObjectOperation extends S3Mutation<CopyObjectInput, CopiedObject> {
|
|
437
|
+
protected readonly contract: MutationDefinition;
|
|
438
|
+
/** Return the copy acknowledged by S3 or confirmed by its destination marker. */
|
|
439
|
+
invoke(call: Call, input: CopyObjectInput): Promise<MutationAttempt<CopiedObject>>;
|
|
440
|
+
}
|
|
441
|
+
|
|
157
442
|
/** One S3 exchange, including a bounded-body result. */
|
|
158
443
|
interface S3Response {
|
|
159
444
|
/** HTTP status. */ status: number;
|
|
@@ -176,7 +461,7 @@ interface S3Session {
|
|
|
176
461
|
}
|
|
177
462
|
/** S3 request data before SigV4 signing. */
|
|
178
463
|
interface S3Request {
|
|
179
|
-
/** HTTP method. */ method: 'GET' | 'HEAD' | 'PUT';
|
|
464
|
+
/** HTTP method. */ method: 'GET' | 'HEAD' | 'PUT' | 'DELETE';
|
|
180
465
|
/** Bucket name. */ bucket: string;
|
|
181
466
|
/** Optional object key. */ key?: string;
|
|
182
467
|
/** Query parameters. */ query?: Record<string, string>;
|
|
@@ -204,14 +489,32 @@ declare class S3Client {
|
|
|
204
489
|
/** Bind the metadata query. */ headObject(): HeadObjectOperation;
|
|
205
490
|
/** Bind the text query. */ getObjectText(): GetObjectTextOperation;
|
|
206
491
|
/** Bind the object write mutation. */ putObject(): PutObjectOperation;
|
|
492
|
+
/** Bind the S3 list buckets operation. */
|
|
493
|
+
listBuckets(): ListBucketsOperation;
|
|
494
|
+
/** Bind the S3 delete bucket operation. */
|
|
495
|
+
deleteBucket(): DeleteBucketOperation;
|
|
496
|
+
/** Bind the S3 create folder operation. */
|
|
497
|
+
createFolder(): CreateFolderOperation;
|
|
498
|
+
/** Bind the S3 delete folder operation. */
|
|
499
|
+
deleteFolder(): DeleteFolderOperation;
|
|
500
|
+
/** Bind the S3 list folders operation. */
|
|
501
|
+
listFolders(): ListFoldersOperation;
|
|
502
|
+
/** Bind the S3 get object bytes operation. */
|
|
503
|
+
getObjectBytes(): GetObjectBytesOperation;
|
|
504
|
+
/** Bind the S3 delete object operation. */
|
|
505
|
+
deleteObject(): DeleteObjectOperation;
|
|
506
|
+
/** Bind bounded bucket creation. */
|
|
507
|
+
createBucket(): CreateBucketOperation;
|
|
508
|
+
/** Bind bounded object copying. */
|
|
509
|
+
copyObject(): CopyObjectOperation;
|
|
207
510
|
/** Resolve current credentials once per Invoke without exposing secret-bearing errors. */
|
|
208
511
|
startSession(call: Call): Promise<S3Session | undefined>;
|
|
209
512
|
/** Return null for a transient credential failure and undefined for a terminal or invalid one. */
|
|
210
|
-
|
|
513
|
+
resolveSession(call: Call): Promise<S3Session | null | undefined>;
|
|
211
514
|
/** Resolve and validate an input bucket. */
|
|
212
515
|
bucket(inputBucket?: string): string;
|
|
213
516
|
/** Send a SigV4 request once; Dex owns operation retries. */
|
|
214
|
-
exchange(call: Call, session: S3Session, request: S3Request): Promise<S3Response>;
|
|
517
|
+
exchange(call: Call, session: S3Session, request: S3Request, signal?: AbortSignal): Promise<S3Response>;
|
|
215
518
|
/** Make a safe receipt from provider correlation metadata. */
|
|
216
519
|
receipt(_call: Call, response: S3Response, bucket: string, key?: string): ReceiptDraft;
|
|
217
520
|
/** Return the clock used for retry headers. */ currentTime(): Date;
|
|
@@ -229,10 +532,130 @@ declare function validateKey(value: string, field?: string, isPrefix?: boolean):
|
|
|
229
532
|
declare function containsCredential(value: string, session: S3Session, includeAccessKey?: boolean): boolean;
|
|
230
533
|
/** Bound a provider header and suppress credential echoes. */
|
|
231
534
|
declare function safeHeader(response: S3Response, name: string, session: S3Session): string;
|
|
535
|
+
/** Encode a key path for S3 SigV4 and copy-source headers. */
|
|
536
|
+
declare function escapeS3Path(path: string): string;
|
|
232
537
|
|
|
233
538
|
/** Bind one project connection and resolve current S3 secrets only during Invoke. */
|
|
234
539
|
declare function newProjectConnection(project: LoadedProject, connectionName: string, options?: S3ClientOptions): Connection<Operations>;
|
|
235
540
|
|
|
541
|
+
/** Configuration for the listBuckets connector Step. */
|
|
542
|
+
interface ListBucketsStepConfig<StepInput, OperationInput = ListBucketsInput, OperationOutput = ListBucketsOutput> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
543
|
+
/** Named connection supplying this operation. */
|
|
544
|
+
connection: Connection<{
|
|
545
|
+
listBuckets(): Query<OperationInput, OperationOutput>;
|
|
546
|
+
}>;
|
|
547
|
+
/** Name matching the bound connection. */
|
|
548
|
+
connectionName: string;
|
|
549
|
+
/** S3 returned a page of buckets. */
|
|
550
|
+
listed: StepTarget<QueryResult<OperationOutput>>;
|
|
551
|
+
/** S3 conclusively rejected the bucket list. */
|
|
552
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
553
|
+
/** S3 returned an invalid or oversized bucket list. */
|
|
554
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
555
|
+
/** Local input or configuration is invalid. */
|
|
556
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
557
|
+
}
|
|
558
|
+
/** Build the listBuckets Step from a named connection. */
|
|
559
|
+
declare function newListBucketsStep<StepInput, OperationInput = ListBucketsInput, OperationOutput = ListBucketsOutput>(configuration: ListBucketsStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
560
|
+
/** Configuration for the createBucket connector Step. */
|
|
561
|
+
interface CreateBucketStepConfig<StepInput, OperationInput = CreateBucketInput, OperationOutput = CreatedBucket> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
562
|
+
/** Named connection supplying this operation. */
|
|
563
|
+
connection: Connection<{
|
|
564
|
+
createBucket(): Mutation<OperationInput, OperationOutput>;
|
|
565
|
+
}>;
|
|
566
|
+
/** Name matching the bound connection. */
|
|
567
|
+
connectionName: string;
|
|
568
|
+
/** S3 accepted creation or a previous attempt was confirmed. */
|
|
569
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
570
|
+
/** S3 refused the bucket name or permission. */
|
|
571
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
572
|
+
/** The bucket name or connection is invalid. */
|
|
573
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
574
|
+
/** Bucket creation may have succeeded but the capped sends could not confirm it. */
|
|
575
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
576
|
+
}
|
|
577
|
+
/** Build the createBucket Step from a named connection. */
|
|
578
|
+
declare function newCreateBucketStep<StepInput, OperationInput = CreateBucketInput, OperationOutput = CreatedBucket>(configuration: CreateBucketStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
579
|
+
/** Configuration for the deleteBucket connector Step. */
|
|
580
|
+
interface DeleteBucketStepConfig<StepInput, OperationInput = DeleteBucketInput, OperationOutput = DeletedBucket> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
581
|
+
/** Named connection supplying this operation. */
|
|
582
|
+
connection: Connection<{
|
|
583
|
+
deleteBucket(): Mutation<OperationInput, OperationOutput>;
|
|
584
|
+
}>;
|
|
585
|
+
/** Name matching the bound connection. */
|
|
586
|
+
connectionName: string;
|
|
587
|
+
/** The empty bucket is absent. */
|
|
588
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
589
|
+
/** S3 refused deletion, including when the bucket is not empty. */
|
|
590
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
591
|
+
/** The bucket name or connection is invalid. */
|
|
592
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
593
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
594
|
+
maxSends?: number;
|
|
595
|
+
}
|
|
596
|
+
/** Build the deleteBucket Step from a named connection. */
|
|
597
|
+
declare function newDeleteBucketStep<StepInput, OperationInput = DeleteBucketInput, OperationOutput = DeletedBucket>(configuration: DeleteBucketStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
598
|
+
/** Configuration for the createFolder connector Step. */
|
|
599
|
+
interface CreateFolderStepConfig<StepInput, OperationInput = CreateFolderInput, OperationOutput = CreatedFolder> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
600
|
+
/** Named connection supplying this operation. */
|
|
601
|
+
connection: Connection<{
|
|
602
|
+
createFolder(): Mutation<OperationInput, OperationOutput>;
|
|
603
|
+
}>;
|
|
604
|
+
/** Name matching the bound connection. */
|
|
605
|
+
connectionName: string;
|
|
606
|
+
/** The folder marker was stored. */
|
|
607
|
+
created: StepTarget<MutationResult<OperationOutput>>;
|
|
608
|
+
/** S3 conclusively refused the marker write. */
|
|
609
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
610
|
+
/** The bucket or folder prefix is invalid. */
|
|
611
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
612
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
613
|
+
maxSends?: number;
|
|
614
|
+
}
|
|
615
|
+
/** Build the createFolder Step from a named connection. */
|
|
616
|
+
declare function newCreateFolderStep<StepInput, OperationInput = CreateFolderInput, OperationOutput = CreatedFolder>(configuration: CreateFolderStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
617
|
+
/** Configuration for the deleteFolder connector Step. */
|
|
618
|
+
interface DeleteFolderStepConfig<StepInput, OperationInput = DeleteFolderInput, OperationOutput = DeletedFolder> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
619
|
+
/** Named connection supplying this operation. */
|
|
620
|
+
connection: Connection<{
|
|
621
|
+
deleteFolder(): Mutation<OperationInput, OperationOutput>;
|
|
622
|
+
}>;
|
|
623
|
+
/** Name matching the bound connection. */
|
|
624
|
+
connectionName: string;
|
|
625
|
+
/** No current object remains under the prefix. */
|
|
626
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
627
|
+
/** S3 conclusively refused a list or delete. */
|
|
628
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
629
|
+
/** S3 returned an invalid or oversized list page. */
|
|
630
|
+
invalidResponse?: StepTarget<MutationResult<OperationOutput>>;
|
|
631
|
+
/** The bucket or folder prefix is invalid. */
|
|
632
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
633
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
634
|
+
maxSends?: number;
|
|
635
|
+
}
|
|
636
|
+
/** Build the deleteFolder Step from a named connection. */
|
|
637
|
+
declare function newDeleteFolderStep<StepInput, OperationInput = DeleteFolderInput, OperationOutput = DeletedFolder>(configuration: DeleteFolderStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
638
|
+
/** Configuration for the listFolders connector Step. */
|
|
639
|
+
interface ListFoldersStepConfig<StepInput, OperationInput = ListFoldersInput, OperationOutput = ListFoldersOutput> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
640
|
+
/** Named connection supplying this operation. */
|
|
641
|
+
connection: Connection<{
|
|
642
|
+
listFolders(): Query<OperationInput, OperationOutput>;
|
|
643
|
+
}>;
|
|
644
|
+
/** Name matching the bound connection. */
|
|
645
|
+
connectionName: string;
|
|
646
|
+
/** One or more child folders or another page exists. */
|
|
647
|
+
listed: StepTarget<QueryResult<OperationOutput>>;
|
|
648
|
+
/** No child folder matched and no page remains. */
|
|
649
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
650
|
+
/** S3 conclusively refused the listing. */
|
|
651
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
652
|
+
/** S3 returned an invalid or oversized page. */
|
|
653
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
654
|
+
/** The bucket or prefix is invalid. */
|
|
655
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
656
|
+
}
|
|
657
|
+
/** Build the listFolders Step from a named connection. */
|
|
658
|
+
declare function newListFoldersStep<StepInput, OperationInput = ListFoldersInput, OperationOutput = ListFoldersOutput>(configuration: ListFoldersStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
236
659
|
/** Configuration for the listObjects connector Step. */
|
|
237
660
|
interface ListObjectsStepConfig<StepInput, OperationInput = ListObjectsInput, OperationOutput = ListObjectsOutput> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
238
661
|
/** Named connection supplying this operation. */
|
|
@@ -300,6 +723,29 @@ interface GetObjectTextStepConfig<StepInput, OperationInput = GetObjectTextInput
|
|
|
300
723
|
}
|
|
301
724
|
/** Build the getObjectText Step from a named connection. */
|
|
302
725
|
declare function newGetObjectTextStep<StepInput, OperationInput = GetObjectTextInput, OperationOutput = ObjectText>(configuration: GetObjectTextStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
726
|
+
/** Configuration for the getObjectBytes connector Step. */
|
|
727
|
+
interface GetObjectBytesStepConfig<StepInput, OperationInput = GetObjectBytesInput, OperationOutput = ObjectBytes> extends Omit<QueryStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
728
|
+
/** Named connection supplying this operation. */
|
|
729
|
+
connection: Connection<{
|
|
730
|
+
getObjectBytes(): Query<OperationInput, OperationOutput>;
|
|
731
|
+
}>;
|
|
732
|
+
/** Name matching the bound connection. */
|
|
733
|
+
connectionName: string;
|
|
734
|
+
/** The complete object fits maxResponseBytes. */
|
|
735
|
+
read: StepTarget<QueryResult<OperationOutput>>;
|
|
736
|
+
/** The object does not exist. */
|
|
737
|
+
notFound?: StepTarget<QueryResult<OperationOutput>>;
|
|
738
|
+
/** The object exceeds maxResponseBytes. */
|
|
739
|
+
tooLarge?: StepTarget<QueryResult<OperationOutput>>;
|
|
740
|
+
/** S3 returned incomplete or secret-bearing bytes. */
|
|
741
|
+
invalidResponse?: StepTarget<QueryResult<OperationOutput>>;
|
|
742
|
+
/** S3 conclusively refused the read. */
|
|
743
|
+
providerRejected?: StepTarget<QueryResult<OperationOutput>>;
|
|
744
|
+
/** The object location or connection is invalid. */
|
|
745
|
+
defect?: StepTarget<QueryResult<OperationOutput>>;
|
|
746
|
+
}
|
|
747
|
+
/** Build the getObjectBytes Step from a named connection. */
|
|
748
|
+
declare function newGetObjectBytesStep<StepInput, OperationInput = GetObjectBytesInput, OperationOutput = ObjectBytes>(configuration: GetObjectBytesStepConfig<StepInput, OperationInput, OperationOutput>): QueryStep<StepInput, OperationInput, OperationOutput>;
|
|
303
749
|
/** Configuration for the putObject connector Step. */
|
|
304
750
|
interface PutObjectStepConfig<StepInput, OperationInput = PutObjectInput, OperationOutput = StoredObject> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
305
751
|
/** Named connection supplying this operation. */
|
|
@@ -316,8 +762,48 @@ interface PutObjectStepConfig<StepInput, OperationInput = PutObjectInput, Operat
|
|
|
316
762
|
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
317
763
|
/** Local input, connection configuration, or connector definition is invalid. */
|
|
318
764
|
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
765
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
766
|
+
maxSends?: number;
|
|
319
767
|
}
|
|
320
768
|
/** Build the putObject Step from a named connection. */
|
|
321
769
|
declare function newPutObjectStep<StepInput, OperationInput = PutObjectInput, OperationOutput = StoredObject>(configuration: PutObjectStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
770
|
+
/** Configuration for the copyObject connector Step. */
|
|
771
|
+
interface CopyObjectStepConfig<StepInput, OperationInput = CopyObjectInput, OperationOutput = CopiedObject> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
772
|
+
/** Named connection supplying this operation. */
|
|
773
|
+
connection: Connection<{
|
|
774
|
+
copyObject(): Mutation<OperationInput, OperationOutput>;
|
|
775
|
+
}>;
|
|
776
|
+
/** Name matching the bound connection. */
|
|
777
|
+
connectionName: string;
|
|
778
|
+
/** S3 accepted the copy or read-back confirmed an earlier send. */
|
|
779
|
+
copied: StepTarget<MutationResult<OperationOutput>>;
|
|
780
|
+
/** S3 conclusively refused the source or destination. */
|
|
781
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
782
|
+
/** The object locations or copy metadata are invalid. */
|
|
783
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
784
|
+
/** The copy may have succeeded but read-back could not confirm it after the send cap. */
|
|
785
|
+
uncertain?: StepTarget<MutationResult<OperationOutput>>;
|
|
786
|
+
}
|
|
787
|
+
/** Build the copyObject Step from a named connection. */
|
|
788
|
+
declare function newCopyObjectStep<StepInput, OperationInput = CopyObjectInput, OperationOutput = CopiedObject>(configuration: CopyObjectStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
789
|
+
/** Configuration for the deleteObject connector Step. */
|
|
790
|
+
interface DeleteObjectStepConfig<StepInput, OperationInput = DeleteObjectInput, OperationOutput = DeletedObject> extends Omit<MutationStepConfig<StepInput, OperationInput, OperationOutput>, 'operation' | 'connection' | 'branches'> {
|
|
791
|
+
/** Named connection supplying this operation. */
|
|
792
|
+
connection: Connection<{
|
|
793
|
+
deleteObject(): Mutation<OperationInput, OperationOutput>;
|
|
794
|
+
}>;
|
|
795
|
+
/** Name matching the bound connection. */
|
|
796
|
+
connectionName: string;
|
|
797
|
+
/** S3 accepted the deletion. */
|
|
798
|
+
deleted: StepTarget<MutationResult<OperationOutput>>;
|
|
799
|
+
/** S3 conclusively rejected the deletion. */
|
|
800
|
+
providerRejected?: StepTarget<MutationResult<OperationOutput>>;
|
|
801
|
+
/** The object key or connection is invalid. */
|
|
802
|
+
defect?: StepTarget<MutationResult<OperationOutput>>;
|
|
803
|
+
/** Accepted for compatibility; ignored because the operation is safe to repeat. */
|
|
804
|
+
maxSends?: number;
|
|
805
|
+
}
|
|
806
|
+
/** Build the deleteObject Step from a named connection. */
|
|
807
|
+
declare function newDeleteObjectStep<StepInput, OperationInput = DeleteObjectInput, OperationOutput = DeletedObject>(configuration: DeleteObjectStepConfig<StepInput, OperationInput, OperationOutput>): MutationStep<StepInput, OperationInput, OperationOutput>;
|
|
322
808
|
|
|
323
|
-
export { Config, Connection, ConnectorID, Credentials, GetObjectTextBranch, GetObjectTextBranchDefect, GetObjectTextBranchInvalidResponse, GetObjectTextBranchNotFound, GetObjectTextBranchProviderRejected, GetObjectTextBranchRead, GetObjectTextBranchTooLarge, GetObjectTextBranchUnsupportedContent, GetObjectTextDefinition, GetObjectTextInput, GetObjectTextMetadata, GetObjectTextOperation, type GetObjectTextStepConfig, HeadObjectBranch, HeadObjectBranchDefect, HeadObjectBranchFound, HeadObjectBranchInvalidResponse, HeadObjectBranchNotFound, HeadObjectBranchProviderRejected, HeadObjectDefinition, HeadObjectInput, HeadObjectMetadata, HeadObjectOperation, type HeadObjectStepConfig, ListObjectsBranch, ListObjectsBranchDefect, ListObjectsBranchFound, ListObjectsBranchInvalidResponse, ListObjectsBranchNotFound, ListObjectsBranchProviderRejected, ListObjectsDefinition, ListObjectsInput, ListObjectsMetadata, ListObjectsOperation, ListObjectsOutput, type ListObjectsStepConfig, ObjectMetadata, ObjectText, ProviderID, PutObjectBranch, PutObjectBranchAlreadyExists, PutObjectBranchDefect, PutObjectBranchProviderRejected, PutObjectBranchStored, PutObjectDefinition, PutObjectInput, PutObjectMetadata, PutObjectOperation, type PutObjectStepConfig, S3Client, type S3ClientOptions, type S3Request, type S3RequestSender, type S3Response, type S3Session, StoredObject, containsCredential, header, newGetObjectTextStep, newHeadObjectStep, newListObjectsStep, newProjectConnection, newPutObjectStep, retryAfter, safeHeader, validateBucket, validateKey };
|
|
809
|
+
export { Config, Connection, ConnectorID, CopiedObject, CopyObjectBranch, CopyObjectBranchCopied, CopyObjectBranchDefect, CopyObjectBranchProviderRejected, CopyObjectBranchUncertain, CopyObjectDefinition, CopyObjectInput, CopyObjectMetadata, CopyObjectOperation, type CopyObjectStepConfig, CreateBucketBranch, CreateBucketBranchCreated, CreateBucketBranchDefect, CreateBucketBranchProviderRejected, CreateBucketBranchUncertain, CreateBucketDefinition, CreateBucketInput, CreateBucketMetadata, CreateBucketOperation, type CreateBucketStepConfig, CreateFolderBranch, CreateFolderBranchCreated, CreateFolderBranchDefect, CreateFolderBranchProviderRejected, CreateFolderDefinition, CreateFolderInput, CreateFolderMetadata, CreateFolderOperation, type CreateFolderStepConfig, CreatedBucket, CreatedFolder, Credentials, DeleteBucketBranch, DeleteBucketBranchDefect, DeleteBucketBranchDeleted, DeleteBucketBranchProviderRejected, DeleteBucketDefinition, DeleteBucketInput, DeleteBucketMetadata, DeleteBucketOperation, type DeleteBucketStepConfig, DeleteFolderBranch, DeleteFolderBranchDefect, DeleteFolderBranchDeleted, DeleteFolderBranchInvalidResponse, DeleteFolderBranchProviderRejected, DeleteFolderDefinition, DeleteFolderInput, DeleteFolderMetadata, DeleteFolderOperation, type DeleteFolderStepConfig, DeleteObjectBranch, DeleteObjectBranchDefect, DeleteObjectBranchDeleted, DeleteObjectBranchProviderRejected, DeleteObjectDefinition, DeleteObjectInput, DeleteObjectMetadata, DeleteObjectOperation, type DeleteObjectStepConfig, DeletedBucket, DeletedFolder, DeletedObject, GetObjectBytesBranch, GetObjectBytesBranchDefect, GetObjectBytesBranchInvalidResponse, GetObjectBytesBranchNotFound, GetObjectBytesBranchProviderRejected, GetObjectBytesBranchRead, GetObjectBytesBranchTooLarge, GetObjectBytesDefinition, GetObjectBytesInput, GetObjectBytesMetadata, GetObjectBytesOperation, type GetObjectBytesStepConfig, GetObjectTextBranch, GetObjectTextBranchDefect, GetObjectTextBranchInvalidResponse, GetObjectTextBranchNotFound, GetObjectTextBranchProviderRejected, GetObjectTextBranchRead, GetObjectTextBranchTooLarge, GetObjectTextBranchUnsupportedContent, GetObjectTextDefinition, GetObjectTextInput, GetObjectTextMetadata, GetObjectTextOperation, type GetObjectTextStepConfig, HeadObjectBranch, HeadObjectBranchDefect, HeadObjectBranchFound, HeadObjectBranchInvalidResponse, HeadObjectBranchNotFound, HeadObjectBranchProviderRejected, HeadObjectDefinition, HeadObjectInput, HeadObjectMetadata, HeadObjectOperation, type HeadObjectStepConfig, ListBucketsBranch, ListBucketsBranchDefect, ListBucketsBranchInvalidResponse, ListBucketsBranchListed, ListBucketsBranchProviderRejected, ListBucketsDefinition, ListBucketsInput, ListBucketsMetadata, ListBucketsOperation, ListBucketsOutput, type ListBucketsStepConfig, ListFoldersBranch, ListFoldersBranchDefect, ListFoldersBranchInvalidResponse, ListFoldersBranchListed, ListFoldersBranchNotFound, ListFoldersBranchProviderRejected, ListFoldersDefinition, ListFoldersInput, ListFoldersMetadata, ListFoldersOperation, ListFoldersOutput, type ListFoldersStepConfig, ListObjectsBranch, ListObjectsBranchDefect, ListObjectsBranchFound, ListObjectsBranchInvalidResponse, ListObjectsBranchNotFound, ListObjectsBranchProviderRejected, ListObjectsDefinition, ListObjectsInput, ListObjectsMetadata, ListObjectsOperation, ListObjectsOutput, type ListObjectsStepConfig, ObjectBytes, ObjectMetadata, ObjectText, ProviderID, PutObjectBranch, PutObjectBranchAlreadyExists, PutObjectBranchDefect, PutObjectBranchProviderRejected, PutObjectBranchStored, PutObjectDefinition, PutObjectInput, PutObjectMetadata, PutObjectOperation, type PutObjectStepConfig, S3Client, type S3ClientOptions, type S3Request, type S3RequestSender, type S3Response, type S3Session, StoredObject, containsCredential, escapeS3Path, header, newCopyObjectStep, newCreateBucketStep, newCreateFolderStep, newDeleteBucketStep, newDeleteFolderStep, newDeleteObjectStep, newGetObjectBytesStep, newGetObjectTextStep, newHeadObjectStep, newListBucketsStep, newListFoldersStep, newListObjectsStep, newProjectConnection, newPutObjectStep, retryAfter, safeHeader, validateBucket, validateKey };
|