From cd4d6504397a616b5dee6bc60e62975c924f0f5d Mon Sep 17 00:00:00 2001 From: Ben Schofield <47790940+Benjscho@users.noreply.github.com> Date: Thu, 5 Dec 2024 09:39:34 -0800 Subject: [PATCH] Fix DSQL SDK token generation example (#3937) ## Motivation and Context This example doesn't reflect the token generation API accurately, this PR fixes that. ## Description Fix the example by using the right API. ## Testing Documentation update on an ignored code block, no testing required ## Checklist ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ --- aws/rust-runtime/aws-inlineable/src/dsql_auth_token.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/rust-runtime/aws-inlineable/src/dsql_auth_token.rs b/aws/rust-runtime/aws-inlineable/src/dsql_auth_token.rs index 8d8dc766d5..e5fa64e44f 100644 --- a/aws/rust-runtime/aws-inlineable/src/dsql_auth_token.rs +++ b/aws/rust-runtime/aws-inlineable/src/dsql_auth_token.rs @@ -36,7 +36,7 @@ const SERVICE: &str = "dsql"; /// .build() /// .expect("cfg is valid"), /// ); -/// let token = generator.auth_token(&cfg).await.unwrap(); +/// let token = generator.db_connect_admin_auth_token(&cfg).await.unwrap(); /// println!("{token}"); /// } /// ```