AWS SDK

AWS SDK

rev. 8cf043b2869c0ba885f80c306af9da3854f52bb7 (ignoring whitespace)

Files changed:

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

@@ -9,9 +69,71 @@
   29     29   
/// <p>To use this operation, you must have permissions to perform the <code>s3:GetAnalyticsConfiguration</code> action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources"> Permissions Related to Bucket Subresource Operations</a> and <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>
   30     30   
/// <p>For information about Amazon S3 analytics feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/analytics-storage-class.html">Amazon S3 Analytics – Storage Class Analysis</a> in the <i>Amazon S3 User Guide</i>.</p>
   31     31   
/// <p>The following operations are related to <code>GetBucketAnalyticsConfiguration</code>:</p>
   32     32   
/// <ul>
   33     33   
/// <li>
   34     34   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html">DeleteBucketAnalyticsConfiguration</a></p></li>
   35     35   
/// <li>
   36     36   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketAnalyticsConfigurations.html">ListBucketAnalyticsConfigurations</a></p></li>
   37     37   
/// <li>
   38     38   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html">PutBucketAnalyticsConfiguration</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 GetBucketAnalyticsConfigurationFluentBuilder {
   42     44   
    handle: ::std::sync::Arc<crate::client::Handle>,
   43     45   
    inner: crate::operation::get_bucket_analytics_configuration::builders::GetBucketAnalyticsConfigurationInputBuilder,
   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_analytics_configuration::GetBucketAnalyticsConfigurationOutput,
   49     51   
        crate::operation::get_bucket_analytics_configuration::GetBucketAnalyticsConfigurationError,

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

@@ -9,9 +69,71 @@
   29     29   
/// <p>To use this operation, you must have permission to perform the <code>s3:GetBucketCORS</code> action. By default, the bucket owner has this permission and can grant it to others.</p>
   30     30   
/// <p>When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.</p>
   31     31   
/// <p>When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code <code>InvalidAccessPointAliasError</code> is returned. For more information about <code>InvalidAccessPointAliasError</code>, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List of Error Codes</a>.</p>
   32     32   
/// <p>For more information about CORS, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html"> Enabling Cross-Origin Resource Sharing</a>.</p>
   33     33   
/// <p>The following operations are related to <code>GetBucketCors</code>:</p>
   34     34   
/// <ul>
   35     35   
/// <li>
   36     36   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketCors.html">PutBucketCors</a></p></li>
   37     37   
/// <li>
   38     38   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketCors.html">DeleteBucketCors</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 GetBucketCorsFluentBuilder {
   42     44   
    handle: ::std::sync::Arc<crate::client::Handle>,
   43     45   
    inner: crate::operation::get_bucket_cors::builders::GetBucketCorsInputBuilder,
   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_cors::GetBucketCorsOutput,
   49     51   
        crate::operation::get_bucket_cors::GetBucketCorsError,

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_bucket_encryption/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.get_bucket_encryption();
   19     19   
        fluent_builder.inner = self;
   20     20   
        fluent_builder.send().await
   21     21   
    }
   22     22   
}
   23     23   
/// Fluent builder constructing a request to `GetBucketEncryption`.
   24     24   
///
   25         -
/// <p>Returns the default encryption configuration for an Amazon S3 bucket. By default, all buckets have a default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3).</p><note>
          25  +
/// <p>Returns the default encryption configuration for an Amazon S3 bucket. By default, all buckets have a default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). This operation also returns the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ServerSideEncryptionRule.html#AmazonS3-Type-ServerSideEncryptionRule-BucketKeyEnabled">BucketKeyEnabled</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ServerSideEncryptionRule.html#AmazonS3-Type-ServerSideEncryptionRule-BlockedEncryptionTypes">BlockedEncryptionTypes</a> statuses.</p><note>
   26     26   
/// <ul>
   27     27   
/// <li>
   28         -
/// <p><b>General purpose buckets</b> - For information about the bucket default encryption feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 Bucket Default Encryption</a> in the <i>Amazon S3 User Guide</i>.</p></li>
          28  +
/// <p><b>General purpose buckets</b> - For information about the bucket default encryption feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html">Amazon S3 Bucket Default Encryption</a> in the <i>Amazon S3 User Guide</i>.</p></li>
   29     29   
/// <li>
   30     30   
/// <p><b>Directory buckets</b> - For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. For information about the default encryption configuration in directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-bucket-encryption.html">Setting default server-side encryption behavior for directory buckets</a>.</p></li>
   31     31   
/// </ul>
   32     32   
/// </note>
   33     33   
/// <dl>
   34     34   
/// <dt>
   35     35   
/// Permissions
   36     36   
/// </dt>
   37     37   
/// <dd>
   38     38   
/// <ul>
   39     39   
/// <li>
   40     40   
/// <p><b>General purpose bucket permissions</b> - The <code>s3:GetEncryptionConfiguration</code> permission is required in a policy. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing Access Permissions to Your Amazon S3 Resources</a>.</p></li>
   41     41   
/// <li>
   42     42   
/// <p><b>Directory bucket permissions</b> - To grant access to this API operation, you must have the <code>s3express:GetEncryptionConfiguration</code> permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p></li>
   43     43   
/// </ul>
   44     44   
/// </dd>
   45     45   
/// <dt>
   46     46   
/// HTTP Host header syntax
   47     47   
/// </dt>
   48     48   
/// <dd>
   49     49   
/// <p><b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
   50     50   
/// </dd>
   51     51   
/// </dl>
   52     52   
/// <p>The following operations are related to <code>GetBucketEncryption</code>:</p>
   53     53   
/// <ul>
   54     54   
/// <li>
   55     55   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html">PutBucketEncryption</a></p></li>
   56     56   
/// <li>
   57     57   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html">DeleteBucketEncryption</a></p></li>
   58         -
/// </ul>
          58  +
/// </ul><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 GetBucketEncryptionFluentBuilder {
   61     63   
    handle: ::std::sync::Arc<crate::client::Handle>,
   62     64   
    inner: crate::operation::get_bucket_encryption::builders::GetBucketEncryptionInputBuilder,
   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::get_bucket_encryption::GetBucketEncryptionOutput,
   68     70   
        crate::operation::get_bucket_encryption::GetBucketEncryptionError,

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

@@ -10,10 +70,72 @@
   30     30   
/// <p>The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.</p>
   31     31   
/// <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access">Storage class for automatically optimizing frequently and infrequently accessed objects</a>.</p>
   32     32   
/// <p>Operations related to <code>GetBucketIntelligentTieringConfiguration</code> include:</p>
   33     33   
/// <ul>
   34     34   
/// <li>
   35     35   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html">DeleteBucketIntelligentTieringConfiguration</a></p></li>
   36     36   
/// <li>
   37     37   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html">PutBucketIntelligentTieringConfiguration</a></p></li>
   38     38   
/// <li>
   39     39   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html">ListBucketIntelligentTieringConfigurations</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 GetBucketIntelligentTieringConfigurationFluentBuilder {
   43     45   
    handle: ::std::sync::Arc<crate::client::Handle>,
   44     46   
    inner: crate::operation::get_bucket_intelligent_tiering_configuration::builders::GetBucketIntelligentTieringConfigurationInputBuilder,
   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_bucket_intelligent_tiering_configuration::GetBucketIntelligentTieringConfigurationOutput,
   50     52   
        crate::operation::get_bucket_intelligent_tiering_configuration::GetBucketIntelligentTieringConfigurationError,

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

@@ -9,9 +69,71 @@
   29     29   
/// <p>To use this operation, you must have permissions to perform the <code>s3:GetInventoryConfiguration</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/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing Access Permissions to Your Amazon S3 Resources</a>.</p>
   30     30   
/// <p>For information about the Amazon S3 inventory feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html">Amazon S3 Inventory</a>.</p>
   31     31   
/// <p>The following operations are related to <code>GetBucketInventoryConfiguration</code>:</p>
   32     32   
/// <ul>
   33     33   
/// <li>
   34     34   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketInventoryConfiguration.html">DeleteBucketInventoryConfiguration</a></p></li>
   35     35   
/// <li>
   36     36   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html">ListBucketInventoryConfigurations</a></p></li>
   37     37   
/// <li>
   38     38   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html">PutBucketInventoryConfiguration</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 GetBucketInventoryConfigurationFluentBuilder {
   42     44   
    handle: ::std::sync::Arc<crate::client::Handle>,
   43     45   
    inner: crate::operation::get_bucket_inventory_configuration::builders::GetBucketInventoryConfigurationInputBuilder,
   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_inventory_configuration::GetBucketInventoryConfigurationOutput,
   49     51   
        crate::operation::get_bucket_inventory_configuration::GetBucketInventoryConfigurationError,

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

@@ -45,45 +105,107 @@
   65     65   
/// </ul></li>
   66     66   
/// </ul>
   67     67   
/// <p>The following operations are related to <code>GetBucketLifecycleConfiguration</code>:</p>
   68     68   
/// <ul>
   69     69   
/// <li>
   70     70   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycle.html">GetBucketLifecycle</a></p></li>
   71     71   
/// <li>
   72     72   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a></p></li>
   73     73   
/// <li>
   74     74   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html">DeleteBucketLifecycle</a></p></li>
   75         -
/// </ul>
          75  +
/// </ul><important>
          76  +
/// <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>
          77  +
/// </important>
   76     78   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   77     79   
pub struct GetBucketLifecycleConfigurationFluentBuilder {
   78     80   
    handle: ::std::sync::Arc<crate::client::Handle>,
   79     81   
    inner: crate::operation::get_bucket_lifecycle_configuration::builders::GetBucketLifecycleConfigurationInputBuilder,
   80     82   
    config_override: ::std::option::Option<crate::config::Builder>,
   81     83   
}
   82     84   
impl
   83     85   
    crate::client::customize::internal::CustomizableSend<
   84     86   
        crate::operation::get_bucket_lifecycle_configuration::GetBucketLifecycleConfigurationOutput,
   85     87   
        crate::operation::get_bucket_lifecycle_configuration::GetBucketLifecycleConfigurationError,

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

@@ -1,1 +69,73 @@
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   16     16   
        >,
   17     17   
    > {
   18     18   
        let mut fluent_builder = client.get_bucket_location();
   19     19   
        fluent_builder.inner = self;
   20     20   
        fluent_builder.send().await
   21     21   
    }
   22     22   
}
   23     23   
/// Fluent builder constructing a request to `GetBucketLocation`.
   24     24   
///
   25         -
/// <note>
   26         -
/// <p>This operation is not supported for directory buckets.</p>
          25  +
/// <important>
          26  +
/// <p>Using the <code>GetBucketLocation</code> operation is no longer a best practice. To return the Region that a bucket resides in, we recommend that you use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html">HeadBucket</a> operation instead. For backward compatibility, Amazon S3 continues to support the <code>GetBucketLocation</code> operation.</p>
          27  +
/// </important>
          28  +
/// <p>Returns the Region the bucket resides in. You set the bucket's Region using the <code>LocationConstraint</code> request parameter in a <code>CreateBucket</code> request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html">CreateBucket</a>.</p><note>
          29  +
/// <p>In a bucket's home Region, calls to the <code>GetBucketLocation</code> operation are governed by the bucket's policy. In other Regions, the bucket policy doesn't apply, which means that cross-account access won't be authorized. However, calls to the <code>HeadBucket</code> operation always return the bucket’s location through an HTTP response header, whether access to the bucket is authorized or not. Therefore, we recommend using the <code>HeadBucket</code> operation for bucket Region discovery and to avoid using the <code>GetBucketLocation</code> operation.</p>
   27     30   
/// </note>
   28         -
/// <p>Returns the Region the bucket resides in. You set the bucket's Region using the <code>LocationConstraint</code> request parameter in a <code>CreateBucket</code> request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html">CreateBucket</a>.</p>
   29     31   
/// <p>When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.</p>
   30     32   
/// <p>When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code <code>InvalidAccessPointAliasError</code> is returned. For more information about <code>InvalidAccessPointAliasError</code>, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List of Error Codes</a>.</p><note>
   31         -
/// <p>We recommend that you use <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html">HeadBucket</a> to return the Region that a bucket resides in. For backward compatibility, Amazon S3 continues to support GetBucketLocation.</p>
          33  +
/// <p>This operation is not supported for directory buckets.</p>
   32     34   
/// </note>
   33     35   
/// <p>The following operations are related to <code>GetBucketLocation</code>:</p>
   34     36   
/// <ul>
   35     37   
/// <li>
   36     38   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a></p></li>
   37     39   
/// <li>
   38     40   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html">CreateBucket</a></p></li>
   39         -
/// </ul>
          41  +
/// </ul><important>
          42  +
/// <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>
          43  +
/// </important>
   40     44   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   41     45   
pub struct GetBucketLocationFluentBuilder {
   42     46   
    handle: ::std::sync::Arc<crate::client::Handle>,
   43     47   
    inner: crate::operation::get_bucket_location::builders::GetBucketLocationInputBuilder,
   44     48   
    config_override: ::std::option::Option<crate::config::Builder>,
   45     49   
}
   46     50   
impl
   47     51   
    crate::client::customize::internal::CustomizableSend<
   48     52   
        crate::operation::get_bucket_location::GetBucketLocationOutput,
   49     53   
        crate::operation::get_bucket_location::GetBucketLocationError,

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

@@ -1,1 +68,67 @@
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   16     16   
        >,
   17     17   
    > {
   18     18   
        let mut fluent_builder = client.get_bucket_logging();
   19     19   
        fluent_builder.inner = self;
   20     20   
        fluent_builder.send().await
   21     21   
    }
   22     22   
}
   23     23   
/// Fluent builder constructing a request to `GetBucketLogging`.
   24     24   
///
   25         -
/// <important>
   26         -
/// <p>End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning <code>DisplayName</code>. Update your applications to use canonical IDs (unique identifier for Amazon Web Services accounts), Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full resource naming) as a direct replacement of <code>DisplayName</code>.</p>
   27         -
/// <p>This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.</p>
   28         -
/// </important> <note>
          25  +
/// <note>
   29     26   
/// <p>This operation is not supported for directory buckets.</p>
   30     27   
/// </note>
   31     28   
/// <p>Returns the logging status of a bucket and the permissions users have to view and modify that status.</p>
   32     29   
/// <p>The following operations are related to <code>GetBucketLogging</code>:</p>
   33     30   
/// <ul>
   34     31   
/// <li>
   35     32   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html">CreateBucket</a></p></li>
   36     33   
/// <li>
   37     34   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLogging.html">PutBucketLogging</a></p></li>
   38         -
/// </ul>
          35  +
/// </ul><important>
          36  +
/// <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>
          37  +
/// </important>
   39     38   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   40     39   
pub struct GetBucketLoggingFluentBuilder {
   41     40   
    handle: ::std::sync::Arc<crate::client::Handle>,
   42     41   
    inner: crate::operation::get_bucket_logging::builders::GetBucketLoggingInputBuilder,
   43     42   
    config_override: ::std::option::Option<crate::config::Builder>,
   44     43   
}
   45     44   
impl
   46     45   
    crate::client::customize::internal::CustomizableSend<
   47     46   
        crate::operation::get_bucket_logging::GetBucketLoggingOutput,
   48     47   
        crate::operation::get_bucket_logging::GetBucketLoggingError,

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

@@ -18,18 +78,80 @@
   38     38   
/// <p>The following operations are related to <code>GetBucketMetadataConfiguration</code>:</p>
   39     39   
/// <ul>
   40     40   
/// <li>
   41     41   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html">CreateBucketMetadataConfiguration</a></p></li>
   42     42   
/// <li>
   43     43   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetadataConfiguration.html">DeleteBucketMetadataConfiguration</a></p></li>
   44     44   
/// <li>
   45     45   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataInventoryTableConfiguration.html">UpdateBucketMetadataInventoryTableConfiguration</a></p></li>
   46     46   
/// <li>
   47     47   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataJournalTableConfiguration.html">UpdateBucketMetadataJournalTableConfiguration</a></p></li>
   48         -
/// </ul>
          48  +
/// </ul><important>
          49  +
/// <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>
          50  +
/// </important>
   49     51   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   50     52   
pub struct GetBucketMetadataConfigurationFluentBuilder {
   51     53   
    handle: ::std::sync::Arc<crate::client::Handle>,
   52     54   
    inner: crate::operation::get_bucket_metadata_configuration::builders::GetBucketMetadataConfigurationInputBuilder,
   53     55   
    config_override: ::std::option::Option<crate::config::Builder>,
   54     56   
}
   55     57   
impl
   56     58   
    crate::client::customize::internal::CustomizableSend<
   57     59   
        crate::operation::get_bucket_metadata_configuration::GetBucketMetadataConfigurationOutput,
   58     60   
        crate::operation::get_bucket_metadata_configuration::GetBucketMetadataConfigurationError,

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

@@ -17,17 +77,79 @@
   37     37   
/// <dd>
   38     38   
/// <p>To use this operation, you must have the <code>s3:GetBucketMetadataTableConfiguration</code> permission. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html">Setting up permissions for configuring metadata tables</a> in the <i>Amazon S3 User Guide</i>.</p>
   39     39   
/// </dd>
   40     40   
/// </dl>
   41     41   
/// <p>The following operations are related to <code>GetBucketMetadataTableConfiguration</code>:</p>
   42     42   
/// <ul>
   43     43   
/// <li>
   44     44   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataTableConfiguration.html">CreateBucketMetadataTableConfiguration</a></p></li>
   45     45   
/// <li>
   46     46   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetadataTableConfiguration.html">DeleteBucketMetadataTableConfiguration</a></p></li>
   47         -
/// </ul>
          47  +
/// </ul><important>
          48  +
/// <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>
          49  +
/// </important>
   48     50   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   49     51   
pub struct GetBucketMetadataTableConfigurationFluentBuilder {
   50     52   
    handle: ::std::sync::Arc<crate::client::Handle>,
   51     53   
    inner: crate::operation::get_bucket_metadata_table_configuration::builders::GetBucketMetadataTableConfigurationInputBuilder,
   52     54   
    config_override: ::std::option::Option<crate::config::Builder>,
   53     55   
}
   54     56   
impl
   55     57   
    crate::client::customize::internal::CustomizableSend<
   56     58   
        crate::operation::get_bucket_metadata_table_configuration::GetBucketMetadataTableConfigurationOutput,
   57     59   
        crate::operation::get_bucket_metadata_table_configuration::GetBucketMetadataTableConfigurationError,

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

@@ -11,11 +71,73 @@
   31     31   
/// <p>The following operations are related to <code>GetBucketMetricsConfiguration</code>:</p>
   32     32   
/// <ul>
   33     33   
/// <li>
   34     34   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html">PutBucketMetricsConfiguration</a></p></li>
   35     35   
/// <li>
   36     36   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html">DeleteBucketMetricsConfiguration</a></p></li>
   37     37   
/// <li>
   38     38   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html">ListBucketMetricsConfigurations</a></p></li>
   39     39   
/// <li>
   40     40   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html">Monitoring Metrics with Amazon CloudWatch</a></p></li>
   41         -
/// </ul>
          41  +
/// </ul><important>
          42  +
/// <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>
          43  +
/// </important>
   42     44   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   43     45   
pub struct GetBucketMetricsConfigurationFluentBuilder {
   44     46   
    handle: ::std::sync::Arc<crate::client::Handle>,
   45     47   
    inner: crate::operation::get_bucket_metrics_configuration::builders::GetBucketMetricsConfigurationInputBuilder,
   46     48   
    config_override: ::std::option::Option<crate::config::Builder>,
   47     49   
}
   48     50   
impl
   49     51   
    crate::client::customize::internal::CustomizableSend<
   50     52   
        crate::operation::get_bucket_metrics_configuration::GetBucketMetricsConfigurationOutput,
   51     53   
        crate::operation::get_bucket_metrics_configuration::GetBucketMetricsConfigurationError,

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

@@ -8,8 +68,70 @@
   28     28   
/// <p>Returns the notification configuration of a bucket.</p>
   29     29   
/// <p>If notifications are not enabled on the bucket, the action returns an empty <code>NotificationConfiguration</code> element.</p>
   30     30   
/// <p>By default, you must be the bucket owner to read the notification configuration of a bucket. However, the bucket owner can use a bucket policy to grant permission to other users to read this configuration with the <code>s3:GetBucketNotification</code> permission.</p>
   31     31   
/// <p>When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.</p>
   32     32   
/// <p>When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code <code>InvalidAccessPointAliasError</code> is returned. For more information about <code>InvalidAccessPointAliasError</code>, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List of Error Codes</a>.</p>
   33     33   
/// <p>For more information about setting and reading the notification configuration on a bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Setting Up Notification of Bucket Events</a>. For more information about bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies</a>.</p>
   34     34   
/// <p>The following action is related to <code>GetBucketNotification</code>:</p>
   35     35   
/// <ul>
   36     36   
/// <li>
   37     37   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketNotification.html">PutBucketNotification</a></p></li>
   38         -
/// </ul>
          38  +
/// </ul><important>
          39  +
/// <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>
          40  +
/// </important>
   39     41   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   40     42   
pub struct GetBucketNotificationConfigurationFluentBuilder {
   41     43   
    handle: ::std::sync::Arc<crate::client::Handle>,
   42     44   
    inner: crate::operation::get_bucket_notification_configuration::builders::GetBucketNotificationConfigurationInputBuilder,
   43     45   
    config_override: ::std::option::Option<crate::config::Builder>,
   44     46   
}
   45     47   
impl
   46     48   
    crate::client::customize::internal::CustomizableSend<
   47     49   
        crate::operation::get_bucket_notification_configuration::GetBucketNotificationConfigurationOutput,
   48     50   
        crate::operation::get_bucket_notification_configuration::GetBucketNotificationConfigurationError,

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

@@ -15,15 +75,77 @@
   35     35   
/// </ul>
   36     36   
/// <p>By default, Amazon S3 sets <code>OwnershipControls</code> for all newly created buckets.</p>
   37     37   
/// </note>
   38     38   
/// <p>For information about Amazon S3 Object Ownership, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html">Using Object Ownership</a>.</p>
   39     39   
/// <p>The following operations are related to <code>GetBucketOwnershipControls</code>:</p>
   40     40   
/// <ul>
   41     41   
/// <li>
   42     42   
/// <p><code>PutBucketOwnershipControls</code></p></li>
   43     43   
/// <li>
   44     44   
/// <p><code>DeleteBucketOwnershipControls</code></p></li>
   45         -
/// </ul>
          45  +
/// </ul><important>
          46  +
/// <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>
          47  +
/// </important>
   46     48   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   47     49   
pub struct GetBucketOwnershipControlsFluentBuilder {
   48     50   
    handle: ::std::sync::Arc<crate::client::Handle>,
   49     51   
    inner: crate::operation::get_bucket_ownership_controls::builders::GetBucketOwnershipControlsInputBuilder,
   50     52   
    config_override: ::std::option::Option<crate::config::Builder>,
   51     53   
}
   52     54   
impl
   53     55   
    crate::client::customize::internal::CustomizableSend<
   54     56   
        crate::operation::get_bucket_ownership_controls::GetBucketOwnershipControlsOutput,
   55     57   
        crate::operation::get_bucket_ownership_controls::GetBucketOwnershipControlsError,

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

@@ -32,32 +92,94 @@
   52     52   
/// HTTP Host header syntax
   53     53   
/// </dt>
   54     54   
/// <dd>
   55     55   
/// <p><b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region-code</i>.amazonaws.com</code>.</p>
   56     56   
/// </dd>
   57     57   
/// </dl>
   58     58   
/// <p>The following action is related to <code>GetBucketPolicy</code>:</p>
   59     59   
/// <ul>
   60     60   
/// <li>
   61     61   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a></p></li>
   62         -
/// </ul>
          62  +
/// </ul><important>
          63  +
/// <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>
          64  +
/// </important>
   63     65   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   64     66   
pub struct GetBucketPolicyFluentBuilder {
   65     67   
    handle: ::std::sync::Arc<crate::client::Handle>,
   66     68   
    inner: crate::operation::get_bucket_policy::builders::GetBucketPolicyInputBuilder,
   67     69   
    config_override: ::std::option::Option<crate::config::Builder>,
   68     70   
}
   69     71   
impl
   70     72   
    crate::client::customize::internal::CustomizableSend<
   71     73   
        crate::operation::get_bucket_policy::GetBucketPolicyOutput,
   72     74   
        crate::operation::get_bucket_policy::GetBucketPolicyError,

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

@@ -10,10 +70,72 @@
   30     30   
/// <p>The following operations are related to <code>GetBucketPolicyStatus</code>:</p>
   31     31   
/// <ul>
   32     32   
/// <li>
   33     33   
/// <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>
   34     34   
/// <li>
   35     35   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html">GetPublicAccessBlock</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_DeletePublicAccessBlock.html">DeletePublicAccessBlock</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 GetBucketPolicyStatusFluentBuilder {
   43     45   
    handle: ::std::sync::Arc<crate::client::Handle>,
   44     46   
    inner: crate::operation::get_bucket_policy_status::builders::GetBucketPolicyStatusInputBuilder,
   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_bucket_policy_status::GetBucketPolicyStatusOutput,
   50     52   
        crate::operation::get_bucket_policy_status::GetBucketPolicyStatusError,

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

@@ -11,11 +71,73 @@
   31     31   
/// <p>For information about replication configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/replication.html">Replication</a> in the <i>Amazon S3 User Guide</i>.</p>
   32     32   
/// <p>This action requires permissions for the <code>s3:GetReplicationConfiguration</code> action. For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User Policies</a>.</p>
   33     33   
/// <p>If you include the <code>Filter</code> element in a replication configuration, you must also include the <code>DeleteMarkerReplication</code> and <code>Priority</code> elements. The response also returns those elements.</p>
   34     34   
/// <p>For information about <code>GetBucketReplication</code> errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ReplicationErrorCodeList">List of replication-related error codes</a></p>
   35     35   
/// <p>The following operations are related to <code>GetBucketReplication</code>:</p>
   36     36   
/// <ul>
   37     37   
/// <li>
   38     38   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html">PutBucketReplication</a></p></li>
   39     39   
/// <li>
   40     40   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketReplication.html">DeleteBucketReplication</a></p></li>
   41         -
/// </ul>
          41  +
/// </ul><important>
          42  +
/// <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>
          43  +
/// </important>
   42     44   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   43     45   
pub struct GetBucketReplicationFluentBuilder {
   44     46   
    handle: ::std::sync::Arc<crate::client::Handle>,
   45     47   
    inner: crate::operation::get_bucket_replication::builders::GetBucketReplicationInputBuilder,
   46     48   
    config_override: ::std::option::Option<crate::config::Builder>,
   47     49   
}
   48     50   
impl
   49     51   
    crate::client::customize::internal::CustomizableSend<
   50     52   
        crate::operation::get_bucket_replication::GetBucketReplicationOutput,
   51     53   
        crate::operation::get_bucket_replication::GetBucketReplicationError,