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