AWS SDK

AWS SDK

rev. c26d7058724dd0bfafdd4903fbdfb18b373ab965

Files changed:

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_bucket_request_payment/builders.rs

@@ -3,3 +63,65 @@
   23     23   
/// Fluent builder constructing a request to `GetBucketRequestPayment`.
   24     24   
///
   25     25   
/// <note>
   26     26   
/// <p>This operation is not supported for directory buckets.</p>
   27     27   
/// </note>
   28     28   
/// <p>Returns the request payment configuration of a bucket. To use this version of the operation, you must be the bucket owner. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html">Requester Pays Buckets</a>.</p>
   29     29   
/// <p>The following operations are related to <code>GetBucketRequestPayment</code>:</p>
   30     30   
/// <ul>
   31     31   
/// <li>
   32     32   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html">ListObjects</a></p></li>
   33         -
/// </ul>
          33  +
/// </ul><important>
          34  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
          35  +
/// </important>
   34     36   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   35     37   
pub struct GetBucketRequestPaymentFluentBuilder {
   36     38   
    handle: ::std::sync::Arc<crate::client::Handle>,
   37     39   
    inner: crate::operation::get_bucket_request_payment::builders::GetBucketRequestPaymentInputBuilder,
   38     40   
    config_override: ::std::option::Option<crate::config::Builder>,
   39     41   
}
   40     42   
impl
   41     43   
    crate::client::customize::internal::CustomizableSend<
   42     44   
        crate::operation::get_bucket_request_payment::GetBucketRequestPaymentOutput,
   43     45   
        crate::operation::get_bucket_request_payment::GetBucketRequestPaymentError,

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_bucket_tagging/builders.rs

@@ -1,1 +75,78 @@
   18     18   
        let mut fluent_builder = client.get_bucket_tagging();
   19     19   
        fluent_builder.inner = self;
   20     20   
        fluent_builder.send().await
   21     21   
    }
   22     22   
}
   23     23   
/// Fluent builder constructing a request to `GetBucketTagging`.
   24     24   
///
   25     25   
/// <note>
   26     26   
/// <p>This operation is not supported for directory buckets.</p>
   27     27   
/// </note>
   28         -
/// <p>Returns the tag set associated with the bucket.</p>
          28  +
/// <p>Returns the tag set associated with the general purpose bucket.</p>
          29  +
/// <p>if ABAC is not enabled for the bucket. When you <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html">enable ABAC for a general purpose bucket</a>, you can no longer use this operation for that bucket and must use <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListTagsForResource.html">ListTagsForResource</a> instead.</p>
   29     30   
/// <p>To use this operation, you must have permission to perform the <code>s3:GetBucketTagging</code> action. By default, the bucket owner has this permission and can grant this permission to others.</p>
   30     31   
/// <p><code>GetBucketTagging</code> has the following special error:</p>
   31     32   
/// <ul>
   32     33   
/// <li>
   33     34   
/// <p>Error code: <code>NoSuchTagSet</code></p>
   34     35   
/// <ul>
   35     36   
/// <li>
   36     37   
/// <p>Description: There is no tag set associated with the bucket.</p></li>
   37     38   
/// </ul></li>
   38     39   
/// </ul>
   39     40   
/// <p>The following operations are related to <code>GetBucketTagging</code>:</p>
   40     41   
/// <ul>
   41     42   
/// <li>
   42     43   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html">PutBucketTagging</a></p></li>
   43     44   
/// <li>
   44     45   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html">DeleteBucketTagging</a></p></li>
   45         -
/// </ul>
          46  +
/// </ul><important>
          47  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
          48  +
/// </important>
   46     49   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   47     50   
pub struct GetBucketTaggingFluentBuilder {
   48     51   
    handle: ::std::sync::Arc<crate::client::Handle>,
   49     52   
    inner: crate::operation::get_bucket_tagging::builders::GetBucketTaggingInputBuilder,
   50     53   
    config_override: ::std::option::Option<crate::config::Builder>,
   51     54   
}
   52     55   
impl
   53     56   
    crate::client::customize::internal::CustomizableSend<
   54     57   
        crate::operation::get_bucket_tagging::GetBucketTaggingOutput,
   55     58   
        crate::operation::get_bucket_tagging::GetBucketTaggingError,

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_bucket_versioning/builders.rs

@@ -9,9 +69,71 @@
   29     29   
/// <p>To retrieve the versioning state of a bucket, you must be the bucket owner.</p>
   30     30   
/// <p>This implementation also returns the MFA Delete status of the versioning state. If the MFA Delete status is <code>enabled</code>, the bucket owner must use an authentication device to change the versioning state of the bucket.</p>
   31     31   
/// <p>The following operations are related to <code>GetBucketVersioning</code>:</p>
   32     32   
/// <ul>
   33     33   
/// <li>
   34     34   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a></p></li>
   35     35   
/// <li>
   36     36   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html">PutObject</a></p></li>
   37     37   
/// <li>
   38     38   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html">DeleteObject</a></p></li>
   39         -
/// </ul>
          39  +
/// </ul><important>
          40  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
          41  +
/// </important>
   40     42   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   41     43   
pub struct GetBucketVersioningFluentBuilder {
   42     44   
    handle: ::std::sync::Arc<crate::client::Handle>,
   43     45   
    inner: crate::operation::get_bucket_versioning::builders::GetBucketVersioningInputBuilder,
   44     46   
    config_override: ::std::option::Option<crate::config::Builder>,
   45     47   
}
   46     48   
impl
   47     49   
    crate::client::customize::internal::CustomizableSend<
   48     50   
        crate::operation::get_bucket_versioning::GetBucketVersioningOutput,
   49     51   
        crate::operation::get_bucket_versioning::GetBucketVersioningError,

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_bucket_website/builders.rs

@@ -6,6 +66,68 @@
   26     26   
/// <p>This operation is not supported for directory buckets.</p>
   27     27   
/// </note>
   28     28   
/// <p>Returns the website configuration for a bucket. To host website on Amazon S3, you can configure a bucket as website by adding a website configuration. For more information about hosting websites, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html">Hosting Websites on Amazon S3</a>.</p>
   29     29   
/// <p>This GET action requires the <code>S3:GetBucketWebsite</code> permission. By default, only the bucket owner can read the bucket website configuration. However, bucket owners can allow other users to read the website configuration by writing a bucket policy granting them the <code>S3:GetBucketWebsite</code> permission.</p>
   30     30   
/// <p>The following operations are related to <code>GetBucketWebsite</code>:</p>
   31     31   
/// <ul>
   32     32   
/// <li>
   33     33   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketWebsite.html">DeleteBucketWebsite</a></p></li>
   34     34   
/// <li>
   35     35   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html">PutBucketWebsite</a></p></li>
   36         -
/// </ul>
          36  +
/// </ul><important>
          37  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
          38  +
/// </important>
   37     39   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   38     40   
pub struct GetBucketWebsiteFluentBuilder {
   39     41   
    handle: ::std::sync::Arc<crate::client::Handle>,
   40     42   
    inner: crate::operation::get_bucket_website::builders::GetBucketWebsiteInputBuilder,
   41     43   
    config_override: ::std::option::Option<crate::config::Builder>,
   42     44   
}
   43     45   
impl
   44     46   
    crate::client::customize::internal::CustomizableSend<
   45     47   
        crate::operation::get_bucket_website::GetBucketWebsiteOutput,
   46     48   
        crate::operation::get_bucket_website::GetBucketWebsiteError,

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_object/_get_object_output.rs

@@ -5,5 +71,71 @@
   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>
@@ -145,145 +217,217 @@
  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>
@@ -567,567 +679,679 @@
  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 {

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_object/builders.rs

@@ -73,73 +133,135 @@
   93     93   
/// <dd>
   94     94   
/// <p><b>Directory buckets </b> - The HTTP Host header syntax is <code> <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
   95     95   
/// </dd>
   96     96   
/// </dl>
   97     97   
/// <p>The following operations are related to <code>GetObject</code>:</p>
   98     98   
/// <ul>
   99     99   
/// <li>
  100    100   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html">ListBuckets</a></p></li>
  101    101   
/// <li>
  102    102   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html">GetObjectAcl</a></p></li>
  103         -
/// </ul>
         103  +
/// </ul><important>
         104  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
         105  +
/// </important>
  104    106   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
  105    107   
pub struct GetObjectFluentBuilder {
  106    108   
    handle: ::std::sync::Arc<crate::client::Handle>,
  107    109   
    inner: crate::operation::get_object::builders::GetObjectInputBuilder,
  108    110   
    config_override: ::std::option::Option<crate::config::Builder>,
  109    111   
}
  110    112   
impl crate::client::customize::internal::CustomizableSend<crate::operation::get_object::GetObjectOutput, crate::operation::get_object::GetObjectError>
  111    113   
    for GetObjectFluentBuilder
  112    114   
{
  113    115   
    fn send(

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_object_acl/_get_object_acl_output.rs

@@ -1,1 +103,103 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
#[allow(missing_docs)] // documentation missing in model
    3      3   
#[non_exhaustive]
    4      4   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
    5      5   
pub struct GetObjectAclOutput {
    6         -
    /// <p>Container for the bucket owner's display name and ID.</p>
           6  +
    /// <p>Container for the bucket owner's ID.</p>
    7      7   
    pub owner: ::std::option::Option<crate::types::Owner>,
    8      8   
    /// <p>A list of grants.</p>
    9      9   
    pub grants: ::std::option::Option<::std::vec::Vec<crate::types::Grant>>,
   10     10   
    /// <p>If present, indicates that the requester was successfully charged for the request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p><note>
   11     11   
    /// <p>This functionality is not supported for directory buckets.</p>
   12     12   
    /// </note>
   13     13   
    pub request_charged: ::std::option::Option<crate::types::RequestCharged>,
   14     14   
    _extended_request_id: Option<String>,
   15     15   
    _request_id: Option<String>,
   16     16   
}
   17     17   
impl GetObjectAclOutput {
   18         -
    /// <p>Container for the bucket owner's display name and ID.</p>
          18  +
    /// <p>Container for the bucket owner's ID.</p>
   19     19   
    pub fn owner(&self) -> ::std::option::Option<&crate::types::Owner> {
   20     20   
        self.owner.as_ref()
   21     21   
    }
   22     22   
    /// <p>A list of grants.</p>
   23     23   
    ///
   24     24   
    /// If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use `.grants.is_none()`.
   25     25   
    pub fn grants(&self) -> &[crate::types::Grant] {
   26     26   
        self.grants.as_deref().unwrap_or_default()
   27     27   
    }
   28     28   
    /// <p>If present, indicates that the requester was successfully charged for the request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysBuckets.html">Using Requester Pays buckets for storage transfers and usage</a> in the <i>Amazon Simple Storage Service user guide</i>.</p><note>
   29     29   
    /// <p>This functionality is not supported for directory buckets.</p>
   30     30   
    /// </note>
   31     31   
    pub fn request_charged(&self) -> ::std::option::Option<&crate::types::RequestCharged> {
   32     32   
        self.request_charged.as_ref()
   33     33   
    }
   34     34   
}
   35     35   
impl crate::s3_request_id::RequestIdExt for GetObjectAclOutput {
   36     36   
    fn extended_request_id(&self) -> Option<&str> {
   37     37   
        self._extended_request_id.as_deref()
   38     38   
    }
   39     39   
}
   40     40   
impl ::aws_types::request_id::RequestId for GetObjectAclOutput {
   41     41   
    fn request_id(&self) -> Option<&str> {
   42     42   
        self._request_id.as_deref()
   43     43   
    }
   44     44   
}
   45     45   
impl GetObjectAclOutput {
   46     46   
    /// Creates a new builder-style object to manufacture [`GetObjectAclOutput`](crate::operation::get_object_acl::GetObjectAclOutput).
   47     47   
    pub fn builder() -> crate::operation::get_object_acl::builders::GetObjectAclOutputBuilder {
   48     48   
        crate::operation::get_object_acl::builders::GetObjectAclOutputBuilder::default()
   49     49   
    }
   50     50   
}
   51     51   
   52     52   
/// A builder for [`GetObjectAclOutput`](crate::operation::get_object_acl::GetObjectAclOutput).
   53     53   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
   54     54   
#[non_exhaustive]
   55     55   
pub struct GetObjectAclOutputBuilder {
   56     56   
    pub(crate) owner: ::std::option::Option<crate::types::Owner>,
   57     57   
    pub(crate) grants: ::std::option::Option<::std::vec::Vec<crate::types::Grant>>,
   58     58   
    pub(crate) request_charged: ::std::option::Option<crate::types::RequestCharged>,
   59     59   
    _extended_request_id: Option<String>,
   60     60   
    _request_id: Option<String>,
   61     61   
}
   62     62   
impl GetObjectAclOutputBuilder {
   63         -
    /// <p>Container for the bucket owner's display name and ID.</p>
          63  +
    /// <p>Container for the bucket owner's ID.</p>
   64     64   
    pub fn owner(mut self, input: crate::types::Owner) -> Self {
   65     65   
        self.owner = ::std::option::Option::Some(input);
   66     66   
        self
   67     67   
    }
   68         -
    /// <p>Container for the bucket owner's display name and ID.</p>
          68  +
    /// <p>Container for the bucket owner's ID.</p>
   69     69   
    pub fn set_owner(mut self, input: ::std::option::Option<crate::types::Owner>) -> Self {
   70     70   
        self.owner = input;
   71     71   
        self
   72     72   
    }
   73         -
    /// <p>Container for the bucket owner's display name and ID.</p>
          73  +
    /// <p>Container for the bucket owner's ID.</p>
   74     74   
    pub fn get_owner(&self) -> &::std::option::Option<crate::types::Owner> {
   75     75   
        &self.owner
   76     76   
    }
   77     77   
    /// Appends an item to `grants`.
   78     78   
    ///
   79     79   
    /// To override the contents of this collection use [`set_grants`](Self::set_grants).
   80     80   
    ///
   81     81   
    /// <p>A list of grants.</p>
   82     82   
    pub fn grants(mut self, input: crate::types::Grant) -> Self {
   83     83   
        let mut v = self.grants.unwrap_or_default();

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_object_acl/builders.rs

@@ -13,13 +73,75 @@
   33     33   
/// <p>The following operations are related to <code>GetObjectAcl</code>:</p>
   34     34   
/// <ul>
   35     35   
/// <li>
   36     36   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a></p></li>
   37     37   
/// <li>
   38     38   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a></p></li>
   39     39   
/// <li>
   40     40   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html">DeleteObject</a></p></li>
   41     41   
/// <li>
   42     42   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html">PutObject</a></p></li>
   43         -
/// </ul>
          43  +
/// </ul><important>
          44  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
          45  +
/// </important>
   44     46   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   45     47   
pub struct GetObjectAclFluentBuilder {
   46     48   
    handle: ::std::sync::Arc<crate::client::Handle>,
   47     49   
    inner: crate::operation::get_object_acl::builders::GetObjectAclInputBuilder,
   48     50   
    config_override: ::std::option::Option<crate::config::Builder>,
   49     51   
}
   50     52   
impl
   51     53   
    crate::client::customize::internal::CustomizableSend<
   52     54   
        crate::operation::get_object_acl::GetObjectAclOutput,
   53     55   
        crate::operation::get_object_acl::GetObjectAclError,

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_object_attributes/builders.rs

@@ -104,104 +164,166 @@
  124    124   
/// <li>
  125    125   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLockConfiguration.html">GetObjectLockConfiguration</a></p></li>
  126    126   
/// <li>
  127    127   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectRetention.html">GetObjectRetention</a></p></li>
  128    128   
/// <li>
  129    129   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html">GetObjectTagging</a></p></li>
  130    130   
/// <li>
  131    131   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html">HeadObject</a></p></li>
  132    132   
/// <li>
  133    133   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html">ListParts</a></p></li>
  134         -
/// </ul>
         134  +
/// </ul><important>
         135  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
         136  +
/// </important>
  135    137   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
  136    138   
pub struct GetObjectAttributesFluentBuilder {
  137    139   
    handle: ::std::sync::Arc<crate::client::Handle>,
  138    140   
    inner: crate::operation::get_object_attributes::builders::GetObjectAttributesInputBuilder,
  139    141   
    config_override: ::std::option::Option<crate::config::Builder>,
  140    142   
}
  141    143   
impl
  142    144   
    crate::client::customize::internal::CustomizableSend<
  143    145   
        crate::operation::get_object_attributes::GetObjectAttributesOutput,
  144    146   
        crate::operation::get_object_attributes::GetObjectAttributesError,

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_object_legal_hold/builders.rs

@@ -4,4 +64,66 @@
   24     24   
///
   25     25   
/// <note>
   26     26   
/// <p>This operation is not supported for directory buckets.</p>
   27     27   
/// </note>
   28     28   
/// <p>Gets an object's current legal hold status. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.</p>
   29     29   
/// <p>This functionality is not supported for Amazon S3 on Outposts.</p>
   30     30   
/// <p>The following action is related to <code>GetObjectLegalHold</code>:</p>
   31     31   
/// <ul>
   32     32   
/// <li>
   33     33   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a></p></li>
   34         -
/// </ul>
          34  +
/// </ul><important>
          35  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
          36  +
/// </important>
   35     37   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   36     38   
pub struct GetObjectLegalHoldFluentBuilder {
   37     39   
    handle: ::std::sync::Arc<crate::client::Handle>,
   38     40   
    inner: crate::operation::get_object_legal_hold::builders::GetObjectLegalHoldInputBuilder,
   39     41   
    config_override: ::std::option::Option<crate::config::Builder>,
   40     42   
}
   41     43   
impl
   42     44   
    crate::client::customize::internal::CustomizableSend<
   43     45   
        crate::operation::get_object_legal_hold::GetObjectLegalHoldOutput,
   44     46   
        crate::operation::get_object_legal_hold::GetObjectLegalHoldError,

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_object_lock_configuration/builders.rs

@@ -3,3 +63,65 @@
   23     23   
/// Fluent builder constructing a request to `GetObjectLockConfiguration`.
   24     24   
///
   25     25   
/// <note>
   26     26   
/// <p>This operation is not supported for directory buckets.</p>
   27     27   
/// </note>
   28     28   
/// <p>Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.</p>
   29     29   
/// <p>The following action is related to <code>GetObjectLockConfiguration</code>:</p>
   30     30   
/// <ul>
   31     31   
/// <li>
   32     32   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a></p></li>
   33         -
/// </ul>
          33  +
/// </ul><important>
          34  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
          35  +
/// </important>
   34     36   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   35     37   
pub struct GetObjectLockConfigurationFluentBuilder {
   36     38   
    handle: ::std::sync::Arc<crate::client::Handle>,
   37     39   
    inner: crate::operation::get_object_lock_configuration::builders::GetObjectLockConfigurationInputBuilder,
   38     40   
    config_override: ::std::option::Option<crate::config::Builder>,
   39     41   
}
   40     42   
impl
   41     43   
    crate::client::customize::internal::CustomizableSend<
   42     44   
        crate::operation::get_object_lock_configuration::GetObjectLockConfigurationOutput,
   43     45   
        crate::operation::get_object_lock_configuration::GetObjectLockConfigurationError,

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_object_retention/builders.rs

@@ -4,4 +64,66 @@
   24     24   
///
   25     25   
/// <note>
   26     26   
/// <p>This operation is not supported for directory buckets.</p>
   27     27   
/// </note>
   28     28   
/// <p>Retrieves an object's retention settings. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking Objects</a>.</p>
   29     29   
/// <p>This functionality is not supported for Amazon S3 on Outposts.</p>
   30     30   
/// <p>The following action is related to <code>GetObjectRetention</code>:</p>
   31     31   
/// <ul>
   32     32   
/// <li>
   33     33   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a></p></li>
   34         -
/// </ul>
          34  +
/// </ul><important>
          35  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
          36  +
/// </important>
   35     37   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   36     38   
pub struct GetObjectRetentionFluentBuilder {
   37     39   
    handle: ::std::sync::Arc<crate::client::Handle>,
   38     40   
    inner: crate::operation::get_object_retention::builders::GetObjectRetentionInputBuilder,
   39     41   
    config_override: ::std::option::Option<crate::config::Builder>,
   40     42   
}
   41     43   
impl
   42     44   
    crate::client::customize::internal::CustomizableSend<
   43     45   
        crate::operation::get_object_retention::GetObjectRetentionOutput,
   44     46   
        crate::operation::get_object_retention::GetObjectRetentionError,

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_object_tagging/builders.rs

@@ -10,10 +70,72 @@
   30     30   
/// <p>By default, the bucket owner has this permission and can grant this permission to others.</p>
   31     31   
/// <p>For information about the Amazon S3 object tagging feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html">Object Tagging</a>.</p>
   32     32   
/// <p>The following actions are related to <code>GetObjectTagging</code>:</p>
   33     33   
/// <ul>
   34     34   
/// <li>
   35     35   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html">DeleteObjectTagging</a></p></li>
   36     36   
/// <li>
   37     37   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html">GetObjectAttributes</a></p></li>
   38     38   
/// <li>
   39     39   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html">PutObjectTagging</a></p></li>
   40         -
/// </ul>
          40  +
/// </ul><important>
          41  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
          42  +
/// </important>
   41     43   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   42     44   
pub struct GetObjectTaggingFluentBuilder {
   43     45   
    handle: ::std::sync::Arc<crate::client::Handle>,
   44     46   
    inner: crate::operation::get_object_tagging::builders::GetObjectTaggingInputBuilder,
   45     47   
    config_override: ::std::option::Option<crate::config::Builder>,
   46     48   
}
   47     49   
impl
   48     50   
    crate::client::customize::internal::CustomizableSend<
   49     51   
        crate::operation::get_object_tagging::GetObjectTaggingOutput,
   50     52   
        crate::operation::get_object_tagging::GetObjectTaggingError,

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_object_torrent/builders.rs

@@ -7,7 +67,69 @@
   27     27   
/// </note>
   28     28   
/// <p>Returns torrent files from a bucket. BitTorrent can save you bandwidth when you're distributing large files.</p><note>
   29     29   
/// <p>You can get torrent only for objects that are less than 5 GB in size, and that are not encrypted using server-side encryption with a customer-provided encryption key.</p>
   30     30   
/// </note>
   31     31   
/// <p>To use GET, you must have READ access to the object.</p>
   32     32   
/// <p>This functionality is not supported for Amazon S3 on Outposts.</p>
   33     33   
/// <p>The following action is related to <code>GetObjectTorrent</code>:</p>
   34     34   
/// <ul>
   35     35   
/// <li>
   36     36   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a></p></li>
   37         -
/// </ul>
          37  +
/// </ul><important>
          38  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
          39  +
/// </important>
   38     40   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   39     41   
pub struct GetObjectTorrentFluentBuilder {
   40     42   
    handle: ::std::sync::Arc<crate::client::Handle>,
   41     43   
    inner: crate::operation::get_object_torrent::builders::GetObjectTorrentInputBuilder,
   42     44   
    config_override: ::std::option::Option<crate::config::Builder>,
   43     45   
}
   44     46   
impl
   45     47   
    crate::client::customize::internal::CustomizableSend<
   46     48   
        crate::operation::get_object_torrent::GetObjectTorrentOutput,
   47     49   
        crate::operation::get_object_torrent::GetObjectTorrentError,

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_public_access_block/builders.rs

@@ -1,1 +72,74 @@
   18     18   
        let mut fluent_builder = client.get_public_access_block();
   19     19   
        fluent_builder.inner = self;
   20     20   
        fluent_builder.send().await
   21     21   
    }
   22     22   
}
   23     23   
/// Fluent builder constructing a request to `GetPublicAccessBlock`.
   24     24   
///
   25     25   
/// <note>
   26     26   
/// <p>This operation is not supported for directory buckets.</p>
   27     27   
/// </note>
   28         -
/// <p>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon S3 bucket. To use this operation, you must have the <code>s3:GetBucketPublicAccessBlock</code> permission. For more information about Amazon S3 permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions in a Policy</a>.</p><important>
   29         -
/// <p>When Amazon S3 evaluates the <code>PublicAccessBlock</code> configuration for a bucket or an object, it checks the <code>PublicAccessBlock</code> configuration for both the bucket (or the bucket that contains the object) and the bucket owner's account. If the <code>PublicAccessBlock</code> settings are different between the bucket and the account, Amazon S3 uses the most restrictive combination of the bucket-level and account-level settings.</p>
          28  +
/// <p>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon S3 bucket. This operation returns the bucket-level configuration only. To understand the effective public access behavior, you must also consider account-level settings (which may inherit from organization-level policies). To use this operation, you must have the <code>s3:GetBucketPublicAccessBlock</code> permission. For more information about Amazon S3 permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions in a Policy</a>.</p><important>
          29  +
/// <p>When Amazon S3 evaluates the <code>PublicAccessBlock</code> configuration for a bucket or an object, it checks the <code>PublicAccessBlock</code> configuration for both the bucket (or the bucket that contains the object) and the bucket owner's account. Account-level settings automatically inherit from organization-level policies when present. If the <code>PublicAccessBlock</code> settings are different between the bucket and the account, Amazon S3 uses the most restrictive combination of the bucket-level and account-level settings.</p>
   30     30   
/// </important>
   31     31   
/// <p>For more information about when Amazon S3 considers a bucket or an object public, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status">The Meaning of "Public"</a>.</p>
   32     32   
/// <p>The following operations are related to <code>GetPublicAccessBlock</code>:</p>
   33     33   
/// <ul>
   34     34   
/// <li>
   35     35   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html">Using Amazon S3 Block Public Access</a></p></li>
   36     36   
/// <li>
   37     37   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html">PutPublicAccessBlock</a></p></li>
   38     38   
/// <li>
   39     39   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html">GetPublicAccessBlock</a></p></li>
   40     40   
/// <li>
   41     41   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html">DeletePublicAccessBlock</a></p></li>
   42         -
/// </ul>
          42  +
/// </ul><important>
          43  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
          44  +
/// </important>
   43     45   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   44     46   
pub struct GetPublicAccessBlockFluentBuilder {
   45     47   
    handle: ::std::sync::Arc<crate::client::Handle>,
   46     48   
    inner: crate::operation::get_public_access_block::builders::GetPublicAccessBlockInputBuilder,
   47     49   
    config_override: ::std::option::Option<crate::config::Builder>,
   48     50   
}
   49     51   
impl
   50     52   
    crate::client::customize::internal::CustomizableSend<
   51     53   
        crate::operation::get_public_access_block::GetPublicAccessBlockOutput,
   52     54   
        crate::operation::get_public_access_block::GetPublicAccessBlockError,

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/head_bucket/builders.rs

@@ -1,1 +88,90 @@
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   16     16   
        >,
   17     17   
    > {
   18     18   
        let mut fluent_builder = client.head_bucket();
   19     19   
        fluent_builder.inner = self;
   20     20   
        fluent_builder.send().await
   21     21   
    }
   22     22   
}
   23     23   
/// Fluent builder constructing a request to `HeadBucket`.
   24     24   
///
   25         -
/// <p>You can use this operation to determine if a bucket exists and if you have permission to access it. The action returns a <code>200 OK</code> if the bucket exists and you have permission to access it.</p><note>
   26         -
/// <p>If the bucket does not exist or you do not have permission to access it, the <code>HEAD</code> request returns a generic <code>400 Bad Request</code>, <code>403 Forbidden</code> or <code>404 Not Found</code> code. A message body is not included, so you cannot determine the exception beyond these HTTP response codes.</p>
          25  +
/// <p>You can use this operation to determine if a bucket exists and if you have permission to access it. The action returns a <code>200 OK</code> HTTP status code if the bucket exists and you have permission to access it. You can make a <code>HeadBucket</code> call on any bucket name to any Region in the partition, and regardless of the permissions on the bucket, you will receive a response header with the correct bucket location so that you can then make a proper, signed request to the appropriate Regional endpoint.</p><note>
          26  +
/// <p>If the bucket doesn't exist or you don't have permission to access it, the <code>HEAD</code> request returns a generic <code>400 Bad Request</code>, <code>403 Forbidden</code>, or <code>404 Not Found</code> HTTP status code. A message body isn't included, so you can't determine the exception beyond these HTTP response codes.</p>
   27     27   
/// </note>
   28     28   
/// <dl>
   29     29   
/// <dt>
   30     30   
/// Authentication and authorization
   31     31   
/// </dt>
   32     32   
/// <dd>
   33     33   
/// <p><b>General purpose buckets</b> - Request to public buckets that grant the s3:ListBucket permission publicly do not need to be signed. All other <code>HeadBucket</code> requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the <code>x-amz-</code> prefix, including <code>x-amz-copy-source</code>, must be signed. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html">REST Authentication</a>.</p>
   34     34   
/// <p><b>Directory buckets</b> - You must use IAM credentials to authenticate and authorize your access to the <code>HeadBucket</code> API operation, instead of using the temporary security credentials through the <code>CreateSession</code> API operation.</p>
   35     35   
/// <p>Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.</p>
   36     36   
/// </dd>
   37     37   
/// <dt>
   38     38   
/// Permissions
   39     39   
/// </dt>
   40     40   
/// <dd>
   41     41   
/// <p></p>
   42     42   
/// <ul>
   43     43   
/// <li>
   44     44   
/// <p><b>General purpose bucket permissions</b> - To use this operation, you must have permissions to perform the <code>s3:ListBucket</code> action. The bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing access permissions to your Amazon S3 resources</a> in the <i>Amazon S3 User Guide</i>.</p></li>
   45     45   
/// <li>
   46     46   
/// <p><b>Directory bucket permissions</b> - You must have the <b> <code>s3express:CreateSession</code> </b> permission in the <code>Action</code> element of a policy. By default, the session is in the <code>ReadWrite</code> mode. If you want to restrict the access, you can explicitly set the <code>s3express:SessionMode</code> condition key to <code>ReadOnly</code> on the bucket.</p>
   47     47   
/// <p>For more information about example bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html">Example bucket policies for S3 Express One Zone</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html">Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p></li>
   48     48   
/// </ul>
   49     49   
/// </dd>
   50     50   
/// <dt>
   51     51   
/// HTTP Host header syntax
   52     52   
/// </dt>
   53     53   
/// <dd>
   54     54   
/// <p><b>Directory buckets </b> - The HTTP Host header syntax is <code> <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p><note>
   55     55   
/// <p>You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the <i>Amazon S3 User Guide</i>.</p>
   56     56   
/// </note>
   57     57   
/// </dd>
   58         -
/// </dl>
          58  +
/// </dl><important>
          59  +
/// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
          60  +
/// </important>
   59     61   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   60     62   
pub struct HeadBucketFluentBuilder {
   61     63   
    handle: ::std::sync::Arc<crate::client::Handle>,
   62     64   
    inner: crate::operation::head_bucket::builders::HeadBucketInputBuilder,
   63     65   
    config_override: ::std::option::Option<crate::config::Builder>,
   64     66   
}
   65     67   
impl
   66     68   
    crate::client::customize::internal::CustomizableSend<
   67     69   
        crate::operation::head_bucket::HeadBucketOutput,
   68     70   
        crate::operation::head_bucket::HeadBucketError,