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