pub struct PoliciesClient { /* private fields */ }Implementations§
Source§impl PoliciesClient
impl PoliciesClient
pub fn new(api_options: DfnsApiClientOptions) -> Self
pub async fn archive_policy( &self, request: ArchivePolicyRequest, ) -> Result<ArchivePolicyResponse, DfnsError>
pub async fn create_approval_decision( &self, request: CreateApprovalDecisionRequest, ) -> Result<CreateApprovalDecisionResponse, DfnsError>
pub async fn create_policy( &self, request: CreatePolicyRequest, ) -> Result<CreatePolicyResponse, DfnsError>
pub async fn get_approval( &self, request: GetApprovalRequest, ) -> Result<GetApprovalResponse, DfnsError>
pub async fn get_policy( &self, request: GetPolicyRequest, ) -> Result<GetPolicyResponse, DfnsError>
pub async fn list_approvals( &self, request: Option<ListApprovalsRequest>, ) -> Result<ListApprovalsResponse, DfnsError>
pub async fn list_policies( &self, request: Option<ListPoliciesRequest>, ) -> Result<ListPoliciesResponse, DfnsError>
pub async fn update_policy( &self, request: UpdatePolicyRequest, ) -> Result<UpdatePolicyResponse, DfnsError>
Auto Trait Implementations§
impl Freeze for PoliciesClient
impl !RefUnwindSafe for PoliciesClient
impl Send for PoliciesClient
impl Sync for PoliciesClient
impl Unpin for PoliciesClient
impl !UnwindSafe for PoliciesClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more