From e9bd850d1a04d2b3856b7c91a21a9c194495f4ee Mon Sep 17 00:00:00 2001 From: Russell Cohen Date: Thu, 23 Dec 2021 15:03:26 -0500 Subject: [PATCH] Add Clone derive to aws_types::Config (#1002) * Add Clone derive to aws_types::Config * changelog Co-authored-by: Zelda Hessler --- CHANGELOG.next.toml | 6 ++++++ aws/rust-runtime/aws-types/src/config.rs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.next.toml b/CHANGELOG.next.toml index 59bae6378..9eff4af1e 100644 --- a/CHANGELOG.next.toml +++ b/CHANGELOG.next.toml @@ -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" diff --git a/aws/rust-runtime/aws-types/src/config.rs b/aws/rust-runtime/aws-types/src/config.rs index eacf34ec1..68d6743c6 100644 --- a/aws/rust-runtime/aws-types/src/config.rs +++ b/aws/rust-runtime/aws-types/src/config.rs @@ -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, credentials_provider: Option, -- GitLab