AWS SDK

AWS SDK

rev. 45f7c63234ab3c1e256d57af241ed3cf5f32c495

Files changed:

tmp-codegen-diff/aws-sdk/sdk/s3/src/lib.rs

@@ -172,172 +231,233 @@
  192    192   
  193    193   
/// All operations that this crate can perform.
  194    194   
pub mod operation;
  195    195   
  196    196   
/// Primitives such as `Blob` or `DateTime` used by other types.
  197    197   
pub mod primitives;
  198    198   
  199    199   
/// Data structures used by operation inputs/outputs.
  200    200   
pub mod types;
  201    201   
         202  +
pub(crate) mod aws_chunked;
         203  +
  202    204   
pub(crate) mod client_idempotency_token;
  203    205   
  204    206   
mod event_receiver;
  205    207   
  206    208   
pub(crate) mod http_request_checksum;
  207    209   
  208    210   
pub(crate) mod http_response_checksum;
  209    211   
  210    212   
mod idempotency_token;
  211    213   

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

@@ -157,157 +216,217 @@
  177    177   
                            request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32");
  178    178   
                        }
  179    179   
                        _ => {}
  180    180   
                    }
  181    181   
  182    182   
                    // We return a bool indicating if the user did set the checksum value, if they did
  183    183   
                    // we can short circuit and exit the interceptor early.
  184    184   
                    Ok(user_set_checksum_value)
  185    185   
                },
  186    186   
            ))
         187  +
            .with_interceptor(crate::aws_chunked::AwsChunkedContentEncodingInterceptor)
  187    188   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
  188    189   
                crate::operation::put_object::PutObjectError,
  189    190   
            >::new())
  190    191   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
  191    192   
                crate::operation::put_object::PutObjectError,
  192    193   
            >::new())
  193    194   
            .with_retry_classifier(
  194    195   
                ::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::<crate::operation::put_object::PutObjectError>::builder()
  195    196   
                    .transient_errors({
  196    197   
                        let mut transient_errors: Vec<&'static str> = ::aws_runtime::retries::classifiers::TRANSIENT_ERRORS.into();

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

@@ -157,157 +216,217 @@
  177    177   
                            request.headers_mut().insert("x-amz-sdk-checksum-algorithm", "CRC32");
  178    178   
                        }
  179    179   
                        _ => {}
  180    180   
                    }
  181    181   
  182    182   
                    // We return a bool indicating if the user did set the checksum value, if they did
  183    183   
                    // we can short circuit and exit the interceptor early.
  184    184   
                    Ok(user_set_checksum_value)
  185    185   
                },
  186    186   
            ))
         187  +
            .with_interceptor(crate::aws_chunked::AwsChunkedContentEncodingInterceptor)
  187    188   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::TransientErrorClassifier::<
  188    189   
                crate::operation::upload_part::UploadPartError,
  189    190   
            >::new())
  190    191   
            .with_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::ModeledAsRetryableClassifier::<
  191    192   
                crate::operation::upload_part::UploadPartError,
  192    193   
            >::new())
  193    194   
            .with_retry_classifier(
  194    195   
                ::aws_runtime::retries::classifiers::AwsErrorCodeClassifier::<crate::operation::upload_part::UploadPartError>::builder()
  195    196   
                    .transient_errors({
  196    197   
                        let mut transient_errors: Vec<&'static str> = ::aws_runtime::retries::classifiers::TRANSIENT_ERRORS.into();