Unverified Commit e2e0d935 authored by John DiSanti's avatar John DiSanti Committed by GitHub
Browse files

Fix retry config doc comments and remove re-export (#1935)

parent 8ba894b6
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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"
+0 −2
Original line number Diff line number Diff line
@@ -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;
+4 −2
Original line number Diff line number Diff line
@@ -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,