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