Skip to content

Commit

Permalink
Fix retry config doc comments and remove re-export (#1935)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdisanti authored Nov 4, 2022
1 parent 8ba894b commit e2e0d93
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.next.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,10 @@ message = "Ability to add an inline policy or a list of policy ARNs to the `Assu
references = ["aws-sdk-rust#641", "smithy-rs#1892"]
meta = { "breaking" = false, "tada" = true, "bug" = false }
author = "albe-rosado"

[[aws-sdk-rust]]
message = "Removed re-export of `aws_smithy_client::retry::Config` from the `middleware` module."
references = ["smithy-rs#1935"]
meta = { "breaking" = true, "tada" = false, "bug" = false }
author = "jdisanti"

2 changes: 0 additions & 2 deletions aws/rust-runtime/aws-inlineable/src/middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

//! Base Middleware Stack
pub use aws_smithy_client::retry::Config as RetryConfig;

use aws_endpoint::AwsEndpointStage;
use aws_http::auth::CredentialsStage;
use aws_http::recursion_detection::RecursionDetectionStage;
Expand Down
6 changes: 4 additions & 2 deletions rust-runtime/aws-smithy-client/src/retry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ where

/// Retry Policy Configuration
///
/// Without specific use cases, users should generally rely on the default values set by `[Config::default]`(Config::default).`
/// Without specific use cases, users should generally rely on the default values set
/// by [`Config::default`](Config::default).
///
/// Currently these fields are private and no setters provided. As needed, this configuration will become user-modifiable in the future..
/// Currently these fields are private and no setters provided. As needed, this configuration
/// will become user-modifiable in the future.
#[derive(Clone, Debug)]
pub struct Config {
initial_retry_tokens: usize,
Expand Down

0 comments on commit e2e0d93

Please sign in to comment.