Skip to main content

rustack_s3_model/input/
config.rs

1//! Auto-generated from AWS S3 Smithy model. DO NOT EDIT.
2
3use crate::types::{
4    AccelerateConfiguration, AccessControlPolicy, BucketCannedACL, BucketLifecycleConfiguration,
5    BucketLoggingStatus, CORSConfiguration, ChecksumAlgorithm, NotificationConfiguration,
6    ObjectAttributes, ObjectCannedACL, ObjectLockConfiguration, ObjectLockLegalHold,
7    ObjectLockRetention, OwnershipControls, PublicAccessBlockConfiguration, RequestPayer,
8    RequestPaymentConfiguration, ServerSideEncryptionConfiguration, Tagging,
9    TransitionDefaultMinimumObjectSize, VersioningConfiguration, WebsiteConfiguration,
10};
11
12/// S3 DeleteBucketCorsInput.
13#[derive(Debug, Clone, Default)]
14pub struct DeleteBucketCorsInput {
15    /// HTTP label (URI path).
16    pub bucket: String,
17    /// HTTP header: `x-amz-expected-bucket-owner`.
18    pub expected_bucket_owner: Option<String>,
19}
20
21/// S3 DeleteBucketEncryptionInput.
22#[derive(Debug, Clone, Default)]
23pub struct DeleteBucketEncryptionInput {
24    /// HTTP label (URI path).
25    pub bucket: String,
26    /// HTTP header: `x-amz-expected-bucket-owner`.
27    pub expected_bucket_owner: Option<String>,
28}
29
30/// S3 DeleteBucketLifecycleInput.
31#[derive(Debug, Clone, Default)]
32pub struct DeleteBucketLifecycleInput {
33    /// HTTP label (URI path).
34    pub bucket: String,
35    /// HTTP header: `x-amz-expected-bucket-owner`.
36    pub expected_bucket_owner: Option<String>,
37}
38
39/// S3 DeleteBucketOwnershipControlsInput.
40#[derive(Debug, Clone, Default)]
41pub struct DeleteBucketOwnershipControlsInput {
42    /// HTTP label (URI path).
43    pub bucket: String,
44    /// HTTP header: `x-amz-expected-bucket-owner`.
45    pub expected_bucket_owner: Option<String>,
46}
47
48/// S3 DeleteBucketPolicyInput.
49#[derive(Debug, Clone, Default)]
50pub struct DeleteBucketPolicyInput {
51    /// HTTP label (URI path).
52    pub bucket: String,
53    /// HTTP header: `x-amz-expected-bucket-owner`.
54    pub expected_bucket_owner: Option<String>,
55}
56
57/// S3 DeleteBucketTaggingInput.
58#[derive(Debug, Clone, Default)]
59pub struct DeleteBucketTaggingInput {
60    /// HTTP label (URI path).
61    pub bucket: String,
62    /// HTTP header: `x-amz-expected-bucket-owner`.
63    pub expected_bucket_owner: Option<String>,
64}
65
66/// S3 DeleteBucketWebsiteInput.
67#[derive(Debug, Clone, Default)]
68pub struct DeleteBucketWebsiteInput {
69    /// HTTP label (URI path).
70    pub bucket: String,
71    /// HTTP header: `x-amz-expected-bucket-owner`.
72    pub expected_bucket_owner: Option<String>,
73}
74
75/// S3 DeleteObjectTaggingInput.
76#[derive(Debug, Clone, Default)]
77pub struct DeleteObjectTaggingInput {
78    /// HTTP label (URI path).
79    pub bucket: String,
80    /// HTTP header: `x-amz-expected-bucket-owner`.
81    pub expected_bucket_owner: Option<String>,
82    /// HTTP label (URI path).
83    pub key: String,
84    /// HTTP query: `versionId`.
85    pub version_id: Option<String>,
86}
87
88/// S3 DeletePublicAccessBlockInput.
89#[derive(Debug, Clone, Default)]
90pub struct DeletePublicAccessBlockInput {
91    /// HTTP label (URI path).
92    pub bucket: String,
93    /// HTTP header: `x-amz-expected-bucket-owner`.
94    pub expected_bucket_owner: Option<String>,
95}
96
97/// S3 GetBucketAccelerateConfigurationInput.
98#[derive(Debug, Clone, Default)]
99pub struct GetBucketAccelerateConfigurationInput {
100    /// HTTP label (URI path).
101    pub bucket: String,
102    /// HTTP header: `x-amz-expected-bucket-owner`.
103    pub expected_bucket_owner: Option<String>,
104    /// HTTP header: `x-amz-request-payer`.
105    pub request_payer: Option<RequestPayer>,
106}
107
108/// S3 GetBucketAclInput.
109#[derive(Debug, Clone, Default)]
110pub struct GetBucketAclInput {
111    /// HTTP label (URI path).
112    pub bucket: String,
113    /// HTTP header: `x-amz-expected-bucket-owner`.
114    pub expected_bucket_owner: Option<String>,
115}
116
117/// S3 GetBucketCorsInput.
118#[derive(Debug, Clone, Default)]
119pub struct GetBucketCorsInput {
120    /// HTTP label (URI path).
121    pub bucket: String,
122    /// HTTP header: `x-amz-expected-bucket-owner`.
123    pub expected_bucket_owner: Option<String>,
124}
125
126/// S3 GetBucketEncryptionInput.
127#[derive(Debug, Clone, Default)]
128pub struct GetBucketEncryptionInput {
129    /// HTTP label (URI path).
130    pub bucket: String,
131    /// HTTP header: `x-amz-expected-bucket-owner`.
132    pub expected_bucket_owner: Option<String>,
133}
134
135/// S3 GetBucketLifecycleConfigurationInput.
136#[derive(Debug, Clone, Default)]
137pub struct GetBucketLifecycleConfigurationInput {
138    /// HTTP label (URI path).
139    pub bucket: String,
140    /// HTTP header: `x-amz-expected-bucket-owner`.
141    pub expected_bucket_owner: Option<String>,
142}
143
144/// S3 GetBucketLoggingInput.
145#[derive(Debug, Clone, Default)]
146pub struct GetBucketLoggingInput {
147    /// HTTP label (URI path).
148    pub bucket: String,
149    /// HTTP header: `x-amz-expected-bucket-owner`.
150    pub expected_bucket_owner: Option<String>,
151}
152
153/// S3 GetBucketNotificationConfigurationInput.
154#[derive(Debug, Clone, Default)]
155pub struct GetBucketNotificationConfigurationInput {
156    /// HTTP label (URI path).
157    pub bucket: String,
158    /// HTTP header: `x-amz-expected-bucket-owner`.
159    pub expected_bucket_owner: Option<String>,
160}
161
162/// S3 GetBucketOwnershipControlsInput.
163#[derive(Debug, Clone, Default)]
164pub struct GetBucketOwnershipControlsInput {
165    /// HTTP label (URI path).
166    pub bucket: String,
167    /// HTTP header: `x-amz-expected-bucket-owner`.
168    pub expected_bucket_owner: Option<String>,
169}
170
171/// S3 GetBucketPolicyInput.
172#[derive(Debug, Clone, Default)]
173pub struct GetBucketPolicyInput {
174    /// HTTP label (URI path).
175    pub bucket: String,
176    /// HTTP header: `x-amz-expected-bucket-owner`.
177    pub expected_bucket_owner: Option<String>,
178}
179
180/// S3 GetBucketPolicyStatusInput.
181#[derive(Debug, Clone, Default)]
182pub struct GetBucketPolicyStatusInput {
183    /// HTTP label (URI path).
184    pub bucket: String,
185    /// HTTP header: `x-amz-expected-bucket-owner`.
186    pub expected_bucket_owner: Option<String>,
187}
188
189/// S3 GetBucketRequestPaymentInput.
190#[derive(Debug, Clone, Default)]
191pub struct GetBucketRequestPaymentInput {
192    /// HTTP label (URI path).
193    pub bucket: String,
194    /// HTTP header: `x-amz-expected-bucket-owner`.
195    pub expected_bucket_owner: Option<String>,
196}
197
198/// S3 GetBucketTaggingInput.
199#[derive(Debug, Clone, Default)]
200pub struct GetBucketTaggingInput {
201    /// HTTP label (URI path).
202    pub bucket: String,
203    /// HTTP header: `x-amz-expected-bucket-owner`.
204    pub expected_bucket_owner: Option<String>,
205}
206
207/// S3 GetBucketVersioningInput.
208#[derive(Debug, Clone, Default)]
209pub struct GetBucketVersioningInput {
210    /// HTTP label (URI path).
211    pub bucket: String,
212    /// HTTP header: `x-amz-expected-bucket-owner`.
213    pub expected_bucket_owner: Option<String>,
214}
215
216/// S3 GetBucketWebsiteInput.
217#[derive(Debug, Clone, Default)]
218pub struct GetBucketWebsiteInput {
219    /// HTTP label (URI path).
220    pub bucket: String,
221    /// HTTP header: `x-amz-expected-bucket-owner`.
222    pub expected_bucket_owner: Option<String>,
223}
224
225/// S3 GetObjectAclInput.
226#[derive(Debug, Clone, Default)]
227pub struct GetObjectAclInput {
228    /// HTTP label (URI path).
229    pub bucket: String,
230    /// HTTP header: `x-amz-expected-bucket-owner`.
231    pub expected_bucket_owner: Option<String>,
232    /// HTTP label (URI path).
233    pub key: String,
234    /// HTTP header: `x-amz-request-payer`.
235    pub request_payer: Option<RequestPayer>,
236    /// HTTP query: `versionId`.
237    pub version_id: Option<String>,
238}
239
240/// S3 GetObjectAttributesInput.
241#[derive(Debug, Clone, Default)]
242pub struct GetObjectAttributesInput {
243    /// HTTP label (URI path).
244    pub bucket: String,
245    /// HTTP header: `x-amz-expected-bucket-owner`.
246    pub expected_bucket_owner: Option<String>,
247    /// HTTP label (URI path).
248    pub key: String,
249    /// HTTP header: `x-amz-max-parts`.
250    pub max_parts: Option<i32>,
251    /// HTTP header: `x-amz-object-attributes`.
252    pub object_attributes: Vec<ObjectAttributes>,
253    /// HTTP header: `x-amz-part-number-marker`.
254    pub part_number_marker: Option<String>,
255    /// HTTP header: `x-amz-request-payer`.
256    pub request_payer: Option<RequestPayer>,
257    /// HTTP header: `x-amz-server-side-encryption-customer-algorithm`.
258    pub sse_customer_algorithm: Option<String>,
259    /// HTTP header: `x-amz-server-side-encryption-customer-key`.
260    pub sse_customer_key: Option<String>,
261    /// HTTP header: `x-amz-server-side-encryption-customer-key-MD5`.
262    pub sse_customer_key_md5: Option<String>,
263    /// HTTP query: `versionId`.
264    pub version_id: Option<String>,
265}
266
267/// S3 GetObjectLegalHoldInput.
268#[derive(Debug, Clone, Default)]
269pub struct GetObjectLegalHoldInput {
270    /// HTTP label (URI path).
271    pub bucket: String,
272    /// HTTP header: `x-amz-expected-bucket-owner`.
273    pub expected_bucket_owner: Option<String>,
274    /// HTTP label (URI path).
275    pub key: String,
276    /// HTTP header: `x-amz-request-payer`.
277    pub request_payer: Option<RequestPayer>,
278    /// HTTP query: `versionId`.
279    pub version_id: Option<String>,
280}
281
282/// S3 GetObjectLockConfigurationInput.
283#[derive(Debug, Clone, Default)]
284pub struct GetObjectLockConfigurationInput {
285    /// HTTP label (URI path).
286    pub bucket: String,
287    /// HTTP header: `x-amz-expected-bucket-owner`.
288    pub expected_bucket_owner: Option<String>,
289}
290
291/// S3 GetObjectRetentionInput.
292#[derive(Debug, Clone, Default)]
293pub struct GetObjectRetentionInput {
294    /// HTTP label (URI path).
295    pub bucket: String,
296    /// HTTP header: `x-amz-expected-bucket-owner`.
297    pub expected_bucket_owner: Option<String>,
298    /// HTTP label (URI path).
299    pub key: String,
300    /// HTTP header: `x-amz-request-payer`.
301    pub request_payer: Option<RequestPayer>,
302    /// HTTP query: `versionId`.
303    pub version_id: Option<String>,
304}
305
306/// S3 GetObjectTaggingInput.
307#[derive(Debug, Clone, Default)]
308pub struct GetObjectTaggingInput {
309    /// HTTP label (URI path).
310    pub bucket: String,
311    /// HTTP header: `x-amz-expected-bucket-owner`.
312    pub expected_bucket_owner: Option<String>,
313    /// HTTP label (URI path).
314    pub key: String,
315    /// HTTP header: `x-amz-request-payer`.
316    pub request_payer: Option<RequestPayer>,
317    /// HTTP query: `versionId`.
318    pub version_id: Option<String>,
319}
320
321/// S3 GetPublicAccessBlockInput.
322#[derive(Debug, Clone, Default)]
323pub struct GetPublicAccessBlockInput {
324    /// HTTP label (URI path).
325    pub bucket: String,
326    /// HTTP header: `x-amz-expected-bucket-owner`.
327    pub expected_bucket_owner: Option<String>,
328}
329
330/// S3 PutBucketAccelerateConfigurationInput.
331#[derive(Debug, Clone, Default)]
332pub struct PutBucketAccelerateConfigurationInput {
333    /// HTTP payload body.
334    pub accelerate_configuration: AccelerateConfiguration,
335    /// HTTP label (URI path).
336    pub bucket: String,
337    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
338    pub checksum_algorithm: Option<ChecksumAlgorithm>,
339    /// HTTP header: `x-amz-expected-bucket-owner`.
340    pub expected_bucket_owner: Option<String>,
341}
342
343/// S3 PutBucketAclInput.
344#[derive(Debug, Clone, Default)]
345pub struct PutBucketAclInput {
346    /// HTTP header: `x-amz-acl`.
347    pub acl: Option<BucketCannedACL>,
348    /// HTTP payload body.
349    pub access_control_policy: Option<AccessControlPolicy>,
350    /// HTTP label (URI path).
351    pub bucket: String,
352    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
353    pub checksum_algorithm: Option<ChecksumAlgorithm>,
354    /// HTTP header: `Content-MD5`.
355    pub content_md5: Option<String>,
356    /// HTTP header: `x-amz-expected-bucket-owner`.
357    pub expected_bucket_owner: Option<String>,
358    /// HTTP header: `x-amz-grant-full-control`.
359    pub grant_full_control: Option<String>,
360    /// HTTP header: `x-amz-grant-read`.
361    pub grant_read: Option<String>,
362    /// HTTP header: `x-amz-grant-read-acp`.
363    pub grant_read_acp: Option<String>,
364    /// HTTP header: `x-amz-grant-write`.
365    pub grant_write: Option<String>,
366    /// HTTP header: `x-amz-grant-write-acp`.
367    pub grant_write_acp: Option<String>,
368}
369
370/// S3 PutBucketCorsInput.
371#[derive(Debug, Clone, Default)]
372pub struct PutBucketCorsInput {
373    /// HTTP label (URI path).
374    pub bucket: String,
375    /// HTTP payload body.
376    pub cors_configuration: CORSConfiguration,
377    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
378    pub checksum_algorithm: Option<ChecksumAlgorithm>,
379    /// HTTP header: `Content-MD5`.
380    pub content_md5: Option<String>,
381    /// HTTP header: `x-amz-expected-bucket-owner`.
382    pub expected_bucket_owner: Option<String>,
383}
384
385/// S3 PutBucketEncryptionInput.
386#[derive(Debug, Clone, Default)]
387pub struct PutBucketEncryptionInput {
388    /// HTTP label (URI path).
389    pub bucket: String,
390    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
391    pub checksum_algorithm: Option<ChecksumAlgorithm>,
392    /// HTTP header: `Content-MD5`.
393    pub content_md5: Option<String>,
394    /// HTTP header: `x-amz-expected-bucket-owner`.
395    pub expected_bucket_owner: Option<String>,
396    /// HTTP payload body.
397    pub server_side_encryption_configuration: ServerSideEncryptionConfiguration,
398}
399
400/// S3 PutBucketLifecycleConfigurationInput.
401#[derive(Debug, Clone, Default)]
402pub struct PutBucketLifecycleConfigurationInput {
403    /// HTTP label (URI path).
404    pub bucket: String,
405    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
406    pub checksum_algorithm: Option<ChecksumAlgorithm>,
407    /// HTTP header: `x-amz-expected-bucket-owner`.
408    pub expected_bucket_owner: Option<String>,
409    /// HTTP payload body.
410    pub lifecycle_configuration: Option<BucketLifecycleConfiguration>,
411    /// HTTP header: `x-amz-transition-default-minimum-object-size`.
412    pub transition_default_minimum_object_size: Option<TransitionDefaultMinimumObjectSize>,
413}
414
415/// S3 PutBucketLoggingInput.
416#[derive(Debug, Clone, Default)]
417pub struct PutBucketLoggingInput {
418    /// HTTP label (URI path).
419    pub bucket: String,
420    /// HTTP payload body.
421    pub bucket_logging_status: BucketLoggingStatus,
422    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
423    pub checksum_algorithm: Option<ChecksumAlgorithm>,
424    /// HTTP header: `Content-MD5`.
425    pub content_md5: Option<String>,
426    /// HTTP header: `x-amz-expected-bucket-owner`.
427    pub expected_bucket_owner: Option<String>,
428}
429
430/// S3 PutBucketNotificationConfigurationInput.
431#[derive(Debug, Clone, Default)]
432pub struct PutBucketNotificationConfigurationInput {
433    /// HTTP label (URI path).
434    pub bucket: String,
435    /// HTTP header: `x-amz-expected-bucket-owner`.
436    pub expected_bucket_owner: Option<String>,
437    /// HTTP payload body.
438    pub notification_configuration: NotificationConfiguration,
439    /// HTTP header: `x-amz-skip-destination-validation`.
440    pub skip_destination_validation: Option<bool>,
441}
442
443/// S3 PutBucketOwnershipControlsInput.
444#[derive(Debug, Clone, Default)]
445pub struct PutBucketOwnershipControlsInput {
446    /// HTTP label (URI path).
447    pub bucket: String,
448    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
449    pub checksum_algorithm: Option<ChecksumAlgorithm>,
450    /// HTTP header: `Content-MD5`.
451    pub content_md5: Option<String>,
452    /// HTTP header: `x-amz-expected-bucket-owner`.
453    pub expected_bucket_owner: Option<String>,
454    /// HTTP payload body.
455    pub ownership_controls: OwnershipControls,
456}
457
458/// S3 PutBucketPolicyInput.
459#[derive(Debug, Clone, Default)]
460pub struct PutBucketPolicyInput {
461    /// HTTP label (URI path).
462    pub bucket: String,
463    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
464    pub checksum_algorithm: Option<ChecksumAlgorithm>,
465    /// HTTP header: `x-amz-confirm-remove-self-bucket-access`.
466    pub confirm_remove_self_bucket_access: Option<bool>,
467    /// HTTP header: `Content-MD5`.
468    pub content_md5: Option<String>,
469    /// HTTP header: `x-amz-expected-bucket-owner`.
470    pub expected_bucket_owner: Option<String>,
471    /// HTTP payload body.
472    pub policy: String,
473}
474
475/// S3 PutBucketRequestPaymentInput.
476#[derive(Debug, Clone, Default)]
477pub struct PutBucketRequestPaymentInput {
478    /// HTTP label (URI path).
479    pub bucket: String,
480    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
481    pub checksum_algorithm: Option<ChecksumAlgorithm>,
482    /// HTTP header: `Content-MD5`.
483    pub content_md5: Option<String>,
484    /// HTTP header: `x-amz-expected-bucket-owner`.
485    pub expected_bucket_owner: Option<String>,
486    /// HTTP payload body.
487    pub request_payment_configuration: RequestPaymentConfiguration,
488}
489
490/// S3 PutBucketTaggingInput.
491#[derive(Debug, Clone, Default)]
492pub struct PutBucketTaggingInput {
493    /// HTTP label (URI path).
494    pub bucket: String,
495    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
496    pub checksum_algorithm: Option<ChecksumAlgorithm>,
497    /// HTTP header: `Content-MD5`.
498    pub content_md5: Option<String>,
499    /// HTTP header: `x-amz-expected-bucket-owner`.
500    pub expected_bucket_owner: Option<String>,
501    /// HTTP payload body.
502    pub tagging: Tagging,
503}
504
505/// S3 PutBucketVersioningInput.
506#[derive(Debug, Clone, Default)]
507pub struct PutBucketVersioningInput {
508    /// HTTP label (URI path).
509    pub bucket: String,
510    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
511    pub checksum_algorithm: Option<ChecksumAlgorithm>,
512    /// HTTP header: `Content-MD5`.
513    pub content_md5: Option<String>,
514    /// HTTP header: `x-amz-expected-bucket-owner`.
515    pub expected_bucket_owner: Option<String>,
516    /// HTTP header: `x-amz-mfa`.
517    pub mfa: Option<String>,
518    /// HTTP payload body.
519    pub versioning_configuration: VersioningConfiguration,
520}
521
522/// S3 PutBucketWebsiteInput.
523#[derive(Debug, Clone, Default)]
524pub struct PutBucketWebsiteInput {
525    /// HTTP label (URI path).
526    pub bucket: String,
527    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
528    pub checksum_algorithm: Option<ChecksumAlgorithm>,
529    /// HTTP header: `Content-MD5`.
530    pub content_md5: Option<String>,
531    /// HTTP header: `x-amz-expected-bucket-owner`.
532    pub expected_bucket_owner: Option<String>,
533    /// HTTP payload body.
534    pub website_configuration: WebsiteConfiguration,
535}
536
537/// S3 PutObjectAclInput.
538#[derive(Debug, Clone, Default)]
539pub struct PutObjectAclInput {
540    /// HTTP header: `x-amz-acl`.
541    pub acl: Option<ObjectCannedACL>,
542    /// HTTP payload body.
543    pub access_control_policy: Option<AccessControlPolicy>,
544    /// HTTP label (URI path).
545    pub bucket: String,
546    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
547    pub checksum_algorithm: Option<ChecksumAlgorithm>,
548    /// HTTP header: `Content-MD5`.
549    pub content_md5: Option<String>,
550    /// HTTP header: `x-amz-expected-bucket-owner`.
551    pub expected_bucket_owner: Option<String>,
552    /// HTTP header: `x-amz-grant-full-control`.
553    pub grant_full_control: Option<String>,
554    /// HTTP header: `x-amz-grant-read`.
555    pub grant_read: Option<String>,
556    /// HTTP header: `x-amz-grant-read-acp`.
557    pub grant_read_acp: Option<String>,
558    /// HTTP header: `x-amz-grant-write`.
559    pub grant_write: Option<String>,
560    /// HTTP header: `x-amz-grant-write-acp`.
561    pub grant_write_acp: Option<String>,
562    /// HTTP label (URI path).
563    pub key: String,
564    /// HTTP header: `x-amz-request-payer`.
565    pub request_payer: Option<RequestPayer>,
566    /// HTTP query: `versionId`.
567    pub version_id: Option<String>,
568}
569
570/// S3 PutObjectLegalHoldInput.
571#[derive(Debug, Clone, Default)]
572pub struct PutObjectLegalHoldInput {
573    /// HTTP label (URI path).
574    pub bucket: String,
575    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
576    pub checksum_algorithm: Option<ChecksumAlgorithm>,
577    /// HTTP header: `Content-MD5`.
578    pub content_md5: Option<String>,
579    /// HTTP header: `x-amz-expected-bucket-owner`.
580    pub expected_bucket_owner: Option<String>,
581    /// HTTP label (URI path).
582    pub key: String,
583    /// HTTP payload body.
584    pub legal_hold: Option<ObjectLockLegalHold>,
585    /// HTTP header: `x-amz-request-payer`.
586    pub request_payer: Option<RequestPayer>,
587    /// HTTP query: `versionId`.
588    pub version_id: Option<String>,
589}
590
591/// S3 PutObjectLockConfigurationInput.
592#[derive(Debug, Clone, Default)]
593pub struct PutObjectLockConfigurationInput {
594    /// HTTP label (URI path).
595    pub bucket: String,
596    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
597    pub checksum_algorithm: Option<ChecksumAlgorithm>,
598    /// HTTP header: `Content-MD5`.
599    pub content_md5: Option<String>,
600    /// HTTP header: `x-amz-expected-bucket-owner`.
601    pub expected_bucket_owner: Option<String>,
602    /// HTTP payload body.
603    pub object_lock_configuration: Option<ObjectLockConfiguration>,
604    /// HTTP header: `x-amz-request-payer`.
605    pub request_payer: Option<RequestPayer>,
606    /// HTTP header: `x-amz-bucket-object-lock-token`.
607    pub token: Option<String>,
608}
609
610/// S3 PutObjectRetentionInput.
611#[derive(Debug, Clone, Default)]
612pub struct PutObjectRetentionInput {
613    /// HTTP label (URI path).
614    pub bucket: String,
615    /// HTTP header: `x-amz-bypass-governance-retention`.
616    pub bypass_governance_retention: Option<bool>,
617    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
618    pub checksum_algorithm: Option<ChecksumAlgorithm>,
619    /// HTTP header: `Content-MD5`.
620    pub content_md5: Option<String>,
621    /// HTTP header: `x-amz-expected-bucket-owner`.
622    pub expected_bucket_owner: Option<String>,
623    /// HTTP label (URI path).
624    pub key: String,
625    /// HTTP header: `x-amz-request-payer`.
626    pub request_payer: Option<RequestPayer>,
627    /// HTTP payload body.
628    pub retention: Option<ObjectLockRetention>,
629    /// HTTP query: `versionId`.
630    pub version_id: Option<String>,
631}
632
633/// S3 PutObjectTaggingInput.
634#[derive(Debug, Clone, Default)]
635pub struct PutObjectTaggingInput {
636    /// HTTP label (URI path).
637    pub bucket: String,
638    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
639    pub checksum_algorithm: Option<ChecksumAlgorithm>,
640    /// HTTP header: `Content-MD5`.
641    pub content_md5: Option<String>,
642    /// HTTP header: `x-amz-expected-bucket-owner`.
643    pub expected_bucket_owner: Option<String>,
644    /// HTTP label (URI path).
645    pub key: String,
646    /// HTTP header: `x-amz-request-payer`.
647    pub request_payer: Option<RequestPayer>,
648    /// HTTP payload body.
649    pub tagging: Tagging,
650    /// HTTP query: `versionId`.
651    pub version_id: Option<String>,
652}
653
654/// S3 PutPublicAccessBlockInput.
655#[derive(Debug, Clone, Default)]
656pub struct PutPublicAccessBlockInput {
657    /// HTTP label (URI path).
658    pub bucket: String,
659    /// HTTP header: `x-amz-sdk-checksum-algorithm`.
660    pub checksum_algorithm: Option<ChecksumAlgorithm>,
661    /// HTTP header: `Content-MD5`.
662    pub content_md5: Option<String>,
663    /// HTTP header: `x-amz-expected-bucket-owner`.
664    pub expected_bucket_owner: Option<String>,
665    /// HTTP payload body.
666    pub public_access_block_configuration: PublicAccessBlockConfiguration,
667}