AWS SDK

AWS SDK

rev. c6b0442b38530d1e023b3a36621480dfe66ee6b5

Files changed:

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

@@ -145,145 +205,205 @@
  165    165   
                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  166    166   
                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  167    167   
  168    168   
                    // From the httpChecksum trait
  169    169   
                    let http_checksum_required = true;
  170    170   
  171    171   
                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  172    172   
  173    173   
                    // If the request is presigned we do not set a default.
  174    174   
                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  175         -
                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         175  +
                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  176    176   
                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  177    177   
                    match (
  178    178   
                        request_checksum_calculation,
  179    179   
                        http_checksum_required,
  180    180   
                        user_set_checksum_value,
  181    181   
                        user_set_checksum_algo,
  182    182   
                        is_presigned_req,
  183    183   
                    ) {
  184    184   
                        (_, _, _, _, true) => {}
  185    185   
                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -135,135 +195,195 @@
  155    155   
                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  156    156   
                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  157    157   
  158    158   
                    // From the httpChecksum trait
  159    159   
                    let http_checksum_required = true;
  160    160   
  161    161   
                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  162    162   
  163    163   
                    // If the request is presigned we do not set a default.
  164    164   
                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  165         -
                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         165  +
                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  166    166   
                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  167    167   
                    match (
  168    168   
                        request_checksum_calculation,
  169    169   
                        http_checksum_required,
  170    170   
                        user_set_checksum_value,
  171    171   
                        user_set_checksum_algo,
  172    172   
                        is_presigned_req,
  173    173   
                    ) {
  174    174   
                        (_, _, _, _, true) => {}
  175    175   
                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -144,144 +204,204 @@
  164    164   
                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  165    165   
                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  166    166   
  167    167   
                    // From the httpChecksum trait
  168    168   
                    let http_checksum_required = false;
  169    169   
  170    170   
                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  171    171   
  172    172   
                    // If the request is presigned we do not set a default.
  173    173   
                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  174         -
                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         174  +
                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  175    175   
                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  176    176   
                    match (
  177    177   
                        request_checksum_calculation,
  178    178   
                        http_checksum_required,
  179    179   
                        user_set_checksum_value,
  180    180   
                        user_set_checksum_algo,
  181    181   
                        is_presigned_req,
  182    182   
                    ) {
  183    183   
                        (_, _, _, _, true) => {}
  184    184   
                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -135,135 +195,195 @@
  155    155   
                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  156    156   
                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  157    157   
  158    158   
                    // From the httpChecksum trait
  159    159   
                    let http_checksum_required = true;
  160    160   
  161    161   
                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  162    162   
  163    163   
                    // If the request is presigned we do not set a default.
  164    164   
                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  165         -
                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         165  +
                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  166    166   
                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  167    167   
                    match (
  168    168   
                        request_checksum_calculation,
  169    169   
                        http_checksum_required,
  170    170   
                        user_set_checksum_value,
  171    171   
                        user_set_checksum_algo,
  172    172   
                        is_presigned_req,
  173    173   
                    ) {
  174    174   
                        (_, _, _, _, true) => {}
  175    175   
                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -135,135 +195,195 @@
  155    155   
                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  156    156   
                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  157    157   
  158    158   
                    // From the httpChecksum trait
  159    159   
                    let http_checksum_required = true;
  160    160   
  161    161   
                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  162    162   
  163    163   
                    // If the request is presigned we do not set a default.
  164    164   
                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  165         -
                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         165  +
                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  166    166   
                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  167    167   
                    match (
  168    168   
                        request_checksum_calculation,
  169    169   
                        http_checksum_required,
  170    170   
                        user_set_checksum_value,
  171    171   
                        user_set_checksum_algo,
  172    172   
                        is_presigned_req,
  173    173   
                    ) {
  174    174   
                        (_, _, _, _, true) => {}
  175    175   
                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -139,139 +199,199 @@
  159    159   
                                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  160    160   
                                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  161    161   
  162    162   
                                    // From the httpChecksum trait
  163    163   
                                    let http_checksum_required = true;
  164    164   
  165    165   
                                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  166    166   
  167    167   
                                    // If the request is presigned we do not set a default.
  168    168   
                                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  169         -
                                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         169  +
                                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  170    170   
                                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  171    171   
                                    match (
  172    172   
                                        request_checksum_calculation,
  173    173   
                                        http_checksum_required,
  174    174   
                                        user_set_checksum_value,
  175    175   
                                        user_set_checksum_algo,
  176    176   
                                        is_presigned_req,
  177    177   
                                    ) {
  178    178   
                                        (_, _, _, _, true) => {}
  179    179   
                                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -145,145 +205,205 @@
  165    165   
                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  166    166   
                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  167    167   
  168    168   
                    // From the httpChecksum trait
  169    169   
                    let http_checksum_required = true;
  170    170   
  171    171   
                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  172    172   
  173    173   
                    // If the request is presigned we do not set a default.
  174    174   
                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  175         -
                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         175  +
                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  176    176   
                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  177    177   
                    match (
  178    178   
                        request_checksum_calculation,
  179    179   
                        http_checksum_required,
  180    180   
                        user_set_checksum_value,
  181    181   
                        user_set_checksum_algo,
  182    182   
                        is_presigned_req,
  183    183   
                    ) {
  184    184   
                        (_, _, _, _, true) => {}
  185    185   
                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -135,135 +195,195 @@
  155    155   
                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  156    156   
                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  157    157   
  158    158   
                    // From the httpChecksum trait
  159    159   
                    let http_checksum_required = true;
  160    160   
  161    161   
                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  162    162   
  163    163   
                    // If the request is presigned we do not set a default.
  164    164   
                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  165         -
                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         165  +
                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  166    166   
                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  167    167   
                    match (
  168    168   
                        request_checksum_calculation,
  169    169   
                        http_checksum_required,
  170    170   
                        user_set_checksum_value,
  171    171   
                        user_set_checksum_algo,
  172    172   
                        is_presigned_req,
  173    173   
                    ) {
  174    174   
                        (_, _, _, _, true) => {}
  175    175   
                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -135,135 +195,195 @@
  155    155   
                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  156    156   
                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  157    157   
  158    158   
                    // From the httpChecksum trait
  159    159   
                    let http_checksum_required = true;
  160    160   
  161    161   
                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  162    162   
  163    163   
                    // If the request is presigned we do not set a default.
  164    164   
                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  165         -
                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         165  +
                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  166    166   
                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  167    167   
                    match (
  168    168   
                        request_checksum_calculation,
  169    169   
                        http_checksum_required,
  170    170   
                        user_set_checksum_value,
  171    171   
                        user_set_checksum_algo,
  172    172   
                        is_presigned_req,
  173    173   
                    ) {
  174    174   
                        (_, _, _, _, true) => {}
  175    175   
                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -142,142 +202,202 @@
  162    162   
                                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  163    163   
                                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  164    164   
  165    165   
                                    // From the httpChecksum trait
  166    166   
                                    let http_checksum_required = true;
  167    167   
  168    168   
                                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  169    169   
  170    170   
                                    // If the request is presigned we do not set a default.
  171    171   
                                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  172         -
                                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         172  +
                                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  173    173   
                                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  174    174   
                                    match (
  175    175   
                                        request_checksum_calculation,
  176    176   
                                        http_checksum_required,
  177    177   
                                        user_set_checksum_value,
  178    178   
                                        user_set_checksum_algo,
  179    179   
                                        is_presigned_req,
  180    180   
                                    ) {
  181    181   
                                        (_, _, _, _, true) => {}
  182    182   
                                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -139,139 +199,199 @@
  159    159   
                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  160    160   
                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  161    161   
  162    162   
                    // From the httpChecksum trait
  163    163   
                    let http_checksum_required = true;
  164    164   
  165    165   
                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  166    166   
  167    167   
                    // If the request is presigned we do not set a default.
  168    168   
                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  169         -
                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         169  +
                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  170    170   
                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  171    171   
                    match (
  172    172   
                        request_checksum_calculation,
  173    173   
                        http_checksum_required,
  174    174   
                        user_set_checksum_value,
  175    175   
                        user_set_checksum_algo,
  176    176   
                        is_presigned_req,
  177    177   
                    ) {
  178    178   
                        (_, _, _, _, true) => {}
  179    179   
                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -135,135 +195,195 @@
  155    155   
                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  156    156   
                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  157    157   
  158    158   
                    // From the httpChecksum trait
  159    159   
                    let http_checksum_required = true;
  160    160   
  161    161   
                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  162    162   
  163    163   
                    // If the request is presigned we do not set a default.
  164    164   
                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  165         -
                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         165  +
                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  166    166   
                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  167    167   
                    match (
  168    168   
                        request_checksum_calculation,
  169    169   
                        http_checksum_required,
  170    170   
                        user_set_checksum_value,
  171    171   
                        user_set_checksum_algo,
  172    172   
                        is_presigned_req,
  173    173   
                    ) {
  174    174   
                        (_, _, _, _, true) => {}
  175    175   
                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -139,139 +199,199 @@
  159    159   
                                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  160    160   
                                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  161    161   
  162    162   
                                    // From the httpChecksum trait
  163    163   
                                    let http_checksum_required = true;
  164    164   
  165    165   
                                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  166    166   
  167    167   
                                    // If the request is presigned we do not set a default.
  168    168   
                                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  169         -
                                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         169  +
                                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  170    170   
                                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  171    171   
                                    match (
  172    172   
                                        request_checksum_calculation,
  173    173   
                                        http_checksum_required,
  174    174   
                                        user_set_checksum_value,
  175    175   
                                        user_set_checksum_algo,
  176    176   
                                        is_presigned_req,
  177    177   
                                    ) {
  178    178   
                                        (_, _, _, _, true) => {}
  179    179   
                                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -135,135 +195,195 @@
  155    155   
                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  156    156   
                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  157    157   
  158    158   
                    // From the httpChecksum trait
  159    159   
                    let http_checksum_required = true;
  160    160   
  161    161   
                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  162    162   
  163    163   
                    // If the request is presigned we do not set a default.
  164    164   
                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  165         -
                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         165  +
                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  166    166   
                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  167    167   
                    match (
  168    168   
                        request_checksum_calculation,
  169    169   
                        http_checksum_required,
  170    170   
                        user_set_checksum_value,
  171    171   
                        user_set_checksum_algo,
  172    172   
                        is_presigned_req,
  173    173   
                    ) {
  174    174   
                        (_, _, _, _, true) => {}
  175    175   
                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)

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

@@ -135,135 +195,195 @@
  155    155   
                        .load::<::aws_smithy_types::checksum_config::RequestChecksumCalculation>()
  156    156   
                        .unwrap_or(&::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported);
  157    157   
  158    158   
                    // From the httpChecksum trait
  159    159   
                    let http_checksum_required = false;
  160    160   
  161    161   
                    let is_presigned_req = cfg.load::<crate::presigning::PresigningMarker>().is_some();
  162    162   
  163    163   
                    // If the request is presigned we do not set a default.
  164    164   
                    // If the RequestChecksumCalculation is WhenSupported and the user has not set a checksum value or algo
  165         -
                    // we default to Crc32. If it is WhenRequired and a checksum is required by the trait and the user has not
         165  +
                    // we set the default. If it is WhenRequired and a checksum is required by the trait and the user has not
  166    166   
                    // set a checksum value or algo we also set the default. In all other cases we do nothing.
  167    167   
                    match (
  168    168   
                        request_checksum_calculation,
  169    169   
                        http_checksum_required,
  170    170   
                        user_set_checksum_value,
  171    171   
                        user_set_checksum_algo,
  172    172   
                        is_presigned_req,
  173    173   
                    ) {
  174    174   
                        (_, _, _, _, true) => {}
  175    175   
                        (::aws_smithy_types::checksum_config::RequestChecksumCalculation::WhenSupported, _, false, false, _)