Skip to content

Commit cd4d650

Browse files
authored
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 <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
1 parent 20ad770 commit cd4d650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws/rust-runtime/aws-inlineable/src/dsql_auth_token.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const SERVICE: &str = "dsql";
3636
/// .build()
3737
/// .expect("cfg is valid"),
3838
/// );
39-
/// let token = generator.auth_token(&cfg).await.unwrap();
39+
/// let token = generator.db_connect_admin_auth_token(&cfg).await.unwrap();
4040
/// println!("{token}");
4141
/// }
4242
/// ```

0 commit comments

Comments
 (0)