Skip to content

Commit

Permalink
add: deprecation notice to deprecated fluent builder methods (#2386)
Browse files Browse the repository at this point in the history
* add: deprecation notice to deprecated fluent builder methods

* add: CHANGELOG.next.toml notes
  • Loading branch information
Velfi authored Feb 16, 2023
1 parent 42671dd commit d54c005
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.next.toml
Original file line number Diff line number Diff line change
Expand Up @@ -210,3 +210,15 @@ message = "Fix issue where clients using native-tls connector were prevented fro
references = ["aws-sdk-rust#736"]
meta = { "breaking" = false, "tada" = false, "bug" = true, "target" = "client" }
author = "Velfi"

[[aws-sdk-rust]]
message = "Fluent builder methods on the client are now marked as deprecated when the related operation is deprecated."
references = ["aws-sdk-rust#740"]
meta = { "breaking" = false, "tada" = true, "bug" = true }
author = "Velfi"

[[smithy-rs]]
message = "Fluent builder methods on the client are now marked as deprecated when the related operation is deprecated."
references = ["aws-sdk-rust#740"]
meta = { "breaking" = false, "tada" = true, "bug" = true, "target" = "client"}
author = "Velfi"
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ class FluentClientGenerator(
""",
)

// Write a deprecation notice if this operation is deprecated.
writer.deprecatedShape(operation)

writer.rust(
"""
pub fn ${
Expand Down

0 comments on commit d54c005

Please sign in to comment.