ominfra 0.0.0.dev200__py3-none-any.whl → 0.0.0.dev202__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- ominfra/clouds/aws/models/gen/cli.py +10 -1
- ominfra/clouds/aws/models/gen/gen.py +73 -16
- ominfra/clouds/aws/models/services/ec2.py +1998 -127
- ominfra/clouds/aws/models/services/lambda_.py +864 -0
- ominfra/clouds/aws/models/services/rds.py +1898 -0
- ominfra/clouds/aws/models/services/s3.py +527 -9
- ominfra/clouds/aws/models/services/services.toml +25 -0
- ominfra/commands/__init__.py +0 -0
- ominfra/{ssh.py → commands/ssh.py} +2 -2
- ominfra/scripts/manage.py +1 -2
- {ominfra-0.0.0.dev200.dist-info → ominfra-0.0.0.dev202.dist-info}/METADATA +4 -4
- {ominfra-0.0.0.dev200.dist-info → ominfra-0.0.0.dev202.dist-info}/RECORD +17 -14
- /ominfra/{cmds.py → commands/runners.py} +0 -0
- {ominfra-0.0.0.dev200.dist-info → ominfra-0.0.0.dev202.dist-info}/LICENSE +0 -0
- {ominfra-0.0.0.dev200.dist-info → ominfra-0.0.0.dev202.dist-info}/WHEEL +0 -0
- {ominfra-0.0.0.dev200.dist-info → ominfra-0.0.0.dev202.dist-info}/entry_points.txt +0 -0
- {ominfra-0.0.0.dev200.dist-info → ominfra-0.0.0.dev202.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
# flake8: noqa: E501
|
2
|
-
# ruff: noqa: S105
|
2
|
+
# ruff: noqa: N801 S105
|
3
3
|
# fmt: off
|
4
4
|
import dataclasses as _dc # noqa
|
5
5
|
import enum as _enum # noqa
|
@@ -21,6 +21,8 @@ BucketKeyEnabled = _ta.NewType('BucketKeyEnabled', bool)
|
|
21
21
|
|
22
22
|
BucketName = _ta.NewType('BucketName', str)
|
23
23
|
|
24
|
+
BucketRegion = _ta.NewType('BucketRegion', str)
|
25
|
+
|
24
26
|
BypassGovernanceRetention = _ta.NewType('BypassGovernanceRetention', bool)
|
25
27
|
|
26
28
|
CacheControl = _ta.NewType('CacheControl', str)
|
@@ -60,11 +62,21 @@ ContentRange = _ta.NewType('ContentRange', str)
|
|
60
62
|
|
61
63
|
ContentType = _ta.NewType('ContentType', str)
|
62
64
|
|
65
|
+
CreationDate = _ta.NewType('CreationDate', _base.Timestamp)
|
66
|
+
|
63
67
|
DeleteMarker = _ta.NewType('DeleteMarker', bool)
|
64
68
|
|
69
|
+
Delimiter = _ta.NewType('Delimiter', str)
|
70
|
+
|
71
|
+
DisplayName = _ta.NewType('DisplayName', str)
|
72
|
+
|
65
73
|
ETag = _ta.NewType('ETag', str)
|
66
74
|
|
67
75
|
|
76
|
+
class EncodingType(_enum.Enum):
|
77
|
+
URL = 'url'
|
78
|
+
|
79
|
+
|
68
80
|
@_dc.dataclass(frozen=True)
|
69
81
|
class EncryptionTypeMismatch(
|
70
82
|
_base.Shape,
|
@@ -77,6 +89,8 @@ Expiration = _ta.NewType('Expiration', str)
|
|
77
89
|
|
78
90
|
Expires = _ta.NewType('Expires', _base.Timestamp)
|
79
91
|
|
92
|
+
FetchOwner = _ta.NewType('FetchOwner', bool)
|
93
|
+
|
80
94
|
GrantFullControl = _ta.NewType('GrantFullControl', str)
|
81
95
|
|
82
96
|
GrantRead = _ta.NewType('GrantRead', str)
|
@@ -85,6 +99,8 @@ GrantReadACP = _ta.NewType('GrantReadACP', str)
|
|
85
99
|
|
86
100
|
GrantWriteACP = _ta.NewType('GrantWriteACP', str)
|
87
101
|
|
102
|
+
ID = _ta.NewType('ID', str)
|
103
|
+
|
88
104
|
IfMatch = _ta.NewType('IfMatch', str)
|
89
105
|
|
90
106
|
IfMatchLastModifiedTime = _ta.NewType('IfMatchLastModifiedTime', _base.Timestamp)
|
@@ -119,16 +135,36 @@ class InvalidWriteOffset(
|
|
119
135
|
pass
|
120
136
|
|
121
137
|
|
138
|
+
IsRestoreInProgress = _ta.NewType('IsRestoreInProgress', bool)
|
139
|
+
|
140
|
+
IsTruncated = _ta.NewType('IsTruncated', bool)
|
141
|
+
|
142
|
+
KeyCount = _ta.NewType('KeyCount', int)
|
143
|
+
|
122
144
|
LastModified = _ta.NewType('LastModified', _base.Timestamp)
|
123
145
|
|
124
146
|
MFA = _ta.NewType('MFA', str)
|
125
147
|
|
148
|
+
MaxBuckets = _ta.NewType('MaxBuckets', int)
|
149
|
+
|
150
|
+
MaxKeys = _ta.NewType('MaxKeys', int)
|
151
|
+
|
126
152
|
MetadataKey = _ta.NewType('MetadataKey', str)
|
127
153
|
|
128
154
|
MetadataValue = _ta.NewType('MetadataValue', str)
|
129
155
|
|
130
156
|
MissingMeta = _ta.NewType('MissingMeta', int)
|
131
157
|
|
158
|
+
NextToken = _ta.NewType('NextToken', str)
|
159
|
+
|
160
|
+
|
161
|
+
@_dc.dataclass(frozen=True)
|
162
|
+
class NoSuchBucket(
|
163
|
+
_base.Shape,
|
164
|
+
shape_name='NoSuchBucket',
|
165
|
+
):
|
166
|
+
pass
|
167
|
+
|
132
168
|
|
133
169
|
@_dc.dataclass(frozen=True)
|
134
170
|
class NoSuchKey(
|
@@ -163,12 +199,34 @@ class ObjectLockMode(_enum.Enum):
|
|
163
199
|
|
164
200
|
ObjectLockRetainUntilDate = _ta.NewType('ObjectLockRetainUntilDate', _base.Timestamp)
|
165
201
|
|
202
|
+
|
203
|
+
class ObjectStorageClass(_enum.Enum):
|
204
|
+
STANDARD = 'STANDARD'
|
205
|
+
REDUCED_REDUNDANCY = 'REDUCED_REDUNDANCY'
|
206
|
+
GLACIER = 'GLACIER'
|
207
|
+
STANDARD_IA = 'STANDARD_IA'
|
208
|
+
ONEZONE_IA = 'ONEZONE_IA'
|
209
|
+
INTELLIGENT_TIERING = 'INTELLIGENT_TIERING'
|
210
|
+
DEEP_ARCHIVE = 'DEEP_ARCHIVE'
|
211
|
+
OUTPOSTS = 'OUTPOSTS'
|
212
|
+
GLACIER_IR = 'GLACIER_IR'
|
213
|
+
SNOW = 'SNOW'
|
214
|
+
EXPRESS_ONEZONE = 'EXPRESS_ONEZONE'
|
215
|
+
|
216
|
+
|
166
217
|
ObjectVersionId = _ta.NewType('ObjectVersionId', str)
|
167
218
|
|
219
|
+
|
220
|
+
class OptionalObjectAttributes(_enum.Enum):
|
221
|
+
RESTORE_STATUS = 'RestoreStatus'
|
222
|
+
|
223
|
+
|
168
224
|
PartNumber = _ta.NewType('PartNumber', int)
|
169
225
|
|
170
226
|
PartsCount = _ta.NewType('PartsCount', int)
|
171
227
|
|
228
|
+
Prefix = _ta.NewType('Prefix', str)
|
229
|
+
|
172
230
|
Range = _ta.NewType('Range', str)
|
173
231
|
|
174
232
|
|
@@ -202,6 +260,8 @@ ResponseExpires = _ta.NewType('ResponseExpires', _base.Timestamp)
|
|
202
260
|
|
203
261
|
Restore = _ta.NewType('Restore', str)
|
204
262
|
|
263
|
+
RestoreExpiryDate = _ta.NewType('RestoreExpiryDate', _base.Timestamp)
|
264
|
+
|
205
265
|
SSECustomerAlgorithm = _ta.NewType('SSECustomerAlgorithm', str)
|
206
266
|
|
207
267
|
SSECustomerKey = _ta.NewType('SSECustomerKey', str)
|
@@ -221,6 +281,8 @@ class ServerSideEncryption(_enum.Enum):
|
|
221
281
|
|
222
282
|
Size = _ta.NewType('Size', int)
|
223
283
|
|
284
|
+
StartAfter = _ta.NewType('StartAfter', str)
|
285
|
+
|
224
286
|
|
225
287
|
class StorageClass(_enum.Enum):
|
226
288
|
STANDARD = 'STANDARD'
|
@@ -240,6 +302,8 @@ TagCount = _ta.NewType('TagCount', int)
|
|
240
302
|
|
241
303
|
TaggingHeader = _ta.NewType('TaggingHeader', str)
|
242
304
|
|
305
|
+
Token = _ta.NewType('Token', str)
|
306
|
+
|
243
307
|
|
244
308
|
@_dc.dataclass(frozen=True)
|
245
309
|
class TooManyParts(
|
@@ -254,6 +318,41 @@ WebsiteRedirectLocation = _ta.NewType('WebsiteRedirectLocation', str)
|
|
254
318
|
WriteOffsetBytes = _ta.NewType('WriteOffsetBytes', int)
|
255
319
|
|
256
320
|
|
321
|
+
@_dc.dataclass(frozen=True)
|
322
|
+
class Bucket(
|
323
|
+
_base.Shape,
|
324
|
+
shape_name='Bucket',
|
325
|
+
):
|
326
|
+
name: BucketName = _dc.field(metadata=_base.field_metadata(
|
327
|
+
member_name='Name',
|
328
|
+
shape_name='BucketName',
|
329
|
+
))
|
330
|
+
|
331
|
+
creation_date: CreationDate = _dc.field(metadata=_base.field_metadata(
|
332
|
+
member_name='CreationDate',
|
333
|
+
shape_name='CreationDate',
|
334
|
+
))
|
335
|
+
|
336
|
+
bucket_region: BucketRegion = _dc.field(metadata=_base.field_metadata(
|
337
|
+
member_name='BucketRegion',
|
338
|
+
shape_name='BucketRegion',
|
339
|
+
))
|
340
|
+
|
341
|
+
|
342
|
+
ChecksumAlgorithmList: _ta.TypeAlias = _ta.Sequence[ChecksumAlgorithm]
|
343
|
+
|
344
|
+
|
345
|
+
@_dc.dataclass(frozen=True)
|
346
|
+
class CommonPrefix(
|
347
|
+
_base.Shape,
|
348
|
+
shape_name='CommonPrefix',
|
349
|
+
):
|
350
|
+
prefix: Prefix = _dc.field(metadata=_base.field_metadata(
|
351
|
+
member_name='Prefix',
|
352
|
+
shape_name='Prefix',
|
353
|
+
))
|
354
|
+
|
355
|
+
|
257
356
|
@_dc.dataclass(frozen=True)
|
258
357
|
class DeleteObjectOutput(
|
259
358
|
_base.Shape,
|
@@ -263,10 +362,12 @@ class DeleteObjectOutput(
|
|
263
362
|
member_name='DeleteMarker',
|
264
363
|
shape_name='DeleteMarker',
|
265
364
|
))
|
365
|
+
|
266
366
|
version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
|
267
367
|
member_name='VersionId',
|
268
368
|
shape_name='ObjectVersionId',
|
269
369
|
))
|
370
|
+
|
270
371
|
request_charged: RequestCharged = _dc.field(metadata=_base.field_metadata(
|
271
372
|
member_name='RequestCharged',
|
272
373
|
shape_name='RequestCharged',
|
@@ -282,38 +383,47 @@ class DeleteObjectRequest(
|
|
282
383
|
member_name='Bucket',
|
283
384
|
shape_name='BucketName',
|
284
385
|
))
|
386
|
+
|
285
387
|
key: ObjectKey = _dc.field(metadata=_base.field_metadata(
|
286
388
|
member_name='Key',
|
287
389
|
shape_name='ObjectKey',
|
288
390
|
))
|
391
|
+
|
289
392
|
mfa: MFA = _dc.field(metadata=_base.field_metadata(
|
290
393
|
member_name='MFA',
|
291
394
|
shape_name='MFA',
|
292
395
|
))
|
396
|
+
|
293
397
|
version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
|
294
398
|
member_name='VersionId',
|
295
399
|
shape_name='ObjectVersionId',
|
296
400
|
))
|
401
|
+
|
297
402
|
request_payer: RequestPayer = _dc.field(metadata=_base.field_metadata(
|
298
403
|
member_name='RequestPayer',
|
299
404
|
shape_name='RequestPayer',
|
300
405
|
))
|
406
|
+
|
301
407
|
bypass_governance_retention: BypassGovernanceRetention = _dc.field(metadata=_base.field_metadata(
|
302
408
|
member_name='BypassGovernanceRetention',
|
303
409
|
shape_name='BypassGovernanceRetention',
|
304
410
|
))
|
411
|
+
|
305
412
|
expected_bucket_owner: AccountId = _dc.field(metadata=_base.field_metadata(
|
306
413
|
member_name='ExpectedBucketOwner',
|
307
414
|
shape_name='AccountId',
|
308
415
|
))
|
416
|
+
|
309
417
|
if_match: IfMatch = _dc.field(metadata=_base.field_metadata(
|
310
418
|
member_name='IfMatch',
|
311
419
|
shape_name='IfMatch',
|
312
420
|
))
|
421
|
+
|
313
422
|
if_match_last_modified_time: IfMatchLastModifiedTime = _dc.field(metadata=_base.field_metadata(
|
314
423
|
member_name='IfMatchLastModifiedTime',
|
315
424
|
shape_name='IfMatchLastModifiedTime',
|
316
425
|
))
|
426
|
+
|
317
427
|
if_match_size: IfMatchSize = _dc.field(metadata=_base.field_metadata(
|
318
428
|
member_name='IfMatchSize',
|
319
429
|
shape_name='IfMatchSize',
|
@@ -329,82 +439,102 @@ class GetObjectRequest(
|
|
329
439
|
member_name='Bucket',
|
330
440
|
shape_name='BucketName',
|
331
441
|
))
|
442
|
+
|
332
443
|
if_match: IfMatch = _dc.field(metadata=_base.field_metadata(
|
333
444
|
member_name='IfMatch',
|
334
445
|
shape_name='IfMatch',
|
335
446
|
))
|
447
|
+
|
336
448
|
if_modified_since: IfModifiedSince = _dc.field(metadata=_base.field_metadata(
|
337
449
|
member_name='IfModifiedSince',
|
338
450
|
shape_name='IfModifiedSince',
|
339
451
|
))
|
452
|
+
|
340
453
|
if_none_match: IfNoneMatch = _dc.field(metadata=_base.field_metadata(
|
341
454
|
member_name='IfNoneMatch',
|
342
455
|
shape_name='IfNoneMatch',
|
343
456
|
))
|
457
|
+
|
344
458
|
if_unmodified_since: IfUnmodifiedSince = _dc.field(metadata=_base.field_metadata(
|
345
459
|
member_name='IfUnmodifiedSince',
|
346
460
|
shape_name='IfUnmodifiedSince',
|
347
461
|
))
|
462
|
+
|
348
463
|
key: ObjectKey = _dc.field(metadata=_base.field_metadata(
|
349
464
|
member_name='Key',
|
350
465
|
shape_name='ObjectKey',
|
351
466
|
))
|
467
|
+
|
352
468
|
range: Range = _dc.field(metadata=_base.field_metadata(
|
353
469
|
member_name='Range',
|
354
470
|
shape_name='Range',
|
355
471
|
))
|
472
|
+
|
356
473
|
response_cache_control: ResponseCacheControl = _dc.field(metadata=_base.field_metadata(
|
357
474
|
member_name='ResponseCacheControl',
|
358
475
|
shape_name='ResponseCacheControl',
|
359
476
|
))
|
477
|
+
|
360
478
|
response_content_disposition: ResponseContentDisposition = _dc.field(metadata=_base.field_metadata(
|
361
479
|
member_name='ResponseContentDisposition',
|
362
480
|
shape_name='ResponseContentDisposition',
|
363
481
|
))
|
482
|
+
|
364
483
|
response_content_encoding: ResponseContentEncoding = _dc.field(metadata=_base.field_metadata(
|
365
484
|
member_name='ResponseContentEncoding',
|
366
485
|
shape_name='ResponseContentEncoding',
|
367
486
|
))
|
487
|
+
|
368
488
|
response_content_language: ResponseContentLanguage = _dc.field(metadata=_base.field_metadata(
|
369
489
|
member_name='ResponseContentLanguage',
|
370
490
|
shape_name='ResponseContentLanguage',
|
371
491
|
))
|
492
|
+
|
372
493
|
response_content_type: ResponseContentType = _dc.field(metadata=_base.field_metadata(
|
373
494
|
member_name='ResponseContentType',
|
374
495
|
shape_name='ResponseContentType',
|
375
496
|
))
|
497
|
+
|
376
498
|
response_expires: ResponseExpires = _dc.field(metadata=_base.field_metadata(
|
377
499
|
member_name='ResponseExpires',
|
378
500
|
shape_name='ResponseExpires',
|
379
501
|
))
|
502
|
+
|
380
503
|
version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
|
381
504
|
member_name='VersionId',
|
382
505
|
shape_name='ObjectVersionId',
|
383
506
|
))
|
507
|
+
|
384
508
|
sse_customer_algorithm: SSECustomerAlgorithm = _dc.field(metadata=_base.field_metadata(
|
385
509
|
member_name='SSECustomerAlgorithm',
|
386
510
|
shape_name='SSECustomerAlgorithm',
|
387
511
|
))
|
512
|
+
|
388
513
|
sse_customer_key: SSECustomerKey = _dc.field(metadata=_base.field_metadata(
|
389
514
|
member_name='SSECustomerKey',
|
390
515
|
shape_name='SSECustomerKey',
|
391
516
|
))
|
517
|
+
|
392
518
|
sse_customer_key_md5: SSECustomerKeyMD5 = _dc.field(metadata=_base.field_metadata(
|
393
519
|
member_name='SSECustomerKeyMD5',
|
394
520
|
shape_name='SSECustomerKeyMD5',
|
395
521
|
))
|
522
|
+
|
396
523
|
request_payer: RequestPayer = _dc.field(metadata=_base.field_metadata(
|
397
524
|
member_name='RequestPayer',
|
398
525
|
shape_name='RequestPayer',
|
399
526
|
))
|
527
|
+
|
400
528
|
part_number: PartNumber = _dc.field(metadata=_base.field_metadata(
|
401
529
|
member_name='PartNumber',
|
402
530
|
shape_name='PartNumber',
|
403
531
|
))
|
532
|
+
|
404
533
|
expected_bucket_owner: AccountId = _dc.field(metadata=_base.field_metadata(
|
405
534
|
member_name='ExpectedBucketOwner',
|
406
535
|
shape_name='AccountId',
|
407
536
|
))
|
537
|
+
|
408
538
|
checksum_mode: ChecksumMode = _dc.field(metadata=_base.field_metadata(
|
409
539
|
member_name='ChecksumMode',
|
410
540
|
shape_name='ChecksumMode',
|
@@ -420,14 +550,59 @@ class InvalidObjectState(
|
|
420
550
|
member_name='StorageClass',
|
421
551
|
shape_name='StorageClass',
|
422
552
|
))
|
553
|
+
|
423
554
|
access_tier: IntelligentTieringAccessTier = _dc.field(metadata=_base.field_metadata(
|
424
555
|
member_name='AccessTier',
|
425
556
|
shape_name='IntelligentTieringAccessTier',
|
426
557
|
))
|
427
558
|
|
428
559
|
|
560
|
+
@_dc.dataclass(frozen=True)
|
561
|
+
class ListBucketsRequest(
|
562
|
+
_base.Shape,
|
563
|
+
shape_name='ListBucketsRequest',
|
564
|
+
):
|
565
|
+
max_buckets: MaxBuckets = _dc.field(metadata=_base.field_metadata(
|
566
|
+
member_name='MaxBuckets',
|
567
|
+
shape_name='MaxBuckets',
|
568
|
+
))
|
569
|
+
|
570
|
+
continuation_token: Token = _dc.field(metadata=_base.field_metadata(
|
571
|
+
member_name='ContinuationToken',
|
572
|
+
shape_name='Token',
|
573
|
+
))
|
574
|
+
|
575
|
+
prefix: Prefix = _dc.field(metadata=_base.field_metadata(
|
576
|
+
member_name='Prefix',
|
577
|
+
shape_name='Prefix',
|
578
|
+
))
|
579
|
+
|
580
|
+
bucket_region: BucketRegion = _dc.field(metadata=_base.field_metadata(
|
581
|
+
member_name='BucketRegion',
|
582
|
+
shape_name='BucketRegion',
|
583
|
+
))
|
584
|
+
|
585
|
+
|
429
586
|
Metadata: _ta.TypeAlias = _ta.Mapping[MetadataKey, MetadataKey]
|
430
587
|
|
588
|
+
OptionalObjectAttributesList: _ta.TypeAlias = _ta.Sequence[OptionalObjectAttributes]
|
589
|
+
|
590
|
+
|
591
|
+
@_dc.dataclass(frozen=True)
|
592
|
+
class Owner(
|
593
|
+
_base.Shape,
|
594
|
+
shape_name='Owner',
|
595
|
+
):
|
596
|
+
display_name: DisplayName = _dc.field(metadata=_base.field_metadata(
|
597
|
+
member_name='DisplayName',
|
598
|
+
shape_name='DisplayName',
|
599
|
+
))
|
600
|
+
|
601
|
+
i_d: ID = _dc.field(metadata=_base.field_metadata(
|
602
|
+
member_name='ID',
|
603
|
+
shape_name='ID',
|
604
|
+
))
|
605
|
+
|
431
606
|
|
432
607
|
@_dc.dataclass(frozen=True)
|
433
608
|
class PutObjectOutput(
|
@@ -438,64 +613,99 @@ class PutObjectOutput(
|
|
438
613
|
member_name='Expiration',
|
439
614
|
shape_name='Expiration',
|
440
615
|
))
|
616
|
+
|
441
617
|
etag: ETag = _dc.field(metadata=_base.field_metadata(
|
442
618
|
member_name='ETag',
|
443
619
|
shape_name='ETag',
|
444
620
|
))
|
621
|
+
|
445
622
|
checksum_crc32: ChecksumCRC32 = _dc.field(metadata=_base.field_metadata(
|
446
623
|
member_name='ChecksumCRC32',
|
447
624
|
shape_name='ChecksumCRC32',
|
448
625
|
))
|
626
|
+
|
449
627
|
checksum_crc32c: ChecksumCRC32C = _dc.field(metadata=_base.field_metadata(
|
450
628
|
member_name='ChecksumCRC32C',
|
451
629
|
shape_name='ChecksumCRC32C',
|
452
630
|
))
|
631
|
+
|
453
632
|
checksum_sha1: ChecksumSHA1 = _dc.field(metadata=_base.field_metadata(
|
454
633
|
member_name='ChecksumSHA1',
|
455
634
|
shape_name='ChecksumSHA1',
|
456
635
|
))
|
636
|
+
|
457
637
|
checksum_sha256: ChecksumSHA256 = _dc.field(metadata=_base.field_metadata(
|
458
638
|
member_name='ChecksumSHA256',
|
459
639
|
shape_name='ChecksumSHA256',
|
460
640
|
))
|
641
|
+
|
461
642
|
server_side_encryption: ServerSideEncryption = _dc.field(metadata=_base.field_metadata(
|
462
643
|
member_name='ServerSideEncryption',
|
463
644
|
shape_name='ServerSideEncryption',
|
464
645
|
))
|
646
|
+
|
465
647
|
version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
|
466
648
|
member_name='VersionId',
|
467
649
|
shape_name='ObjectVersionId',
|
468
650
|
))
|
651
|
+
|
469
652
|
sse_customer_algorithm: SSECustomerAlgorithm = _dc.field(metadata=_base.field_metadata(
|
470
653
|
member_name='SSECustomerAlgorithm',
|
471
654
|
shape_name='SSECustomerAlgorithm',
|
472
655
|
))
|
656
|
+
|
473
657
|
sse_customer_key_md5: SSECustomerKeyMD5 = _dc.field(metadata=_base.field_metadata(
|
474
658
|
member_name='SSECustomerKeyMD5',
|
475
659
|
shape_name='SSECustomerKeyMD5',
|
476
660
|
))
|
661
|
+
|
477
662
|
sse_kms_key_id: SSEKMSKeyId = _dc.field(metadata=_base.field_metadata(
|
478
663
|
member_name='SSEKMSKeyId',
|
479
664
|
shape_name='SSEKMSKeyId',
|
480
665
|
))
|
666
|
+
|
481
667
|
sse_kms_encryption_context: SSEKMSEncryptionContext = _dc.field(metadata=_base.field_metadata(
|
482
668
|
member_name='SSEKMSEncryptionContext',
|
483
669
|
shape_name='SSEKMSEncryptionContext',
|
484
670
|
))
|
671
|
+
|
485
672
|
bucket_key_enabled: BucketKeyEnabled = _dc.field(metadata=_base.field_metadata(
|
486
673
|
member_name='BucketKeyEnabled',
|
487
674
|
shape_name='BucketKeyEnabled',
|
488
675
|
))
|
676
|
+
|
489
677
|
size: Size = _dc.field(metadata=_base.field_metadata(
|
490
678
|
member_name='Size',
|
491
679
|
shape_name='Size',
|
492
680
|
))
|
681
|
+
|
493
682
|
request_charged: RequestCharged = _dc.field(metadata=_base.field_metadata(
|
494
683
|
member_name='RequestCharged',
|
495
684
|
shape_name='RequestCharged',
|
496
685
|
))
|
497
686
|
|
498
687
|
|
688
|
+
@_dc.dataclass(frozen=True)
|
689
|
+
class RestoreStatus(
|
690
|
+
_base.Shape,
|
691
|
+
shape_name='RestoreStatus',
|
692
|
+
):
|
693
|
+
is_restore_in_progress: IsRestoreInProgress = _dc.field(metadata=_base.field_metadata(
|
694
|
+
member_name='IsRestoreInProgress',
|
695
|
+
shape_name='IsRestoreInProgress',
|
696
|
+
))
|
697
|
+
|
698
|
+
restore_expiry_date: RestoreExpiryDate = _dc.field(metadata=_base.field_metadata(
|
699
|
+
member_name='RestoreExpiryDate',
|
700
|
+
shape_name='RestoreExpiryDate',
|
701
|
+
))
|
702
|
+
|
703
|
+
|
704
|
+
Buckets: _ta.TypeAlias = _ta.Sequence[Bucket]
|
705
|
+
|
706
|
+
CommonPrefixList: _ta.TypeAlias = _ta.Sequence[CommonPrefix]
|
707
|
+
|
708
|
+
|
499
709
|
@_dc.dataclass(frozen=True)
|
500
710
|
class GetObjectOutput(
|
501
711
|
_base.Shape,
|
@@ -505,148 +715,290 @@ class GetObjectOutput(
|
|
505
715
|
member_name='Body',
|
506
716
|
shape_name='Body',
|
507
717
|
))
|
718
|
+
|
508
719
|
delete_marker: DeleteMarker = _dc.field(metadata=_base.field_metadata(
|
509
720
|
member_name='DeleteMarker',
|
510
721
|
shape_name='DeleteMarker',
|
511
722
|
))
|
723
|
+
|
512
724
|
accept_ranges: AcceptRanges = _dc.field(metadata=_base.field_metadata(
|
513
725
|
member_name='AcceptRanges',
|
514
726
|
shape_name='AcceptRanges',
|
515
727
|
))
|
728
|
+
|
516
729
|
expiration: Expiration = _dc.field(metadata=_base.field_metadata(
|
517
730
|
member_name='Expiration',
|
518
731
|
shape_name='Expiration',
|
519
732
|
))
|
733
|
+
|
520
734
|
restore: Restore = _dc.field(metadata=_base.field_metadata(
|
521
735
|
member_name='Restore',
|
522
736
|
shape_name='Restore',
|
523
737
|
))
|
738
|
+
|
524
739
|
last_modified: LastModified = _dc.field(metadata=_base.field_metadata(
|
525
740
|
member_name='LastModified',
|
526
741
|
shape_name='LastModified',
|
527
742
|
))
|
743
|
+
|
528
744
|
content_length: ContentLength = _dc.field(metadata=_base.field_metadata(
|
529
745
|
member_name='ContentLength',
|
530
746
|
shape_name='ContentLength',
|
531
747
|
))
|
748
|
+
|
532
749
|
etag: ETag = _dc.field(metadata=_base.field_metadata(
|
533
750
|
member_name='ETag',
|
534
751
|
shape_name='ETag',
|
535
752
|
))
|
753
|
+
|
536
754
|
checksum_crc32: ChecksumCRC32 = _dc.field(metadata=_base.field_metadata(
|
537
755
|
member_name='ChecksumCRC32',
|
538
756
|
shape_name='ChecksumCRC32',
|
539
757
|
))
|
758
|
+
|
540
759
|
checksum_crc32c: ChecksumCRC32C = _dc.field(metadata=_base.field_metadata(
|
541
760
|
member_name='ChecksumCRC32C',
|
542
761
|
shape_name='ChecksumCRC32C',
|
543
762
|
))
|
763
|
+
|
544
764
|
checksum_sha1: ChecksumSHA1 = _dc.field(metadata=_base.field_metadata(
|
545
765
|
member_name='ChecksumSHA1',
|
546
766
|
shape_name='ChecksumSHA1',
|
547
767
|
))
|
768
|
+
|
548
769
|
checksum_sha256: ChecksumSHA256 = _dc.field(metadata=_base.field_metadata(
|
549
770
|
member_name='ChecksumSHA256',
|
550
771
|
shape_name='ChecksumSHA256',
|
551
772
|
))
|
773
|
+
|
552
774
|
missing_meta: MissingMeta = _dc.field(metadata=_base.field_metadata(
|
553
775
|
member_name='MissingMeta',
|
554
776
|
shape_name='MissingMeta',
|
555
777
|
))
|
778
|
+
|
556
779
|
version_id: ObjectVersionId = _dc.field(metadata=_base.field_metadata(
|
557
780
|
member_name='VersionId',
|
558
781
|
shape_name='ObjectVersionId',
|
559
782
|
))
|
783
|
+
|
560
784
|
cache_control: CacheControl = _dc.field(metadata=_base.field_metadata(
|
561
785
|
member_name='CacheControl',
|
562
786
|
shape_name='CacheControl',
|
563
787
|
))
|
788
|
+
|
564
789
|
content_disposition: ContentDisposition = _dc.field(metadata=_base.field_metadata(
|
565
790
|
member_name='ContentDisposition',
|
566
791
|
shape_name='ContentDisposition',
|
567
792
|
))
|
793
|
+
|
568
794
|
content_encoding: ContentEncoding = _dc.field(metadata=_base.field_metadata(
|
569
795
|
member_name='ContentEncoding',
|
570
796
|
shape_name='ContentEncoding',
|
571
797
|
))
|
798
|
+
|
572
799
|
content_language: ContentLanguage = _dc.field(metadata=_base.field_metadata(
|
573
800
|
member_name='ContentLanguage',
|
574
801
|
shape_name='ContentLanguage',
|
575
802
|
))
|
803
|
+
|
576
804
|
content_range: ContentRange = _dc.field(metadata=_base.field_metadata(
|
577
805
|
member_name='ContentRange',
|
578
806
|
shape_name='ContentRange',
|
579
807
|
))
|
808
|
+
|
580
809
|
content_type: ContentType = _dc.field(metadata=_base.field_metadata(
|
581
810
|
member_name='ContentType',
|
582
811
|
shape_name='ContentType',
|
583
812
|
))
|
813
|
+
|
584
814
|
expires: Expires = _dc.field(metadata=_base.field_metadata(
|
585
815
|
member_name='Expires',
|
586
816
|
shape_name='Expires',
|
587
817
|
))
|
818
|
+
|
588
819
|
website_redirect_location: WebsiteRedirectLocation = _dc.field(metadata=_base.field_metadata(
|
589
820
|
member_name='WebsiteRedirectLocation',
|
590
821
|
shape_name='WebsiteRedirectLocation',
|
591
822
|
))
|
823
|
+
|
592
824
|
server_side_encryption: ServerSideEncryption = _dc.field(metadata=_base.field_metadata(
|
593
825
|
member_name='ServerSideEncryption',
|
594
826
|
shape_name='ServerSideEncryption',
|
595
827
|
))
|
828
|
+
|
596
829
|
metadata: Metadata = _dc.field(metadata=_base.field_metadata(
|
597
830
|
member_name='Metadata',
|
598
831
|
shape_name='Metadata',
|
599
832
|
))
|
833
|
+
|
600
834
|
sse_customer_algorithm: SSECustomerAlgorithm = _dc.field(metadata=_base.field_metadata(
|
601
835
|
member_name='SSECustomerAlgorithm',
|
602
836
|
shape_name='SSECustomerAlgorithm',
|
603
837
|
))
|
838
|
+
|
604
839
|
sse_customer_key_md5: SSECustomerKeyMD5 = _dc.field(metadata=_base.field_metadata(
|
605
840
|
member_name='SSECustomerKeyMD5',
|
606
841
|
shape_name='SSECustomerKeyMD5',
|
607
842
|
))
|
843
|
+
|
608
844
|
sse_kms_key_id: SSEKMSKeyId = _dc.field(metadata=_base.field_metadata(
|
609
845
|
member_name='SSEKMSKeyId',
|
610
846
|
shape_name='SSEKMSKeyId',
|
611
847
|
))
|
848
|
+
|
612
849
|
bucket_key_enabled: BucketKeyEnabled = _dc.field(metadata=_base.field_metadata(
|
613
850
|
member_name='BucketKeyEnabled',
|
614
851
|
shape_name='BucketKeyEnabled',
|
615
852
|
))
|
853
|
+
|
616
854
|
storage_class: StorageClass = _dc.field(metadata=_base.field_metadata(
|
617
855
|
member_name='StorageClass',
|
618
856
|
shape_name='StorageClass',
|
619
857
|
))
|
858
|
+
|
620
859
|
request_charged: RequestCharged = _dc.field(metadata=_base.field_metadata(
|
621
860
|
member_name='RequestCharged',
|
622
861
|
shape_name='RequestCharged',
|
623
862
|
))
|
863
|
+
|
624
864
|
replication_status: ReplicationStatus = _dc.field(metadata=_base.field_metadata(
|
625
865
|
member_name='ReplicationStatus',
|
626
866
|
shape_name='ReplicationStatus',
|
627
867
|
))
|
868
|
+
|
628
869
|
parts_count: PartsCount = _dc.field(metadata=_base.field_metadata(
|
629
870
|
member_name='PartsCount',
|
630
871
|
shape_name='PartsCount',
|
631
872
|
))
|
873
|
+
|
632
874
|
tag_count: TagCount = _dc.field(metadata=_base.field_metadata(
|
633
875
|
member_name='TagCount',
|
634
876
|
shape_name='TagCount',
|
635
877
|
))
|
878
|
+
|
636
879
|
object_lock_mode: ObjectLockMode = _dc.field(metadata=_base.field_metadata(
|
637
880
|
member_name='ObjectLockMode',
|
638
881
|
shape_name='ObjectLockMode',
|
639
882
|
))
|
883
|
+
|
640
884
|
object_lock_retain_until_date: ObjectLockRetainUntilDate = _dc.field(metadata=_base.field_metadata(
|
641
885
|
member_name='ObjectLockRetainUntilDate',
|
642
886
|
shape_name='ObjectLockRetainUntilDate',
|
643
887
|
))
|
888
|
+
|
644
889
|
object_lock_legal_hold_status: ObjectLockLegalHoldStatus = _dc.field(metadata=_base.field_metadata(
|
645
890
|
member_name='ObjectLockLegalHoldStatus',
|
646
891
|
shape_name='ObjectLockLegalHoldStatus',
|
647
892
|
))
|
648
893
|
|
649
894
|
|
895
|
+
@_dc.dataclass(frozen=True)
|
896
|
+
class ListObjectsV2Request(
|
897
|
+
_base.Shape,
|
898
|
+
shape_name='ListObjectsV2Request',
|
899
|
+
):
|
900
|
+
bucket: BucketName = _dc.field(metadata=_base.field_metadata(
|
901
|
+
member_name='Bucket',
|
902
|
+
shape_name='BucketName',
|
903
|
+
))
|
904
|
+
|
905
|
+
delimiter: Delimiter = _dc.field(metadata=_base.field_metadata(
|
906
|
+
member_name='Delimiter',
|
907
|
+
shape_name='Delimiter',
|
908
|
+
))
|
909
|
+
|
910
|
+
encoding_type: EncodingType = _dc.field(metadata=_base.field_metadata(
|
911
|
+
member_name='EncodingType',
|
912
|
+
shape_name='EncodingType',
|
913
|
+
))
|
914
|
+
|
915
|
+
max_keys: MaxKeys = _dc.field(metadata=_base.field_metadata(
|
916
|
+
member_name='MaxKeys',
|
917
|
+
shape_name='MaxKeys',
|
918
|
+
))
|
919
|
+
|
920
|
+
prefix: Prefix = _dc.field(metadata=_base.field_metadata(
|
921
|
+
member_name='Prefix',
|
922
|
+
shape_name='Prefix',
|
923
|
+
))
|
924
|
+
|
925
|
+
continuation_token: Token = _dc.field(metadata=_base.field_metadata(
|
926
|
+
member_name='ContinuationToken',
|
927
|
+
shape_name='Token',
|
928
|
+
))
|
929
|
+
|
930
|
+
fetch_owner: FetchOwner = _dc.field(metadata=_base.field_metadata(
|
931
|
+
member_name='FetchOwner',
|
932
|
+
shape_name='FetchOwner',
|
933
|
+
))
|
934
|
+
|
935
|
+
start_after: StartAfter = _dc.field(metadata=_base.field_metadata(
|
936
|
+
member_name='StartAfter',
|
937
|
+
shape_name='StartAfter',
|
938
|
+
))
|
939
|
+
|
940
|
+
request_payer: RequestPayer = _dc.field(metadata=_base.field_metadata(
|
941
|
+
member_name='RequestPayer',
|
942
|
+
shape_name='RequestPayer',
|
943
|
+
))
|
944
|
+
|
945
|
+
expected_bucket_owner: AccountId = _dc.field(metadata=_base.field_metadata(
|
946
|
+
member_name='ExpectedBucketOwner',
|
947
|
+
shape_name='AccountId',
|
948
|
+
))
|
949
|
+
|
950
|
+
optional_object_attributes: OptionalObjectAttributesList = _dc.field(metadata=_base.field_metadata(
|
951
|
+
member_name='OptionalObjectAttributes',
|
952
|
+
shape_name='OptionalObjectAttributesList',
|
953
|
+
))
|
954
|
+
|
955
|
+
|
956
|
+
@_dc.dataclass(frozen=True)
|
957
|
+
class Object(
|
958
|
+
_base.Shape,
|
959
|
+
shape_name='Object',
|
960
|
+
):
|
961
|
+
key: ObjectKey = _dc.field(metadata=_base.field_metadata(
|
962
|
+
member_name='Key',
|
963
|
+
shape_name='ObjectKey',
|
964
|
+
))
|
965
|
+
|
966
|
+
last_modified: LastModified = _dc.field(metadata=_base.field_metadata(
|
967
|
+
member_name='LastModified',
|
968
|
+
shape_name='LastModified',
|
969
|
+
))
|
970
|
+
|
971
|
+
etag: ETag = _dc.field(metadata=_base.field_metadata(
|
972
|
+
member_name='ETag',
|
973
|
+
shape_name='ETag',
|
974
|
+
))
|
975
|
+
|
976
|
+
checksum_algorithm: ChecksumAlgorithmList = _dc.field(metadata=_base.field_metadata(
|
977
|
+
member_name='ChecksumAlgorithm',
|
978
|
+
shape_name='ChecksumAlgorithmList',
|
979
|
+
))
|
980
|
+
|
981
|
+
size: Size = _dc.field(metadata=_base.field_metadata(
|
982
|
+
member_name='Size',
|
983
|
+
shape_name='Size',
|
984
|
+
))
|
985
|
+
|
986
|
+
storage_class: ObjectStorageClass = _dc.field(metadata=_base.field_metadata(
|
987
|
+
member_name='StorageClass',
|
988
|
+
shape_name='ObjectStorageClass',
|
989
|
+
))
|
990
|
+
|
991
|
+
owner: Owner = _dc.field(metadata=_base.field_metadata(
|
992
|
+
member_name='Owner',
|
993
|
+
shape_name='Owner',
|
994
|
+
))
|
995
|
+
|
996
|
+
restore_status: RestoreStatus = _dc.field(metadata=_base.field_metadata(
|
997
|
+
member_name='RestoreStatus',
|
998
|
+
shape_name='RestoreStatus',
|
999
|
+
))
|
1000
|
+
|
1001
|
+
|
650
1002
|
@_dc.dataclass(frozen=True)
|
651
1003
|
class PutObjectRequest(
|
652
1004
|
_base.Shape,
|
@@ -656,177 +1008,326 @@ class PutObjectRequest(
|
|
656
1008
|
member_name='ACL',
|
657
1009
|
shape_name='ObjectCannedACL',
|
658
1010
|
))
|
1011
|
+
|
659
1012
|
body: Body = _dc.field(metadata=_base.field_metadata(
|
660
1013
|
member_name='Body',
|
661
1014
|
shape_name='Body',
|
662
1015
|
))
|
1016
|
+
|
663
1017
|
bucket: BucketName = _dc.field(metadata=_base.field_metadata(
|
664
1018
|
member_name='Bucket',
|
665
1019
|
shape_name='BucketName',
|
666
1020
|
))
|
1021
|
+
|
667
1022
|
cache_control: CacheControl = _dc.field(metadata=_base.field_metadata(
|
668
1023
|
member_name='CacheControl',
|
669
1024
|
shape_name='CacheControl',
|
670
1025
|
))
|
1026
|
+
|
671
1027
|
content_disposition: ContentDisposition = _dc.field(metadata=_base.field_metadata(
|
672
1028
|
member_name='ContentDisposition',
|
673
1029
|
shape_name='ContentDisposition',
|
674
1030
|
))
|
1031
|
+
|
675
1032
|
content_encoding: ContentEncoding = _dc.field(metadata=_base.field_metadata(
|
676
1033
|
member_name='ContentEncoding',
|
677
1034
|
shape_name='ContentEncoding',
|
678
1035
|
))
|
1036
|
+
|
679
1037
|
content_language: ContentLanguage = _dc.field(metadata=_base.field_metadata(
|
680
1038
|
member_name='ContentLanguage',
|
681
1039
|
shape_name='ContentLanguage',
|
682
1040
|
))
|
1041
|
+
|
683
1042
|
content_length: ContentLength = _dc.field(metadata=_base.field_metadata(
|
684
1043
|
member_name='ContentLength',
|
685
1044
|
shape_name='ContentLength',
|
686
1045
|
))
|
1046
|
+
|
687
1047
|
content_md5: ContentMD5 = _dc.field(metadata=_base.field_metadata(
|
688
1048
|
member_name='ContentMD5',
|
689
1049
|
shape_name='ContentMD5',
|
690
1050
|
))
|
1051
|
+
|
691
1052
|
content_type: ContentType = _dc.field(metadata=_base.field_metadata(
|
692
1053
|
member_name='ContentType',
|
693
1054
|
shape_name='ContentType',
|
694
1055
|
))
|
1056
|
+
|
695
1057
|
checksum_algorithm: ChecksumAlgorithm = _dc.field(metadata=_base.field_metadata(
|
696
1058
|
member_name='ChecksumAlgorithm',
|
697
1059
|
shape_name='ChecksumAlgorithm',
|
698
1060
|
))
|
1061
|
+
|
699
1062
|
checksum_crc32: ChecksumCRC32 = _dc.field(metadata=_base.field_metadata(
|
700
1063
|
member_name='ChecksumCRC32',
|
701
1064
|
shape_name='ChecksumCRC32',
|
702
1065
|
))
|
1066
|
+
|
703
1067
|
checksum_crc32c: ChecksumCRC32C = _dc.field(metadata=_base.field_metadata(
|
704
1068
|
member_name='ChecksumCRC32C',
|
705
1069
|
shape_name='ChecksumCRC32C',
|
706
1070
|
))
|
1071
|
+
|
707
1072
|
checksum_sha1: ChecksumSHA1 = _dc.field(metadata=_base.field_metadata(
|
708
1073
|
member_name='ChecksumSHA1',
|
709
1074
|
shape_name='ChecksumSHA1',
|
710
1075
|
))
|
1076
|
+
|
711
1077
|
checksum_sha256: ChecksumSHA256 = _dc.field(metadata=_base.field_metadata(
|
712
1078
|
member_name='ChecksumSHA256',
|
713
1079
|
shape_name='ChecksumSHA256',
|
714
1080
|
))
|
1081
|
+
|
715
1082
|
expires: Expires = _dc.field(metadata=_base.field_metadata(
|
716
1083
|
member_name='Expires',
|
717
1084
|
shape_name='Expires',
|
718
1085
|
))
|
1086
|
+
|
719
1087
|
if_match: IfMatch = _dc.field(metadata=_base.field_metadata(
|
720
1088
|
member_name='IfMatch',
|
721
1089
|
shape_name='IfMatch',
|
722
1090
|
))
|
1091
|
+
|
723
1092
|
if_none_match: IfNoneMatch = _dc.field(metadata=_base.field_metadata(
|
724
1093
|
member_name='IfNoneMatch',
|
725
1094
|
shape_name='IfNoneMatch',
|
726
1095
|
))
|
1096
|
+
|
727
1097
|
grant_full_control: GrantFullControl = _dc.field(metadata=_base.field_metadata(
|
728
1098
|
member_name='GrantFullControl',
|
729
1099
|
shape_name='GrantFullControl',
|
730
1100
|
))
|
1101
|
+
|
731
1102
|
grant_read: GrantRead = _dc.field(metadata=_base.field_metadata(
|
732
1103
|
member_name='GrantRead',
|
733
1104
|
shape_name='GrantRead',
|
734
1105
|
))
|
1106
|
+
|
735
1107
|
grant_read_acp: GrantReadACP = _dc.field(metadata=_base.field_metadata(
|
736
1108
|
member_name='GrantReadACP',
|
737
1109
|
shape_name='GrantReadACP',
|
738
1110
|
))
|
1111
|
+
|
739
1112
|
grant_write_acp: GrantWriteACP = _dc.field(metadata=_base.field_metadata(
|
740
1113
|
member_name='GrantWriteACP',
|
741
1114
|
shape_name='GrantWriteACP',
|
742
1115
|
))
|
1116
|
+
|
743
1117
|
key: ObjectKey = _dc.field(metadata=_base.field_metadata(
|
744
1118
|
member_name='Key',
|
745
1119
|
shape_name='ObjectKey',
|
746
1120
|
))
|
1121
|
+
|
747
1122
|
write_offset_bytes: WriteOffsetBytes = _dc.field(metadata=_base.field_metadata(
|
748
1123
|
member_name='WriteOffsetBytes',
|
749
1124
|
shape_name='WriteOffsetBytes',
|
750
1125
|
))
|
1126
|
+
|
751
1127
|
metadata: Metadata = _dc.field(metadata=_base.field_metadata(
|
752
1128
|
member_name='Metadata',
|
753
1129
|
shape_name='Metadata',
|
754
1130
|
))
|
1131
|
+
|
755
1132
|
server_side_encryption: ServerSideEncryption = _dc.field(metadata=_base.field_metadata(
|
756
1133
|
member_name='ServerSideEncryption',
|
757
1134
|
shape_name='ServerSideEncryption',
|
758
1135
|
))
|
1136
|
+
|
759
1137
|
storage_class: StorageClass = _dc.field(metadata=_base.field_metadata(
|
760
1138
|
member_name='StorageClass',
|
761
1139
|
shape_name='StorageClass',
|
762
1140
|
))
|
1141
|
+
|
763
1142
|
website_redirect_location: WebsiteRedirectLocation = _dc.field(metadata=_base.field_metadata(
|
764
1143
|
member_name='WebsiteRedirectLocation',
|
765
1144
|
shape_name='WebsiteRedirectLocation',
|
766
1145
|
))
|
1146
|
+
|
767
1147
|
sse_customer_algorithm: SSECustomerAlgorithm = _dc.field(metadata=_base.field_metadata(
|
768
1148
|
member_name='SSECustomerAlgorithm',
|
769
1149
|
shape_name='SSECustomerAlgorithm',
|
770
1150
|
))
|
1151
|
+
|
771
1152
|
sse_customer_key: SSECustomerKey = _dc.field(metadata=_base.field_metadata(
|
772
1153
|
member_name='SSECustomerKey',
|
773
1154
|
shape_name='SSECustomerKey',
|
774
1155
|
))
|
1156
|
+
|
775
1157
|
sse_customer_key_md5: SSECustomerKeyMD5 = _dc.field(metadata=_base.field_metadata(
|
776
1158
|
member_name='SSECustomerKeyMD5',
|
777
1159
|
shape_name='SSECustomerKeyMD5',
|
778
1160
|
))
|
1161
|
+
|
779
1162
|
sse_kms_key_id: SSEKMSKeyId = _dc.field(metadata=_base.field_metadata(
|
780
1163
|
member_name='SSEKMSKeyId',
|
781
1164
|
shape_name='SSEKMSKeyId',
|
782
1165
|
))
|
1166
|
+
|
783
1167
|
sse_kms_encryption_context: SSEKMSEncryptionContext = _dc.field(metadata=_base.field_metadata(
|
784
1168
|
member_name='SSEKMSEncryptionContext',
|
785
1169
|
shape_name='SSEKMSEncryptionContext',
|
786
1170
|
))
|
1171
|
+
|
787
1172
|
bucket_key_enabled: BucketKeyEnabled = _dc.field(metadata=_base.field_metadata(
|
788
1173
|
member_name='BucketKeyEnabled',
|
789
1174
|
shape_name='BucketKeyEnabled',
|
790
1175
|
))
|
1176
|
+
|
791
1177
|
request_payer: RequestPayer = _dc.field(metadata=_base.field_metadata(
|
792
1178
|
member_name='RequestPayer',
|
793
1179
|
shape_name='RequestPayer',
|
794
1180
|
))
|
1181
|
+
|
795
1182
|
tagging: TaggingHeader = _dc.field(metadata=_base.field_metadata(
|
796
1183
|
member_name='Tagging',
|
797
1184
|
shape_name='TaggingHeader',
|
798
1185
|
))
|
1186
|
+
|
799
1187
|
object_lock_mode: ObjectLockMode = _dc.field(metadata=_base.field_metadata(
|
800
1188
|
member_name='ObjectLockMode',
|
801
1189
|
shape_name='ObjectLockMode',
|
802
1190
|
))
|
1191
|
+
|
803
1192
|
object_lock_retain_until_date: ObjectLockRetainUntilDate = _dc.field(metadata=_base.field_metadata(
|
804
1193
|
member_name='ObjectLockRetainUntilDate',
|
805
1194
|
shape_name='ObjectLockRetainUntilDate',
|
806
1195
|
))
|
1196
|
+
|
807
1197
|
object_lock_legal_hold_status: ObjectLockLegalHoldStatus = _dc.field(metadata=_base.field_metadata(
|
808
1198
|
member_name='ObjectLockLegalHoldStatus',
|
809
1199
|
shape_name='ObjectLockLegalHoldStatus',
|
810
1200
|
))
|
1201
|
+
|
811
1202
|
expected_bucket_owner: AccountId = _dc.field(metadata=_base.field_metadata(
|
812
1203
|
member_name='ExpectedBucketOwner',
|
813
1204
|
shape_name='AccountId',
|
814
1205
|
))
|
815
1206
|
|
816
1207
|
|
1208
|
+
@_dc.dataclass(frozen=True)
|
1209
|
+
class ListBucketsOutput(
|
1210
|
+
_base.Shape,
|
1211
|
+
shape_name='ListBucketsOutput',
|
1212
|
+
):
|
1213
|
+
buckets: Buckets = _dc.field(metadata=_base.field_metadata(
|
1214
|
+
member_name='Buckets',
|
1215
|
+
shape_name='Buckets',
|
1216
|
+
))
|
1217
|
+
|
1218
|
+
owner: Owner = _dc.field(metadata=_base.field_metadata(
|
1219
|
+
member_name='Owner',
|
1220
|
+
shape_name='Owner',
|
1221
|
+
))
|
1222
|
+
|
1223
|
+
continuation_token: NextToken = _dc.field(metadata=_base.field_metadata(
|
1224
|
+
member_name='ContinuationToken',
|
1225
|
+
shape_name='NextToken',
|
1226
|
+
))
|
1227
|
+
|
1228
|
+
prefix: Prefix = _dc.field(metadata=_base.field_metadata(
|
1229
|
+
member_name='Prefix',
|
1230
|
+
shape_name='Prefix',
|
1231
|
+
))
|
1232
|
+
|
1233
|
+
|
1234
|
+
ObjectList: _ta.TypeAlias = _ta.Sequence[Object]
|
1235
|
+
|
1236
|
+
|
1237
|
+
@_dc.dataclass(frozen=True)
|
1238
|
+
class ListObjectsV2Output(
|
1239
|
+
_base.Shape,
|
1240
|
+
shape_name='ListObjectsV2Output',
|
1241
|
+
):
|
1242
|
+
is_truncated: IsTruncated = _dc.field(metadata=_base.field_metadata(
|
1243
|
+
member_name='IsTruncated',
|
1244
|
+
shape_name='IsTruncated',
|
1245
|
+
))
|
1246
|
+
|
1247
|
+
contents: ObjectList = _dc.field(metadata=_base.field_metadata(
|
1248
|
+
member_name='Contents',
|
1249
|
+
shape_name='ObjectList',
|
1250
|
+
))
|
1251
|
+
|
1252
|
+
name: BucketName = _dc.field(metadata=_base.field_metadata(
|
1253
|
+
member_name='Name',
|
1254
|
+
shape_name='BucketName',
|
1255
|
+
))
|
1256
|
+
|
1257
|
+
prefix: Prefix = _dc.field(metadata=_base.field_metadata(
|
1258
|
+
member_name='Prefix',
|
1259
|
+
shape_name='Prefix',
|
1260
|
+
))
|
1261
|
+
|
1262
|
+
delimiter: Delimiter = _dc.field(metadata=_base.field_metadata(
|
1263
|
+
member_name='Delimiter',
|
1264
|
+
shape_name='Delimiter',
|
1265
|
+
))
|
1266
|
+
|
1267
|
+
max_keys: MaxKeys = _dc.field(metadata=_base.field_metadata(
|
1268
|
+
member_name='MaxKeys',
|
1269
|
+
shape_name='MaxKeys',
|
1270
|
+
))
|
1271
|
+
|
1272
|
+
common_prefixes: CommonPrefixList = _dc.field(metadata=_base.field_metadata(
|
1273
|
+
member_name='CommonPrefixes',
|
1274
|
+
shape_name='CommonPrefixList',
|
1275
|
+
))
|
1276
|
+
|
1277
|
+
encoding_type: EncodingType = _dc.field(metadata=_base.field_metadata(
|
1278
|
+
member_name='EncodingType',
|
1279
|
+
shape_name='EncodingType',
|
1280
|
+
))
|
1281
|
+
|
1282
|
+
key_count: KeyCount = _dc.field(metadata=_base.field_metadata(
|
1283
|
+
member_name='KeyCount',
|
1284
|
+
shape_name='KeyCount',
|
1285
|
+
))
|
1286
|
+
|
1287
|
+
continuation_token: Token = _dc.field(metadata=_base.field_metadata(
|
1288
|
+
member_name='ContinuationToken',
|
1289
|
+
shape_name='Token',
|
1290
|
+
))
|
1291
|
+
|
1292
|
+
next_continuation_token: NextToken = _dc.field(metadata=_base.field_metadata(
|
1293
|
+
member_name='NextContinuationToken',
|
1294
|
+
shape_name='NextToken',
|
1295
|
+
))
|
1296
|
+
|
1297
|
+
start_after: StartAfter = _dc.field(metadata=_base.field_metadata(
|
1298
|
+
member_name='StartAfter',
|
1299
|
+
shape_name='StartAfter',
|
1300
|
+
))
|
1301
|
+
|
1302
|
+
request_charged: RequestCharged = _dc.field(metadata=_base.field_metadata(
|
1303
|
+
member_name='RequestCharged',
|
1304
|
+
shape_name='RequestCharged',
|
1305
|
+
))
|
1306
|
+
|
1307
|
+
|
817
1308
|
ALL_SHAPES: frozenset[type[_base.Shape]] = frozenset([
|
818
|
-
|
819
|
-
|
820
|
-
InvalidWriteOffset,
|
821
|
-
NoSuchKey,
|
822
|
-
TooManyParts,
|
1309
|
+
Bucket,
|
1310
|
+
CommonPrefix,
|
823
1311
|
DeleteObjectOutput,
|
824
1312
|
DeleteObjectRequest,
|
1313
|
+
EncryptionTypeMismatch,
|
1314
|
+
GetObjectOutput,
|
825
1315
|
GetObjectRequest,
|
826
1316
|
InvalidObjectState,
|
1317
|
+
InvalidRequest,
|
1318
|
+
InvalidWriteOffset,
|
1319
|
+
ListBucketsOutput,
|
1320
|
+
ListBucketsRequest,
|
1321
|
+
ListObjectsV2Output,
|
1322
|
+
ListObjectsV2Request,
|
1323
|
+
NoSuchBucket,
|
1324
|
+
NoSuchKey,
|
1325
|
+
Object,
|
1326
|
+
Owner,
|
827
1327
|
PutObjectOutput,
|
828
|
-
GetObjectOutput,
|
829
1328
|
PutObjectRequest,
|
1329
|
+
RestoreStatus,
|
1330
|
+
TooManyParts,
|
830
1331
|
])
|
831
1332
|
|
832
1333
|
|
@@ -844,8 +1345,23 @@ GET_OBJECT = _base.Operation(
|
|
844
1345
|
input=GetObjectRequest,
|
845
1346
|
output=GetObjectOutput,
|
846
1347
|
errors=[
|
847
|
-
NoSuchKey,
|
848
1348
|
InvalidObjectState,
|
1349
|
+
NoSuchKey,
|
1350
|
+
],
|
1351
|
+
)
|
1352
|
+
|
1353
|
+
LIST_BUCKETS = _base.Operation(
|
1354
|
+
name='ListBuckets',
|
1355
|
+
input=ListBucketsRequest,
|
1356
|
+
output=ListBucketsOutput,
|
1357
|
+
)
|
1358
|
+
|
1359
|
+
LIST_OBJECTS_V2 = _base.Operation(
|
1360
|
+
name='ListObjectsV2',
|
1361
|
+
input=ListObjectsV2Request,
|
1362
|
+
output=ListObjectsV2Output,
|
1363
|
+
errors=[
|
1364
|
+
NoSuchBucket,
|
849
1365
|
],
|
850
1366
|
)
|
851
1367
|
|
@@ -854,10 +1370,10 @@ PUT_OBJECT = _base.Operation(
|
|
854
1370
|
input=PutObjectRequest,
|
855
1371
|
output=PutObjectOutput,
|
856
1372
|
errors=[
|
1373
|
+
EncryptionTypeMismatch,
|
857
1374
|
InvalidRequest,
|
858
1375
|
InvalidWriteOffset,
|
859
1376
|
TooManyParts,
|
860
|
-
EncryptionTypeMismatch,
|
861
1377
|
],
|
862
1378
|
)
|
863
1379
|
|
@@ -865,5 +1381,7 @@ PUT_OBJECT = _base.Operation(
|
|
865
1381
|
ALL_OPERATIONS: frozenset[_base.Operation] = frozenset([
|
866
1382
|
DELETE_OBJECT,
|
867
1383
|
GET_OBJECT,
|
1384
|
+
LIST_BUCKETS,
|
1385
|
+
LIST_OBJECTS_V2,
|
868
1386
|
PUT_OBJECT,
|
869
1387
|
])
|