@superdurable/connector-amazon-s3 0.1.1 → 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 +621 -6
- package/dist/chunk-6LKGFP44.js +755 -0
- package/dist/{connection-DmewJaUl.d.ts → connection-CmMVOLxi.d.ts} +343 -8
- package/dist/index.d.ts +495 -7
- package/dist/index.js +958 -26
- package/dist/mock.d.ts +182 -2
- package/dist/mock.js +454 -12
- package/package.json +4 -3
- package/dist/chunk-OCSVX3FX.js +0 -269
package/dex-connector.json
CHANGED
|
@@ -1,16 +1,326 @@
|
|
|
1
1
|
{
|
|
2
2
|
"connectorId": "amazon-s3",
|
|
3
|
-
"releaseTag": "connectors/amazon/s3/go/v0.
|
|
3
|
+
"releaseTag": "connectors/amazon/s3/go/v0.24.0",
|
|
4
4
|
"package": {
|
|
5
5
|
"ecosystem": "npm",
|
|
6
6
|
"name": "@superdurable/connector-amazon-s3",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.2.0"
|
|
8
8
|
},
|
|
9
9
|
"factories": [
|
|
10
|
+
{
|
|
11
|
+
"name": "newListBucketsStep",
|
|
12
|
+
"kind": "query",
|
|
13
|
+
"operationId": "listBuckets",
|
|
14
|
+
"inputType": "ListBucketsInput",
|
|
15
|
+
"description": "List one bounded page of buckets owned by the signing account.",
|
|
16
|
+
"fields": {
|
|
17
|
+
"stepType": "stepType",
|
|
18
|
+
"annotations": "annotations",
|
|
19
|
+
"connectionName": "connectionName",
|
|
20
|
+
"resultAttribute": "resultAttribute"
|
|
21
|
+
},
|
|
22
|
+
"branches": [
|
|
23
|
+
{
|
|
24
|
+
"id": "listed",
|
|
25
|
+
"field": "listed",
|
|
26
|
+
"optional": false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "providerRejected",
|
|
30
|
+
"field": "providerRejected",
|
|
31
|
+
"optional": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "invalidResponse",
|
|
35
|
+
"field": "invalidResponse",
|
|
36
|
+
"optional": true
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "defect",
|
|
40
|
+
"field": "defect",
|
|
41
|
+
"optional": true
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"inputSchema": {
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"description": "ListBucketsInput selects one bounded page of bucket names.",
|
|
47
|
+
"properties": {
|
|
48
|
+
"continuationToken": {
|
|
49
|
+
"description": "ContinuationToken is the opaque token from an earlier page; blank starts at the beginning.",
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"maxBuckets": {
|
|
53
|
+
"description": "MaxBuckets is the page size from 1 to 10000; zero uses 100.",
|
|
54
|
+
"type": "integer"
|
|
55
|
+
},
|
|
56
|
+
"prefix": {
|
|
57
|
+
"description": "Prefix filters names by their leading characters; blank lists all names.",
|
|
58
|
+
"type": "string"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"type": "object"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "newCreateBucketStep",
|
|
66
|
+
"kind": "mutation",
|
|
67
|
+
"operationId": "createBucket",
|
|
68
|
+
"inputType": "CreateBucketInput",
|
|
69
|
+
"description": "Create a general purpose bucket in the connection Region with bounded sends after an unknown outcome.",
|
|
70
|
+
"fields": {
|
|
71
|
+
"stepType": "stepType",
|
|
72
|
+
"annotations": "annotations",
|
|
73
|
+
"connectionName": "connectionName",
|
|
74
|
+
"resultAttribute": "resultAttribute"
|
|
75
|
+
},
|
|
76
|
+
"branches": [
|
|
77
|
+
{
|
|
78
|
+
"id": "created",
|
|
79
|
+
"field": "created",
|
|
80
|
+
"optional": false
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "providerRejected",
|
|
84
|
+
"field": "providerRejected",
|
|
85
|
+
"optional": true
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "defect",
|
|
89
|
+
"field": "defect",
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "uncertain",
|
|
94
|
+
"field": "uncertain",
|
|
95
|
+
"optional": true
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"inputSchema": {
|
|
99
|
+
"additionalProperties": false,
|
|
100
|
+
"description": "CreateBucketInput names a new general purpose bucket in the connection's Region.",
|
|
101
|
+
"properties": {
|
|
102
|
+
"bucket": {
|
|
103
|
+
"description": "Bucket is a globally unique bucket name.",
|
|
104
|
+
"type": "string"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"required": [
|
|
108
|
+
"bucket"
|
|
109
|
+
],
|
|
110
|
+
"type": "object"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "newDeleteBucketStep",
|
|
115
|
+
"kind": "mutation",
|
|
116
|
+
"operationId": "deleteBucket",
|
|
117
|
+
"inputType": "DeleteBucketInput",
|
|
118
|
+
"description": "Delete an empty bucket; an already absent bucket is considered deleted.",
|
|
119
|
+
"fields": {
|
|
120
|
+
"stepType": "stepType",
|
|
121
|
+
"annotations": "annotations",
|
|
122
|
+
"connectionName": "connectionName",
|
|
123
|
+
"resultAttribute": "resultAttribute"
|
|
124
|
+
},
|
|
125
|
+
"branches": [
|
|
126
|
+
{
|
|
127
|
+
"id": "deleted",
|
|
128
|
+
"field": "deleted",
|
|
129
|
+
"optional": false
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"id": "providerRejected",
|
|
133
|
+
"field": "providerRejected",
|
|
134
|
+
"optional": true
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"id": "defect",
|
|
138
|
+
"field": "defect",
|
|
139
|
+
"optional": true
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"inputSchema": {
|
|
143
|
+
"additionalProperties": false,
|
|
144
|
+
"description": "DeleteBucketInput names an empty bucket to delete.",
|
|
145
|
+
"properties": {
|
|
146
|
+
"bucket": {
|
|
147
|
+
"description": "Bucket is the bucket name; blank uses the connection default.",
|
|
148
|
+
"type": "string"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"type": "object"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "newCreateFolderStep",
|
|
156
|
+
"kind": "mutation",
|
|
157
|
+
"operationId": "createFolder",
|
|
158
|
+
"inputType": "CreateFolderInput",
|
|
159
|
+
"description": "Create or replace a zero-byte folder marker at a key ending in a slash.",
|
|
160
|
+
"fields": {
|
|
161
|
+
"stepType": "stepType",
|
|
162
|
+
"annotations": "annotations",
|
|
163
|
+
"connectionName": "connectionName",
|
|
164
|
+
"resultAttribute": "resultAttribute"
|
|
165
|
+
},
|
|
166
|
+
"branches": [
|
|
167
|
+
{
|
|
168
|
+
"id": "created",
|
|
169
|
+
"field": "created",
|
|
170
|
+
"optional": false
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "providerRejected",
|
|
174
|
+
"field": "providerRejected",
|
|
175
|
+
"optional": true
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"id": "defect",
|
|
179
|
+
"field": "defect",
|
|
180
|
+
"optional": true
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"inputSchema": {
|
|
184
|
+
"additionalProperties": false,
|
|
185
|
+
"description": "CreateFolderInput names a zero-byte folder marker.",
|
|
186
|
+
"properties": {
|
|
187
|
+
"bucket": {
|
|
188
|
+
"description": "Bucket is the bucket; blank uses the connection default.",
|
|
189
|
+
"type": "string"
|
|
190
|
+
},
|
|
191
|
+
"prefix": {
|
|
192
|
+
"description": "Prefix is the folder path; the connector adds a trailing slash when absent.",
|
|
193
|
+
"type": "string"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"required": [
|
|
197
|
+
"prefix"
|
|
198
|
+
],
|
|
199
|
+
"type": "object"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "newDeleteFolderStep",
|
|
204
|
+
"kind": "mutation",
|
|
205
|
+
"operationId": "deleteFolder",
|
|
206
|
+
"inputType": "DeleteFolderInput",
|
|
207
|
+
"description": "Repeatedly list and delete all current objects under a folder prefix in bounded pages.",
|
|
208
|
+
"fields": {
|
|
209
|
+
"stepType": "stepType",
|
|
210
|
+
"annotations": "annotations",
|
|
211
|
+
"connectionName": "connectionName",
|
|
212
|
+
"resultAttribute": "resultAttribute"
|
|
213
|
+
},
|
|
214
|
+
"branches": [
|
|
215
|
+
{
|
|
216
|
+
"id": "deleted",
|
|
217
|
+
"field": "deleted",
|
|
218
|
+
"optional": false
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"id": "providerRejected",
|
|
222
|
+
"field": "providerRejected",
|
|
223
|
+
"optional": true
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"id": "invalidResponse",
|
|
227
|
+
"field": "invalidResponse",
|
|
228
|
+
"optional": true
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "defect",
|
|
232
|
+
"field": "defect",
|
|
233
|
+
"optional": true
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"inputSchema": {
|
|
237
|
+
"additionalProperties": false,
|
|
238
|
+
"description": "DeleteFolderInput names a prefix whose current objects should be removed.",
|
|
239
|
+
"properties": {
|
|
240
|
+
"bucket": {
|
|
241
|
+
"description": "Bucket is the bucket; blank uses the connection default.",
|
|
242
|
+
"type": "string"
|
|
243
|
+
},
|
|
244
|
+
"prefix": {
|
|
245
|
+
"description": "Prefix is the folder path; the connector adds a trailing slash when absent.",
|
|
246
|
+
"type": "string"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"required": [
|
|
250
|
+
"prefix"
|
|
251
|
+
],
|
|
252
|
+
"type": "object"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "newListFoldersStep",
|
|
257
|
+
"kind": "query",
|
|
258
|
+
"operationId": "listFolders",
|
|
259
|
+
"inputType": "ListFoldersInput",
|
|
260
|
+
"description": "List one bounded page of immediate child folder prefixes beneath a parent prefix.",
|
|
261
|
+
"fields": {
|
|
262
|
+
"stepType": "stepType",
|
|
263
|
+
"annotations": "annotations",
|
|
264
|
+
"connectionName": "connectionName",
|
|
265
|
+
"resultAttribute": "resultAttribute"
|
|
266
|
+
},
|
|
267
|
+
"branches": [
|
|
268
|
+
{
|
|
269
|
+
"id": "listed",
|
|
270
|
+
"field": "listed",
|
|
271
|
+
"optional": false
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"id": "notFound",
|
|
275
|
+
"field": "notFound",
|
|
276
|
+
"optional": true
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"id": "providerRejected",
|
|
280
|
+
"field": "providerRejected",
|
|
281
|
+
"optional": true
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"id": "invalidResponse",
|
|
285
|
+
"field": "invalidResponse",
|
|
286
|
+
"optional": true
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"id": "defect",
|
|
290
|
+
"field": "defect",
|
|
291
|
+
"optional": true
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"inputSchema": {
|
|
295
|
+
"additionalProperties": false,
|
|
296
|
+
"description": "ListFoldersInput selects one page of immediate child prefixes in a bucket.",
|
|
297
|
+
"properties": {
|
|
298
|
+
"bucket": {
|
|
299
|
+
"description": "Bucket is the bucket; blank uses the connection default.",
|
|
300
|
+
"type": "string"
|
|
301
|
+
},
|
|
302
|
+
"continuationToken": {
|
|
303
|
+
"description": "ContinuationToken resumes a prior page; blank begins at the start.",
|
|
304
|
+
"type": "string"
|
|
305
|
+
},
|
|
306
|
+
"maxKeys": {
|
|
307
|
+
"description": "MaxKeys is 1 to 1000; zero uses the connection listPageSize.",
|
|
308
|
+
"type": "integer"
|
|
309
|
+
},
|
|
310
|
+
"parentPrefix": {
|
|
311
|
+
"description": "ParentPrefix is the parent folder path, ending in a slash; blank lists the root.",
|
|
312
|
+
"type": "string"
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"type": "object"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
10
318
|
{
|
|
11
319
|
"name": "newListObjectsStep",
|
|
12
320
|
"kind": "query",
|
|
13
321
|
"operationId": "listObjects",
|
|
322
|
+
"inputType": "ListObjectsInput",
|
|
323
|
+
"description": "List one bounded page of a bucket's object keys and common prefixes under an optional prefix and delimiter, in key order, continuing with an opaque continuation token.",
|
|
14
324
|
"fields": {
|
|
15
325
|
"stepType": "stepType",
|
|
16
326
|
"annotations": "annotations",
|
|
@@ -43,12 +353,45 @@
|
|
|
43
353
|
"field": "defect",
|
|
44
354
|
"optional": true
|
|
45
355
|
}
|
|
46
|
-
]
|
|
356
|
+
],
|
|
357
|
+
"inputSchema": {
|
|
358
|
+
"additionalProperties": false,
|
|
359
|
+
"description": "ListObjectsInput selects one page of a bucket listing. Keys are listed in UTF-8 binary order.",
|
|
360
|
+
"properties": {
|
|
361
|
+
"bucket": {
|
|
362
|
+
"description": "Bucket is the bucket name; blank uses the connection's defaultBucket.",
|
|
363
|
+
"type": "string"
|
|
364
|
+
},
|
|
365
|
+
"continuationToken": {
|
|
366
|
+
"description": "ContinuationToken is the NextContinuationToken of the previous page; blank reads the first page.",
|
|
367
|
+
"type": "string"
|
|
368
|
+
},
|
|
369
|
+
"delimiter": {
|
|
370
|
+
"description": "Delimiter groups keys that contain it after Prefix into CommonPrefixes, usually \"/\" to list one folder level; blank lists every key under Prefix.",
|
|
371
|
+
"type": "string"
|
|
372
|
+
},
|
|
373
|
+
"maxKeys": {
|
|
374
|
+
"description": "MaxKeys bounds the objects plus common prefixes on the page, from 1 to 1000; zero uses the connection's listPageSize.",
|
|
375
|
+
"type": "integer"
|
|
376
|
+
},
|
|
377
|
+
"prefix": {
|
|
378
|
+
"description": "Prefix limits the page to keys that begin with it, such as reports/2026/; blank lists every key.",
|
|
379
|
+
"type": "string"
|
|
380
|
+
},
|
|
381
|
+
"startAfter": {
|
|
382
|
+
"description": "StartAfter lists only keys after this key; blank starts at the first key.",
|
|
383
|
+
"type": "string"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"type": "object"
|
|
387
|
+
}
|
|
47
388
|
},
|
|
48
389
|
{
|
|
49
390
|
"name": "newHeadObjectStep",
|
|
50
391
|
"kind": "query",
|
|
51
392
|
"operationId": "headObject",
|
|
393
|
+
"inputType": "HeadObjectInput",
|
|
394
|
+
"description": "Read one object's size, ETag, content type, modification time, version, storage class, and user-defined metadata without reading its content.",
|
|
52
395
|
"fields": {
|
|
53
396
|
"stepType": "stepType",
|
|
54
397
|
"annotations": "annotations",
|
|
@@ -81,12 +424,32 @@
|
|
|
81
424
|
"field": "defect",
|
|
82
425
|
"optional": true
|
|
83
426
|
}
|
|
84
|
-
]
|
|
427
|
+
],
|
|
428
|
+
"inputSchema": {
|
|
429
|
+
"additionalProperties": false,
|
|
430
|
+
"description": "HeadObjectInput identifies the object whose metadata is read.",
|
|
431
|
+
"properties": {
|
|
432
|
+
"bucket": {
|
|
433
|
+
"description": "Bucket is the bucket name; blank uses the connection's defaultBucket.",
|
|
434
|
+
"type": "string"
|
|
435
|
+
},
|
|
436
|
+
"key": {
|
|
437
|
+
"description": "Key is the object key, such as reports/2026-09.md.",
|
|
438
|
+
"type": "string"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
"required": [
|
|
442
|
+
"key"
|
|
443
|
+
],
|
|
444
|
+
"type": "object"
|
|
445
|
+
}
|
|
85
446
|
},
|
|
86
447
|
{
|
|
87
448
|
"name": "newGetObjectTextStep",
|
|
88
449
|
"kind": "query",
|
|
89
450
|
"operationId": "getObjectText",
|
|
451
|
+
"inputType": "GetObjectTextInput",
|
|
452
|
+
"description": "Read one small text object as bounded UTF-8 text, refusing binary, compressed, and oversized objects without returning their content.",
|
|
90
453
|
"fields": {
|
|
91
454
|
"stepType": "stepType",
|
|
92
455
|
"annotations": "annotations",
|
|
@@ -129,12 +492,95 @@
|
|
|
129
492
|
"field": "defect",
|
|
130
493
|
"optional": true
|
|
131
494
|
}
|
|
132
|
-
]
|
|
495
|
+
],
|
|
496
|
+
"inputSchema": {
|
|
497
|
+
"additionalProperties": false,
|
|
498
|
+
"description": "GetObjectTextInput identifies the object whose text is read.",
|
|
499
|
+
"properties": {
|
|
500
|
+
"bucket": {
|
|
501
|
+
"description": "Bucket is the bucket name; blank uses the connection's defaultBucket.",
|
|
502
|
+
"type": "string"
|
|
503
|
+
},
|
|
504
|
+
"key": {
|
|
505
|
+
"description": "Key is the object key, such as reports/2026-09.md.",
|
|
506
|
+
"type": "string"
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
"required": [
|
|
510
|
+
"key"
|
|
511
|
+
],
|
|
512
|
+
"type": "object"
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "newGetObjectBytesStep",
|
|
517
|
+
"kind": "query",
|
|
518
|
+
"operationId": "getObjectBytes",
|
|
519
|
+
"inputType": "GetObjectBytesInput",
|
|
520
|
+
"description": "Read one complete bounded object as bytes, including non-text media types, storing base64-encoded bytes in Flow state.",
|
|
521
|
+
"fields": {
|
|
522
|
+
"stepType": "stepType",
|
|
523
|
+
"annotations": "annotations",
|
|
524
|
+
"connectionName": "connectionName",
|
|
525
|
+
"resultAttribute": "resultAttribute"
|
|
526
|
+
},
|
|
527
|
+
"branches": [
|
|
528
|
+
{
|
|
529
|
+
"id": "read",
|
|
530
|
+
"field": "read",
|
|
531
|
+
"optional": false
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"id": "notFound",
|
|
535
|
+
"field": "notFound",
|
|
536
|
+
"optional": true
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"id": "tooLarge",
|
|
540
|
+
"field": "tooLarge",
|
|
541
|
+
"optional": true
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"id": "invalidResponse",
|
|
545
|
+
"field": "invalidResponse",
|
|
546
|
+
"optional": true
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"id": "providerRejected",
|
|
550
|
+
"field": "providerRejected",
|
|
551
|
+
"optional": true
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"id": "defect",
|
|
555
|
+
"field": "defect",
|
|
556
|
+
"optional": true
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
"inputSchema": {
|
|
560
|
+
"additionalProperties": false,
|
|
561
|
+
"description": "GetObjectBytesInput identifies an object whose complete bytes fit the connection response limit.",
|
|
562
|
+
"properties": {
|
|
563
|
+
"bucket": {
|
|
564
|
+
"description": "Bucket is the bucket; blank uses the connection default.",
|
|
565
|
+
"type": "string"
|
|
566
|
+
},
|
|
567
|
+
"key": {
|
|
568
|
+
"description": "Key is the object key.",
|
|
569
|
+
"type": "string"
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
"required": [
|
|
573
|
+
"key"
|
|
574
|
+
],
|
|
575
|
+
"type": "object"
|
|
576
|
+
}
|
|
133
577
|
},
|
|
134
578
|
{
|
|
135
579
|
"name": "newPutObjectStep",
|
|
136
580
|
"kind": "mutation",
|
|
137
581
|
"operationId": "putObject",
|
|
582
|
+
"inputType": "PutObjectInput",
|
|
583
|
+
"description": "Store one object from bounded text or bytes with its content type and user-defined metadata, either replacing any object at the key or, in create-only mode, only when the key is free; a repeated attempt of the same Step converges on the same object.",
|
|
138
584
|
"fields": {
|
|
139
585
|
"stepType": "stepType",
|
|
140
586
|
"annotations": "annotations",
|
|
@@ -162,7 +608,176 @@
|
|
|
162
608
|
"field": "defect",
|
|
163
609
|
"optional": true
|
|
164
610
|
}
|
|
165
|
-
]
|
|
611
|
+
],
|
|
612
|
+
"inputSchema": {
|
|
613
|
+
"additionalProperties": false,
|
|
614
|
+
"description": "PutObjectInput describes one object to store. Set at most one of TextContent and ByteContent; leaving both empty stores an empty object.",
|
|
615
|
+
"properties": {
|
|
616
|
+
"bucket": {
|
|
617
|
+
"description": "Bucket is the bucket name; blank uses the connection's defaultBucket.",
|
|
618
|
+
"type": "string"
|
|
619
|
+
},
|
|
620
|
+
"byteContent": {
|
|
621
|
+
"contentEncoding": "base64",
|
|
622
|
+
"description": "ByteContent is binary content, encoded as base64 in JSON.",
|
|
623
|
+
"type": "string"
|
|
624
|
+
},
|
|
625
|
+
"contentType": {
|
|
626
|
+
"description": "ContentType is the media type S3 stores and returns, such as text/markdown; charset=utf-8.",
|
|
627
|
+
"type": "string"
|
|
628
|
+
},
|
|
629
|
+
"isCreateOnly": {
|
|
630
|
+
"description": "IsCreateOnly stores the object only when no current object exists at the key, by sending If-None-Match: *; an object that this Step execution did not write selects alreadyExists.",
|
|
631
|
+
"type": "boolean"
|
|
632
|
+
},
|
|
633
|
+
"key": {
|
|
634
|
+
"description": "Key is the object key, such as reports/2026-09.md.",
|
|
635
|
+
"type": "string"
|
|
636
|
+
},
|
|
637
|
+
"metadata": {
|
|
638
|
+
"additionalProperties": {
|
|
639
|
+
"type": "string"
|
|
640
|
+
},
|
|
641
|
+
"description": "Metadata is user-defined metadata, keyed by lowercase name without the x-amz-meta- prefix, such as report-id. Values are printable ASCII. The dex-idempotency-key name is reserved.",
|
|
642
|
+
"type": "object"
|
|
643
|
+
},
|
|
644
|
+
"textContent": {
|
|
645
|
+
"description": "TextContent is UTF-8 text content.",
|
|
646
|
+
"type": "string"
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"required": [
|
|
650
|
+
"contentType",
|
|
651
|
+
"key"
|
|
652
|
+
],
|
|
653
|
+
"type": "object"
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"name": "newCopyObjectStep",
|
|
658
|
+
"kind": "mutation",
|
|
659
|
+
"operationId": "copyObject",
|
|
660
|
+
"inputType": "CopyObjectInput",
|
|
661
|
+
"description": "Copy an object to a destination key with bounded sends, replacement metadata, and read-back by a Dex marker after an unknown result.",
|
|
662
|
+
"fields": {
|
|
663
|
+
"stepType": "stepType",
|
|
664
|
+
"annotations": "annotations",
|
|
665
|
+
"connectionName": "connectionName",
|
|
666
|
+
"resultAttribute": "resultAttribute"
|
|
667
|
+
},
|
|
668
|
+
"branches": [
|
|
669
|
+
{
|
|
670
|
+
"id": "copied",
|
|
671
|
+
"field": "copied",
|
|
672
|
+
"optional": false
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"id": "providerRejected",
|
|
676
|
+
"field": "providerRejected",
|
|
677
|
+
"optional": true
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"id": "defect",
|
|
681
|
+
"field": "defect",
|
|
682
|
+
"optional": true
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"id": "uncertain",
|
|
686
|
+
"field": "uncertain",
|
|
687
|
+
"optional": true
|
|
688
|
+
}
|
|
689
|
+
],
|
|
690
|
+
"inputSchema": {
|
|
691
|
+
"additionalProperties": false,
|
|
692
|
+
"description": "CopyObjectInput copies one source object to a destination key, replacing its metadata.",
|
|
693
|
+
"properties": {
|
|
694
|
+
"contentType": {
|
|
695
|
+
"description": "ContentType is the media type of the copied object; other source metadata is not retained.",
|
|
696
|
+
"type": "string"
|
|
697
|
+
},
|
|
698
|
+
"destinationBucket": {
|
|
699
|
+
"description": "DestinationBucket is the destination bucket; blank uses the connection default.",
|
|
700
|
+
"type": "string"
|
|
701
|
+
},
|
|
702
|
+
"destinationKey": {
|
|
703
|
+
"description": "DestinationKey is the key that receives the copy.",
|
|
704
|
+
"type": "string"
|
|
705
|
+
},
|
|
706
|
+
"metadata": {
|
|
707
|
+
"additionalProperties": {
|
|
708
|
+
"type": "string"
|
|
709
|
+
},
|
|
710
|
+
"description": "Metadata replaces source user metadata; the connector also adds its idempotency marker.",
|
|
711
|
+
"type": "object"
|
|
712
|
+
},
|
|
713
|
+
"sourceBucket": {
|
|
714
|
+
"description": "SourceBucket is the source bucket; blank uses the connection default.",
|
|
715
|
+
"type": "string"
|
|
716
|
+
},
|
|
717
|
+
"sourceETag": {
|
|
718
|
+
"description": "SourceETag, when set, makes S3 copy only the source version with that ETag.",
|
|
719
|
+
"type": "string"
|
|
720
|
+
},
|
|
721
|
+
"sourceKey": {
|
|
722
|
+
"description": "SourceKey is the source object key.",
|
|
723
|
+
"type": "string"
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
"required": [
|
|
727
|
+
"contentType",
|
|
728
|
+
"destinationKey",
|
|
729
|
+
"sourceKey"
|
|
730
|
+
],
|
|
731
|
+
"type": "object"
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"name": "newDeleteObjectStep",
|
|
736
|
+
"kind": "mutation",
|
|
737
|
+
"operationId": "deleteObject",
|
|
738
|
+
"inputType": "DeleteObjectInput",
|
|
739
|
+
"description": "Delete the current object at a key; repeating the same deletion leaves the key absent.",
|
|
740
|
+
"fields": {
|
|
741
|
+
"stepType": "stepType",
|
|
742
|
+
"annotations": "annotations",
|
|
743
|
+
"connectionName": "connectionName",
|
|
744
|
+
"resultAttribute": "resultAttribute"
|
|
745
|
+
},
|
|
746
|
+
"branches": [
|
|
747
|
+
{
|
|
748
|
+
"id": "deleted",
|
|
749
|
+
"field": "deleted",
|
|
750
|
+
"optional": false
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"id": "providerRejected",
|
|
754
|
+
"field": "providerRejected",
|
|
755
|
+
"optional": true
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"id": "defect",
|
|
759
|
+
"field": "defect",
|
|
760
|
+
"optional": true
|
|
761
|
+
}
|
|
762
|
+
],
|
|
763
|
+
"inputSchema": {
|
|
764
|
+
"additionalProperties": false,
|
|
765
|
+
"description": "DeleteObjectInput identifies the current object to remove.",
|
|
766
|
+
"properties": {
|
|
767
|
+
"bucket": {
|
|
768
|
+
"description": "Bucket is the bucket name; blank uses the connection's defaultBucket.",
|
|
769
|
+
"type": "string"
|
|
770
|
+
},
|
|
771
|
+
"key": {
|
|
772
|
+
"description": "Key is the object key to remove.",
|
|
773
|
+
"type": "string"
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
"required": [
|
|
777
|
+
"key"
|
|
778
|
+
],
|
|
779
|
+
"type": "object"
|
|
780
|
+
}
|
|
166
781
|
}
|
|
167
782
|
]
|
|
168
783
|
}
|