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