pub struct DetachPrincipalPolicyRequest {
pub policy_name: String,
pub principal: String,
}Expand description
The input for the DetachPrincipalPolicy operation.
Fields§
§policy_name: StringThe name of the policy to detach.
principal: StringThe principal.
If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID.
Trait Implementations§
Source§impl Clone for DetachPrincipalPolicyRequest
impl Clone for DetachPrincipalPolicyRequest
Source§fn clone(&self) -> DetachPrincipalPolicyRequest
fn clone(&self) -> DetachPrincipalPolicyRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DetachPrincipalPolicyRequest
impl Debug for DetachPrincipalPolicyRequest
Source§impl Default for DetachPrincipalPolicyRequest
impl Default for DetachPrincipalPolicyRequest
Source§fn default() -> DetachPrincipalPolicyRequest
fn default() -> DetachPrincipalPolicyRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for DetachPrincipalPolicyRequest
impl PartialEq for DetachPrincipalPolicyRequest
Source§fn eq(&self, other: &DetachPrincipalPolicyRequest) -> bool
fn eq(&self, other: &DetachPrincipalPolicyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DetachPrincipalPolicyRequest
Auto Trait Implementations§
impl Freeze for DetachPrincipalPolicyRequest
impl RefUnwindSafe for DetachPrincipalPolicyRequest
impl Send for DetachPrincipalPolicyRequest
impl Sync for DetachPrincipalPolicyRequest
impl Unpin for DetachPrincipalPolicyRequest
impl UnwindSafe for DetachPrincipalPolicyRequest
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