AWS SDK

AWS SDK

rev. 718865afc5d3a851e695288d9ab877760ee4553c

Files changed:

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/get_bucket/builders.rs

@@ -7,7 +69,67 @@
   27     27   
/// <p>If you don't have <code>s3-outposts:GetBucket</code> permissions or you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a <code>403 Access Denied</code> error.</p>
   28     28   
/// <p>The following actions are related to <code>GetBucket</code> for Amazon S3 on Outposts:</p>
   29     29   
/// <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html#API_control_GetBucket_Examples">Examples</a> section.</p>
   30     30   
/// <ul>
   31     31   
/// <li>
   32     32   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html">PutObject</a></p></li>
   33     33   
/// <li>
   34     34   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html">CreateBucket</a></p></li>
   35     35   
/// <li>
   36     36   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html">DeleteBucket</a></p></li>
   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>
          37  +
/// </ul>
   40     38   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   41     39   
pub struct GetBucketFluentBuilder {
   42     40   
    handle: ::std::sync::Arc<crate::client::Handle>,
   43     41   
    inner: crate::operation::get_bucket::builders::GetBucketInputBuilder,
   44     42   
    config_override: ::std::option::Option<crate::config::Builder>,
   45     43   
}
   46     44   
impl crate::client::customize::internal::CustomizableSend<crate::operation::get_bucket::GetBucketOutput, crate::operation::get_bucket::GetBucketError>
   47     45   
    for GetBucketFluentBuilder
   48     46   
{
   49     47   
    fn send(

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

@@ -20,20 +82,80 @@
   40     40   
/// <li>
   41     41   
/// <p>SOAP Fault Code Prefix: Client</p></li>
   42     42   
/// </ul></li>
   43     43   
/// </ul>
   44     44   
/// <p>The following actions are related to <code>GetBucketLifecycleConfiguration</code>:</p>
   45     45   
/// <ul>
   46     46   
/// <li>
   47     47   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a></p></li>
   48     48   
/// <li>
   49     49   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html">DeleteBucketLifecycleConfiguration</a></p></li>
   50         -
/// </ul><important>
   51         -
/// <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>
   52         -
/// </important>
          50  +
/// </ul>
   53     51   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   54     52   
pub struct GetBucketLifecycleConfigurationFluentBuilder {
   55     53   
    handle: ::std::sync::Arc<crate::client::Handle>,
   56     54   
    inner: crate::operation::get_bucket_lifecycle_configuration::builders::GetBucketLifecycleConfigurationInputBuilder,
   57     55   
    config_override: ::std::option::Option<crate::config::Builder>,
   58     56   
}
   59     57   
impl
   60     58   
    crate::client::customize::internal::CustomizableSend<
   61     59   
        crate::operation::get_bucket_lifecycle_configuration::GetBucketLifecycleConfigurationOutput,
   62     60   
        crate::operation::get_bucket_lifecycle_configuration::GetBucketLifecycleConfigurationError,

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

@@ -13,13 +75,73 @@
   33     33   
/// <p>For more information about bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User Policies</a>.</p>
   34     34   
/// <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived by using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html#API_control_GetBucketPolicy_Examples">Examples</a> section.</p>
   35     35   
/// <p>The following actions are related to <code>GetBucketPolicy</code>:</p>
   36     36   
/// <ul>
   37     37   
/// <li>
   38     38   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a></p></li>
   39     39   
/// <li>
   40     40   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html">PutBucketPolicy</a></p></li>
   41     41   
/// <li>
   42     42   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html">DeleteBucketPolicy</a></p></li>
   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>
          43  +
/// </ul>
   46     44   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   47     45   
pub struct GetBucketPolicyFluentBuilder {
   48     46   
    handle: ::std::sync::Arc<crate::client::Handle>,
   49     47   
    inner: crate::operation::get_bucket_policy::builders::GetBucketPolicyInputBuilder,
   50     48   
    config_override: ::std::option::Option<crate::config::Builder>,
   51     49   
}
   52     50   
impl
   53     51   
    crate::client::customize::internal::CustomizableSend<
   54     52   
        crate::operation::get_bucket_policy::GetBucketPolicyOutput,
   55     53   
        crate::operation::get_bucket_policy::GetBucketPolicyError,

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/get_data_access.rs

@@ -204,204 +263,268 @@
  224    224   
                if let ::std::option::Option::Some(inner_4) = &_input.privilege {
  225    225   
                    {
  226    226   
                        query.push_kv("privilege", &::aws_smithy_http::query::fmt_string(inner_4.as_str()));
  227    227   
                    }
  228    228   
                }
  229    229   
                if let ::std::option::Option::Some(inner_5) = &_input.target_type {
  230    230   
                    {
  231    231   
                        query.push_kv("targetType", &::aws_smithy_http::query::fmt_string(inner_5.as_str()));
  232    232   
                    }
  233    233   
                }
         234  +
                if let ::std::option::Option::Some(inner_6) = &_input.audit_context {
         235  +
                    {
         236  +
                        query.push_kv("auditContext", &::aws_smithy_http::query::fmt_string(inner_6));
         237  +
                    }
         238  +
                }
  234    239   
                ::std::result::Result::Ok(())
  235    240   
            }
  236    241   
            #[allow(clippy::unnecessary_wraps)]
  237    242   
            fn update_http_builder(
  238    243   
                input: &crate::operation::get_data_access::GetDataAccessInput,
  239    244   
                builder: ::http_1x::request::Builder,
  240    245   
            ) -> ::std::result::Result<::http_1x::request::Builder, ::aws_smithy_types::error::operation::BuildError> {
  241    246   
                let mut uri = ::std::string::String::new();
  242    247   
                uri_base(input, &mut uri)?;
  243    248   
                uri_query(input, &mut uri)?;

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/get_data_access/_get_data_access_input.rs

@@ -2,2 +119,126 @@
   22     22   
    /// <p>The scope of the temporary access credential that S3 Access Grants vends to the grantee or client application.</p>
   23     23   
    /// <ul>
   24     24   
    /// <li>
   25     25   
    /// <p><code>Default</code> – The scope of the returned temporary access token is the scope of the grant that is closest to the target scope.</p></li>
   26     26   
    /// <li>
   27     27   
    /// <p><code>Minimal</code> – The scope of the returned temporary access token is the same as the requested target scope as long as the requested scope is the same as or a subset of the grant scope.</p></li>
   28     28   
    /// </ul>
   29     29   
    pub privilege: ::std::option::Option<crate::types::Privilege>,
   30     30   
    /// <p>The type of <code>Target</code>. The only possible value is <code>Object</code>. Pass this value if the target data that you would like to access is a path to an object. Do not pass this value if the target data is a bucket or a bucket and a prefix.</p>
   31     31   
    pub target_type: ::std::option::Option<crate::types::S3PrefixType>,
          32  +
    /// <p>The context to identify the job or query associated with the credential request. This information will be displayed in CloudTrail log in your account.</p>
          33  +
    pub audit_context: ::std::option::Option<::std::string::String>,
   32     34   
}
   33     35   
impl GetDataAccessInput {
   34     36   
    /// <p>The Amazon Web Services account ID of the S3 Access Grants instance.</p>
   35     37   
    pub fn account_id(&self) -> ::std::option::Option<&str> {
   36     38   
        self.account_id.as_deref()
   37     39   
    }
   38     40   
    /// <p>The S3 URI path of the data to which you are requesting temporary access credentials. If the requesting account has an access grant for this data, S3 Access Grants vends temporary access credentials in the response.</p>
   39     41   
    pub fn target(&self) -> ::std::option::Option<&str> {
   40     42   
        self.target.as_deref()
   41     43   
    }
   42     44   
    /// <p>The type of permission granted to your S3 data, which can be set to one of the following values:</p>
   43     45   
    /// <ul>
   44     46   
    /// <li>
   45     47   
    /// <p><code>READ</code> – Grant read-only access to the S3 data.</p></li>
   46     48   
    /// <li>
   47     49   
    /// <p><code>WRITE</code> – Grant write-only access to the S3 data.</p></li>
   48     50   
    /// <li>
   49     51   
    /// <p><code>READWRITE</code> – Grant both read and write access to the S3 data.</p></li>
   50     52   
    /// </ul>
   51     53   
    pub fn permission(&self) -> ::std::option::Option<&crate::types::Permission> {
   52     54   
        self.permission.as_ref()
   53     55   
    }
   54     56   
    /// <p>The session duration, in seconds, of the temporary access credential that S3 Access Grants vends to the grantee or client application. The default value is 1 hour, but the grantee can specify a range from 900 seconds (15 minutes) up to 43200 seconds (12 hours). If the grantee requests a value higher than this maximum, the operation fails.</p>
   55     57   
    pub fn duration_seconds(&self) -> ::std::option::Option<i32> {
   56     58   
        self.duration_seconds
   57     59   
    }
   58     60   
    /// <p>The scope of the temporary access credential that S3 Access Grants vends to the grantee or client application.</p>
   59     61   
    /// <ul>
   60     62   
    /// <li>
   61     63   
    /// <p><code>Default</code> – The scope of the returned temporary access token is the scope of the grant that is closest to the target scope.</p></li>
   62     64   
    /// <li>
   63     65   
    /// <p><code>Minimal</code> – The scope of the returned temporary access token is the same as the requested target scope as long as the requested scope is the same as or a subset of the grant scope.</p></li>
   64     66   
    /// </ul>
   65     67   
    pub fn privilege(&self) -> ::std::option::Option<&crate::types::Privilege> {
   66     68   
        self.privilege.as_ref()
   67     69   
    }
   68     70   
    /// <p>The type of <code>Target</code>. The only possible value is <code>Object</code>. Pass this value if the target data that you would like to access is a path to an object. Do not pass this value if the target data is a bucket or a bucket and a prefix.</p>
   69     71   
    pub fn target_type(&self) -> ::std::option::Option<&crate::types::S3PrefixType> {
   70     72   
        self.target_type.as_ref()
   71     73   
    }
          74  +
    /// <p>The context to identify the job or query associated with the credential request. This information will be displayed in CloudTrail log in your account.</p>
          75  +
    pub fn audit_context(&self) -> ::std::option::Option<&str> {
          76  +
        self.audit_context.as_deref()
          77  +
    }
   72     78   
}
   73     79   
impl GetDataAccessInput {
   74     80   
    /// Creates a new builder-style object to manufacture [`GetDataAccessInput`](crate::operation::get_data_access::GetDataAccessInput).
   75     81   
    pub fn builder() -> crate::operation::get_data_access::builders::GetDataAccessInputBuilder {
   76     82   
        crate::operation::get_data_access::builders::GetDataAccessInputBuilder::default()
   77     83   
    }
   78     84   
}
   79     85   
   80     86   
/// A builder for [`GetDataAccessInput`](crate::operation::get_data_access::GetDataAccessInput).
   81     87   
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
   82     88   
#[non_exhaustive]
   83     89   
pub struct GetDataAccessInputBuilder {
   84     90   
    pub(crate) account_id: ::std::option::Option<::std::string::String>,
   85     91   
    pub(crate) target: ::std::option::Option<::std::string::String>,
   86     92   
    pub(crate) permission: ::std::option::Option<crate::types::Permission>,
   87     93   
    pub(crate) duration_seconds: ::std::option::Option<i32>,
   88     94   
    pub(crate) privilege: ::std::option::Option<crate::types::Privilege>,
   89     95   
    pub(crate) target_type: ::std::option::Option<crate::types::S3PrefixType>,
          96  +
    pub(crate) audit_context: ::std::option::Option<::std::string::String>,
   90     97   
}
   91     98   
impl GetDataAccessInputBuilder {
   92     99   
    /// <p>The Amazon Web Services account ID of the S3 Access Grants instance.</p>
   93    100   
    /// This field is required.
   94    101   
    pub fn account_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
   95    102   
        self.account_id = ::std::option::Option::Some(input.into());
   96    103   
        self
   97    104   
    }
   98    105   
    /// <p>The Amazon Web Services account ID of the S3 Access Grants instance.</p>
   99    106   
    pub fn set_account_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
@@ -191,198 +234,256 @@
  211    218   
    }
  212    219   
    /// <p>The type of <code>Target</code>. The only possible value is <code>Object</code>. Pass this value if the target data that you would like to access is a path to an object. Do not pass this value if the target data is a bucket or a bucket and a prefix.</p>
  213    220   
    pub fn set_target_type(mut self, input: ::std::option::Option<crate::types::S3PrefixType>) -> Self {
  214    221   
        self.target_type = input;
  215    222   
        self
  216    223   
    }
  217    224   
    /// <p>The type of <code>Target</code>. The only possible value is <code>Object</code>. Pass this value if the target data that you would like to access is a path to an object. Do not pass this value if the target data is a bucket or a bucket and a prefix.</p>
  218    225   
    pub fn get_target_type(&self) -> &::std::option::Option<crate::types::S3PrefixType> {
  219    226   
        &self.target_type
  220    227   
    }
         228  +
    /// <p>The context to identify the job or query associated with the credential request. This information will be displayed in CloudTrail log in your account.</p>
         229  +
    pub fn audit_context(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         230  +
        self.audit_context = ::std::option::Option::Some(input.into());
         231  +
        self
         232  +
    }
         233  +
    /// <p>The context to identify the job or query associated with the credential request. This information will be displayed in CloudTrail log in your account.</p>
         234  +
    pub fn set_audit_context(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         235  +
        self.audit_context = input;
         236  +
        self
         237  +
    }
         238  +
    /// <p>The context to identify the job or query associated with the credential request. This information will be displayed in CloudTrail log in your account.</p>
         239  +
    pub fn get_audit_context(&self) -> &::std::option::Option<::std::string::String> {
         240  +
        &self.audit_context
         241  +
    }
  221    242   
    /// Consumes the builder and constructs a [`GetDataAccessInput`](crate::operation::get_data_access::GetDataAccessInput).
  222    243   
    pub fn build(
  223    244   
        self,
  224    245   
    ) -> ::std::result::Result<crate::operation::get_data_access::GetDataAccessInput, ::aws_smithy_types::error::operation::BuildError> {
  225    246   
        ::std::result::Result::Ok(crate::operation::get_data_access::GetDataAccessInput {
  226    247   
            account_id: self.account_id,
  227    248   
            target: self.target,
  228    249   
            permission: self.permission,
  229    250   
            duration_seconds: self.duration_seconds,
  230    251   
            privilege: self.privilege,
  231    252   
            target_type: self.target_type,
         253  +
            audit_context: self.audit_context,
  232    254   
        })
  233    255   
    }
  234    256   
}

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/get_data_access/builders.rs

@@ -9,9 +71,69 @@
   29     29   
/// </dt>
   30     30   
/// <dd>
   31     31   
/// <p>You must have the <code>s3:GetDataAccess</code> permission to use this operation.</p>
   32     32   
/// </dd>
   33     33   
/// <dt>
   34     34   
/// Additional Permissions
   35     35   
/// </dt>
   36     36   
/// <dd>
   37     37   
/// <p>The IAM role that S3 Access Grants assumes must have the following permissions specified in the trust policy when registering the location: <code>sts:AssumeRole</code>, for directory users or groups <code>sts:SetContext</code>, and for IAM users or roles <code>sts:SetSourceIdentity</code>.</p>
   38     38   
/// </dd>
   39         -
/// </dl><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>
          39  +
/// </dl>
   42     40   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   43     41   
pub struct GetDataAccessFluentBuilder {
   44     42   
    handle: ::std::sync::Arc<crate::client::Handle>,
   45     43   
    inner: crate::operation::get_data_access::builders::GetDataAccessInputBuilder,
   46     44   
    config_override: ::std::option::Option<crate::config::Builder>,
   47     45   
}
   48     46   
impl
   49     47   
    crate::client::customize::internal::CustomizableSend<
   50     48   
        crate::operation::get_data_access::GetDataAccessOutput,
   51     49   
        crate::operation::get_data_access::GetDataAccessError,
@@ -223,221 +253,265 @@
  243    241   
    }
  244    242   
    /// <p>The type of <code>Target</code>. The only possible value is <code>Object</code>. Pass this value if the target data that you would like to access is a path to an object. Do not pass this value if the target data is a bucket or a bucket and a prefix.</p>
  245    243   
    pub fn set_target_type(mut self, input: ::std::option::Option<crate::types::S3PrefixType>) -> Self {
  246    244   
        self.inner = self.inner.set_target_type(input);
  247    245   
        self
  248    246   
    }
  249    247   
    /// <p>The type of <code>Target</code>. The only possible value is <code>Object</code>. Pass this value if the target data that you would like to access is a path to an object. Do not pass this value if the target data is a bucket or a bucket and a prefix.</p>
  250    248   
    pub fn get_target_type(&self) -> &::std::option::Option<crate::types::S3PrefixType> {
  251    249   
        self.inner.get_target_type()
  252    250   
    }
         251  +
    /// <p>The context to identify the job or query associated with the credential request. This information will be displayed in CloudTrail log in your account.</p>
         252  +
    pub fn audit_context(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
         253  +
        self.inner = self.inner.audit_context(input.into());
         254  +
        self
         255  +
    }
         256  +
    /// <p>The context to identify the job or query associated with the credential request. This information will be displayed in CloudTrail log in your account.</p>
         257  +
    pub fn set_audit_context(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
         258  +
        self.inner = self.inner.set_audit_context(input);
         259  +
        self
         260  +
    }
         261  +
    /// <p>The context to identify the job or query associated with the credential request. This information will be displayed in CloudTrail log in your account.</p>
         262  +
    pub fn get_audit_context(&self) -> &::std::option::Option<::std::string::String> {
         263  +
        self.inner.get_audit_context()
         264  +
    }
  253    265   
}

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/get_job_tagging/builders.rs

@@ -12,12 +74,72 @@
   32     32   
/// </dd>
   33     33   
/// </dl>
   34     34   
/// <p>Related actions include:</p>
   35     35   
/// <ul>
   36     36   
/// <li>
   37     37   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html">CreateJob</a></p></li>
   38     38   
/// <li>
   39     39   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutJobTagging.html">PutJobTagging</a></p></li>
   40     40   
/// <li>
   41     41   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteJobTagging.html">DeleteJobTagging</a></p></li>
   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>
          42  +
/// </ul>
   45     43   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   46     44   
pub struct GetJobTaggingFluentBuilder {
   47     45   
    handle: ::std::sync::Arc<crate::client::Handle>,
   48     46   
    inner: crate::operation::get_job_tagging::builders::GetJobTaggingInputBuilder,
   49     47   
    config_override: ::std::option::Option<crate::config::Builder>,
   50     48   
}
   51     49   
impl
   52     50   
    crate::client::customize::internal::CustomizableSend<
   53     51   
        crate::operation::get_job_tagging::GetJobTaggingOutput,
   54     52   
        crate::operation::get_job_tagging::GetJobTaggingError,

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/get_multi_region_access_point/builders.rs

@@ -10,10 +72,70 @@
   30     30   
/// <p>The following actions are related to <code>GetMultiRegionAccessPoint</code>:</p>
   31     31   
/// <ul>
   32     32   
/// <li>
   33     33   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html">CreateMultiRegionAccessPoint</a></p></li>
   34     34   
/// <li>
   35     35   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html">DeleteMultiRegionAccessPoint</a></p></li>
   36     36   
/// <li>
   37     37   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html">DescribeMultiRegionAccessPointOperation</a></p></li>
   38     38   
/// <li>
   39     39   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html">ListMultiRegionAccessPoints</a></p></li>
   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>
          40  +
/// </ul>
   43     41   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   44     42   
pub struct GetMultiRegionAccessPointFluentBuilder {
   45     43   
    handle: ::std::sync::Arc<crate::client::Handle>,
   46     44   
    inner: crate::operation::get_multi_region_access_point::builders::GetMultiRegionAccessPointInputBuilder,
   47     45   
    config_override: ::std::option::Option<crate::config::Builder>,
   48     46   
}
   49     47   
impl
   50     48   
    crate::client::customize::internal::CustomizableSend<
   51     49   
        crate::operation::get_multi_region_access_point::GetMultiRegionAccessPointOutput,
   52     50   
        crate::operation::get_multi_region_access_point::GetMultiRegionAccessPointError,

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/get_multi_region_access_point_policy/builders.rs

@@ -6,6 +68,66 @@
   26     26   
/// <p>This operation is not supported by directory buckets.</p>
   27     27   
/// </note>
   28     28   
/// <p>Returns the access control policy of the specified Multi-Region Access Point.</p>
   29     29   
/// <p>This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html">Multi-Region Access Point restrictions and limitations</a> in the <i>Amazon S3 User Guide</i>.</p>
   30     30   
/// <p>The following actions are related to <code>GetMultiRegionAccessPointPolicy</code>:</p>
   31     31   
/// <ul>
   32     32   
/// <li>
   33     33   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicyStatus.html">GetMultiRegionAccessPointPolicyStatus</a></p></li>
   34     34   
/// <li>
   35     35   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutMultiRegionAccessPointPolicy.html">PutMultiRegionAccessPointPolicy</a></p></li>
   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>
          36  +
/// </ul>
   39     37   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   40     38   
pub struct GetMultiRegionAccessPointPolicyFluentBuilder {
   41     39   
    handle: ::std::sync::Arc<crate::client::Handle>,
   42     40   
    inner: crate::operation::get_multi_region_access_point_policy::builders::GetMultiRegionAccessPointPolicyInputBuilder,
   43     41   
    config_override: ::std::option::Option<crate::config::Builder>,
   44     42   
}
   45     43   
impl
   46     44   
    crate::client::customize::internal::CustomizableSend<
   47     45   
        crate::operation::get_multi_region_access_point_policy::GetMultiRegionAccessPointPolicyOutput,
   48     46   
        crate::operation::get_multi_region_access_point_policy::GetMultiRegionAccessPointPolicyError,

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/get_multi_region_access_point_policy_status/builders.rs

@@ -6,6 +68,66 @@
   26     26   
/// <p>This operation is not supported by directory buckets.</p>
   27     27   
/// </note>
   28     28   
/// <p>Indicates whether the specified Multi-Region Access Point has an access control policy that allows public access.</p>
   29     29   
/// <p>This action will always be routed to the US West (Oregon) Region. For more information about the restrictions around working with Multi-Region Access Points, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPointRestrictions.html">Multi-Region Access Point restrictions and limitations</a> in the <i>Amazon S3 User Guide</i>.</p>
   30     30   
/// <p>The following actions are related to <code>GetMultiRegionAccessPointPolicyStatus</code>:</p>
   31     31   
/// <ul>
   32     32   
/// <li>
   33     33   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicy.html">GetMultiRegionAccessPointPolicy</a></p></li>
   34     34   
/// <li>
   35     35   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutMultiRegionAccessPointPolicy.html">PutMultiRegionAccessPointPolicy</a></p></li>
   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>
          36  +
/// </ul>
   39     37   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   40     38   
pub struct GetMultiRegionAccessPointPolicyStatusFluentBuilder {
   41     39   
    handle: ::std::sync::Arc<crate::client::Handle>,
   42     40   
    inner: crate::operation::get_multi_region_access_point_policy_status::builders::GetMultiRegionAccessPointPolicyStatusInputBuilder,
   43     41   
    config_override: ::std::option::Option<crate::config::Builder>,
   44     42   
}
   45     43   
impl
   46     44   
    crate::client::customize::internal::CustomizableSend<
   47     45   
        crate::operation::get_multi_region_access_point_policy_status::GetMultiRegionAccessPointPolicyStatusOutput,
   48     46   
        crate::operation::get_multi_region_access_point_policy_status::GetMultiRegionAccessPointPolicyStatusError,

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/get_multi_region_access_point_routes/builders.rs

@@ -11,11 +73,71 @@
   31     31   
/// <li>
   32     32   
/// <p><code>us-east-1</code></p></li>
   33     33   
/// <li>
   34     34   
/// <p><code>us-west-2</code></p></li>
   35     35   
/// <li>
   36     36   
/// <p><code>ap-southeast-2</code></p></li>
   37     37   
/// <li>
   38     38   
/// <p><code>ap-northeast-1</code></p></li>
   39     39   
/// <li>
   40     40   
/// <p><code>eu-west-1</code></p></li>
   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>
          41  +
/// </ul>
   44     42   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   45     43   
pub struct GetMultiRegionAccessPointRoutesFluentBuilder {
   46     44   
    handle: ::std::sync::Arc<crate::client::Handle>,
   47     45   
    inner: crate::operation::get_multi_region_access_point_routes::builders::GetMultiRegionAccessPointRoutesInputBuilder,
   48     46   
    config_override: ::std::option::Option<crate::config::Builder>,
   49     47   
}
   50     48   
impl
   51     49   
    crate::client::customize::internal::CustomizableSend<
   52     50   
        crate::operation::get_multi_region_access_point_routes::GetMultiRegionAccessPointRoutesOutput,
   53     51   
        crate::operation::get_multi_region_access_point_routes::GetMultiRegionAccessPointRoutesError,

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

@@ -1,1 +67,65 @@
   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 by directory buckets.</p>
   27     27   
/// </note>
   28         -
/// <p>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon Web Services account. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html"> Using Amazon S3 block public access</a>.</p>
          28  +
/// <p>Retrieves the <code>PublicAccessBlock</code> configuration for an Amazon Web Services account. This operation returns the effective account-level configuration, which may inherit from organization-level policies. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html"> Using Amazon S3 block public access</a>.</p>
   29     29   
/// <p>Related actions include:</p>
   30     30   
/// <ul>
   31     31   
/// <li>
   32     32   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeletePublicAccessBlock.html">DeletePublicAccessBlock</a></p></li>
   33     33   
/// <li>
   34     34   
/// <p><a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutPublicAccessBlock.html">PutPublicAccessBlock</a></p></li>
   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>
          35  +
/// </ul>
   38     36   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   39     37   
pub struct GetPublicAccessBlockFluentBuilder {
   40     38   
    handle: ::std::sync::Arc<crate::client::Handle>,
   41     39   
    inner: crate::operation::get_public_access_block::builders::GetPublicAccessBlockInputBuilder,
   42     40   
    config_override: ::std::option::Option<crate::config::Builder>,
   43     41   
}
   44     42   
impl
   45     43   
    crate::client::customize::internal::CustomizableSend<
   46     44   
        crate::operation::get_public_access_block::GetPublicAccessBlockOutput,
   47     45   
        crate::operation::get_public_access_block::GetPublicAccessBlockError,

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/get_storage_lens_configuration/builders.rs

@@ -1,1 +62,60 @@
   20     20   
        fluent_builder.send().await
   21     21   
    }
   22     22   
}
   23     23   
/// Fluent builder constructing a request to `GetStorageLensConfiguration`.
   24     24   
///
   25     25   
/// <note>
   26     26   
/// <p>This operation is not supported by directory buckets.</p>
   27     27   
/// </note>
   28     28   
/// <p>Gets the Amazon S3 Storage Lens configuration. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html">Assessing your storage activity and usage with Amazon S3 Storage Lens </a> in the <i>Amazon S3 User Guide</i>. For a complete list of S3 Storage Lens metrics, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_metrics_glossary.html">S3 Storage Lens metrics glossary</a> in the <i>Amazon S3 User Guide</i>.</p><note>
   29     29   
/// <p>To use this action, you must have permission to perform the <code>s3:GetStorageLensConfiguration</code> action. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html">Setting permissions to use Amazon S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>.</p>
   30         -
/// </note> <important>
   31         -
/// <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>
   32         -
/// </important>
          30  +
/// </note>
   33     31   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   34     32   
pub struct GetStorageLensConfigurationFluentBuilder {
   35     33   
    handle: ::std::sync::Arc<crate::client::Handle>,
   36     34   
    inner: crate::operation::get_storage_lens_configuration::builders::GetStorageLensConfigurationInputBuilder,
   37     35   
    config_override: ::std::option::Option<crate::config::Builder>,
   38     36   
}
   39     37   
impl
   40     38   
    crate::client::customize::internal::CustomizableSend<
   41     39   
        crate::operation::get_storage_lens_configuration::GetStorageLensConfigurationOutput,
   42     40   
        crate::operation::get_storage_lens_configuration::GetStorageLensConfigurationError,

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/get_storage_lens_configuration_tagging/builders.rs

@@ -1,1 +62,60 @@
   20     20   
        fluent_builder.send().await
   21     21   
    }
   22     22   
}
   23     23   
/// Fluent builder constructing a request to `GetStorageLensConfigurationTagging`.
   24     24   
///
   25     25   
/// <note>
   26     26   
/// <p>This operation is not supported by directory buckets.</p>
   27     27   
/// </note>
   28     28   
/// <p>Gets the tags of Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html">Assessing your storage activity and usage with Amazon S3 Storage Lens </a> in the <i>Amazon S3 User Guide</i>.</p><note>
   29     29   
/// <p>To use this action, you must have permission to perform the <code>s3:GetStorageLensConfigurationTagging</code> action. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html">Setting permissions to use Amazon S3 Storage Lens</a> in the <i>Amazon S3 User Guide</i>.</p>
   30         -
/// </note> <important>
   31         -
/// <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>
   32         -
/// </important>
          30  +
/// </note>
   33     31   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   34     32   
pub struct GetStorageLensConfigurationTaggingFluentBuilder {
   35     33   
    handle: ::std::sync::Arc<crate::client::Handle>,
   36     34   
    inner: crate::operation::get_storage_lens_configuration_tagging::builders::GetStorageLensConfigurationTaggingInputBuilder,
   37     35   
    config_override: ::std::option::Option<crate::config::Builder>,
   38     36   
}
   39     37   
impl
   40     38   
    crate::client::customize::internal::CustomizableSend<
   41     39   
        crate::operation::get_storage_lens_configuration_tagging::GetStorageLensConfigurationTaggingOutput,
   42     40   
        crate::operation::get_storage_lens_configuration_tagging::GetStorageLensConfigurationTaggingError,

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/get_storage_lens_group/builders.rs

@@ -1,1 +59,57 @@
   17     17   
    > {
   18     18   
        let mut fluent_builder = client.get_storage_lens_group();
   19     19   
        fluent_builder.inner = self;
   20     20   
        fluent_builder.send().await
   21     21   
    }
   22     22   
}
   23     23   
/// Fluent builder constructing a request to `GetStorageLensGroup`.
   24     24   
///
   25     25   
/// <p>Retrieves the Storage Lens group configuration details.</p>
   26     26   
/// <p>To use this operation, you must have the permission to perform the <code>s3:GetStorageLensGroup</code> action. For more information about the required Storage Lens Groups permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions">Setting account permissions to use S3 Storage Lens groups</a>.</p>
   27         -
/// <p>For information about Storage Lens groups errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList">List of Amazon S3 Storage Lens error codes</a>.</p><important>
   28         -
/// <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>
   29         -
/// </important>
          27  +
/// <p>For information about Storage Lens groups errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList">List of Amazon S3 Storage Lens error codes</a>.</p>
   30     28   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   31     29   
pub struct GetStorageLensGroupFluentBuilder {
   32     30   
    handle: ::std::sync::Arc<crate::client::Handle>,
   33     31   
    inner: crate::operation::get_storage_lens_group::builders::GetStorageLensGroupInputBuilder,
   34     32   
    config_override: ::std::option::Option<crate::config::Builder>,
   35     33   
}
   36     34   
impl
   37     35   
    crate::client::customize::internal::CustomizableSend<
   38     36   
        crate::operation::get_storage_lens_group::GetStorageLensGroupOutput,
   39     37   
        crate::operation::get_storage_lens_group::GetStorageLensGroupError,

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/list_access_grants/builders.rs

@@ -3,3 +65,63 @@
   23     23   
/// Fluent builder constructing a request to `ListAccessGrants`.
   24     24   
///
   25     25   
/// <p>Returns the list of access grants in your S3 Access Grants instance.</p>
   26     26   
/// <dl>
   27     27   
/// <dt>
   28     28   
/// Permissions
   29     29   
/// </dt>
   30     30   
/// <dd>
   31     31   
/// <p>You must have the <code>s3:ListAccessGrants</code> permission to use this operation.</p>
   32     32   
/// </dd>
   33         -
/// </dl><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>
          33  +
/// </dl>
   36     34   
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
   37     35   
pub struct ListAccessGrantsFluentBuilder {
   38     36   
    handle: ::std::sync::Arc<crate::client::Handle>,
   39     37   
    inner: crate::operation::list_access_grants::builders::ListAccessGrantsInputBuilder,
   40     38   
    config_override: ::std::option::Option<crate::config::Builder>,
   41     39   
}
   42     40   
impl
   43     41   
    crate::client::customize::internal::CustomizableSend<
   44     42   
        crate::operation::list_access_grants::ListAccessGrantsOutput,
   45     43   
        crate::operation::list_access_grants::ListAccessGrantsError,