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