---
applies_to:
- aws-sdk-rust
- client
authors:
- ysaito1001
references:
- aws-sdk-rust#821
- smithy-rs#3797
breaking: false
new_feature: false
bug_fix: true
---
Fix the [Length::UpTo](https://docs.rs/aws-smithy-types/1.2.2/aws_smithy_types/byte_stream/enum.Length.html) usage in [FsBuilder](https://docs.rs/aws-smithy-types/1.2.2/aws_smithy_types/byte_stream/struct.FsBuilder.html), ensuring that the specified length does not exceed the remaining file length.
