@@ -15,64 +15,74 @@ use crate::{
1515/// Aliases to maintain backward compatibility
1616pub type ClientSecrets = SecretsClient ;
1717
18+ #[ allow( missing_docs) ]
1819pub struct SecretsClient {
1920 client : Client ,
2021}
2122
2223impl SecretsClient {
24+ #[ allow( missing_docs) ]
2325 pub fn new ( client : Client ) -> Self {
2426 Self { client }
2527 }
2628
29+ #[ allow( missing_docs) ]
2730 pub async fn get (
2831 & self ,
2932 input : & SecretGetRequest ,
3033 ) -> Result < SecretResponse , SecretsManagerError > {
3134 get_secret ( & self . client , input) . await
3235 }
3336
37+ #[ allow( missing_docs) ]
3438 pub async fn get_by_ids (
3539 & self ,
3640 input : SecretsGetRequest ,
3741 ) -> Result < SecretsResponse , SecretsManagerError > {
3842 get_secrets_by_ids ( & self . client , input) . await
3943 }
4044
45+ #[ allow( missing_docs) ]
4146 pub async fn create (
4247 & self ,
4348 input : & SecretCreateRequest ,
4449 ) -> Result < SecretResponse , SecretsManagerError > {
4550 create_secret ( & self . client , input) . await
4651 }
4752
53+ #[ allow( missing_docs) ]
4854 pub async fn list (
4955 & self ,
5056 input : & SecretIdentifiersRequest ,
5157 ) -> Result < SecretIdentifiersResponse , SecretsManagerError > {
5258 list_secrets ( & self . client , input) . await
5359 }
5460
61+ #[ allow( missing_docs) ]
5562 pub async fn list_by_project (
5663 & self ,
5764 input : & SecretIdentifiersByProjectRequest ,
5865 ) -> Result < SecretIdentifiersResponse , SecretsManagerError > {
5966 list_secrets_by_project ( & self . client , input) . await
6067 }
6168
69+ #[ allow( missing_docs) ]
6270 pub async fn update (
6371 & self ,
6472 input : & SecretPutRequest ,
6573 ) -> Result < SecretResponse , SecretsManagerError > {
6674 update_secret ( & self . client , input) . await
6775 }
6876
77+ #[ allow( missing_docs) ]
6978 pub async fn delete (
7079 & self ,
7180 input : SecretsDeleteRequest ,
7281 ) -> Result < SecretsDeleteResponse , SecretsManagerError > {
7382 delete_secrets ( & self . client , input) . await
7483 }
7584
85+ #[ allow( missing_docs) ]
7686 pub async fn sync (
7787 & self ,
7888 input : & SecretsSyncRequest ,
@@ -83,6 +93,7 @@ impl SecretsClient {
8393
8494/// This trait is for backward compatibility
8595pub trait ClientSecretsExt {
96+ #[ allow( missing_docs) ]
8697 fn secrets ( & self ) -> ClientSecrets ;
8798}
8899
@@ -92,7 +103,9 @@ impl ClientSecretsExt for Client {
92103 }
93104}
94105
106+ #[ allow( missing_docs) ]
95107pub trait SecretsClientExt {
108+ #[ allow( missing_docs) ]
96109 fn secrets ( & self ) -> SecretsClient ;
97110}
98111
0 commit comments