25 25 | pub restore: ::std::option::Option<::std::string::String>,
|
26 26 | /// <p>Date and time when the object was last modified.</p>
|
27 27 | /// <p><b>General purpose buckets </b> - When you specify a <code>versionId</code> of the object in your request, if the specified version in the request is a delete marker, the response returns a <code>405 Method Not Allowed</code> error and the <code>Last-Modified: timestamp</code> response header.</p>
|
28 28 | pub last_modified: ::std::option::Option<::aws_smithy_types::DateTime>,
|
29 29 | /// <p>Size of the body in bytes.</p>
|
30 30 | pub content_length: ::std::option::Option<i64>,
|
31 31 | /// <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.</p>
|
32 32 | pub e_tag: ::std::option::Option<::std::string::String>,
|
33 33 | /// <p>The Base64 encoded, 32-bit <code>CRC32</code> checksum of the object. This checksum is only present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
34 34 | pub checksum_crc32: ::std::option::Option<::std::string::String>,
|
35 - | /// <p>The Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
35 + | /// <p>The Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
36 36 | pub checksum_crc32_c: ::std::option::Option<::std::string::String>,
|
37 37 | /// <p>The Base64 encoded, 64-bit <code>CRC64NVME</code> checksum of the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity in the Amazon S3 User Guide</a>.</p>
|
38 38 | pub checksum_crc64_nvme: ::std::option::Option<::std::string::String>,
|
39 - | /// <p>The Base64 encoded, 160-bit <code>SHA1</code> digest of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
39 + | /// <p>The Base64 encoded, 160-bit <code>SHA1</code> digest of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
40 40 | pub checksum_sha1: ::std::option::Option<::std::string::String>,
|
41 - | /// <p>The Base64 encoded, 256-bit <code>SHA256</code> digest of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
41 + | /// <p>The Base64 encoded, 256-bit <code>SHA256</code> digest of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
42 42 | pub checksum_sha256: ::std::option::Option<::std::string::String>,
|
43 43 | /// <p>The checksum type, which determines how part-level checksums are combined to create an object-level checksum for multipart objects. You can use this header response to verify that the checksum type that is received is the same checksum type that was specified in the <code>CreateMultipartUpload</code> request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
44 44 | pub checksum_type: ::std::option::Option<crate::types::ChecksumType>,
|
45 45 | /// <p>This is set to the number of metadata entries not returned in the headers that are prefixed with <code>x-amz-meta-</code>. This can happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers.</p><note>
|
46 46 | /// <p>This functionality is not supported for directory buckets.</p>
|
47 47 | /// </note>
|
48 48 | pub missing_meta: ::std::option::Option<i32>,
|
49 49 | /// <p>Version ID of the object.</p><note>
|
50 50 | /// <p>This functionality is not supported for directory buckets.</p>
|
51 51 | /// </note>
|
52 52 | pub version_id: ::std::option::Option<::std::string::String>,
|
53 53 | /// <p>Specifies caching behavior along the request/reply chain.</p>
|
54 54 | pub cache_control: ::std::option::Option<::std::string::String>,
|
55 55 | /// <p>Specifies presentational information for the object.</p>
|
56 56 | pub content_disposition: ::std::option::Option<::std::string::String>,
|
57 57 | /// <p>Indicates what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.</p>
|
58 58 | pub content_encoding: ::std::option::Option<::std::string::String>,
|
59 59 | /// <p>The language the content is in.</p>
|
60 60 | pub content_language: ::std::option::Option<::std::string::String>,
|
61 61 | /// <p>The portion of the object returned in the response.</p>
|
62 62 | pub content_range: ::std::option::Option<::std::string::String>,
|
63 63 | /// <p>A standard MIME type describing the format of the object data.</p>
|
64 64 | pub content_type: ::std::option::Option<::std::string::String>,
|
65 65 | /// <p>If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.</p><note>
|
66 66 | /// <p>This functionality is not supported for directory buckets.</p>
|
67 67 | /// </note>
|
68 68 | pub website_redirect_location: ::std::option::Option<::std::string::String>,
|
69 69 | /// <p>The server-side encryption algorithm used when you store this object in Amazon S3 or Amazon FSx.</p><note>
|
70 70 | /// <p>When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side encryption option is <code>aws:fsx</code>.</p>
|
71 71 | /// </note>
|
165 165 | self.content_length
|
166 166 | }
|
167 167 | /// <p>An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.</p>
|
168 168 | pub fn e_tag(&self) -> ::std::option::Option<&str> {
|
169 169 | self.e_tag.as_deref()
|
170 170 | }
|
171 171 | /// <p>The Base64 encoded, 32-bit <code>CRC32</code> checksum of the object. This checksum is only present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
172 172 | pub fn checksum_crc32(&self) -> ::std::option::Option<&str> {
|
173 173 | self.checksum_crc32.as_deref()
|
174 174 | }
|
175 - | /// <p>The Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
175 + | /// <p>The Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
176 176 | pub fn checksum_crc32_c(&self) -> ::std::option::Option<&str> {
|
177 177 | self.checksum_crc32_c.as_deref()
|
178 178 | }
|
179 179 | /// <p>The Base64 encoded, 64-bit <code>CRC64NVME</code> checksum of the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity in the Amazon S3 User Guide</a>.</p>
|
180 180 | pub fn checksum_crc64_nvme(&self) -> ::std::option::Option<&str> {
|
181 181 | self.checksum_crc64_nvme.as_deref()
|
182 182 | }
|
183 - | /// <p>The Base64 encoded, 160-bit <code>SHA1</code> digest of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
183 + | /// <p>The Base64 encoded, 160-bit <code>SHA1</code> digest of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
184 184 | pub fn checksum_sha1(&self) -> ::std::option::Option<&str> {
|
185 185 | self.checksum_sha1.as_deref()
|
186 186 | }
|
187 - | /// <p>The Base64 encoded, 256-bit <code>SHA256</code> digest of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
187 + | /// <p>The Base64 encoded, 256-bit <code>SHA256</code> digest of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
188 188 | pub fn checksum_sha256(&self) -> ::std::option::Option<&str> {
|
189 189 | self.checksum_sha256.as_deref()
|
190 190 | }
|
191 191 | /// <p>The checksum type, which determines how part-level checksums are combined to create an object-level checksum for multipart objects. You can use this header response to verify that the checksum type that is received is the same checksum type that was specified in the <code>CreateMultipartUpload</code> request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
192 192 | pub fn checksum_type(&self) -> ::std::option::Option<&crate::types::ChecksumType> {
|
193 193 | self.checksum_type.as_ref()
|
194 194 | }
|
195 195 | /// <p>This is set to the number of metadata entries not returned in the headers that are prefixed with <code>x-amz-meta-</code>. This can happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers.</p><note>
|
196 196 | /// <p>This functionality is not supported for directory buckets.</p>
|
197 197 | /// </note>
|
587 587 | }
|
588 588 | /// <p>The Base64 encoded, 32-bit <code>CRC32</code> checksum of the object. This checksum is only present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
589 589 | pub fn set_checksum_crc32(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
590 590 | self.checksum_crc32 = input;
|
591 591 | self
|
592 592 | }
|
593 593 | /// <p>The Base64 encoded, 32-bit <code>CRC32</code> checksum of the object. This checksum is only present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
594 594 | pub fn get_checksum_crc32(&self) -> &::std::option::Option<::std::string::String> {
|
595 595 | &self.checksum_crc32
|
596 596 | }
|
597 - | /// <p>The Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
597 + | /// <p>The Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
598 598 | pub fn checksum_crc32_c(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
599 599 | self.checksum_crc32_c = ::std::option::Option::Some(input.into());
|
600 600 | self
|
601 601 | }
|
602 - | /// <p>The Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
602 + | /// <p>The Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
603 603 | pub fn set_checksum_crc32_c(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
604 604 | self.checksum_crc32_c = input;
|
605 605 | self
|
606 606 | }
|
607 - | /// <p>The Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
607 + | /// <p>The Base64 encoded, 32-bit <code>CRC32C</code> checksum of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
608 608 | pub fn get_checksum_crc32_c(&self) -> &::std::option::Option<::std::string::String> {
|
609 609 | &self.checksum_crc32_c
|
610 610 | }
|
611 611 | /// <p>The Base64 encoded, 64-bit <code>CRC64NVME</code> checksum of the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity in the Amazon S3 User Guide</a>.</p>
|
612 612 | pub fn checksum_crc64_nvme(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
613 613 | self.checksum_crc64_nvme = ::std::option::Option::Some(input.into());
|
614 614 | self
|
615 615 | }
|
616 616 | /// <p>The Base64 encoded, 64-bit <code>CRC64NVME</code> checksum of the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity in the Amazon S3 User Guide</a>.</p>
|
617 617 | pub fn set_checksum_crc64_nvme(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
618 618 | self.checksum_crc64_nvme = input;
|
619 619 | self
|
620 620 | }
|
621 621 | /// <p>The Base64 encoded, 64-bit <code>CRC64NVME</code> checksum of the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity in the Amazon S3 User Guide</a>.</p>
|
622 622 | pub fn get_checksum_crc64_nvme(&self) -> &::std::option::Option<::std::string::String> {
|
623 623 | &self.checksum_crc64_nvme
|
624 624 | }
|
625 - | /// <p>The Base64 encoded, 160-bit <code>SHA1</code> digest of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
625 + | /// <p>The Base64 encoded, 160-bit <code>SHA1</code> digest of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
626 626 | pub fn checksum_sha1(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
627 627 | self.checksum_sha1 = ::std::option::Option::Some(input.into());
|
628 628 | self
|
629 629 | }
|
630 - | /// <p>The Base64 encoded, 160-bit <code>SHA1</code> digest of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
630 + | /// <p>The Base64 encoded, 160-bit <code>SHA1</code> digest of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
631 631 | pub fn set_checksum_sha1(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
632 632 | self.checksum_sha1 = input;
|
633 633 | self
|
634 634 | }
|
635 - | /// <p>The Base64 encoded, 160-bit <code>SHA1</code> digest of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
635 + | /// <p>The Base64 encoded, 160-bit <code>SHA1</code> digest of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
636 636 | pub fn get_checksum_sha1(&self) -> &::std::option::Option<::std::string::String> {
|
637 637 | &self.checksum_sha1
|
638 638 | }
|
639 - | /// <p>The Base64 encoded, 256-bit <code>SHA256</code> digest of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
639 + | /// <p>The Base64 encoded, 256-bit <code>SHA256</code> digest of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
640 640 | pub fn checksum_sha256(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
|
641 641 | self.checksum_sha256 = ::std::option::Option::Some(input.into());
|
642 642 | self
|
643 643 | }
|
644 - | /// <p>The Base64 encoded, 256-bit <code>SHA256</code> digest of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
644 + | /// <p>The Base64 encoded, 256-bit <code>SHA256</code> digest of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
645 645 | pub fn set_checksum_sha256(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
|
646 646 | self.checksum_sha256 = input;
|
647 647 | self
|
648 648 | }
|
649 - | /// <p>The Base64 encoded, 256-bit <code>SHA256</code> digest of the object. This will only be present if the object was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
649 + | /// <p>The Base64 encoded, 256-bit <code>SHA256</code> digest of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html"> Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
650 650 | pub fn get_checksum_sha256(&self) -> &::std::option::Option<::std::string::String> {
|
651 651 | &self.checksum_sha256
|
652 652 | }
|
653 653 | /// <p>The checksum type, which determines how part-level checksums are combined to create an object-level checksum for multipart objects. You can use this header response to verify that the checksum type that is received is the same checksum type that was specified in the <code>CreateMultipartUpload</code> request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
654 654 | pub fn checksum_type(mut self, input: crate::types::ChecksumType) -> Self {
|
655 655 | self.checksum_type = ::std::option::Option::Some(input);
|
656 656 | self
|
657 657 | }
|
658 658 | /// <p>The checksum type, which determines how part-level checksums are combined to create an object-level checksum for multipart objects. You can use this header response to verify that the checksum type that is received is the same checksum type that was specified in the <code>CreateMultipartUpload</code> request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
659 659 | pub fn set_checksum_type(mut self, input: ::std::option::Option<crate::types::ChecksumType>) -> Self {
|