pub fn is_invalid_policy_exception(&self) -> bool {
        matches!(
            &self.kind,
            PutIdentityPolicyErrorKind::InvalidPolicyException(_)
        )
    }
/// Returns `true` if the error kind is `PutIdentityPolicyErrorKind::InvalidPolicyException`.
Returns `true` if the error kind is `PutIdentityPolicyErrorKind::InvalidPolicyException`.
Returns ` true ` if the error kind is ` PutIdentityPolicyErrorKind :: InvalidPolicyException ` .
pub fn is_invalid_policy_exception(&self) -> bool {
        matches!(
            &self.kind,
            PutIdentityPolicyErrorKind::InvalidPolicyException(_)
        )
    }
pub fn is_invalid_policy_exception ( & self ) -> bool { matches ! ( self kind PutIdentityPolicyErrorKind InvalidPolicyException ( ) ) }
Returns `true` if the error kind is `PutIdentityPolicyErrorKind::InvalidPolicyException`.
Returns ` true ` if the error kind is ` PutIdentityPolicyErrorKind :: InvalidPolicyException ` .
&self
&self