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