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