AWS SDK

AWS SDK

rev. 645b1734ce74ebbc529fecda676baac60fe4d581

Files changed:

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

@@ -265,265 +326,328 @@
  285    285   
                _input
  286    286   
                    .bucket
  287    287   
                    .clone()
  288    288   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  289    289   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  290    290   
            ))
  291    291   
            .build()
  292    292   
            .map_err(|err| {
  293    293   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  294    294   
            })?;
         295  +
  295    296   
        cfg.interceptor_state()
  296    297   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         298  +
  297    299   
        ::std::result::Result::Ok(())
  298    300   
    }
  299    301   
}
  300    302   
  301    303   
// The get_* functions below are generated from JMESPath expressions in the
  302    304   
// operationContextParams trait. They target the operation's input shape.
  303    305   
  304    306   
/// Error type for the `PutBucketNotificationConfigurationError` operation.
  305    307   
#[non_exhaustive]
  306    308   
#[derive(::std::fmt::Debug)]

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

@@ -252,252 +313,315 @@
  272    272   
                _input
  273    273   
                    .bucket
  274    274   
                    .clone()
  275    275   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  276    276   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  277    277   
            ))
  278    278   
            .build()
  279    279   
            .map_err(|err| {
  280    280   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  281    281   
            })?;
         282  +
  282    283   
        cfg.interceptor_state()
  283    284   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         285  +
  284    286   
        ::std::result::Result::Ok(())
  285    287   
    }
  286    288   
}
  287    289   
  288    290   
// The get_* functions below are generated from JMESPath expressions in the
  289    291   
// operationContextParams trait. They target the operation's input shape.
  290    292   
  291    293   
/// Error type for the `PutBucketOwnershipControlsError` operation.
  292    294   
#[non_exhaustive]
  293    295   
#[derive(::std::fmt::Debug)]

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

@@ -305,305 +366,368 @@
  325    325   
                _input
  326    326   
                    .bucket
  327    327   
                    .clone()
  328    328   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  329    329   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  330    330   
            ))
  331    331   
            .build()
  332    332   
            .map_err(|err| {
  333    333   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  334    334   
            })?;
         335  +
  335    336   
        cfg.interceptor_state()
  336    337   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         338  +
  337    339   
        ::std::result::Result::Ok(())
  338    340   
    }
  339    341   
}
  340    342   
  341    343   
// The get_* functions below are generated from JMESPath expressions in the
  342    344   
// operationContextParams trait. They target the operation's input shape.
  343    345   
  344    346   
/// Error type for the `PutBucketPolicyError` operation.
  345    347   
#[non_exhaustive]
  346    348   
#[derive(::std::fmt::Debug)]

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

@@ -304,304 +365,367 @@
  324    324   
                _input
  325    325   
                    .bucket
  326    326   
                    .clone()
  327    327   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  328    328   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  329    329   
            ))
  330    330   
            .build()
  331    331   
            .map_err(|err| {
  332    332   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  333    333   
            })?;
         334  +
  334    335   
        cfg.interceptor_state()
  335    336   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         337  +
  336    338   
        ::std::result::Result::Ok(())
  337    339   
    }
  338    340   
}
  339    341   
  340    342   
// The get_* functions below are generated from JMESPath expressions in the
  341    343   
// operationContextParams trait. They target the operation's input shape.
  342    344   
  343    345   
/// Error type for the `PutBucketReplicationError` operation.
  344    346   
#[non_exhaustive]
  345    347   
#[derive(::std::fmt::Debug)]

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

@@ -313,313 +374,376 @@
  333    333   
                _input
  334    334   
                    .bucket
  335    335   
                    .clone()
  336    336   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  337    337   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  338    338   
            ))
  339    339   
            .build()
  340    340   
            .map_err(|err| {
  341    341   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  342    342   
            })?;
         343  +
  343    344   
        cfg.interceptor_state()
  344    345   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         346  +
  345    347   
        ::std::result::Result::Ok(())
  346    348   
    }
  347    349   
}
  348    350   
  349    351   
// The get_* functions below are generated from JMESPath expressions in the
  350    352   
// operationContextParams trait. They target the operation's input shape.
  351    353   
  352    354   
/// Error type for the `PutBucketRequestPaymentError` operation.
  353    355   
#[non_exhaustive]
  354    356   
#[derive(::std::fmt::Debug)]

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

@@ -305,305 +366,368 @@
  325    325   
                _input
  326    326   
                    .bucket
  327    327   
                    .clone()
  328    328   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  329    329   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  330    330   
            ))
  331    331   
            .build()
  332    332   
            .map_err(|err| {
  333    333   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  334    334   
            })?;
         335  +
  335    336   
        cfg.interceptor_state()
  336    337   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         338  +
  337    339   
        ::std::result::Result::Ok(())
  338    340   
    }
  339    341   
}
  340    342   
  341    343   
// The get_* functions below are generated from JMESPath expressions in the
  342    344   
// operationContextParams trait. They target the operation's input shape.
  343    345   
  344    346   
/// Error type for the `PutBucketTaggingError` operation.
  345    347   
#[non_exhaustive]
  346    348   
#[derive(::std::fmt::Debug)]

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

@@ -301,301 +362,364 @@
  321    321   
                _input
  322    322   
                    .bucket
  323    323   
                    .clone()
  324    324   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  325    325   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  326    326   
            ))
  327    327   
            .build()
  328    328   
            .map_err(|err| {
  329    329   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  330    330   
            })?;
         331  +
  331    332   
        cfg.interceptor_state()
  332    333   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         334  +
  333    335   
        ::std::result::Result::Ok(())
  334    336   
    }
  335    337   
}
  336    338   
  337    339   
// The get_* functions below are generated from JMESPath expressions in the
  338    340   
// operationContextParams trait. They target the operation's input shape.
  339    341   
  340    342   
/// Error type for the `PutBucketVersioningError` operation.
  341    343   
#[non_exhaustive]
  342    344   
#[derive(::std::fmt::Debug)]

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

@@ -305,305 +366,368 @@
  325    325   
                _input
  326    326   
                    .bucket
  327    327   
                    .clone()
  328    328   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  329    329   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  330    330   
            ))
  331    331   
            .build()
  332    332   
            .map_err(|err| {
  333    333   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  334    334   
            })?;
         335  +
  335    336   
        cfg.interceptor_state()
  336    337   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         338  +
  337    339   
        ::std::result::Result::Ok(())
  338    340   
    }
  339    341   
}
  340    342   
  341    343   
// The get_* functions below are generated from JMESPath expressions in the
  342    344   
// operationContextParams trait. They target the operation's input shape.
  343    345   
  344    346   
/// Error type for the `PutBucketWebsiteError` operation.
  345    347   
#[non_exhaustive]
  346    348   
#[derive(::std::fmt::Debug)]

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

@@ -318,318 +379,381 @@
  338    338   
                _input
  339    339   
                    .key
  340    340   
                    .clone()
  341    341   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  342    342   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("key", "A required field was not set"))?,
  343    343   
            ))
  344    344   
            .build()
  345    345   
            .map_err(|err| {
  346    346   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  347    347   
            })?;
         348  +
  348    349   
        cfg.interceptor_state()
  349    350   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         351  +
  350    352   
        ::std::result::Result::Ok(())
  351    353   
    }
  352    354   
}
  353    355   
  354    356   
// The get_* functions below are generated from JMESPath expressions in the
  355    357   
// operationContextParams trait. They target the operation's input shape.
  356    358   
  357    359   
#[allow(unreachable_code, unused_variables)]
  358    360   
#[cfg(test)]
  359    361   
mod put_object_test {

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

@@ -327,327 +388,390 @@
  347    347   
                _input
  348    348   
                    .key
  349    349   
                    .clone()
  350    350   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  351    351   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("key", "A required field was not set"))?,
  352    352   
            ))
  353    353   
            .build()
  354    354   
            .map_err(|err| {
  355    355   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  356    356   
            })?;
         357  +
  357    358   
        cfg.interceptor_state()
  358    359   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         360  +
  359    361   
        ::std::result::Result::Ok(())
  360    362   
    }
  361    363   
}
  362    364   
  363    365   
// The get_* functions below are generated from JMESPath expressions in the
  364    366   
// operationContextParams trait. They target the operation's input shape.
  365    367   
  366    368   
/// Error type for the `PutObjectAclError` operation.
  367    369   
#[non_exhaustive]
  368    370   
#[derive(::std::fmt::Debug)]

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

@@ -316,316 +377,379 @@
  336    336   
                _input
  337    337   
                    .bucket
  338    338   
                    .clone()
  339    339   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  340    340   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  341    341   
            ))
  342    342   
            .build()
  343    343   
            .map_err(|err| {
  344    344   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  345    345   
            })?;
         346  +
  346    347   
        cfg.interceptor_state()
  347    348   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         349  +
  348    350   
        ::std::result::Result::Ok(())
  349    351   
    }
  350    352   
}
  351    353   
  352    354   
// The get_* functions below are generated from JMESPath expressions in the
  353    355   
// operationContextParams trait. They target the operation's input shape.
  354    356   
  355    357   
/// Error type for the `PutObjectLegalHoldError` operation.
  356    358   
#[non_exhaustive]
  357    359   
#[derive(::std::fmt::Debug)]

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

@@ -312,312 +373,375 @@
  332    332   
                _input
  333    333   
                    .bucket
  334    334   
                    .clone()
  335    335   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  336    336   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  337    337   
            ))
  338    338   
            .build()
  339    339   
            .map_err(|err| {
  340    340   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  341    341   
            })?;
         342  +
  342    343   
        cfg.interceptor_state()
  343    344   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         345  +
  344    346   
        ::std::result::Result::Ok(())
  345    347   
    }
  346    348   
}
  347    349   
  348    350   
// The get_* functions below are generated from JMESPath expressions in the
  349    351   
// operationContextParams trait. They target the operation's input shape.
  350    352   
  351    353   
/// Error type for the `PutObjectLockConfigurationError` operation.
  352    354   
#[non_exhaustive]
  353    355   
#[derive(::std::fmt::Debug)]

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

@@ -316,316 +377,379 @@
  336    336   
                _input
  337    337   
                    .bucket
  338    338   
                    .clone()
  339    339   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  340    340   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  341    341   
            ))
  342    342   
            .build()
  343    343   
            .map_err(|err| {
  344    344   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  345    345   
            })?;
         346  +
  346    347   
        cfg.interceptor_state()
  347    348   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         349  +
  348    350   
        ::std::result::Result::Ok(())
  349    351   
    }
  350    352   
}
  351    353   
  352    354   
// The get_* functions below are generated from JMESPath expressions in the
  353    355   
// operationContextParams trait. They target the operation's input shape.
  354    356   
  355    357   
/// Error type for the `PutObjectRetentionError` operation.
  356    358   
#[non_exhaustive]
  357    359   
#[derive(::std::fmt::Debug)]

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

@@ -320,320 +381,383 @@
  340    340   
                _input
  341    341   
                    .bucket
  342    342   
                    .clone()
  343    343   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  344    344   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  345    345   
            ))
  346    346   
            .build()
  347    347   
            .map_err(|err| {
  348    348   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  349    349   
            })?;
         350  +
  350    351   
        cfg.interceptor_state()
  351    352   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         353  +
  352    354   
        ::std::result::Result::Ok(())
  353    355   
    }
  354    356   
}
  355    357   
  356    358   
// The get_* functions below are generated from JMESPath expressions in the
  357    359   
// operationContextParams trait. They target the operation's input shape.
  358    360   
  359    361   
/// Error type for the `PutObjectTaggingError` operation.
  360    362   
#[non_exhaustive]
  361    363   
#[derive(::std::fmt::Debug)]

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

@@ -306,306 +367,369 @@
  326    326   
                _input
  327    327   
                    .bucket
  328    328   
                    .clone()
  329    329   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  330    330   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  331    331   
            ))
  332    332   
            .build()
  333    333   
            .map_err(|err| {
  334    334   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  335    335   
            })?;
         336  +
  336    337   
        cfg.interceptor_state()
  337    338   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         339  +
  338    340   
        ::std::result::Result::Ok(())
  339    341   
    }
  340    342   
}
  341    343   
  342    344   
// The get_* functions below are generated from JMESPath expressions in the
  343    345   
// operationContextParams trait. They target the operation's input shape.
  344    346   
  345    347   
/// Error type for the `PutPublicAccessBlockError` operation.
  346    348   
#[non_exhaustive]
  347    349   
#[derive(::std::fmt::Debug)]

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

@@ -319,319 +380,382 @@
  339    339   
                _input
  340    340   
                    .bucket
  341    341   
                    .clone()
  342    342   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  343    343   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  344    344   
            ))
  345    345   
            .build()
  346    346   
            .map_err(|err| {
  347    347   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  348    348   
            })?;
         349  +
  349    350   
        cfg.interceptor_state()
  350    351   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         352  +
  351    353   
        ::std::result::Result::Ok(())
  352    354   
    }
  353    355   
}
  354    356   
  355    357   
// The get_* functions below are generated from JMESPath expressions in the
  356    358   
// operationContextParams trait. They target the operation's input shape.
  357    359   
  358    360   
/// Error type for the `RestoreObjectError` operation.
  359    361   
#[non_exhaustive]
  360    362   
#[derive(::std::fmt::Debug)]