diff --git a/CHANGELOG.next.toml b/CHANGELOG.next.toml index d3743f26ca..f044289202 100644 --- a/CHANGELOG.next.toml +++ b/CHANGELOG.next.toml @@ -34,3 +34,9 @@ message = "SDK examples now come from [`awsdocs/aws-doc-sdk-examples`](https://g references = ["smithy-rs#1118"] meta = { "breaking" = false, "tada" = false, "bug" = false } author = "jdisanti" + +[[smithy-rs]] +message = "Provide SigningService creation via owned String" +references = ["smithy-rs#1114"] +meta = { "breaking" = false, "tada" = false, "bug" = false } +author = "mchoicpe-amazon" diff --git a/aws/rust-runtime/aws-types/src/lib.rs b/aws/rust-runtime/aws-types/src/lib.rs index 3421b5f2e2..eb39142feb 100644 --- a/aws/rust-runtime/aws-types/src/lib.rs +++ b/aws/rust-runtime/aws-types/src/lib.rs @@ -42,3 +42,9 @@ impl SigningService { SigningService(Cow::Borrowed(service)) } } + +impl From for SigningService { + fn from(service: String) -> Self { + SigningService(Cow::Owned(service)) + } +}