Add Clone derive to aws_types::Config (#1002)

* Add Clone derive to aws_types::Config

* changelog

Co-authored-by: Zelda Hessler <zhessler@amazon.com>
This commit is contained in:
Russell Cohen 2021-12-23 15:03:26 -05:00 committed by GitHub
parent 56cf68a85d
commit e9bd850d1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -38,3 +38,9 @@ message = "Fix bug where ECS credential provider could not perform retries."
meta = { "breaking" = false, "tada" = false, "bug" = true }
references = ["smithy-rs#998", "aws-sdk-rust#359"]
author = "rcoh"
[[aws-sdk-rust]]
message = "aws_types::Config is now `Clone`"
meta = { "breaking" = false, "tada" = false, "bug" = false }
references = ["smithy-rs#1002", "aws-sdk-rust#352"]
author = "rcoh"

View File

@ -20,7 +20,7 @@ use crate::credentials::SharedCredentialsProvider;
use crate::region::Region;
/// AWS Shared Configuration
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct Config {
app_name: Option<AppName>,
credentials_provider: Option<SharedCredentialsProvider>,