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