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